diff --git a/dist/assets/contentPage-3Rsr9mTm.css b/dist/assets/contentPage-3Rsr9mTm.css new file mode 100644 index 0000000..9e0e199 --- /dev/null +++ b/dist/assets/contentPage-3Rsr9mTm.css @@ -0,0 +1 @@ +#app{width:270px;height:300px;background-color:#fff}*{margin:0;padding:0}.MuiBox-root{padding:10px!important} diff --git a/dist/assets/contentPage-DbEJAHwo.css b/dist/assets/contentPage-DbEJAHwo.css new file mode 100644 index 0000000..89f7b19 --- /dev/null +++ b/dist/assets/contentPage-DbEJAHwo.css @@ -0,0 +1 @@ +#app{width:270px;height:300px;background-color:#fff}*{margin:0;padding:0}.MuiTabPanel-root{padding:10px!important} diff --git a/dist/assets/contentPage-DdGgBusj.css b/dist/assets/contentPage-DdGgBusj.css new file mode 100644 index 0000000..790a1c2 --- /dev/null +++ b/dist/assets/contentPage-DdGgBusj.css @@ -0,0 +1 @@ +#app{width:270px;height:300px;background-color:#fff}*{margin:0;padding:0}.MuiTabPanel-root{padding:10px} diff --git a/dist/assets/contentPage-DtcgZ58-.css b/dist/assets/contentPage-DtcgZ58-.css new file mode 100644 index 0000000..02e73a1 --- /dev/null +++ b/dist/assets/contentPage-DtcgZ58-.css @@ -0,0 +1 @@ +#app{width:270px;height:392px;background-color:#fff}*{margin:0;padding:0} diff --git a/dist/content/content.js b/dist/content/content.js index 7697e46..2539ce1 100644 --- a/dist/content/content.js +++ b/dist/content/content.js @@ -1,21 +1,21 @@ -var s=(t=>(t.close="closeMeasureTool",t.open="openMeasureTool",t))(s||{});const l={height:"300px",width:"270px"},p="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAjJJREFUaEPtmd1VAjEQhTN0IFoAPkAdWInyKBShFiE+qpVgHfDgFqBbAvEE3J8smfxMZtA9Z3mE3eR+2eTOnQVUzz/Qc/1KDODqZTffa/16WCAN7+Vq+iixWCIAR/Fq0wjWhRQEO8Cp+ApDBoIVABcvB8EGEBYvA8ECEC+eHyIbIF18AwFaPX2vZm857pQNMF5vP5WCSVvECNSN7UJKgdYLDXC01fqji3I5u/5XAEb81/30Y7ze6bawcjmFy+ftXRfCfP+nAI0oXYwAFka8EeQCMN9j11Mhsuh9k2IAVKHYfQMAtjLDE4jca8Et1Pi8LlJ8m/oE2vPFBEAvgCtVxvo2FcCuK+EAiAJgFTbWt3kADs2EN4o7ATDxVZGK2Z5UAFex80GcAHCI9xWyGPgUCAuAS3wugF2x7ezUPdg1AD1Vxqwp5zW2G9YArlTJOS3vWE2KrQEu1rsNKDXnnUhqNAeA++BICcgbt+2G1iFOOf0hCVQbrcaNNZQTG+WCyAGIFW9gnYUMgzhvFrKfMVZE0SiBQZw3Cx0hfAnAG+ZyeljqFuraeSi+BOM0tYelAqTOFwQIuc3QkVFX6Pe+4Qn0fgthPSx2iKk9tth7IayHdQHk9NhnAmh6WAXqoT2p64Wv+T22xxYDQLNT5421S0CoSMUYFIsLUaI4h3g0zMWQd69JgeASzwpgBouB4BTPDhCC4BYvAoBBSIgXA6gg9gC3oPSk/c8N5Xz57mFxIW5RKeP1HuAHwGT8QByJd+kAAAAASUVORK5CYII=";class f{constructor(e,A){this.iFrame=null,this.targetOrigin="",this.iFrame=e,this.targetOrigin=A,window.addEventListener("message",this.handle,!1)}send(e){this.targetOrigin?this.iFrame.postMessage(e,this.targetOrigin):this.iFrame.postMessage(e,"*")}handle(e){e.data.source!="react-devtools-content-script"&&e.data.source!="react-devtools-bridge"&&console.log(e)}destroy(){window.removeEventListener("message",this.handle,!1)}}const o="inject-D"+Date.now().toString(),w=` +var s=(t=>(t.close="closeMeasureTool",t.open="openMeasureTool",t))(s||{});const d={height:"300px",width:"270px"},f="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAjJJREFUaEPtmd1VAjEQhTN0IFoAPkAdWInyKBShFiE+qpVgHfDgFqBbAvEE3J8smfxMZtA9Z3mE3eR+2eTOnQVUzz/Qc/1KDODqZTffa/16WCAN7+Vq+iixWCIAR/Fq0wjWhRQEO8Cp+ApDBoIVABcvB8EGEBYvA8ECEC+eHyIbIF18AwFaPX2vZm857pQNMF5vP5WCSVvECNSN7UJKgdYLDXC01fqji3I5u/5XAEb81/30Y7ze6bawcjmFy+ftXRfCfP+nAI0oXYwAFka8EeQCMN9j11Mhsuh9k2IAVKHYfQMAtjLDE4jca8Et1Pi8LlJ8m/oE2vPFBEAvgCtVxvo2FcCuK+EAiAJgFTbWt3kADs2EN4o7ATDxVZGK2Z5UAFex80GcAHCI9xWyGPgUCAuAS3wugF2x7ezUPdg1AD1Vxqwp5zW2G9YArlTJOS3vWE2KrQEu1rsNKDXnnUhqNAeA++BICcgbt+2G1iFOOf0hCVQbrcaNNZQTG+WCyAGIFW9gnYUMgzhvFrKfMVZE0SiBQZw3Cx0hfAnAG+ZyeljqFuraeSi+BOM0tYelAqTOFwQIuc3QkVFX6Pe+4Qn0fgthPSx2iKk9tth7IayHdQHk9NhnAmh6WAXqoT2p64Wv+T22xxYDQLNT5421S0CoSMUYFIsLUaI4h3g0zMWQd69JgeASzwpgBouB4BTPDhCC4BYvAoBBSIgXA6gg9gC3oPSk/c8N5Xz57mFxIW5RKeP1HuAHwGT8QByJd+kAAAAASUVORK5CYII=";class w{constructor(e,l){this.iFrame=null,this.targetOrigin="",this.iFrame=e,this.targetOrigin=l,window.addEventListener("message",this.handle,!1)}send(e){this.targetOrigin?this.iFrame.postMessage(e,this.targetOrigin):this.iFrame.postMessage(e,"*")}handle(e){e.data.source!="react-devtools-content-script"&&e.data.source!="react-devtools-bridge"&&console.log(e)}destroy(){window.removeEventListener("message",this.handle,!1)}}const o="inject-D"+Date.now().toString(),x=` .${o}{ outline: 1px solid red; } -`;let g,r=null,d=!1,c=null,a=!1;const m=t=>{if(d&&c&&(c.style.top=t.clientY+"px",c.style.left=t.clientX+"px"),a)return;let e=document.elementFromPoint(t.clientX,t.clientY);e&&(e.tagName==="IFRAME"||e.id===o||e.id===o+"-")||e!==r&&(r&&r.classList.remove(o),r=e,e&&e.classList.add(o))},u=t=>{(window.event?t.keyCode:t.which)===81&&(a=!a,a&&g.send("hello"))},E=t=>{s.open?window.addEventListener("mousemove",m):s.close&&window.removeEventListener("mousemove",m)},x=t=>{if(t==s.open){window.document.body.addEventListener("keydown",u);const e=document.querySelector(o)||window.document.createElement("style");e.className=o,e.innerHTML=w,window.document.head.appendChild(e)}else if(t==s.close){window.document.body.removeEventListener("keydown",u);const e=document.querySelector("."+o);e&&e.remove()}};let h=null;const y=t=>{if(t==s.open){const e=document.querySelector("#"+o)||document.createElement("iframe");e.id=o,console.log(l.width,l.height),e.style.cssText=`width: ${l.width}; - height: ${l.height}; +`,E=["top","left","width","height","border","color","backgroundColor","opacity","border-radius","box-shadow"];let A,r=null,a=!1,c=null,g=null,h=!1;const C=t=>{const e={tagName:""};return e.tagName=t.tagName.toLowerCase(),E.forEach(l=>{e[l]=getComputedStyle(t)[l]}),e.width=t.getClientRects()[0].width.toFixed(0)+"px",e.top=t.getClientRects()[0].top.toFixed(0)+"px",e.height=t.getClientRects()[0].height.toFixed(0)+"px",e.left=t.getClientRects()[0].left.toFixed(0)+"px",e},u=t=>{if(a&&c&&(c.style.top=t.clientY+"px",c.style.left=t.clientX+"px"),h)return;let e=document.elementFromPoint(t.clientX,t.clientY);e&&(e.tagName==="IFRAME"||e.id===o||e.id===o+"-")||e!==r&&(r&&r.classList.remove(o),r=e,e&&e.classList.add(o),g=e)},p=t=>{(window.event?t.keyCode:t.which)===81&&(h=!h,h?g&&A.send(C(g)):g=null)},y=t=>{s.open?window.addEventListener("mousemove",u):s.close&&window.removeEventListener("mousemove",u)},F=t=>{if(t==s.open){window.document.body.addEventListener("keydown",p);const e=document.querySelector(o)||window.document.createElement("style");e.className=o,e.innerHTML=x,window.document.head.appendChild(e)}else if(t==s.close){window.document.body.removeEventListener("keydown",p);const e=document.querySelector("."+o);e&&e.remove()}};let m=null;const v=t=>{if(t==s.open){const e=document.querySelector("#"+o)||document.createElement("iframe");e.id=o,console.log(d.width,d.height),e.style.cssText=`width: ${d.width}; + height: ${d.height}; border: none; border-radius: 10px; - `;const A=chrome.runtime.getURL("contentPage/index.html");e.src=A;let n=document.createElement("div");n.id=o,n.style.cssText=`position: fixed; + `;const l=chrome.runtime.getURL("contentPage/index.html");e.src=l;let n=document.createElement("div");n.id=o,n.style.cssText=`position: fixed; z-index: 1000000; top: 10px; left: 10px; box-shadow: 0 0 10px #898989; - width: ${l.width}; - height: ${l.height}; - border-radius: 10px;`;let i=document.createElement("img");i.src=p,i.id=o+"-",i.style.cssText=`width: 20px; + width: ${d.width}; + height: ${d.height}; + border-radius: 10px;`;let i=document.createElement("img");i.src=f,i.id=o+"-",i.style.cssText=`width: 20px; height: 20px; position: absolute; top: -10px; left: -10px; - cursor: grab;`,n.appendChild(i),n.appendChild(e),document.body.appendChild(n),c=n,i.onclick=()=>{d=!d,d?i.style.cursor="grabbing":i.style.cursor="grab"},g=new f(e.contentWindow),g.send("hello"),h=n}else t==s.close&&document.querySelector(`#${o}`)&&document.querySelector(`#${o}`).remove()};chrome.runtime.onMessage.addListener(t=>{if(t.type=="number"&&h){const e=(+t.info/100).toFixed(2).toString();h.style.opacity=e}else x(t.info),E(t.info),y(t.info)}); + cursor: grab;`,n.appendChild(i),n.appendChild(e),document.body.appendChild(n),c=n,i.onclick=()=>{a=!a,a?i.style.cursor="grabbing":i.style.cursor="grab"},A=new w(e.contentWindow),A.send("hello"),m=n}else t==s.close&&document.querySelector(`#${o}`)&&document.querySelector(`#${o}`).remove()};chrome.runtime.onMessage.addListener(t=>{if(t.type=="number"&&m){const e=(+t.info/100).toFixed(2).toString();m.style.opacity=e}else F(t.info),y(t.info),v(t.info)}); diff --git a/dist/contentPage/contentPage.js b/dist/contentPage/contentPage.js index 6374e7a..d8477c0 100644 --- a/dist/contentPage/contentPage.js +++ b/dist/contentPage/contentPage.js @@ -1 +1 @@ -import{r as g,T as lr,C as sr,D as cr,E as ur,F as Wt,f as ee,j as b,_ as y,h as q,p as $t,G as Dt,H as dr,a as ce,g as ae,s as Y,c as F,u as ue,i as de,d as ut,I as pr,J as fr,B as At,n as hr,y as jt,z as je,o as He,K as vr,A as gr}from"../js/ButtonBase-8la9PwCJ.js";var zt={exports:{}},br="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",yr=br,xr=yr;function qt(){}function Xt(){}Xt.resetWarningCache=qt;var mr=function(){function e(n,i,l,c,u,v){if(v!==xr){var h=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 h.name="Invariant Violation",h}}e.isRequired=e;function t(){return e}var o={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:Xt,resetWarningCache:qt};return o.PropTypes=o,o};zt.exports=mr();var Sr=zt.exports;function Cr(e){return Object.keys(e).length===0}function wr(e=null){const t=g.useContext(lr);return!t||Cr(t)?e:t}const Tr=sr();function Ht(e=Tr){return wr(e)}const _r=["className","component"];function Ir(e={}){const{themeId:t,defaultTheme:o,defaultClassName:n="MuiBox-root",generateClassName:i}=e,l=cr("div",{shouldForwardProp:u=>u!=="theme"&&u!=="sx"&&u!=="as"})(ur);return g.forwardRef(function(v,h){const x=Ht(o),m=Wt(v),{className:f,component:S="div"}=m,B=ee(m,_r);return b.jsx(l,y({as:S,ref:h,className:q(f,i?i(n):n),theme:t&&x[t]||x},B))})}function Ft(e,t=166){let o;function n(...i){const l=()=>{e.apply(this,i)};clearTimeout(o),o=setTimeout(l,t)}return n.clear=()=>{clearTimeout(o)},n}function Vt(e){return $t(e).defaultView||window}let be;function Ut(){if(be)return be;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),be="reverse",e.scrollLeft>0?be="default":(e.scrollLeft=1,e.scrollLeft===0&&(be="negative")),document.body.removeChild(e),be}function Rr(e,t){const o=e.scrollLeft;if(t!=="rtl")return o;switch(Ut()){case"negative":return e.scrollWidth-e.clientWidth+o;case"reverse":return e.scrollWidth-e.clientWidth-o;default:return o}}function Yt(){const e=Ht(dr);return e[Dt]||e}const dt=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function Mr(e){return ce("MuiSvgIcon",e)}ae("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Br=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],Pr=e=>{const{color:t,fontSize:o,classes:n}=e,i={root:["root",t!=="inherit"&&`color${F(t)}`,`fontSize${F(o)}`]};return de(i,Mr,n)},Er=Y("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.color!=="inherit"&&t[`color${F(o.color)}`],t[`fontSize${F(o.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var o,n,i,l,c,u,v,h,x,m,f,S,B;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(o=e.transitions)==null||(n=o.create)==null?void 0:n.call(o,"fill",{duration:(i=e.transitions)==null||(i=i.duration)==null?void 0:i.shorter}),fontSize:{inherit:"inherit",small:((l=e.typography)==null||(c=l.pxToRem)==null?void 0:c.call(l,20))||"1.25rem",medium:((u=e.typography)==null||(v=u.pxToRem)==null?void 0:v.call(u,24))||"1.5rem",large:((h=e.typography)==null||(x=h.pxToRem)==null?void 0:x.call(h,35))||"2.1875rem"}[t.fontSize],color:(m=(f=(e.vars||e).palette)==null||(f=f[t.color])==null?void 0:f.main)!=null?m:{action:(S=(e.vars||e).palette)==null||(S=S.action)==null?void 0:S.active,disabled:(B=(e.vars||e).palette)==null||(B=B.action)==null?void 0:B.disabled,inherit:void 0}[t.color]}}),it=g.forwardRef(function(t,o){const n=ue({props:t,name:"MuiSvgIcon"}),{children:i,className:l,color:c="inherit",component:u="svg",fontSize:v="medium",htmlColor:h,inheritViewBox:x=!1,titleAccess:m,viewBox:f="0 0 24 24"}=n,S=ee(n,Br),B=g.isValidElement(i)&&i.type==="svg",E=y({},n,{color:c,component:u,fontSize:v,instanceFontSize:t.fontSize,inheritViewBox:x,viewBox:f,hasSvgAsChild:B}),P={};x||(P.viewBox=f);const A=Pr(E);return b.jsxs(Er,y({as:u,className:q(A.root,l),focusable:"false",color:h,"aria-hidden":m?void 0:!0,role:m?"img":void 0,ref:o},P,S,B&&i.props,{ownerState:E,children:[B?i.props.children:i,m?b.jsx("title",{children:m}):null]}))});it.muiName="SvgIcon";function Kt(e,t){function o(n,i){return b.jsx(it,y({"data-testid":`${t}Icon`,ref:i},n,{children:e}))}return o.muiName=it.muiName,g.memo(g.forwardRef(o))}function Nr(e){return ce("MuiPaper",e)}ae("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const Or=["className","component","elevation","square","variant"],Lr=e=>{const{square:t,elevation:o,variant:n,classes:i}=e,l={root:["root",n,!t&&"rounded",n==="elevation"&&`elevation${o}`]};return de(l,Nr,i)},kr=Y("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.variant],!o.square&&t.rounded,o.variant==="elevation"&&t[`elevation${o.elevation}`]]}})(({theme:e,ownerState:t})=>{var o;return y({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&y({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${ut("#fff",dt(t.elevation))}, ${ut("#fff",dt(t.elevation))})`},e.vars&&{backgroundImage:(o=e.vars.overlays)==null?void 0:o[t.elevation]}))}),Wr=g.forwardRef(function(t,o){const n=ue({props:t,name:"MuiPaper"}),{className:i,component:l="div",elevation:c=1,square:u=!1,variant:v="elevation"}=n,h=ee(n,Or),x=y({},n,{component:l,elevation:c,square:u,variant:v}),m=Lr(x);return b.jsx(kr,y({as:l,ownerState:x,className:q(m.root,i),ref:o},h))});function $r(e){return ce("MuiTypography",e)}ae("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Dr=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],Ar=e=>{const{align:t,gutterBottom:o,noWrap:n,paragraph:i,variant:l,classes:c}=e,u={root:["root",l,e.align!=="inherit"&&`align${F(t)}`,o&&"gutterBottom",n&&"noWrap",i&&"paragraph"]};return de(u,$r,c)},jr=Y("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.variant&&t[o.variant],o.align!=="inherit"&&t[`align${F(o.align)}`],o.noWrap&&t.noWrap,o.gutterBottom&&t.gutterBottom,o.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>y({margin:0},t.variant==="inherit"&&{font:"inherit"},t.variant!=="inherit"&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),pt={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},zr={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},qr=e=>zr[e]||e,Xr=g.forwardRef(function(t,o){const n=ue({props:t,name:"MuiTypography"}),i=qr(n.color),l=Wt(y({},n,{color:i})),{align:c="inherit",className:u,component:v,gutterBottom:h=!1,noWrap:x=!1,paragraph:m=!1,variant:f="body1",variantMapping:S=pt}=l,B=ee(l,Dr),E=y({},l,{align:c,color:i,className:u,component:v,gutterBottom:h,noWrap:x,paragraph:m,variant:f,variantMapping:S}),P=v||(m?"p":S[f]||pt[f])||"span",A=Ar(E);return b.jsx(jr,y({as:P,ref:o,ownerState:E,className:q(A.root,u)},B))});function Hr(e){return ce("MuiAppBar",e)}ae("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const Fr=["className","color","enableColorOnDark","position"],Vr=e=>{const{color:t,position:o,classes:n}=e,i={root:["root",`color${F(t)}`,`position${F(o)}`]};return de(i,Hr,n)},Le=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,Ur=Y(Wr,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[`position${F(o.position)}`],t[`color${F(o.color)}`]]}})(({theme:e,ownerState:t})=>{const o=e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[900];return y({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},t.position==="fixed"&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},t.position==="absolute"&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="sticky"&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="static"&&{position:"static"},t.position==="relative"&&{position:"relative"},!e.vars&&y({},t.color==="default"&&{backgroundColor:o,color:e.palette.getContrastText(o)},t.color&&t.color!=="default"&&t.color!=="inherit"&&t.color!=="transparent"&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},t.color==="inherit"&&{color:"inherit"},e.palette.mode==="dark"&&!t.enableColorOnDark&&{backgroundColor:null,color:null},t.color==="transparent"&&y({backgroundColor:"transparent",color:"inherit"},e.palette.mode==="dark"&&{backgroundImage:"none"})),e.vars&&y({},t.color==="default"&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette.AppBar.defaultBg:Le(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":t.enableColorOnDark?e.vars.palette.text.primary:Le(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},t.color&&!t.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette[t.color].main:Le(e.vars.palette.AppBar.darkBg,e.vars.palette[t.color].main),"--AppBar-color":t.enableColorOnDark?e.vars.palette[t.color].contrastText:Le(e.vars.palette.AppBar.darkColor,e.vars.palette[t.color].contrastText)},!["inherit","transparent"].includes(t.color)&&{backgroundColor:"var(--AppBar-background)"},{color:t.color==="inherit"?"inherit":"var(--AppBar-color)"},t.color==="transparent"&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),Yr=g.forwardRef(function(t,o){const n=ue({props:t,name:"MuiAppBar"}),{className:i,color:l="primary",enableColorOnDark:c=!1,position:u="fixed"}=n,v=ee(n,Fr),h=y({},n,{color:l,position:u,enableColorOnDark:c}),x=Vr(h);return b.jsx(Ur,y({square:!0,component:"header",ownerState:h,elevation:4,className:q(x.root,i,u==="fixed"&&"mui-fixed"),ref:o},v))}),Kr=ae("MuiBox",["root"]),Gr=pr(),Gt=Ir({themeId:Dt,defaultTheme:Gr,defaultClassName:Kr.root,generateClassName:fr.generate});function Jr(e){return ce("MuiTab",e)}const ie=ae("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),Zr=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],Qr=e=>{const{classes:t,textColor:o,fullWidth:n,wrapped:i,icon:l,label:c,selected:u,disabled:v}=e,h={root:["root",l&&c&&"labelIcon",`textColor${F(o)}`,n&&"fullWidth",i&&"wrapped",u&&"selected",v&&"disabled"],iconWrapper:["iconWrapper"]};return de(h,Jr,t)},eo=Y(At,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.label&&o.icon&&t.labelIcon,t[`textColor${F(o.textColor)}`],o.fullWidth&&t.fullWidth,o.wrapped&&t.wrapped,{[`& .${ie.iconWrapper}`]:t.iconWrapper}]}})(({theme:e,ownerState:t})=>y({},e.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},t.label&&{flexDirection:t.iconPosition==="top"||t.iconPosition==="bottom"?"column":"row"},{lineHeight:1.25},t.icon&&t.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${ie.iconWrapper}`]:y({},t.iconPosition==="top"&&{marginBottom:6},t.iconPosition==="bottom"&&{marginTop:6},t.iconPosition==="start"&&{marginRight:e.spacing(1)},t.iconPosition==="end"&&{marginLeft:e.spacing(1)})},t.textColor==="inherit"&&{color:"inherit",opacity:.6,[`&.${ie.selected}`]:{opacity:1},[`&.${ie.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.textColor==="primary"&&{color:(e.vars||e).palette.text.secondary,[`&.${ie.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${ie.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.textColor==="secondary"&&{color:(e.vars||e).palette.text.secondary,[`&.${ie.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${ie.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},t.wrapped&&{fontSize:e.typography.pxToRem(12)})),Fe=g.forwardRef(function(t,o){const n=ue({props:t,name:"MuiTab"}),{className:i,disabled:l=!1,disableFocusRipple:c=!1,fullWidth:u,icon:v,iconPosition:h="top",indicator:x,label:m,onChange:f,onClick:S,onFocus:B,selected:E,selectionFollowsFocus:P,textColor:A="inherit",value:L,wrapped:pe=!1}=n,J=ee(n,Zr),K=y({},n,{disabled:l,disableFocusRipple:c,selected:E,icon:!!v,iconPosition:h,label:!!m,fullWidth:u,textColor:A,wrapped:pe}),te=Qr(K),d=v&&m&&g.isValidElement(v)?g.cloneElement(v,{className:q(te.iconWrapper,v.props.className)}):v,I=r=>{!E&&f&&f(r,L),S&&S(r)},w=r=>{P&&!E&&f&&f(r,L),B&&B(r)};return b.jsxs(eo,y({focusRipple:!c,className:q(te.root,i),ref:o,role:"tab","aria-selected":E,disabled:l,onClick:I,onFocus:w,ownerState:K,tabIndex:E?0:-1},J,{children:[h==="top"||h==="start"?b.jsxs(g.Fragment,{children:[d,m]}):b.jsxs(g.Fragment,{children:[m,d]}),x]}))}),to=Kt(b.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),ro=Kt(b.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function oo(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}function no(e,t,o,n={},i=()=>{}){const{ease:l=oo,duration:c=300}=n;let u=null;const v=t[e];let h=!1;const x=()=>{h=!0},m=f=>{if(h){i(new Error("Animation cancelled"));return}u===null&&(u=f);const S=Math.min(1,(f-u)/c);if(t[e]=l(S)*(o-v)+v,S>=1){requestAnimationFrame(()=>{i(null)});return}requestAnimationFrame(m)};return v===o?(i(new Error("Element already at target position")),x):(requestAnimationFrame(m),x)}const io=["onChange"],ao={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function lo(e){const{onChange:t}=e,o=ee(e,io),n=g.useRef(),i=g.useRef(null),l=()=>{n.current=i.current.offsetHeight-i.current.clientHeight};return hr(()=>{const c=Ft(()=>{const v=n.current;l(),v!==n.current&&t(n.current)}),u=Vt(i.current);return u.addEventListener("resize",c),()=>{c.clear(),u.removeEventListener("resize",c)}},[t]),g.useEffect(()=>{l(),t(n.current)},[t]),b.jsx("div",y({style:ao,ref:i},o))}function so(e){return ce("MuiTabScrollButton",e)}const co=ae("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),uo=["className","slots","slotProps","direction","orientation","disabled"],po=e=>{const{classes:t,orientation:o,disabled:n}=e;return de({root:["root",o,n&&"disabled"]},so,t)},fo=Y(At,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.orientation&&t[o.orientation]]}})(({ownerState:e})=>y({width:40,flexShrink:0,opacity:.8,[`&.${co.disabled}`]:{opacity:0}},e.orientation==="vertical"&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}})),ho=g.forwardRef(function(t,o){var n,i;const l=ue({props:t,name:"MuiTabScrollButton"}),{className:c,slots:u={},slotProps:v={},direction:h}=l,x=ee(l,uo),m=jt(),f=y({isRtl:m},l),S=po(f),B=(n=u.StartScrollButtonIcon)!=null?n:to,E=(i=u.EndScrollButtonIcon)!=null?i:ro,P=je({elementType:B,externalSlotProps:v.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:f}),A=je({elementType:E,externalSlotProps:v.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:f});return b.jsx(fo,y({component:"div",className:q(S.root,c),ref:o,role:null,ownerState:f,tabIndex:null},x,{children:h==="left"?b.jsx(B,y({},P)):b.jsx(E,y({},A))}))});function vo(e){return ce("MuiTabs",e)}const Ve=ae("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),go=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],ft=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,ht=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,ke=(e,t,o)=>{let n=!1,i=o(e,t);for(;i;){if(i===e.firstChild){if(n)return;n=!0}const l=i.disabled||i.getAttribute("aria-disabled")==="true";if(!i.hasAttribute("tabindex")||l)i=o(e,i);else{i.focus();return}}},bo=e=>{const{vertical:t,fixed:o,hideScrollbar:n,scrollableX:i,scrollableY:l,centered:c,scrollButtonsHideMobile:u,classes:v}=e;return de({root:["root",t&&"vertical"],scroller:["scroller",o&&"fixed",n&&"hideScrollbar",i&&"scrollableX",l&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",c&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",u&&"scrollButtonsHideMobile"],scrollableX:[i&&"scrollableX"],hideScrollbar:[n&&"hideScrollbar"]},vo,v)},yo=Y("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{[`& .${Ve.scrollButtons}`]:t.scrollButtons},{[`& .${Ve.scrollButtons}`]:o.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,o.vertical&&t.vertical]}})(({ownerState:e,theme:t})=>y({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${Ve.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}})),xo=Y("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.scroller,o.fixed&&t.fixed,o.hideScrollbar&&t.hideScrollbar,o.scrollableX&&t.scrollableX,o.scrollableY&&t.scrollableY]}})(({ownerState:e})=>y({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"})),mo=Y("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.flexContainer,o.vertical&&t.flexContainerVertical,o.centered&&t.centered]}})(({ownerState:e})=>y({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"})),So=Y("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})(({ownerState:e,theme:t})=>y({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create()},e.indicatorColor==="primary"&&{backgroundColor:(t.vars||t).palette.primary.main},e.indicatorColor==="secondary"&&{backgroundColor:(t.vars||t).palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0})),Co=Y(lo)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),vt={},wo=g.forwardRef(function(t,o){const n=ue({props:t,name:"MuiTabs"}),i=Yt(),l=jt(),{"aria-label":c,"aria-labelledby":u,action:v,centered:h=!1,children:x,className:m,component:f="div",allowScrollButtonsMobile:S=!1,indicatorColor:B="primary",onChange:E,orientation:P="horizontal",ScrollButtonComponent:A=ho,scrollButtons:L="auto",selectionFollowsFocus:pe,slots:J={},slotProps:K={},TabIndicatorProps:te={},TabScrollButtonProps:d={},textColor:I="primary",value:w,variant:r="standard",visibleScrollbar:a=!1}=n,T=ee(n,go),_=r==="scrollable",C=P==="vertical",O=C?"scrollTop":"scrollLeft",D=C?"top":"left",j=C?"bottom":"right",k=C?"clientHeight":"clientWidth",V=C?"height":"width",z=y({},n,{component:f,allowScrollButtonsMobile:S,indicatorColor:B,orientation:P,vertical:C,scrollButtons:L,textColor:I,variant:r,visibleScrollbar:a,fixed:!_,hideScrollbar:_&&!a,scrollableX:_&&!C,scrollableY:_&&C,centered:h&&!_,scrollButtonsHideMobile:!S}),W=bo(z),fe=je({elementType:J.StartScrollButtonIcon,externalSlotProps:K.startScrollButtonIcon,ownerState:z}),he=je({elementType:J.EndScrollButtonIcon,externalSlotProps:K.endScrollButtonIcon,ownerState:z}),[U,ye]=g.useState(!1),[X,re]=g.useState(vt),[xe,Be]=g.useState(!1),[Pe,ze]=g.useState(!1),[me,ve]=g.useState(!1),[le,Ee]=g.useState({overflow:"hidden",scrollbarWidth:0}),se=new Map,H=g.useRef(null),Z=g.useRef(null),Se=()=>{const s=H.current;let p;if(s){const R=s.getBoundingClientRect();p={clientWidth:s.clientWidth,scrollLeft:s.scrollLeft,scrollTop:s.scrollTop,scrollLeftNormalized:Rr(s,l?"rtl":"ltr"),scrollWidth:s.scrollWidth,top:R.top,bottom:R.bottom,left:R.left,right:R.right}}let M;if(s&&w!==!1){const R=Z.current.children;if(R.length>0){const N=R[se.get(w)];M=N?N.getBoundingClientRect():null}}return{tabsMeta:p,tabMeta:M}},oe=He(()=>{const{tabsMeta:s,tabMeta:p}=Se();let M=0,R;if(C)R="top",p&&s&&(M=p.top-s.top+s.scrollTop);else if(R=l?"right":"left",p&&s){const $=l?s.scrollLeftNormalized+s.clientWidth-s.scrollWidth:s.scrollLeft;M=(l?-1:1)*(p[R]-s[R]+$)}const N={[R]:M,[V]:p?p[V]:0};if(isNaN(X[R])||isNaN(X[V]))re(N);else{const $=Math.abs(X[R]-N[R]),G=Math.abs(X[V]-N[V]);($>=1||G>=1)&&re(N)}}),ge=(s,{animation:p=!0}={})=>{p?no(O,H.current,s,{duration:i.transitions.duration.standard}):H.current[O]=s},at=s=>{let p=H.current[O];C?p+=s:(p+=s*(l?-1:1),p*=l&&Ut()==="reverse"?-1:1),ge(p)},lt=()=>{const s=H.current[k];let p=0;const M=Array.from(Z.current.children);for(let R=0;Rs){R===0&&(p=s);break}p+=N[k]}return p},tr=()=>{at(-1*lt())},rr=()=>{at(lt())},or=g.useCallback(s=>{Ee({overflow:null,scrollbarWidth:s})},[]),nr=()=>{const s={};s.scrollbarSizeListener=_?b.jsx(Co,{onChange:or,className:q(W.scrollableX,W.hideScrollbar)}):null;const M=_&&(L==="auto"&&(xe||Pe)||L===!0);return s.scrollButtonStart=M?b.jsx(A,y({slots:{StartScrollButtonIcon:J.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:fe},orientation:P,direction:l?"right":"left",onClick:tr,disabled:!xe},d,{className:q(W.scrollButtons,d.className)})):null,s.scrollButtonEnd=M?b.jsx(A,y({slots:{EndScrollButtonIcon:J.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:he},orientation:P,direction:l?"left":"right",onClick:rr,disabled:!Pe},d,{className:q(W.scrollButtons,d.className)})):null,s},st=He(s=>{const{tabsMeta:p,tabMeta:M}=Se();if(!(!M||!p)){if(M[D]p[j]){const R=p[O]+(M[j]-p[j]);ge(R,{animation:s})}}}),Ne=He(()=>{_&&L!==!1&&ve(!me)});g.useEffect(()=>{const s=Ft(()=>{H.current&&oe()});let p;const M=$=>{$.forEach(G=>{G.removedNodes.forEach(Ce=>{var ne;(ne=p)==null||ne.unobserve(Ce)}),G.addedNodes.forEach(Ce=>{var ne;(ne=p)==null||ne.observe(Ce)})}),s(),Ne()},R=Vt(H.current);R.addEventListener("resize",s);let N;return typeof ResizeObserver<"u"&&(p=new ResizeObserver(s),Array.from(Z.current.children).forEach($=>{p.observe($)})),typeof MutationObserver<"u"&&(N=new MutationObserver(M),N.observe(Z.current,{childList:!0})),()=>{var $,G;s.clear(),R.removeEventListener("resize",s),($=N)==null||$.disconnect(),(G=p)==null||G.disconnect()}},[oe,Ne]),g.useEffect(()=>{const s=Array.from(Z.current.children),p=s.length;if(typeof IntersectionObserver<"u"&&p>0&&_&&L!==!1){const M=s[0],R=s[p-1],N={root:H.current,threshold:.99},$=Xe=>{Be(!Xe[0].isIntersecting)},G=new IntersectionObserver($,N);G.observe(M);const Ce=Xe=>{ze(!Xe[0].isIntersecting)},ne=new IntersectionObserver(Ce,N);return ne.observe(R),()=>{G.disconnect(),ne.disconnect()}}},[_,L,me,x==null?void 0:x.length]),g.useEffect(()=>{ye(!0)},[]),g.useEffect(()=>{oe()}),g.useEffect(()=>{st(vt!==X)},[st,X]),g.useImperativeHandle(v,()=>({updateIndicator:oe,updateScrollButtons:Ne}),[oe,Ne]);const ct=b.jsx(So,y({},te,{className:q(W.indicator,te.className),ownerState:z,style:y({},X,te.style)}));let Oe=0;const ir=g.Children.map(x,s=>{if(!g.isValidElement(s))return null;const p=s.props.value===void 0?Oe:s.props.value;se.set(p,Oe);const M=p===w;return Oe+=1,g.cloneElement(s,y({fullWidth:r==="fullWidth",indicator:M&&!U&&ct,selected:M,selectionFollowsFocus:pe,onChange:E,textColor:I,value:p},Oe===1&&w===!1&&!s.props.tabIndex?{tabIndex:0}:{}))}),ar=s=>{const p=Z.current,M=$t(p).activeElement;if(M.getAttribute("role")!=="tab")return;let N=P==="horizontal"?"ArrowLeft":"ArrowUp",$=P==="horizontal"?"ArrowRight":"ArrowDown";switch(P==="horizontal"&&l&&(N="ArrowRight",$="ArrowLeft"),s.key){case N:s.preventDefault(),ke(p,M,ht);break;case $:s.preventDefault(),ke(p,M,ft);break;case"Home":s.preventDefault(),ke(p,null,ft);break;case"End":s.preventDefault(),ke(p,null,ht);break}},qe=nr();return b.jsxs(yo,y({className:q(W.root,m),ownerState:z,ref:o,as:f},T,{children:[qe.scrollButtonStart,qe.scrollbarSizeListener,b.jsxs(xo,{className:W.scroller,ownerState:z,style:{overflow:le.overflow,[C?`margin${l?"Left":"Right"}`:"marginBottom"]:a?void 0:-le.scrollbarWidth},ref:H,children:[b.jsx(mo,{"aria-label":c,"aria-labelledby":u,"aria-orientation":P==="vertical"?"vertical":null,className:W.flexContainer,ownerState:z,onKeyDown:ar,ref:Z,role:"tablist",children:ir}),U&&ct]}),qe.scrollButtonEnd]}))});var Jt={};function To(e){if(e&&e.__esModule)return e;var t={};if(e!=null){for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,o):{};n.get||n.set?Object.defineProperty(t,o,n):t[o]=e[o]}}return t.default=e,t}var Zt=To,Q={},Ue,gt;function Me(){if(gt)return Ue;gt=1;function e(t){return t&&t.__esModule?t:{default:t}}return Ue=e,Ue}var We,bt;function _o(){if(bt)return We;bt=1;function e(){return We=e=Object.assign||function(t){for(var o=1;o=0)&&(n[l]=t[l]);return n}return Ye=e,Ye}var Ke,xt;function Ro(){if(xt)return Ke;xt=1;var e=Io();function t(o,n){if(o==null)return{};var i=e(o,n),l,c;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(o);for(c=0;c=0)&&Object.prototype.propertyIsEnumerable.call(o,l)&&(i[l]=o[l])}return i}return Ke=t,Ke}var Ge,mt;function Mo(){if(mt)return Ge;mt=1;function e(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}return Ge=e,Ge}var Je,St;function Bo(){if(St)return Je;St=1;function e(o,n){for(var i=0;im&&(f=m+1-Math.exp((m-f)*o.default.RESISTANCE_COEF)):f<0?(f=0,S=(f-c)*h+v):f>m&&(f=m,S=(f-c)*h+v),{index:f,startX:S}}return Ae}var Ie={},Nt;function Do(){if(Nt)return Ie;Nt=1;var e=Me();Object.defineProperty(Ie,"__esModule",{value:!0}),Ie.default=void 0;var t=e(g),o=function(l,c){var u=!1,v=function(B){return B?B.key:"empty"};if(l.children.length&&c.children.length){var h=t.default.Children.map(l.children,v),x=h[l.index];if(x!=null){var m=t.default.Children.map(c.children,v),f=m[c.index];x===f&&(u=!0)}}return u},n=o;return Ie.default=n,Ie}var Re={},Ot;function Ao(){if(Ot)return Re;Ot=1,Object.defineProperty(Re,"__esModule",{value:!0}),Re.default=void 0;function e(o,n){var i=o%n;return i<0?i+n:i}var t=e;return Re.default=t,Re}var Lt;function jo(){return Lt||(Lt=1,function(e){var t=Me();Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"checkIndexBounds",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"computeIndex",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"constant",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"getDisplaySameSlide",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"mod",{enumerable:!0,get:function(){return c.default}});var o=t(Wo()),n=t($o()),i=t(er()),l=t(Do()),c=t(Ao())}(rt)),rt}var kt;function zo(){if(kt)return Q;kt=1;var e=Zt,t=Me();Object.defineProperty(Q,"__esModule",{value:!0}),Q.getDomTreeShapes=A,Q.findNativeHandler=pe,Q.default=Q.SwipeableViewsContext=void 0;var o=t(_o()),n=t(Ro()),i=t(Mo()),l=t(Bo()),c=t(No()),u=t(Oo()),v=t(ko()),h=e(g);t(Sr),t(Qt());var x=jo();function m(d,I,w,r){return d.addEventListener(I,w,r),{remove:function(){d.removeEventListener(I,w,r)}}}var f={container:{direction:"ltr",display:"flex",willChange:"transform"},slide:{width:"100%",WebkitFlexShrink:0,flexShrink:0,overflow:"auto"}},S={root:{x:{overflowX:"hidden"},"x-reverse":{overflowX:"hidden"},y:{overflowY:"hidden"},"y-reverse":{overflowY:"hidden"}},flexDirection:{x:"row","x-reverse":"row-reverse",y:"column","y-reverse":"column-reverse"},transform:{x:function(I){return"translate(".concat(-I,"%, 0)")},"x-reverse":function(I){return"translate(".concat(I,"%, 0)")},y:function(I){return"translate(0, ".concat(-I,"%)")},"y-reverse":function(I){return"translate(0, ".concat(I,"%)")}},length:{x:"width","x-reverse":"width",y:"height","y-reverse":"height"},rotationMatrix:{x:{x:[1,0],y:[0,1]},"x-reverse":{x:[-1,0],y:[0,1]},y:{x:[0,1],y:[1,0]},"y-reverse":{x:[0,-1],y:[1,0]}},scrollPosition:{x:"scrollLeft","x-reverse":"scrollLeft",y:"scrollTop","y-reverse":"scrollTop"},scrollLength:{x:"scrollWidth","x-reverse":"scrollWidth",y:"scrollHeight","y-reverse":"scrollHeight"},clientLength:{x:"clientWidth","x-reverse":"clientWidth",y:"clientHeight","y-reverse":"clientHeight"}};function B(d,I){var w=I.duration,r=I.easeFunction,a=I.delay;return"".concat(d," ").concat(w," ").concat(r," ").concat(a)}function E(d,I){var w=S.rotationMatrix[I];return{pageX:w.x[0]*d.pageX+w.x[1]*d.pageY,pageY:w.y[0]*d.pageX+w.y[1]*d.pageY}}function P(d){return d.touches=[{pageX:d.pageX,pageY:d.pageY}],d}function A(d,I){for(var w=[];d&&d!==I&&d!==document.body&&!d.hasAttribute("data-swipeable");){var r=window.getComputedStyle(d);r.getPropertyValue("position")==="absolute"||r.getPropertyValue("overflow-x")==="hidden"?w=[]:(d.clientWidth>0&&d.scrollWidth>d.clientWidth||d.clientHeight>0&&d.scrollHeight>d.clientHeight)&&w.push({element:d,scrollWidth:d.scrollWidth,scrollHeight:d.scrollHeight,clientWidth:d.clientWidth,clientHeight:d.clientHeight,scrollLeft:d.scrollLeft,scrollTop:d.scrollTop}),d=d.parentNode}return w}var L=null;function pe(d){var I=d.domTreeShapes,w=d.pageX,r=d.startX,a=d.axis;return I.some(function(T){var _=w>=r;(a==="x"||a==="y")&&(_=!_);var C=Math.round(T[S.scrollPosition[a]]),O=C>0,D=C+T[S.clientLength[a]]z&&V>x.constant.UNCERTAINTY_THRESHOLD;if(!j&&(_==="y"||_==="y-reverse")&&(r.indexCurrent===0&&r.startXk.pageX)){r.isSwiping=!1;return}if(V>z&&a.preventDefault(),W===!0||z>x.constant.UNCERTAINTY_THRESHOLD){r.isSwiping=W,r.startX=k.pageX;return}}if(r.isSwiping===!0){a.preventDefault(),r.vx=r.vx*.5+(k.pageX-r.lastX)*.5,r.lastX=k.pageX;var fe=(0,x.computeIndex)({children:C,resistance:j,pageX:k.pageX,startIndex:r.startIndex,startX:r.startX,viewLength:r.viewLength}),he=fe.index,U=fe.startX;if(L===null&&!O){var ye=A(a.target,r.rootNode),X=pe({domTreeShapes:ye,startX:r.startX,pageX:k.pageX,axis:_});if(X)return}U?r.startX=U:L===null&&(L=r.rootNode),r.setIndexCurrent(he);var re=function(){D&&D(he,"move")};(r.state.displaySameSlide||!r.state.isDragging)&&r.setState({displaySameSlide:!1,isDragging:!0},re),re()}}},r.handleSwipeEnd=function(){if(L=null,!!r.started&&(r.started=!1,r.isSwiping===!0)){var a=r.state.indexLatest,T=r.indexCurrent,_=a-T,C;Math.abs(r.vx)>r.props.threshold?r.vx>0?C=Math.floor(T):C=Math.ceil(T):Math.abs(_)>r.props.hysteresis?C=_>0?Math.floor(T):Math.ceil(T):C=a;var O=h.Children.count(r.props.children)-1;C<0?C=0:C>O&&(C=O),r.setIndexCurrent(C),r.setState({indexLatest:C,isDragging:!1},function(){r.props.onSwitching&&r.props.onSwitching(C,"end"),r.props.onChangeIndex&&C!==a&&r.props.onChangeIndex(C,a,{reason:"swipe"}),T===a&&r.handleTransitionEnd()})}},r.handleTouchStart=function(a){r.props.onTouchStart&&r.props.onTouchStart(a),r.handleSwipeStart(a)},r.handleTouchEnd=function(a){r.props.onTouchEnd&&r.props.onTouchEnd(a),r.handleSwipeEnd(a)},r.handleMouseDown=function(a){r.props.onMouseDown&&r.props.onMouseDown(a),a.persist(),r.handleSwipeStart(P(a))},r.handleMouseUp=function(a){r.props.onMouseUp&&r.props.onMouseUp(a),r.handleSwipeEnd(P(a))},r.handleMouseLeave=function(a){r.props.onMouseLeave&&r.props.onMouseLeave(a),r.started&&r.handleSwipeEnd(P(a))},r.handleMouseMove=function(a){r.props.onMouseMove&&r.props.onMouseMove(a),r.started&&r.handleSwipeMove(P(a))},r.handleScroll=function(a){if(r.props.onScroll&&r.props.onScroll(a),a.target===r.rootNode){if(r.ignoreNextScrollEvents){r.ignoreNextScrollEvents=!1;return}var T=r.state.indexLatest,_=Math.ceil(a.target.scrollLeft/a.target.clientWidth)+T;r.ignoreNextScrollEvents=!0,a.target.scrollLeft=0,r.props.onChangeIndex&&_!==T&&r.props.onChangeIndex(_,T,{reason:"focus"})}},r.updateHeight=function(){if(r.activeSlide!==null){var a=r.activeSlide.children[0];a!==void 0&&a.offsetHeight!==void 0&&r.state.heightLatest!==a.offsetHeight&&r.setState({heightLatest:a.offsetHeight})}},r.state={indexLatest:w.index,isDragging:!1,renderOnlyActive:!w.disableLazyLoading,heightLatest:0,displaySameSlide:!0},r.setIndexCurrent(w.index),r}return(0,l.default)(I,[{key:"componentDidMount",value:function(){var r=this;this.transitionListener=m(this.containerNode,"transitionend",function(a){a.target===r.containerNode&&r.handleTransitionEnd()}),this.touchMoveListener=m(this.rootNode,"touchmove",function(a){r.props.disabled||r.handleSwipeMove(a)},{passive:!1}),this.props.disableLazyLoading||(this.firstRenderTimeout=setTimeout(function(){r.setState({renderOnlyActive:!1})},0)),this.props.action&&this.props.action({updateHeight:this.updateHeight})}},{key:"UNSAFE_componentWillReceiveProps",value:function(r){var a=r.index;typeof a=="number"&&a!==this.props.index&&(this.setIndexCurrent(a),this.setState({displaySameSlide:(0,x.getDisplaySameSlide)(this.props,r),indexLatest:a}))}},{key:"componentWillUnmount",value:function(){this.transitionListener.remove(),this.touchMoveListener.remove(),clearTimeout(this.firstRenderTimeout)}},{key:"getSwipeableViewsContext",value:function(){var r=this;return{slideUpdateHeight:function(){r.updateHeight()}}}},{key:"setIndexCurrent",value:function(r){if(!this.props.animateTransitions&&this.indexCurrent!==r&&this.handleTransitionEnd(),this.indexCurrent=r,this.containerNode){var a=this.props.axis,T=S.transform[a](r*100);this.containerNode.style.WebkitTransform=T,this.containerNode.style.transform=T}}},{key:"handleTransitionEnd",value:function(){this.props.onTransitionEnd&&(this.state.displaySameSlide||this.state.isDragging||this.props.onTransitionEnd())}},{key:"render",value:function(){var r=this,a=this.props;a.action;var T=a.animateHeight,_=a.animateTransitions,C=a.axis,O=a.children,D=a.containerStyle,j=a.disabled;a.disableLazyLoading;var k=a.enableMouseEvents;a.hysteresis,a.ignoreNativeScroll,a.index,a.onChangeIndex,a.onSwitching,a.onTransitionEnd,a.resistance;var V=a.slideStyle,z=a.slideClassName,W=a.springConfig,fe=a.style;a.threshold;var he=(0,n.default)(a,["action","animateHeight","animateTransitions","axis","children","containerStyle","disabled","disableLazyLoading","enableMouseEvents","hysteresis","ignoreNativeScroll","index","onChangeIndex","onSwitching","onTransitionEnd","resistance","slideStyle","slideClassName","springConfig","style","threshold"]),U=this.state,ye=U.displaySameSlide,X=U.heightLatest,re=U.indexLatest,xe=U.isDragging,Be=U.renderOnlyActive,Pe=j?{}:{onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd},ze=!j&&k?{onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,onMouseLeave:this.handleMouseLeave,onMouseMove:this.handleMouseMove}:{},me=(0,o.default)({},f.slide,V),ve,le;if(xe||!_||ye)ve="all 0s ease 0s",le="all 0s ease 0s";else if(ve=B("transform",W),le=B("-webkit-transform",W),X!==0){var Ee=", ".concat(B("height",W));ve+=Ee,le+=Ee}var se={height:null,WebkitFlexDirection:S.flexDirection[C],flexDirection:S.flexDirection[C],WebkitTransition:le,transition:ve};if(!Be){var H=S.transform[C](this.indexCurrent*100);se.WebkitTransform=H,se.transform=H}return T&&(se.height=X),h.createElement(J.Provider,{value:this.getSwipeableViewsContext()},h.createElement("div",(0,o.default)({ref:this.setRootNode,style:(0,o.default)({},S.root[C],fe)},he,Pe,ze,{onScroll:this.handleScroll}),h.createElement("div",{ref:this.setContainerNode,style:(0,o.default)({},se,f.container,D),className:"react-swipeable-view-container"},h.Children.map(O,function(Z,Se){if(Be&&Se!==re)return null;var oe,ge=!0;return Se===re&&(ge=!1,T&&(oe=r.setActiveSlide,me.overflowY="hidden")),h.createElement("div",{ref:oe,style:me,className:z,"aria-hidden":ge,"data-swipeable":"true"},Z)}))))}}]),I}(h.Component);K.displayName="ReactSwipableView",K.propTypes={},K.defaultProps={animateHeight:!1,animateTransitions:!0,axis:"x",disabled:!1,disableLazyLoading:!1,enableMouseEvents:!1,hysteresis:.6,ignoreNativeScroll:!1,index:0,threshold:5,springConfig:{duration:"0.35s",easeFunction:"cubic-bezier(0.15, 0.3, 0.25, 1)",delay:"0s"},resistance:!1};var te=K;return Q.default=te,Q}(function(e){var t=Zt;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"SwipeableViewsContext",{enumerable:!0,get:function(){return o.SwipeableViewsContext}});var o=t(zo())})(Jt);const qo=vr(Jt);function ot(e){const{children:t,value:o,index:n,...i}=e;return b.jsx(Xr,{component:"div",role:"tabpanel",hidden:o!==n,id:`action-tabpanel-${n}`,"aria-labelledby":`action-tab-${n}`,...i,children:o===n&&b.jsx(Gt,{sx:{p:3},children:t})})}function nt(e){return{id:`action-tab-${e}`,"aria-controls":`action-tabpanel-${e}`}}function Xo(){const e=Yt(),[t,o]=g.useState(0),n=(l,c)=>{console.log(l),o(c)},i=l=>{o(l)};return b.jsxs(Gt,{sx:{bgcolor:"background.paper",width:270,position:"relative",maxHeight:200},children:[b.jsx(Yr,{position:"static",color:"default",children:b.jsxs(wo,{value:t,onChange:n,indicatorColor:"primary",textColor:"primary",variant:"fullWidth","aria-label":"action tabs example",children:[b.jsx(Fe,{label:"元素信息",...nt(0)}),b.jsx(Fe,{label:"元素修改",...nt(1)}),b.jsx(Fe,{label:"页面分析",...nt(2)})]})}),b.jsxs(qo,{axis:e.direction==="rtl"?"x-reverse":"x",index:t,onChangeIndex:i,children:[b.jsx(ot,{value:t,index:0,dir:e.direction,children:"Item One"}),b.jsx(ot,{value:t,index:1,dir:e.direction,children:"Item Two"}),b.jsx(ot,{value:t,index:2,dir:e.direction,children:"Item Three"})]})]})}function Ho(){return g.useEffect(()=>{window.addEventListener("message",e=>{console.log(e),top==null||top.postMessage("ok","*")},!1)}),b.jsx(b.Fragment,{children:b.jsx("div",{children:b.jsx("div",{id:"app",children:b.jsx(Xo,{})})})})}gr.createRoot(document.getElementById("root")).render(b.jsx(Ho,{})); +import{r as b,T as sr,C as cr,D as dr,E as ur,F as zt,f as J,j as g,_ as x,h as z,p as jt,G as Dt,H as pr,a as le,g as te,s as V,c as j,u as se,i as ce,d as ut,I as fr,J as hr,B as at,b as vr,n as gr,y as At,z as De,o as Fe,K as br,A as xr}from"../js/ButtonBase-8la9PwCJ.js";var qt={exports:{}},yr="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",mr=yr,Sr=mr;function Xt(){}function Ft(){}Ft.resetWarningCache=Xt;var Cr=function(){function e(n,i,l,s,d,h){if(h!==Sr){var p=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 p.name="Invariant Violation",p}}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:Ft,resetWarningCache:Xt};return r.PropTypes=r,r};qt.exports=Cr();var wr=qt.exports;function Tr(e){return Object.keys(e).length===0}function Rr(e=null){const t=b.useContext(sr);return!t||Tr(t)?e:t}const _r=cr();function Ht(e=_r){return Rr(e)}const Ir=["className","component"];function Mr(e={}){const{themeId:t,defaultTheme:r,defaultClassName:n="MuiBox-root",generateClassName:i}=e,l=dr("div",{shouldForwardProp:d=>d!=="theme"&&d!=="sx"&&d!=="as"})(ur);return b.forwardRef(function(h,p){const y=Ht(r),m=zt(h),{className:f,component:S="div"}=m,M=J(m,Ir);return g.jsx(l,x({as:S,ref:p,className:z(f,i?i(n):n),theme:t&&y[t]||y},M))})}function Vt(e,t=166){let r;function n(...i){const l=()=>{e.apply(this,i)};clearTimeout(r),r=setTimeout(l,t)}return n.clear=()=>{clearTimeout(r)},n}function Ut(e){return jt(e).defaultView||window}let be;function Yt(){if(be)return be;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),be="reverse",e.scrollLeft>0?be="default":(e.scrollLeft=1,e.scrollLeft===0&&(be="negative")),document.body.removeChild(e),be}function Br(e,t){const r=e.scrollLeft;if(t!=="rtl")return r;switch(Yt()){case"negative":return e.scrollWidth-e.clientWidth+r;case"reverse":return e.scrollWidth-e.clientWidth-r;default:return r}}function Kt(){const e=Ht(pr);return e[Dt]||e}const pt=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function Pr(e){return le("MuiSvgIcon",e)}te("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Er=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],Nr=e=>{const{color:t,fontSize:r,classes:n}=e,i={root:["root",t!=="inherit"&&`color${j(t)}`,`fontSize${j(r)}`]};return ce(i,Pr,n)},Or=V("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${j(r.color)}`],t[`fontSize${j(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,n,i,l,s,d,h,p,y,m,f,S,M;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(r=e.transitions)==null||(n=r.create)==null?void 0:n.call(r,"fill",{duration:(i=e.transitions)==null||(i=i.duration)==null?void 0:i.shorter}),fontSize:{inherit:"inherit",small:((l=e.typography)==null||(s=l.pxToRem)==null?void 0:s.call(l,20))||"1.25rem",medium:((d=e.typography)==null||(h=d.pxToRem)==null?void 0:h.call(d,24))||"1.5rem",large:((p=e.typography)==null||(y=p.pxToRem)==null?void 0:y.call(p,35))||"2.1875rem"}[t.fontSize],color:(m=(f=(e.vars||e).palette)==null||(f=f[t.color])==null?void 0:f.main)!=null?m:{action:(S=(e.vars||e).palette)==null||(S=S.action)==null?void 0:S.active,disabled:(M=(e.vars||e).palette)==null||(M=M.action)==null?void 0:M.disabled,inherit:void 0}[t.color]}}),it=b.forwardRef(function(t,r){const n=se({props:t,name:"MuiSvgIcon"}),{children:i,className:l,color:s="inherit",component:d="svg",fontSize:h="medium",htmlColor:p,inheritViewBox:y=!1,titleAccess:m,viewBox:f="0 0 24 24"}=n,S=J(n,Er),M=b.isValidElement(i)&&i.type==="svg",P=x({},n,{color:s,component:d,fontSize:h,instanceFontSize:t.fontSize,inheritViewBox:y,viewBox:f,hasSvgAsChild:M}),E={};y||(E.viewBox=f);const A=Nr(P);return g.jsxs(Or,x({as:d,className:z(A.root,l),focusable:"false",color:p,"aria-hidden":m?void 0:!0,role:m?"img":void 0,ref:r},E,S,M&&i.props,{ownerState:P,children:[M?i.props.children:i,m?g.jsx("title",{children:m}):null]}))});it.muiName="SvgIcon";function Gt(e,t){function r(n,i){return g.jsx(it,x({"data-testid":`${t}Icon`,ref:i},n,{children:e}))}return r.muiName=it.muiName,b.memo(b.forwardRef(r))}function kr(e){return le("MuiPaper",e)}te("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const Lr=["className","component","elevation","square","variant"],Wr=e=>{const{square:t,elevation:r,variant:n,classes:i}=e,l={root:["root",n,!t&&"rounded",n==="elevation"&&`elevation${r}`]};return ce(l,kr,i)},$r=V("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],!r.square&&t.rounded,r.variant==="elevation"&&t[`elevation${r.elevation}`]]}})(({theme:e,ownerState:t})=>{var r;return x({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&x({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${ut("#fff",pt(t.elevation))}, ${ut("#fff",pt(t.elevation))})`},e.vars&&{backgroundImage:(r=e.vars.overlays)==null?void 0:r[t.elevation]}))}),zr=b.forwardRef(function(t,r){const n=se({props:t,name:"MuiPaper"}),{className:i,component:l="div",elevation:s=1,square:d=!1,variant:h="elevation"}=n,p=J(n,Lr),y=x({},n,{component:l,elevation:s,square:d,variant:h}),m=Wr(y);return g.jsx($r,x({as:l,ownerState:y,className:z(m.root,i),ref:r},p))});function jr(e){return le("MuiTypography",e)}te("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Dr=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],Ar=e=>{const{align:t,gutterBottom:r,noWrap:n,paragraph:i,variant:l,classes:s}=e,d={root:["root",l,e.align!=="inherit"&&`align${j(t)}`,r&&"gutterBottom",n&&"noWrap",i&&"paragraph"]};return ce(d,jr,s)},qr=V("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],r.align!=="inherit"&&t[`align${j(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>x({margin:0},t.variant==="inherit"&&{font:"inherit"},t.variant!=="inherit"&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),ft={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Xr={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Fr=e=>Xr[e]||e,Hr=b.forwardRef(function(t,r){const n=se({props:t,name:"MuiTypography"}),i=Fr(n.color),l=zt(x({},n,{color:i})),{align:s="inherit",className:d,component:h,gutterBottom:p=!1,noWrap:y=!1,paragraph:m=!1,variant:f="body1",variantMapping:S=ft}=l,M=J(l,Dr),P=x({},l,{align:s,color:i,className:d,component:h,gutterBottom:p,noWrap:y,paragraph:m,variant:f,variantMapping:S}),E=h||(m?"p":S[f]||ft[f])||"span",A=Ar(P);return g.jsx(qr,x({as:E,ref:r,ownerState:P,className:z(A.root,d)},M))});function Vr(e){return le("MuiAppBar",e)}te("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const Ur=["className","color","enableColorOnDark","position"],Yr=e=>{const{color:t,position:r,classes:n}=e,i={root:["root",`color${j(t)}`,`position${j(r)}`]};return ce(i,Vr,n)},ke=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,Kr=V(zr,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`position${j(r.position)}`],t[`color${j(r.color)}`]]}})(({theme:e,ownerState:t})=>{const r=e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[900];return x({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},t.position==="fixed"&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},t.position==="absolute"&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="sticky"&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="static"&&{position:"static"},t.position==="relative"&&{position:"relative"},!e.vars&&x({},t.color==="default"&&{backgroundColor:r,color:e.palette.getContrastText(r)},t.color&&t.color!=="default"&&t.color!=="inherit"&&t.color!=="transparent"&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},t.color==="inherit"&&{color:"inherit"},e.palette.mode==="dark"&&!t.enableColorOnDark&&{backgroundColor:null,color:null},t.color==="transparent"&&x({backgroundColor:"transparent",color:"inherit"},e.palette.mode==="dark"&&{backgroundImage:"none"})),e.vars&&x({},t.color==="default"&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette.AppBar.defaultBg:ke(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":t.enableColorOnDark?e.vars.palette.text.primary:ke(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},t.color&&!t.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette[t.color].main:ke(e.vars.palette.AppBar.darkBg,e.vars.palette[t.color].main),"--AppBar-color":t.enableColorOnDark?e.vars.palette[t.color].contrastText:ke(e.vars.palette.AppBar.darkColor,e.vars.palette[t.color].contrastText)},!["inherit","transparent"].includes(t.color)&&{backgroundColor:"var(--AppBar-background)"},{color:t.color==="inherit"?"inherit":"var(--AppBar-color)"},t.color==="transparent"&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),Gr=b.forwardRef(function(t,r){const n=se({props:t,name:"MuiAppBar"}),{className:i,color:l="primary",enableColorOnDark:s=!1,position:d="fixed"}=n,h=J(n,Ur),p=x({},n,{color:l,position:d,enableColorOnDark:s}),y=Yr(p);return g.jsx(Kr,x({square:!0,component:"header",ownerState:p,elevation:4,className:z(y.root,i,d==="fixed"&&"mui-fixed"),ref:r},h))}),Jr=te("MuiBox",["root"]),Zr=fr(),Jt=Mr({themeId:Dt,defaultTheme:Zr,defaultClassName:Jr.root,generateClassName:hr.generate});function Qr(e){return le("MuiFab",e)}const ht=te("MuiFab",["root","primary","secondary","extended","circular","focusVisible","disabled","colorInherit","sizeSmall","sizeMedium","sizeLarge","info","error","warning","success"]),eo=["children","className","color","component","disabled","disableFocusRipple","focusVisibleClassName","size","variant"],to=e=>{const{color:t,variant:r,classes:n,size:i}=e,l={root:["root",r,`size${j(i)}`,t==="inherit"?"colorInherit":t]},s=ce(l,Qr,n);return x({},n,s)},ro=V(at,{name:"MuiFab",slot:"Root",shouldForwardProp:e=>vr(e)||e==="classes",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`size${j(r.size)}`],r.color==="inherit"&&t.colorInherit,t[j(r.size)],t[r.color]]}})(({theme:e,ownerState:t})=>{var r,n;return x({},e.typography.button,{minHeight:36,transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),borderRadius:"50%",padding:0,minWidth:0,width:56,height:56,zIndex:(e.vars||e).zIndex.fab,boxShadow:(e.vars||e).shadows[6],"&:active":{boxShadow:(e.vars||e).shadows[12]},color:e.vars?e.vars.palette.text.primary:(r=(n=e.palette).getContrastText)==null?void 0:r.call(n,e.palette.grey[300]),backgroundColor:(e.vars||e).palette.grey[300],"&:hover":{backgroundColor:(e.vars||e).palette.grey.A100,"@media (hover: none)":{backgroundColor:(e.vars||e).palette.grey[300]},textDecoration:"none"},[`&.${ht.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]}},t.size==="small"&&{width:40,height:40},t.size==="medium"&&{width:48,height:48},t.variant==="extended"&&{borderRadius:48/2,padding:"0 16px",width:"auto",minHeight:"auto",minWidth:48,height:48},t.variant==="extended"&&t.size==="small"&&{width:"auto",padding:"0 8px",borderRadius:34/2,minWidth:34,height:34},t.variant==="extended"&&t.size==="medium"&&{width:"auto",padding:"0 16px",borderRadius:40/2,minWidth:40,height:40},t.color==="inherit"&&{color:"inherit"})},({theme:e,ownerState:t})=>x({},t.color!=="inherit"&&t.color!=="default"&&(e.vars||e).palette[t.color]!=null&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main,"&:hover":{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}}),({theme:e})=>({[`&.${ht.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}})),oo=b.forwardRef(function(t,r){const n=se({props:t,name:"MuiFab"}),{children:i,className:l,color:s="default",component:d="button",disabled:h=!1,disableFocusRipple:p=!1,focusVisibleClassName:y,size:m="large",variant:f="circular"}=n,S=J(n,eo),M=x({},n,{color:s,component:d,disabled:h,disableFocusRipple:p,size:m,variant:f}),P=to(M);return g.jsx(ro,x({className:z(P.root,l),component:d,disabled:h,focusRipple:!p,focusVisibleClassName:z(P.focusVisible,y),ownerState:M,ref:r},S,{classes:P,children:i}))});function no(e){return le("MuiTab",e)}const ae=te("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),io=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],ao=e=>{const{classes:t,textColor:r,fullWidth:n,wrapped:i,icon:l,label:s,selected:d,disabled:h}=e,p={root:["root",l&&s&&"labelIcon",`textColor${j(r)}`,n&&"fullWidth",i&&"wrapped",d&&"selected",h&&"disabled"],iconWrapper:["iconWrapper"]};return ce(p,no,t)},lo=V(at,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.label&&r.icon&&t.labelIcon,t[`textColor${j(r.textColor)}`],r.fullWidth&&t.fullWidth,r.wrapped&&t.wrapped,{[`& .${ae.iconWrapper}`]:t.iconWrapper}]}})(({theme:e,ownerState:t})=>x({},e.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},t.label&&{flexDirection:t.iconPosition==="top"||t.iconPosition==="bottom"?"column":"row"},{lineHeight:1.25},t.icon&&t.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${ae.iconWrapper}`]:x({},t.iconPosition==="top"&&{marginBottom:6},t.iconPosition==="bottom"&&{marginTop:6},t.iconPosition==="start"&&{marginRight:e.spacing(1)},t.iconPosition==="end"&&{marginLeft:e.spacing(1)})},t.textColor==="inherit"&&{color:"inherit",opacity:.6,[`&.${ae.selected}`]:{opacity:1},[`&.${ae.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.textColor==="primary"&&{color:(e.vars||e).palette.text.secondary,[`&.${ae.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${ae.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.textColor==="secondary"&&{color:(e.vars||e).palette.text.secondary,[`&.${ae.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${ae.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},t.wrapped&&{fontSize:e.typography.pxToRem(12)})),He=b.forwardRef(function(t,r){const n=se({props:t,name:"MuiTab"}),{className:i,disabled:l=!1,disableFocusRipple:s=!1,fullWidth:d,icon:h,iconPosition:p="top",indicator:y,label:m,onChange:f,onClick:S,onFocus:M,selected:P,selectionFollowsFocus:E,textColor:A="inherit",value:k,wrapped:pe=!1}=n,Z=J(n,io),K=x({},n,{disabled:l,disableFocusRipple:s,selected:P,icon:!!h,iconPosition:p,label:!!m,fullWidth:d,textColor:A,wrapped:pe}),re=ao(K),u=h&&m&&b.isValidElement(h)?b.cloneElement(h,{className:z(re.iconWrapper,h.props.className)}):h,_=o=>{!P&&f&&f(o,k),S&&S(o)},w=o=>{E&&!P&&f&&f(o,k),M&&M(o)};return g.jsxs(lo,x({focusRipple:!s,className:z(re.root,i),ref:r,role:"tab","aria-selected":P,disabled:l,onClick:_,onFocus:w,ownerState:K,tabIndex:P?0:-1},Z,{children:[p==="top"||p==="start"?g.jsxs(b.Fragment,{children:[u,m]}):g.jsxs(b.Fragment,{children:[m,u]}),y]}))}),so=Gt(g.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),co=Gt(g.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function uo(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}function po(e,t,r,n={},i=()=>{}){const{ease:l=uo,duration:s=300}=n;let d=null;const h=t[e];let p=!1;const y=()=>{p=!0},m=f=>{if(p){i(new Error("Animation cancelled"));return}d===null&&(d=f);const S=Math.min(1,(f-d)/s);if(t[e]=l(S)*(r-h)+h,S>=1){requestAnimationFrame(()=>{i(null)});return}requestAnimationFrame(m)};return h===r?(i(new Error("Element already at target position")),y):(requestAnimationFrame(m),y)}const fo=["onChange"],ho={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function vo(e){const{onChange:t}=e,r=J(e,fo),n=b.useRef(),i=b.useRef(null),l=()=>{n.current=i.current.offsetHeight-i.current.clientHeight};return gr(()=>{const s=Vt(()=>{const h=n.current;l(),h!==n.current&&t(n.current)}),d=Ut(i.current);return d.addEventListener("resize",s),()=>{s.clear(),d.removeEventListener("resize",s)}},[t]),b.useEffect(()=>{l(),t(n.current)},[t]),g.jsx("div",x({style:ho,ref:i},r))}function go(e){return le("MuiTabScrollButton",e)}const bo=te("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),xo=["className","slots","slotProps","direction","orientation","disabled"],yo=e=>{const{classes:t,orientation:r,disabled:n}=e;return ce({root:["root",r,n&&"disabled"]},go,t)},mo=V(at,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.orientation&&t[r.orientation]]}})(({ownerState:e})=>x({width:40,flexShrink:0,opacity:.8,[`&.${bo.disabled}`]:{opacity:0}},e.orientation==="vertical"&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}})),So=b.forwardRef(function(t,r){var n,i;const l=se({props:t,name:"MuiTabScrollButton"}),{className:s,slots:d={},slotProps:h={},direction:p}=l,y=J(l,xo),m=At(),f=x({isRtl:m},l),S=yo(f),M=(n=d.StartScrollButtonIcon)!=null?n:so,P=(i=d.EndScrollButtonIcon)!=null?i:co,E=De({elementType:M,externalSlotProps:h.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:f}),A=De({elementType:P,externalSlotProps:h.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:f});return g.jsx(mo,x({component:"div",className:z(S.root,s),ref:r,role:null,ownerState:f,tabIndex:null},y,{children:p==="left"?g.jsx(M,x({},E)):g.jsx(P,x({},A))}))});function Co(e){return le("MuiTabs",e)}const Ve=te("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),wo=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],vt=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,gt=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,Le=(e,t,r)=>{let n=!1,i=r(e,t);for(;i;){if(i===e.firstChild){if(n)return;n=!0}const l=i.disabled||i.getAttribute("aria-disabled")==="true";if(!i.hasAttribute("tabindex")||l)i=r(e,i);else{i.focus();return}}},To=e=>{const{vertical:t,fixed:r,hideScrollbar:n,scrollableX:i,scrollableY:l,centered:s,scrollButtonsHideMobile:d,classes:h}=e;return ce({root:["root",t&&"vertical"],scroller:["scroller",r&&"fixed",n&&"hideScrollbar",i&&"scrollableX",l&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",s&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",d&&"scrollButtonsHideMobile"],scrollableX:[i&&"scrollableX"],hideScrollbar:[n&&"hideScrollbar"]},Co,h)},Ro=V("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${Ve.scrollButtons}`]:t.scrollButtons},{[`& .${Ve.scrollButtons}`]:r.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,r.vertical&&t.vertical]}})(({ownerState:e,theme:t})=>x({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${Ve.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}})),_o=V("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.scroller,r.fixed&&t.fixed,r.hideScrollbar&&t.hideScrollbar,r.scrollableX&&t.scrollableX,r.scrollableY&&t.scrollableY]}})(({ownerState:e})=>x({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"})),Io=V("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.flexContainer,r.vertical&&t.flexContainerVertical,r.centered&&t.centered]}})(({ownerState:e})=>x({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"})),Mo=V("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})(({ownerState:e,theme:t})=>x({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create()},e.indicatorColor==="primary"&&{backgroundColor:(t.vars||t).palette.primary.main},e.indicatorColor==="secondary"&&{backgroundColor:(t.vars||t).palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0})),Bo=V(vo)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),bt={},Po=b.forwardRef(function(t,r){const n=se({props:t,name:"MuiTabs"}),i=Kt(),l=At(),{"aria-label":s,"aria-labelledby":d,action:h,centered:p=!1,children:y,className:m,component:f="div",allowScrollButtonsMobile:S=!1,indicatorColor:M="primary",onChange:P,orientation:E="horizontal",ScrollButtonComponent:A=So,scrollButtons:k="auto",selectionFollowsFocus:pe,slots:Z={},slotProps:K={},TabIndicatorProps:re={},TabScrollButtonProps:u={},textColor:_="primary",value:w,variant:o="standard",visibleScrollbar:a=!1}=n,T=J(n,wo),R=o==="scrollable",C=E==="vertical",O=C?"scrollTop":"scrollLeft",D=C?"top":"left",q=C?"bottom":"right",L=C?"clientHeight":"clientWidth",U=C?"height":"width",X=x({},n,{component:f,allowScrollButtonsMobile:S,indicatorColor:M,orientation:E,vertical:C,scrollButtons:k,textColor:_,variant:o,visibleScrollbar:a,fixed:!R,hideScrollbar:R&&!a,scrollableX:R&&!C,scrollableY:R&&C,centered:p&&!R,scrollButtonsHideMobile:!S}),W=To(X),fe=De({elementType:Z.StartScrollButtonIcon,externalSlotProps:K.startScrollButtonIcon,ownerState:X}),he=De({elementType:Z.EndScrollButtonIcon,externalSlotProps:K.endScrollButtonIcon,ownerState:X}),[Y,xe]=b.useState(!1),[F,oe]=b.useState(bt),[ye,Be]=b.useState(!1),[Pe,Ae]=b.useState(!1),[me,ve]=b.useState(!1),[de,Ee]=b.useState({overflow:"hidden",scrollbarWidth:0}),ue=new Map,H=b.useRef(null),Q=b.useRef(null),Se=()=>{const c=H.current;let v;if(c){const I=c.getBoundingClientRect();v={clientWidth:c.clientWidth,scrollLeft:c.scrollLeft,scrollTop:c.scrollTop,scrollLeftNormalized:Br(c,l?"rtl":"ltr"),scrollWidth:c.scrollWidth,top:I.top,bottom:I.bottom,left:I.left,right:I.right}}let B;if(c&&w!==!1){const I=Q.current.children;if(I.length>0){const N=I[ue.get(w)];B=N?N.getBoundingClientRect():null}}return{tabsMeta:v,tabMeta:B}},ne=Fe(()=>{const{tabsMeta:c,tabMeta:v}=Se();let B=0,I;if(C)I="top",v&&c&&(B=v.top-c.top+c.scrollTop);else if(I=l?"right":"left",v&&c){const $=l?c.scrollLeftNormalized+c.clientWidth-c.scrollWidth:c.scrollLeft;B=(l?-1:1)*(v[I]-c[I]+$)}const N={[I]:B,[U]:v?v[U]:0};if(isNaN(F[I])||isNaN(F[U]))oe(N);else{const $=Math.abs(F[I]-N[I]),G=Math.abs(F[U]-N[U]);($>=1||G>=1)&&oe(N)}}),ge=(c,{animation:v=!0}={})=>{v?po(O,H.current,c,{duration:i.transitions.duration.standard}):H.current[O]=c},lt=c=>{let v=H.current[O];C?v+=c:(v+=c*(l?-1:1),v*=l&&Yt()==="reverse"?-1:1),ge(v)},st=()=>{const c=H.current[L];let v=0;const B=Array.from(Q.current.children);for(let I=0;Ic){I===0&&(v=c);break}v+=N[L]}return v},rr=()=>{lt(-1*st())},or=()=>{lt(st())},nr=b.useCallback(c=>{Ee({overflow:null,scrollbarWidth:c})},[]),ir=()=>{const c={};c.scrollbarSizeListener=R?g.jsx(Bo,{onChange:nr,className:z(W.scrollableX,W.hideScrollbar)}):null;const B=R&&(k==="auto"&&(ye||Pe)||k===!0);return c.scrollButtonStart=B?g.jsx(A,x({slots:{StartScrollButtonIcon:Z.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:fe},orientation:E,direction:l?"right":"left",onClick:rr,disabled:!ye},u,{className:z(W.scrollButtons,u.className)})):null,c.scrollButtonEnd=B?g.jsx(A,x({slots:{EndScrollButtonIcon:Z.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:he},orientation:E,direction:l?"left":"right",onClick:or,disabled:!Pe},u,{className:z(W.scrollButtons,u.className)})):null,c},ct=Fe(c=>{const{tabsMeta:v,tabMeta:B}=Se();if(!(!B||!v)){if(B[D]v[q]){const I=v[O]+(B[q]-v[q]);ge(I,{animation:c})}}}),Ne=Fe(()=>{R&&k!==!1&&ve(!me)});b.useEffect(()=>{const c=Vt(()=>{H.current&&ne()});let v;const B=$=>{$.forEach(G=>{G.removedNodes.forEach(Ce=>{var ie;(ie=v)==null||ie.unobserve(Ce)}),G.addedNodes.forEach(Ce=>{var ie;(ie=v)==null||ie.observe(Ce)})}),c(),Ne()},I=Ut(H.current);I.addEventListener("resize",c);let N;return typeof ResizeObserver<"u"&&(v=new ResizeObserver(c),Array.from(Q.current.children).forEach($=>{v.observe($)})),typeof MutationObserver<"u"&&(N=new MutationObserver(B),N.observe(Q.current,{childList:!0})),()=>{var $,G;c.clear(),I.removeEventListener("resize",c),($=N)==null||$.disconnect(),(G=v)==null||G.disconnect()}},[ne,Ne]),b.useEffect(()=>{const c=Array.from(Q.current.children),v=c.length;if(typeof IntersectionObserver<"u"&&v>0&&R&&k!==!1){const B=c[0],I=c[v-1],N={root:H.current,threshold:.99},$=Xe=>{Be(!Xe[0].isIntersecting)},G=new IntersectionObserver($,N);G.observe(B);const Ce=Xe=>{Ae(!Xe[0].isIntersecting)},ie=new IntersectionObserver(Ce,N);return ie.observe(I),()=>{G.disconnect(),ie.disconnect()}}},[R,k,me,y==null?void 0:y.length]),b.useEffect(()=>{xe(!0)},[]),b.useEffect(()=>{ne()}),b.useEffect(()=>{ct(bt!==F)},[ct,F]),b.useImperativeHandle(h,()=>({updateIndicator:ne,updateScrollButtons:Ne}),[ne,Ne]);const dt=g.jsx(Mo,x({},re,{className:z(W.indicator,re.className),ownerState:X,style:x({},F,re.style)}));let Oe=0;const ar=b.Children.map(y,c=>{if(!b.isValidElement(c))return null;const v=c.props.value===void 0?Oe:c.props.value;ue.set(v,Oe);const B=v===w;return Oe+=1,b.cloneElement(c,x({fullWidth:o==="fullWidth",indicator:B&&!Y&&dt,selected:B,selectionFollowsFocus:pe,onChange:P,textColor:_,value:v},Oe===1&&w===!1&&!c.props.tabIndex?{tabIndex:0}:{}))}),lr=c=>{const v=Q.current,B=jt(v).activeElement;if(B.getAttribute("role")!=="tab")return;let N=E==="horizontal"?"ArrowLeft":"ArrowUp",$=E==="horizontal"?"ArrowRight":"ArrowDown";switch(E==="horizontal"&&l&&(N="ArrowRight",$="ArrowLeft"),c.key){case N:c.preventDefault(),Le(v,B,gt);break;case $:c.preventDefault(),Le(v,B,vt);break;case"Home":c.preventDefault(),Le(v,null,vt);break;case"End":c.preventDefault(),Le(v,null,gt);break}},qe=ir();return g.jsxs(Ro,x({className:z(W.root,m),ownerState:X,ref:r,as:f},T,{children:[qe.scrollButtonStart,qe.scrollbarSizeListener,g.jsxs(_o,{className:W.scroller,ownerState:X,style:{overflow:de.overflow,[C?`margin${l?"Left":"Right"}`:"marginBottom"]:a?void 0:-de.scrollbarWidth},ref:H,children:[g.jsx(Io,{"aria-label":s,"aria-labelledby":d,"aria-orientation":E==="vertical"?"vertical":null,className:W.flexContainer,ownerState:X,onKeyDown:lr,ref:Q,role:"tablist",children:ar}),Y&&dt]}),qe.scrollButtonEnd]}))});var Zt={};function Eo(e){if(e&&e.__esModule)return e;var t={};if(e!=null){for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}}return t.default=e,t}var Qt=Eo,ee={},Ue,xt;function Me(){if(xt)return Ue;xt=1;function e(t){return t&&t.__esModule?t:{default:t}}return Ue=e,Ue}var We,yt;function No(){if(yt)return We;yt=1;function e(){return We=e=Object.assign||function(t){for(var r=1;r=0)&&(n[l]=t[l]);return n}return Ye=e,Ye}var Ke,St;function ko(){if(St)return Ke;St=1;var e=Oo();function t(r,n){if(r==null)return{};var i=e(r,n),l,s;if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(r);for(s=0;s=0)&&Object.prototype.propertyIsEnumerable.call(r,l)&&(i[l]=r[l])}return i}return Ke=t,Ke}var Ge,Ct;function Lo(){if(Ct)return Ge;Ct=1;function e(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}return Ge=e,Ge}var Je,wt;function Wo(){if(wt)return Je;wt=1;function e(r,n){for(var i=0;im&&(f=m+1-Math.exp((m-f)*r.default.RESISTANCE_COEF)):f<0?(f=0,S=(f-s)*p+h):f>m&&(f=m,S=(f-s)*p+h),{index:f,startX:S}}return je}var _e={},kt;function Ho(){if(kt)return _e;kt=1;var e=Me();Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var t=e(b),r=function(l,s){var d=!1,h=function(M){return M?M.key:"empty"};if(l.children.length&&s.children.length){var p=t.default.Children.map(l.children,h),y=p[l.index];if(y!=null){var m=t.default.Children.map(s.children,h),f=m[s.index];y===f&&(d=!0)}}return d},n=r;return _e.default=n,_e}var Ie={},Lt;function Vo(){if(Lt)return Ie;Lt=1,Object.defineProperty(Ie,"__esModule",{value:!0}),Ie.default=void 0;function e(r,n){var i=r%n;return i<0?i+n:i}var t=e;return Ie.default=t,Ie}var Wt;function Uo(){return Wt||(Wt=1,function(e){var t=Me();Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"checkIndexBounds",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"computeIndex",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"constant",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"getDisplaySameSlide",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"mod",{enumerable:!0,get:function(){return s.default}});var r=t(Xo()),n=t(Fo()),i=t(tr()),l=t(Ho()),s=t(Vo())}(rt)),rt}var $t;function Yo(){if($t)return ee;$t=1;var e=Qt,t=Me();Object.defineProperty(ee,"__esModule",{value:!0}),ee.getDomTreeShapes=A,ee.findNativeHandler=pe,ee.default=ee.SwipeableViewsContext=void 0;var r=t(No()),n=t(ko()),i=t(Lo()),l=t(Wo()),s=t(jo()),d=t(Do()),h=t(qo()),p=e(b);t(wr),t(er());var y=Uo();function m(u,_,w,o){return u.addEventListener(_,w,o),{remove:function(){u.removeEventListener(_,w,o)}}}var f={container:{direction:"ltr",display:"flex",willChange:"transform"},slide:{width:"100%",WebkitFlexShrink:0,flexShrink:0,overflow:"auto"}},S={root:{x:{overflowX:"hidden"},"x-reverse":{overflowX:"hidden"},y:{overflowY:"hidden"},"y-reverse":{overflowY:"hidden"}},flexDirection:{x:"row","x-reverse":"row-reverse",y:"column","y-reverse":"column-reverse"},transform:{x:function(_){return"translate(".concat(-_,"%, 0)")},"x-reverse":function(_){return"translate(".concat(_,"%, 0)")},y:function(_){return"translate(0, ".concat(-_,"%)")},"y-reverse":function(_){return"translate(0, ".concat(_,"%)")}},length:{x:"width","x-reverse":"width",y:"height","y-reverse":"height"},rotationMatrix:{x:{x:[1,0],y:[0,1]},"x-reverse":{x:[-1,0],y:[0,1]},y:{x:[0,1],y:[1,0]},"y-reverse":{x:[0,-1],y:[1,0]}},scrollPosition:{x:"scrollLeft","x-reverse":"scrollLeft",y:"scrollTop","y-reverse":"scrollTop"},scrollLength:{x:"scrollWidth","x-reverse":"scrollWidth",y:"scrollHeight","y-reverse":"scrollHeight"},clientLength:{x:"clientWidth","x-reverse":"clientWidth",y:"clientHeight","y-reverse":"clientHeight"}};function M(u,_){var w=_.duration,o=_.easeFunction,a=_.delay;return"".concat(u," ").concat(w," ").concat(o," ").concat(a)}function P(u,_){var w=S.rotationMatrix[_];return{pageX:w.x[0]*u.pageX+w.x[1]*u.pageY,pageY:w.y[0]*u.pageX+w.y[1]*u.pageY}}function E(u){return u.touches=[{pageX:u.pageX,pageY:u.pageY}],u}function A(u,_){for(var w=[];u&&u!==_&&u!==document.body&&!u.hasAttribute("data-swipeable");){var o=window.getComputedStyle(u);o.getPropertyValue("position")==="absolute"||o.getPropertyValue("overflow-x")==="hidden"?w=[]:(u.clientWidth>0&&u.scrollWidth>u.clientWidth||u.clientHeight>0&&u.scrollHeight>u.clientHeight)&&w.push({element:u,scrollWidth:u.scrollWidth,scrollHeight:u.scrollHeight,clientWidth:u.clientWidth,clientHeight:u.clientHeight,scrollLeft:u.scrollLeft,scrollTop:u.scrollTop}),u=u.parentNode}return w}var k=null;function pe(u){var _=u.domTreeShapes,w=u.pageX,o=u.startX,a=u.axis;return _.some(function(T){var R=w>=o;(a==="x"||a==="y")&&(R=!R);var C=Math.round(T[S.scrollPosition[a]]),O=C>0,D=C+T[S.clientLength[a]]X&&U>y.constant.UNCERTAINTY_THRESHOLD;if(!q&&(R==="y"||R==="y-reverse")&&(o.indexCurrent===0&&o.startXL.pageX)){o.isSwiping=!1;return}if(U>X&&a.preventDefault(),W===!0||X>y.constant.UNCERTAINTY_THRESHOLD){o.isSwiping=W,o.startX=L.pageX;return}}if(o.isSwiping===!0){a.preventDefault(),o.vx=o.vx*.5+(L.pageX-o.lastX)*.5,o.lastX=L.pageX;var fe=(0,y.computeIndex)({children:C,resistance:q,pageX:L.pageX,startIndex:o.startIndex,startX:o.startX,viewLength:o.viewLength}),he=fe.index,Y=fe.startX;if(k===null&&!O){var xe=A(a.target,o.rootNode),F=pe({domTreeShapes:xe,startX:o.startX,pageX:L.pageX,axis:R});if(F)return}Y?o.startX=Y:k===null&&(k=o.rootNode),o.setIndexCurrent(he);var oe=function(){D&&D(he,"move")};(o.state.displaySameSlide||!o.state.isDragging)&&o.setState({displaySameSlide:!1,isDragging:!0},oe),oe()}}},o.handleSwipeEnd=function(){if(k=null,!!o.started&&(o.started=!1,o.isSwiping===!0)){var a=o.state.indexLatest,T=o.indexCurrent,R=a-T,C;Math.abs(o.vx)>o.props.threshold?o.vx>0?C=Math.floor(T):C=Math.ceil(T):Math.abs(R)>o.props.hysteresis?C=R>0?Math.floor(T):Math.ceil(T):C=a;var O=p.Children.count(o.props.children)-1;C<0?C=0:C>O&&(C=O),o.setIndexCurrent(C),o.setState({indexLatest:C,isDragging:!1},function(){o.props.onSwitching&&o.props.onSwitching(C,"end"),o.props.onChangeIndex&&C!==a&&o.props.onChangeIndex(C,a,{reason:"swipe"}),T===a&&o.handleTransitionEnd()})}},o.handleTouchStart=function(a){o.props.onTouchStart&&o.props.onTouchStart(a),o.handleSwipeStart(a)},o.handleTouchEnd=function(a){o.props.onTouchEnd&&o.props.onTouchEnd(a),o.handleSwipeEnd(a)},o.handleMouseDown=function(a){o.props.onMouseDown&&o.props.onMouseDown(a),a.persist(),o.handleSwipeStart(E(a))},o.handleMouseUp=function(a){o.props.onMouseUp&&o.props.onMouseUp(a),o.handleSwipeEnd(E(a))},o.handleMouseLeave=function(a){o.props.onMouseLeave&&o.props.onMouseLeave(a),o.started&&o.handleSwipeEnd(E(a))},o.handleMouseMove=function(a){o.props.onMouseMove&&o.props.onMouseMove(a),o.started&&o.handleSwipeMove(E(a))},o.handleScroll=function(a){if(o.props.onScroll&&o.props.onScroll(a),a.target===o.rootNode){if(o.ignoreNextScrollEvents){o.ignoreNextScrollEvents=!1;return}var T=o.state.indexLatest,R=Math.ceil(a.target.scrollLeft/a.target.clientWidth)+T;o.ignoreNextScrollEvents=!0,a.target.scrollLeft=0,o.props.onChangeIndex&&R!==T&&o.props.onChangeIndex(R,T,{reason:"focus"})}},o.updateHeight=function(){if(o.activeSlide!==null){var a=o.activeSlide.children[0];a!==void 0&&a.offsetHeight!==void 0&&o.state.heightLatest!==a.offsetHeight&&o.setState({heightLatest:a.offsetHeight})}},o.state={indexLatest:w.index,isDragging:!1,renderOnlyActive:!w.disableLazyLoading,heightLatest:0,displaySameSlide:!0},o.setIndexCurrent(w.index),o}return(0,l.default)(_,[{key:"componentDidMount",value:function(){var o=this;this.transitionListener=m(this.containerNode,"transitionend",function(a){a.target===o.containerNode&&o.handleTransitionEnd()}),this.touchMoveListener=m(this.rootNode,"touchmove",function(a){o.props.disabled||o.handleSwipeMove(a)},{passive:!1}),this.props.disableLazyLoading||(this.firstRenderTimeout=setTimeout(function(){o.setState({renderOnlyActive:!1})},0)),this.props.action&&this.props.action({updateHeight:this.updateHeight})}},{key:"UNSAFE_componentWillReceiveProps",value:function(o){var a=o.index;typeof a=="number"&&a!==this.props.index&&(this.setIndexCurrent(a),this.setState({displaySameSlide:(0,y.getDisplaySameSlide)(this.props,o),indexLatest:a}))}},{key:"componentWillUnmount",value:function(){this.transitionListener.remove(),this.touchMoveListener.remove(),clearTimeout(this.firstRenderTimeout)}},{key:"getSwipeableViewsContext",value:function(){var o=this;return{slideUpdateHeight:function(){o.updateHeight()}}}},{key:"setIndexCurrent",value:function(o){if(!this.props.animateTransitions&&this.indexCurrent!==o&&this.handleTransitionEnd(),this.indexCurrent=o,this.containerNode){var a=this.props.axis,T=S.transform[a](o*100);this.containerNode.style.WebkitTransform=T,this.containerNode.style.transform=T}}},{key:"handleTransitionEnd",value:function(){this.props.onTransitionEnd&&(this.state.displaySameSlide||this.state.isDragging||this.props.onTransitionEnd())}},{key:"render",value:function(){var o=this,a=this.props;a.action;var T=a.animateHeight,R=a.animateTransitions,C=a.axis,O=a.children,D=a.containerStyle,q=a.disabled;a.disableLazyLoading;var L=a.enableMouseEvents;a.hysteresis,a.ignoreNativeScroll,a.index,a.onChangeIndex,a.onSwitching,a.onTransitionEnd,a.resistance;var U=a.slideStyle,X=a.slideClassName,W=a.springConfig,fe=a.style;a.threshold;var he=(0,n.default)(a,["action","animateHeight","animateTransitions","axis","children","containerStyle","disabled","disableLazyLoading","enableMouseEvents","hysteresis","ignoreNativeScroll","index","onChangeIndex","onSwitching","onTransitionEnd","resistance","slideStyle","slideClassName","springConfig","style","threshold"]),Y=this.state,xe=Y.displaySameSlide,F=Y.heightLatest,oe=Y.indexLatest,ye=Y.isDragging,Be=Y.renderOnlyActive,Pe=q?{}:{onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd},Ae=!q&&L?{onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,onMouseLeave:this.handleMouseLeave,onMouseMove:this.handleMouseMove}:{},me=(0,r.default)({},f.slide,U),ve,de;if(ye||!R||xe)ve="all 0s ease 0s",de="all 0s ease 0s";else if(ve=M("transform",W),de=M("-webkit-transform",W),F!==0){var Ee=", ".concat(M("height",W));ve+=Ee,de+=Ee}var ue={height:null,WebkitFlexDirection:S.flexDirection[C],flexDirection:S.flexDirection[C],WebkitTransition:de,transition:ve};if(!Be){var H=S.transform[C](this.indexCurrent*100);ue.WebkitTransform=H,ue.transform=H}return T&&(ue.height=F),p.createElement(Z.Provider,{value:this.getSwipeableViewsContext()},p.createElement("div",(0,r.default)({ref:this.setRootNode,style:(0,r.default)({},S.root[C],fe)},he,Pe,Ae,{onScroll:this.handleScroll}),p.createElement("div",{ref:this.setContainerNode,style:(0,r.default)({},ue,f.container,D),className:"react-swipeable-view-container"},p.Children.map(O,function(Q,Se){if(Be&&Se!==oe)return null;var ne,ge=!0;return Se===oe&&(ge=!1,T&&(ne=o.setActiveSlide,me.overflowY="hidden")),p.createElement("div",{ref:ne,style:me,className:X,"aria-hidden":ge,"data-swipeable":"true"},Q)}))))}}]),_}(p.Component);K.displayName="ReactSwipableView",K.propTypes={},K.defaultProps={animateHeight:!1,animateTransitions:!0,axis:"x",disabled:!1,disableLazyLoading:!1,enableMouseEvents:!1,hysteresis:.6,ignoreNativeScroll:!1,index:0,threshold:5,springConfig:{duration:"0.35s",easeFunction:"cubic-bezier(0.15, 0.3, 0.25, 1)",delay:"0s"},resistance:!1};var re=K;return ee.default=re,ee}(function(e){var t=Qt;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"SwipeableViewsContext",{enumerable:!0,get:function(){return r.SwipeableViewsContext}});var r=t(Yo())})(Zt);const Ko=br(Zt),Go=()=>{const[e,t]=b.useState();b.useEffect(()=>{window.addEventListener("message",i=>{console.log(i.data),t(i.data)},!1)});let n=(e?Object.keys(e):[]).map((i,l)=>g.jsxs("p",{children:[g.jsxs("strong",{style:{color:"blue"},children:[i,":"]}),e[i]]},l));return g.jsx(g.Fragment,{children:g.jsxs("div",{style:{marginTop:"48px"},children:[g.jsx(oo,{color:"primary","aria-label":"add",style:{position:"fixed",right:10,height:47,width:47},children:"复制"}),n]})})};function ot(e){const{children:t,value:r,index:n,...i}=e;return g.jsx(Hr,{component:"div",role:"tabpanel",hidden:r!==n,id:`action-tabpanel-${n}`,"aria-labelledby":`action-tab-${n}`,...i,children:r===n&&g.jsx(Jt,{sx:{p:3},style:{padding:10,overflow:"hidden",backgroundColor:"#fff",minHeight:100},children:t})})}function nt(e){return{id:`action-tab-${e}`,"aria-controls":`action-tabpanel-${e}`}}function Jo(){const e=Kt(),[t,r]=b.useState(0),n=(l,s)=>{console.log(l),r(s)},i=l=>{r(l)};return g.jsxs(Jt,{sx:{bgcolor:"background.paper",width:270,position:"relative",maxHeight:200},children:[g.jsx(Gr,{position:"static",color:"default",style:{position:"fixed",top:0,zIndex:9999},children:g.jsxs(Po,{value:t,onChange:n,indicatorColor:"primary",textColor:"primary",variant:"fullWidth","aria-label":"action tabs example",children:[g.jsx(He,{label:"元素信息",...nt(0)}),g.jsx(He,{label:"元素修改",...nt(1)}),g.jsx(He,{label:"页面分析",...nt(2)})]})}),g.jsxs(Ko,{axis:e.direction==="rtl"?"x-reverse":"x",index:t,onChangeIndex:i,children:[g.jsx(ot,{value:t,index:0,dir:e.direction,children:g.jsx(Go,{})}),g.jsx(ot,{value:t,index:1,dir:e.direction,children:"Item Two"}),g.jsx(ot,{value:t,index:2,dir:e.direction,children:"Item Three"})]})]})}function Zo(){return g.jsx(g.Fragment,{children:g.jsx("div",{children:g.jsx("div",{id:"app",children:g.jsx(Jo,{})})})})}xr.createRoot(document.getElementById("root")).render(g.jsx(Zo,{})); diff --git a/dist/contentPage/index.html b/dist/contentPage/index.html index 42873f7..2ee9bc0 100644 --- a/dist/contentPage/index.html +++ b/dist/contentPage/index.html @@ -5,6 +5,17 @@ Measuring Tools + diff --git a/dist/js/Button-BwRn0hSU.js b/dist/js/Button-BwRn0hSU.js new file mode 100644 index 0000000..e4ba782 --- /dev/null +++ b/dist/js/Button-BwRn0hSU.js @@ -0,0 +1,128 @@ +function M0(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const l of i.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function N0(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function rn(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var mf={exports:{}},zi={},hf={exports:{}},I={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var lo=Symbol.for("react.element"),L0=Symbol.for("react.portal"),I0=Symbol.for("react.fragment"),j0=Symbol.for("react.strict_mode"),A0=Symbol.for("react.profiler"),F0=Symbol.for("react.provider"),D0=Symbol.for("react.context"),B0=Symbol.for("react.forward_ref"),U0=Symbol.for("react.suspense"),W0=Symbol.for("react.memo"),b0=Symbol.for("react.lazy"),Pa=Symbol.iterator;function V0(e){return e===null||typeof e!="object"?null:(e=Pa&&e[Pa]||e["@@iterator"],typeof e=="function"?e:null)}var yf={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},gf=Object.assign,vf={};function lr(e,t,n){this.props=e,this.context=t,this.refs=vf,this.updater=n||yf}lr.prototype.isReactComponent={};lr.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};lr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Sf(){}Sf.prototype=lr.prototype;function us(e,t,n){this.props=e,this.context=t,this.refs=vf,this.updater=n||yf}var ss=us.prototype=new Sf;ss.constructor=us;gf(ss,lr.prototype);ss.isPureReactComponent=!0;var Ta=Array.isArray,wf=Object.prototype.hasOwnProperty,as={current:null},xf={key:!0,ref:!0,__self:!0,__source:!0};function kf(e,t,n){var r,o={},i=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(i=""+t.key),t)wf.call(t,r)&&!xf.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(u===1)o.children=n;else if(1>>1,le=E[Y];if(0>>1;Yo(Ft,M))sto(En,Ft)?(E[Y]=En,E[st]=M,Y=st):(E[Y]=Ft,E[_e]=M,Y=_e);else if(sto(En,M))E[Y]=En,E[st]=M,Y=st;else break e}}return z}function o(E,z){var M=E.sortIndex-z.sortIndex;return M!==0?M:E.id-z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var l=Date,u=l.now();e.unstable_now=function(){return l.now()-u}}var s=[],a=[],m=1,h=null,d=3,S=!1,g=!1,y=!1,P=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(E){for(var z=n(a);z!==null;){if(z.callback===null)r(a);else if(z.startTime<=E)r(a),z.sortIndex=z.expirationTime,t(s,z);else break;z=n(a)}}function v(E){if(y=!1,p(E),!g)if(n(s)!==null)g=!0,Ee(w);else{var z=n(a);z!==null&&_t(v,z.startTime-E)}}function w(E,z){g=!1,y&&(y=!1,f(_),_=-1),S=!0;var M=d;try{for(p(z),h=n(s);h!==null&&(!(h.expirationTime>z)||E&&!D());){var Y=h.callback;if(typeof Y=="function"){h.callback=null,d=h.priorityLevel;var le=Y(h.expirationTime<=z);z=e.unstable_now(),typeof le=="function"?h.callback=le:h===n(s)&&r(s),p(z)}else r(s);h=n(s)}if(h!==null)var Cn=!0;else{var _e=n(a);_e!==null&&_t(v,_e.startTime-z),Cn=!1}return Cn}finally{h=null,d=M,S=!1}}var k=!1,x=null,_=-1,L=5,$=-1;function D(){return!(e.unstable_now()-$E||125Y?(E.sortIndex=M,t(a,E),n(s)===null&&E===n(a)&&(y?(f(_),_=-1):y=!0,_t(v,M-Y))):(E.sortIndex=le,t(s,E),g||S||(g=!0,Ee(w))),E},e.unstable_shouldYield=D,e.unstable_wrapCallback=function(E){var z=d;return function(){var M=d;d=z;try{return E.apply(this,arguments)}finally{d=M}}}})(Tf);Pf.exports=Tf;var tm=Pf.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var nm=T,be=tm;function C(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),lu=Object.prototype.hasOwnProperty,rm=/^[: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]*$/,za={},Ma={};function om(e){return lu.call(Ma,e)?!0:lu.call(za,e)?!1:rm.test(e)?Ma[e]=!0:(za[e]=!0,!1)}function im(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function lm(e,t,n,r){if(t===null||typeof t>"u"||im(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.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 $e(e,t,n,r,o,i,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=l}var ge={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ge[e]=new $e(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ge[t]=new $e(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ge[e]=new $e(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ge[e]=new $e(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){ge[e]=new $e(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ge[e]=new $e(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ge[e]=new $e(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ge[e]=new $e(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ge[e]=new $e(e,5,!1,e.toLowerCase(),null,!1,!1)});var fs=/[\-:]([a-z])/g;function ds(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(fs,ds);ge[t]=new $e(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(fs,ds);ge[t]=new $e(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(fs,ds);ge[t]=new $e(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ge[e]=new $e(e,1,!1,e.toLowerCase(),null,!1,!1)});ge.xlinkHref=new $e("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ge[e]=new $e(e,1,!1,e.toLowerCase(),null,!0,!0)});function ps(e,t,n,r){var o=ge.hasOwnProperty(t)?ge[t]:null;(o!==null?o.type!==0:r||!(2u||o[l]!==i[u]){var s=` +`+o[l].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=l&&0<=u);break}}}finally{zl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Er(e):""}function um(e){switch(e.tag){case 5:return Er(e.type);case 16:return Er("Lazy");case 13:return Er("Suspense");case 19:return Er("SuspenseList");case 0:case 2:case 15:return e=Ml(e.type,!1),e;case 11:return e=Ml(e.type.render,!1),e;case 1:return e=Ml(e.type,!0),e;default:return""}}function cu(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 Nn:return"Fragment";case Mn:return"Portal";case uu:return"Profiler";case ms:return"StrictMode";case su:return"Suspense";case au:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Of:return(e.displayName||"Context")+".Consumer";case $f:return(e._context.displayName||"Context")+".Provider";case hs:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ys:return t=e.displayName||null,t!==null?t:cu(e.type)||"Memo";case Bt:t=e._payload,e=e._init;try{return cu(e(t))}catch{}}return null}function sm(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return cu(t);case 8:return t===ms?"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 t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function tn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Mf(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function am(e){var t=Mf(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(l){r=""+l,i.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function wo(e){e._valueTracker||(e._valueTracker=am(e))}function Nf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Mf(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function ri(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}}function fu(e,t){var n=t.checked;return q({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function La(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=tn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Lf(e,t){t=t.checked,t!=null&&ps(e,"checked",t,!1)}function du(e,t){Lf(e,t);var n=tn(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?pu(e,t.type,n):t.hasOwnProperty("defaultValue")&&pu(e,t.type,tn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ia(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function pu(e,t,n){(t!=="number"||ri(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var _r=Array.isArray;function Vn(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=xo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Dr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Rr={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},cm=["Webkit","ms","Moz","O"];Object.keys(Rr).forEach(function(e){cm.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Rr[t]=Rr[e]})});function Ff(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Rr.hasOwnProperty(e)&&Rr[e]?(""+t).trim():t+"px"}function Df(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Ff(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var fm=q({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 yu(e,t){if(t){if(fm[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(C(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(C(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(C(61))}if(t.style!=null&&typeof t.style!="object")throw Error(C(62))}}function gu(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}}var vu=null;function gs(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Su=null,Hn=null,Kn=null;function Fa(e){if(e=ao(e)){if(typeof Su!="function")throw Error(C(280));var t=e.stateNode;t&&(t=ji(t),Su(e.stateNode,e.type,t))}}function Bf(e){Hn?Kn?Kn.push(e):Kn=[e]:Hn=e}function Uf(){if(Hn){var e=Hn,t=Kn;if(Kn=Hn=null,Fa(e),t)for(e=0;e>>=0,e===0?32:31-(km(e)/Cm|0)|0}var ko=64,Co=4194304;function Pr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ui(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,l=n&268435455;if(l!==0){var u=l&~o;u!==0?r=Pr(u):(i&=l,i!==0&&(r=Pr(i)))}else l=n&~o,l!==0?r=Pr(l):i!==0&&(r=Pr(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function uo(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-pt(t),e[t]=n}function Tm(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Or),Qa=" ",Ga=!1;function ud(e,t){switch(e){case"keyup":return th.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function sd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ln=!1;function rh(e,t){switch(e){case"compositionend":return sd(t);case"keypress":return t.which!==32?null:(Ga=!0,Qa);case"textInput":return e=t.data,e===Qa&&Ga?null:e;default:return null}}function oh(e,t){if(Ln)return e==="compositionend"||!_s&&ud(e,t)?(e=id(),bo=ks=Ht=null,Ln=!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)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=qa(n)}}function dd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?dd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function pd(){for(var e=window,t=ri();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ri(e.document)}return t}function Ps(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")}function ph(e){var t=pd(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dd(n.ownerDocument.documentElement,n)){if(r!==null&&Ps(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=Ja(n,i);var l=Ja(n,r);o&&l&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,In=null,_u=null,Mr=null,Pu=!1;function ec(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Pu||In==null||In!==ri(r)||(r=In,"selectionStart"in r&&Ps(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Mr&&Hr(Mr,r)||(Mr=r,r=ci(_u,"onSelect"),0Fn||(e.current=Mu[Fn],Mu[Fn]=null,Fn--)}function V(e,t){Fn++,Mu[Fn]=e.current,e.current=t}var nn={},Ce=ln(nn),Le=ln(!1),yn=nn;function Jn(e,t){var n=e.type.contextTypes;if(!n)return nn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ie(e){return e=e.childContextTypes,e!=null}function di(){K(Le),K(Ce)}function uc(e,t,n){if(Ce.current!==nn)throw Error(C(168));V(Ce,t),V(Le,n)}function kd(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(C(108,sm(e)||"Unknown",o));return q({},n,r)}function pi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||nn,yn=Ce.current,V(Ce,e),V(Le,Le.current),!0}function sc(e,t,n){var r=e.stateNode;if(!r)throw Error(C(169));n?(e=kd(e,t,yn),r.__reactInternalMemoizedMergedChildContext=e,K(Le),K(Ce),V(Ce,e)):K(Le),V(Le,n)}var Rt=null,Ai=!1,Kl=!1;function Cd(e){Rt===null?Rt=[e]:Rt.push(e)}function _h(e){Ai=!0,Cd(e)}function un(){if(!Kl&&Rt!==null){Kl=!0;var e=0,t=B;try{var n=Rt;for(B=1;e>=l,o-=l,$t=1<<32-pt(t)+o|n<_?(L=x,x=null):L=x.sibling;var $=d(f,x,p[_],v);if($===null){x===null&&(x=L);break}e&&x&&$.alternate===null&&t(f,x),c=i($,c,_),k===null?w=$:k.sibling=$,k=$,x=L}if(_===p.length)return n(f,x),G&&sn(f,_),w;if(x===null){for(;__?(L=x,x=null):L=x.sibling;var D=d(f,x,$.value,v);if(D===null){x===null&&(x=L);break}e&&x&&D.alternate===null&&t(f,x),c=i(D,c,_),k===null?w=D:k.sibling=D,k=D,x=L}if($.done)return n(f,x),G&&sn(f,_),w;if(x===null){for(;!$.done;_++,$=p.next())$=h(f,$.value,v),$!==null&&(c=i($,c,_),k===null?w=$:k.sibling=$,k=$);return G&&sn(f,_),w}for(x=r(f,x);!$.done;_++,$=p.next())$=S(x,f,_,$.value,v),$!==null&&(e&&$.alternate!==null&&x.delete($.key===null?_:$.key),c=i($,c,_),k===null?w=$:k.sibling=$,k=$);return e&&x.forEach(function(b){return t(f,b)}),G&&sn(f,_),w}function P(f,c,p,v){if(typeof p=="object"&&p!==null&&p.type===Nn&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case So:e:{for(var w=p.key,k=c;k!==null;){if(k.key===w){if(w=p.type,w===Nn){if(k.tag===7){n(f,k.sibling),c=o(k,p.props.children),c.return=f,f=c;break e}}else if(k.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===Bt&&fc(w)===k.type){n(f,k.sibling),c=o(k,p.props),c.ref=Sr(f,k,p),c.return=f,f=c;break e}n(f,k);break}else t(f,k);k=k.sibling}p.type===Nn?(c=hn(p.props.children,f.mode,v,p.key),c.return=f,f=c):(v=Zo(p.type,p.key,p.props,null,f.mode,v),v.ref=Sr(f,c,p),v.return=f,f=v)}return l(f);case Mn:e:{for(k=p.key;c!==null;){if(c.key===k)if(c.tag===4&&c.stateNode.containerInfo===p.containerInfo&&c.stateNode.implementation===p.implementation){n(f,c.sibling),c=o(c,p.children||[]),c.return=f,f=c;break e}else{n(f,c);break}else t(f,c);c=c.sibling}c=eu(p,f.mode,v),c.return=f,f=c}return l(f);case Bt:return k=p._init,P(f,c,k(p._payload),v)}if(_r(p))return g(f,c,p,v);if(mr(p))return y(f,c,p,v);Oo(f,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,c!==null&&c.tag===6?(n(f,c.sibling),c=o(c,p),c.return=f,f=c):(n(f,c),c=Jl(p,f.mode,v),c.return=f,f=c),l(f)):n(f,c)}return P}var tr=Td(!0),Rd=Td(!1),yi=ln(null),gi=null,Un=null,Os=null;function zs(){Os=Un=gi=null}function Ms(e){var t=yi.current;K(yi),e._currentValue=t}function Iu(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Gn(e,t){gi=e,Os=Un=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ne=!0),e.firstContext=null)}function tt(e){var t=e._currentValue;if(Os!==e)if(e={context:e,memoizedValue:t,next:null},Un===null){if(gi===null)throw Error(C(308));Un=e,gi.dependencies={lanes:0,firstContext:e}}else Un=Un.next=e;return t}var fn=null;function Ns(e){fn===null?fn=[e]:fn.push(e)}function $d(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Ns(t)):(n.next=o.next,o.next=n),t.interleaved=n,Lt(e,r)}function Lt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Ut=!1;function Ls(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Od(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 zt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Zt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,j&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Lt(e,n)}return o=r.interleaved,o===null?(t.next=t,Ns(r)):(t.next=o.next,o.next=t),r.interleaved=t,Lt(e,n)}function Ho(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ss(e,n)}}function dc(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=l:i=i.next=l,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function vi(e,t,n,r){var o=e.updateQueue;Ut=!1;var i=o.firstBaseUpdate,l=o.lastBaseUpdate,u=o.shared.pending;if(u!==null){o.shared.pending=null;var s=u,a=s.next;s.next=null,l===null?i=a:l.next=a,l=s;var m=e.alternate;m!==null&&(m=m.updateQueue,u=m.lastBaseUpdate,u!==l&&(u===null?m.firstBaseUpdate=a:u.next=a,m.lastBaseUpdate=s))}if(i!==null){var h=o.baseState;l=0,m=a=s=null,u=i;do{var d=u.lane,S=u.eventTime;if((r&d)===d){m!==null&&(m=m.next={eventTime:S,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var g=e,y=u;switch(d=t,S=n,y.tag){case 1:if(g=y.payload,typeof g=="function"){h=g.call(S,h,d);break e}h=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=y.payload,d=typeof g=="function"?g.call(S,h,d):g,d==null)break e;h=q({},h,d);break e;case 2:Ut=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,d=o.effects,d===null?o.effects=[u]:d.push(u))}else S={eventTime:S,lane:d,tag:u.tag,payload:u.payload,callback:u.callback,next:null},m===null?(a=m=S,s=h):m=m.next=S,l|=d;if(u=u.next,u===null){if(u=o.shared.pending,u===null)break;d=u,u=d.next,d.next=null,o.lastBaseUpdate=d,o.shared.pending=null}}while(!0);if(m===null&&(s=h),o.baseState=s,o.firstBaseUpdate=a,o.lastBaseUpdate=m,t=o.shared.interleaved,t!==null){o=t;do l|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);Sn|=l,e.lanes=l,e.memoizedState=h}}function pc(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Gl.transition;Gl.transition={};try{e(!1),t()}finally{B=n,Gl.transition=r}}function Qd(){return nt().memoizedState}function $h(e,t,n){var r=Jt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Gd(e))Yd(t,n);else if(n=$d(e,t,n,r),n!==null){var o=Te();mt(n,e,r,o),Xd(n,t,r)}}function Oh(e,t,n){var r=Jt(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Gd(e))Yd(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var l=t.lastRenderedState,u=i(l,n);if(o.hasEagerState=!0,o.eagerState=u,ht(u,l)){var s=t.interleaved;s===null?(o.next=o,Ns(t)):(o.next=s.next,s.next=o),t.interleaved=o;return}}catch{}finally{}n=$d(e,t,o,r),n!==null&&(o=Te(),mt(n,e,r,o),Xd(n,t,r))}}function Gd(e){var t=e.alternate;return e===Z||t!==null&&t===Z}function Yd(e,t){Nr=wi=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Xd(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ss(e,n)}}var xi={readContext:tt,useCallback:Se,useContext:Se,useEffect:Se,useImperativeHandle:Se,useInsertionEffect:Se,useLayoutEffect:Se,useMemo:Se,useReducer:Se,useRef:Se,useState:Se,useDebugValue:Se,useDeferredValue:Se,useTransition:Se,useMutableSource:Se,useSyncExternalStore:Se,useId:Se,unstable_isNewReconciler:!1},zh={readContext:tt,useCallback:function(e,t){return gt().memoizedState=[e,t===void 0?null:t],e},useContext:tt,useEffect:hc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Qo(4194308,4,Wd.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Qo(4194308,4,e,t)},useInsertionEffect:function(e,t){return Qo(4,2,e,t)},useMemo:function(e,t){var n=gt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=gt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=$h.bind(null,Z,e),[r.memoizedState,e]},useRef:function(e){var t=gt();return e={current:e},t.memoizedState=e},useState:mc,useDebugValue:Ws,useDeferredValue:function(e){return gt().memoizedState=e},useTransition:function(){var e=mc(!1),t=e[0];return e=Rh.bind(null,e[1]),gt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Z,o=gt();if(G){if(n===void 0)throw Error(C(407));n=n()}else{if(n=t(),de===null)throw Error(C(349));vn&30||Ld(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,hc(jd.bind(null,r,i,e),[e]),r.flags|=2048,Jr(9,Id.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=gt(),t=de.identifierPrefix;if(G){var n=Ot,r=$t;n=(r&~(1<<32-pt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Zr++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[wt]=t,e[Gr]=r,lp(e,t,!1,!1),t.stateNode=e;e:{switch(l=gu(n,r),n){case"dialog":H("cancel",e),H("close",e),o=r;break;case"iframe":case"object":case"embed":H("load",e),o=r;break;case"video":case"audio":for(o=0;oor&&(t.flags|=128,r=!0,wr(i,!1),t.lanes=4194304)}else{if(!r)if(e=Si(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),wr(i,!0),i.tail===null&&i.tailMode==="hidden"&&!l.alternate&&!G)return we(t),null}else 2*ne()-i.renderingStartTime>or&&n!==1073741824&&(t.flags|=128,r=!0,wr(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(n=i.last,n!==null?n.sibling=l:t.child=l,i.last=l)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=ne(),t.sibling=null,n=X.current,V(X,r?n&1|2:n&1),t):(we(t),null);case 22:case 23:return Gs(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Fe&1073741824&&(we(t),t.subtreeFlags&6&&(t.flags|=8192)):we(t),null;case 24:return null;case 25:return null}throw Error(C(156,t.tag))}function Dh(e,t){switch(Rs(t),t.tag){case 1:return Ie(t.type)&&di(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return nr(),K(Le),K(Ce),As(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return js(t),null;case 13:if(K(X),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(C(340));er()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return K(X),null;case 4:return nr(),null;case 10:return Ms(t.type._context),null;case 22:case 23:return Gs(),null;case 24:return null;default:return null}}var Mo=!1,ke=!1,Bh=typeof WeakSet=="function"?WeakSet:Set,R=null;function Wn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){te(e,t,r)}else n.current=null}function Vu(e,t,n){try{n()}catch(r){te(e,t,r)}}var Pc=!1;function Uh(e,t){if(Tu=si,e=pd(),Ps(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var l=0,u=-1,s=-1,a=0,m=0,h=e,d=null;t:for(;;){for(var S;h!==n||o!==0&&h.nodeType!==3||(u=l+o),h!==i||r!==0&&h.nodeType!==3||(s=l+r),h.nodeType===3&&(l+=h.nodeValue.length),(S=h.firstChild)!==null;)d=h,h=S;for(;;){if(h===e)break t;if(d===n&&++a===o&&(u=l),d===i&&++m===r&&(s=l),(S=h.nextSibling)!==null)break;h=d,d=h.parentNode}h=S}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ru={focusedElem:e,selectionRange:n},si=!1,R=t;R!==null;)if(t=R,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,R=e;else for(;R!==null;){t=R;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var y=g.memoizedProps,P=g.memoizedState,f=t.stateNode,c=f.getSnapshotBeforeUpdate(t.elementType===t.type?y:ct(t.type,y),P);f.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(C(163))}}catch(v){te(t,t.return,v)}if(e=t.sibling,e!==null){e.return=t.return,R=e;break}R=t.return}return g=Pc,Pc=!1,g}function Lr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&Vu(t,n,i)}o=o.next}while(o!==r)}}function Bi(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Hu(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function ap(e){var t=e.alternate;t!==null&&(e.alternate=null,ap(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[wt],delete t[Gr],delete t[zu],delete t[Ch],delete t[Eh])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function cp(e){return e.tag===5||e.tag===3||e.tag===4}function Tc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||cp(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ku(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=fi));else if(r!==4&&(e=e.child,e!==null))for(Ku(e,t,n),e=e.sibling;e!==null;)Ku(e,t,n),e=e.sibling}function Qu(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Qu(e,t,n),e=e.sibling;e!==null;)Qu(e,t,n),e=e.sibling}var me=null,ft=!1;function Dt(e,t,n){for(n=n.child;n!==null;)fp(e,t,n),n=n.sibling}function fp(e,t,n){if(xt&&typeof xt.onCommitFiberUnmount=="function")try{xt.onCommitFiberUnmount(Mi,n)}catch{}switch(n.tag){case 5:ke||Wn(n,t);case 6:var r=me,o=ft;me=null,Dt(e,t,n),me=r,ft=o,me!==null&&(ft?(e=me,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):me.removeChild(n.stateNode));break;case 18:me!==null&&(ft?(e=me,n=n.stateNode,e.nodeType===8?Hl(e.parentNode,n):e.nodeType===1&&Hl(e,n),br(e)):Hl(me,n.stateNode));break;case 4:r=me,o=ft,me=n.stateNode.containerInfo,ft=!0,Dt(e,t,n),me=r,ft=o;break;case 0:case 11:case 14:case 15:if(!ke&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,l=i.destroy;i=i.tag,l!==void 0&&(i&2||i&4)&&Vu(n,t,l),o=o.next}while(o!==r)}Dt(e,t,n);break;case 1:if(!ke&&(Wn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){te(n,t,u)}Dt(e,t,n);break;case 21:Dt(e,t,n);break;case 22:n.mode&1?(ke=(r=ke)||n.memoizedState!==null,Dt(e,t,n),ke=r):Dt(e,t,n);break;default:Dt(e,t,n)}}function Rc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Bh),t.forEach(function(r){var o=Xh.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function at(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=l),r&=~i}if(r=o,r=ne()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*bh(r/1960))-r,10e?16:e,Kt===null)var r=!1;else{if(e=Kt,Kt=null,Ei=0,j&6)throw Error(C(331));var o=j;for(j|=4,R=e.current;R!==null;){var i=R,l=i.child;if(R.flags&16){var u=i.deletions;if(u!==null){for(var s=0;sne()-Ks?mn(e,0):Hs|=n),je(e,t)}function Sp(e,t){t===0&&(e.mode&1?(t=Co,Co<<=1,!(Co&130023424)&&(Co=4194304)):t=1);var n=Te();e=Lt(e,t),e!==null&&(uo(e,t,n),je(e,n))}function Yh(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Sp(e,n)}function Xh(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(C(314))}r!==null&&r.delete(t),Sp(e,n)}var wp;wp=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Le.current)Ne=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ne=!1,Ah(e,t,n);Ne=!!(e.flags&131072)}else Ne=!1,G&&t.flags&1048576&&Ed(t,hi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Go(e,t),e=t.pendingProps;var o=Jn(t,Ce.current);Gn(t,n),o=Ds(null,t,r,e,o,n);var i=Bs();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ie(r)?(i=!0,pi(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Ls(t),o.updater=Di,t.stateNode=o,o._reactInternals=t,Au(t,r,e,n),t=Bu(null,t,r,!0,i,n)):(t.tag=0,G&&i&&Ts(t),Pe(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Go(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=qh(r),e=ct(r,e),o){case 0:t=Du(null,t,r,e,n);break e;case 1:t=Cc(null,t,r,e,n);break e;case 11:t=xc(null,t,r,e,n);break e;case 14:t=kc(null,t,r,ct(r.type,e),n);break e}throw Error(C(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ct(r,o),Du(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ct(r,o),Cc(e,t,r,o,n);case 3:e:{if(rp(t),e===null)throw Error(C(387));r=t.pendingProps,i=t.memoizedState,o=i.element,Od(e,t),vi(t,r,null,n);var l=t.memoizedState;if(r=l.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=rr(Error(C(423)),t),t=Ec(e,t,r,n,o);break e}else if(r!==o){o=rr(Error(C(424)),t),t=Ec(e,t,r,n,o);break e}else for(Be=Xt(t.stateNode.containerInfo.firstChild),Ue=t,G=!0,dt=null,n=Rd(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(er(),r===o){t=It(e,t,n);break e}Pe(e,t,r,n)}t=t.child}return t;case 5:return zd(t),e===null&&Lu(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,l=o.children,$u(r,o)?l=null:i!==null&&$u(r,i)&&(t.flags|=32),np(e,t),Pe(e,t,l,n),t.child;case 6:return e===null&&Lu(t),null;case 13:return op(e,t,n);case 4:return Is(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=tr(t,null,r,n):Pe(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ct(r,o),xc(e,t,r,o,n);case 7:return Pe(e,t,t.pendingProps,n),t.child;case 8:return Pe(e,t,t.pendingProps.children,n),t.child;case 12:return Pe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,l=o.value,V(yi,r._currentValue),r._currentValue=l,i!==null)if(ht(i.value,l)){if(i.children===o.children&&!Le.current){t=It(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var u=i.dependencies;if(u!==null){l=i.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(i.tag===1){s=zt(-1,n&-n),s.tag=2;var a=i.updateQueue;if(a!==null){a=a.shared;var m=a.pending;m===null?s.next=s:(s.next=m.next,m.next=s),a.pending=s}}i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),Iu(i.return,n,t),u.lanes|=n;break}s=s.next}}else if(i.tag===10)l=i.type===t.type?null:i.child;else if(i.tag===18){if(l=i.return,l===null)throw Error(C(341));l.lanes|=n,u=l.alternate,u!==null&&(u.lanes|=n),Iu(l,n,t),l=i.sibling}else l=i.child;if(l!==null)l.return=i;else for(l=i;l!==null;){if(l===t){l=null;break}if(i=l.sibling,i!==null){i.return=l.return,l=i;break}l=l.return}i=l}Pe(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Gn(t,n),o=tt(o),r=r(o),t.flags|=1,Pe(e,t,r,n),t.child;case 14:return r=t.type,o=ct(r,t.pendingProps),o=ct(r.type,o),kc(e,t,r,o,n);case 15:return ep(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ct(r,o),Go(e,t),t.tag=1,Ie(r)?(e=!0,pi(t)):e=!1,Gn(t,n),Zd(t,r,o),Au(t,r,o,n),Bu(null,t,r,!0,e,n);case 19:return ip(e,t,n);case 22:return tp(e,t,n)}throw Error(C(156,t.tag))};function xp(e,t){return Gf(e,t)}function Zh(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function qe(e,t,n,r){return new Zh(e,t,n,r)}function Xs(e){return e=e.prototype,!(!e||!e.isReactComponent)}function qh(e){if(typeof e=="function")return Xs(e)?1:0;if(e!=null){if(e=e.$$typeof,e===hs)return 11;if(e===ys)return 14}return 2}function en(e,t){var n=e.alternate;return n===null?(n=qe(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Zo(e,t,n,r,o,i){var l=2;if(r=e,typeof e=="function")Xs(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case Nn:return hn(n.children,o,i,t);case ms:l=8,o|=8;break;case uu:return e=qe(12,n,t,o|2),e.elementType=uu,e.lanes=i,e;case su:return e=qe(13,n,t,o),e.elementType=su,e.lanes=i,e;case au:return e=qe(19,n,t,o),e.elementType=au,e.lanes=i,e;case zf:return Wi(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case $f:l=10;break e;case Of:l=9;break e;case hs:l=11;break e;case ys:l=14;break e;case Bt:l=16,r=null;break e}throw Error(C(130,e==null?e:typeof e,""))}return t=qe(l,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function hn(e,t,n,r){return e=qe(7,e,r,t),e.lanes=n,e}function Wi(e,t,n,r){return e=qe(22,e,r,t),e.elementType=zf,e.lanes=n,e.stateNode={isHidden:!1},e}function Jl(e,t,n){return e=qe(6,e,null,t),e.lanes=n,e}function eu(e,t,n){return t=qe(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Jh(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ll(0),this.expirationTimes=Ll(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ll(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Zs(e,t,n,r,o,i,l,u,s){return e=new Jh(e,t,n,u,s),t===1?(t=1,i===!0&&(t|=8)):t=0,i=qe(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ls(i),e}function ey(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(_p)}catch(e){console.error(e)}}_p(),_f.exports=Ve;var iy=_f.exports,jc=iy;Oa.createRoot=jc.createRoot,Oa.hydrateRoot=jc.hydrateRoot;function ot(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function O(){return O=Object.assign?Object.assign.bind():function(e){for(var t=1;t{if(r.toString().match(/^(components|slots)$/))n[r]=O({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},i=t[r];n[r]={},!i||!Object.keys(i)?n[r]=o:!o||!Object.keys(o)?n[r]=i:(n[r]=O({},i),Object.keys(o).forEach(l=>{n[r][l]=Ti(o[l],i[l])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function Tp(e,t,n=void 0){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((i,l)=>{if(l){const u=t(l);u!==""&&i.push(u),n&&n[l]&&i.push(n[l])}return i},[]).join(" ")}),r}var re={},Rp={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Rp);var $p=Rp.exports;function to(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function hy(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function rt(e){if(e.type)return e;if(e.charAt(0)==="#")return rt(zp(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error((0,Ac.default)(9,e));let r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error((0,Ac.default)(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}const Mp=e=>{const t=rt(e);return t.values.slice(0,3).map((n,r)=>t.type.indexOf("hsl")!==-1&&r!==0?`${n}%`:n).join(" ")};re.colorChannel=Mp;const yy=(e,t)=>{try{return Mp(e)}catch{return e}};re.private_safeColorChannel=yy;function ar(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((o,i)=>i<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function gy(e){if(e.indexOf("#")===0)return e;const{values:t}=rt(e);return`#${t.map((n,r)=>hy(r===3?Math.round(255*n):n)).join("")}`}function Np(e){e=rt(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),l=(a,m=(a+n/30)%12)=>o-i*Math.max(Math.min(m-3,9-m,1),-1);let u="rgb";const s=[Math.round(l(0)*255),Math.round(l(8)*255),Math.round(l(4)*255)];return e.type==="hsla"&&(u+="a",s.push(t[3])),ar({type:u,values:s})}function Ri(e){e=rt(e);let t=e.type==="hsl"||e.type==="hsla"?rt(Np(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function vy(e,t){const n=Ri(e),r=Ri(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Lp(e,t){return e=rt(e),t=ta(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,ar(e)}function Sy(e,t,n){try{return Lp(e,t)}catch{return e}}function na(e,t){if(e=rt(e),t=ta(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return ar(e)}function wy(e,t,n){try{return na(e,t)}catch{return e}}function ra(e,t){if(e=rt(e),t=ta(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return ar(e)}function xy(e,t,n){try{return ra(e,t)}catch{return e}}function Ip(e,t=.15){return Ri(e)>.5?na(e,t):ra(e,t)}function ky(e,t,n){try{return Ip(e,t)}catch{return e}}function Cy(e,t,n,r=1){const o=(s,a)=>Math.round((s**(1/r)*(1-n)+a**(1/r)*n)**r),i=rt(e),l=rt(t),u=[o(i.values[0],l.values[0]),o(i.values[1],l.values[1]),o(i.values[2],l.values[2])];return ar({type:"rgb",values:u})}var fo={},tu={exports:{}},Fc;function Ey(){return Fc||(Fc=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(n){for(var r=1;r0?he(cr,--Ae):0,ir--,ue===10&&(ir=1,Gi--),ue}function We(){return ue=Ae2||ro(ue)>3?"":" "}function Wy(e,t){for(;--t&&We()&&!(ue<48||ue>102||ue>57&&ue<65||ue>70&&ue<97););return po(e,qo()+(t<6&&Ct()==32&&We()==32))}function Ju(e){for(;We();)switch(ue){case e:return Ae;case 34:case 39:e!==34&&e!==39&&Ju(ue);break;case 40:e===41&&Ju(e);break;case 92:We();break}return Ae}function by(e,t){for(;We()&&e+ue!==57;)if(e+ue===84&&Ct()===47)break;return"/*"+po(t,Ae-1)+"*"+Qi(e===47?e:We())}function Vy(e){for(;!ro(Ct());)We();return po(e,Ae)}function Hy(e){return Wp(ei("",null,null,null,[""],e=Up(e),0,[0],e))}function ei(e,t,n,r,o,i,l,u,s){for(var a=0,m=0,h=l,d=0,S=0,g=0,y=1,P=1,f=1,c=0,p="",v=o,w=i,k=r,x=p;P;)switch(g=c,c=We()){case 40:if(g!=108&&he(x,h-1)==58){qu(x+=F(Jo(c),"&","&\f"),"&\f")!=-1&&(f=-1);break}case 34:case 39:case 91:x+=Jo(c);break;case 9:case 10:case 13:case 32:x+=Uy(g);break;case 92:x+=Wy(qo()-1,7);continue;case 47:switch(Ct()){case 42:case 47:jo(Ky(by(We(),qo()),t,n),s);break;default:x+="/"}break;case 123*y:u[a++]=vt(x)*f;case 125*y:case 59:case 0:switch(c){case 0:case 125:P=0;case 59+m:f==-1&&(x=F(x,/\f/g,"")),S>0&&vt(x)-h&&jo(S>32?Uc(x+";",r,n,h-1):Uc(F(x," ","")+";",r,n,h-2),s);break;case 59:x+=";";default:if(jo(k=Bc(x,t,n,a,m,o,u,p,v=[],w=[],h),i),c===123)if(m===0)ei(x,t,k,k,v,i,h,u,w);else switch(d===99&&he(x,3)===110?100:d){case 100:case 108:case 109:case 115:ei(e,k,k,r&&jo(Bc(e,k,k,0,0,o,u,p,o,v=[],h),w),o,w,h,u,r?v:w);break;default:ei(x,k,k,k,[""],w,0,u,w)}}a=m=S=0,y=f=1,p=x="",h=l;break;case 58:h=1+vt(x),S=g;default:if(y<1){if(c==123)--y;else if(c==125&&y++==0&&By()==125)continue}switch(x+=Qi(c),c*y){case 38:f=m>0?1:(x+="\f",-1);break;case 44:u[a++]=(vt(x)-1)*f,f=1;break;case 64:Ct()===45&&(x+=Jo(We())),d=Ct(),m=h=vt(p=x+=Vy(qo())),c++;break;case 45:g===45&&vt(x)==2&&(y=0)}}return i}function Bc(e,t,n,r,o,i,l,u,s,a,m){for(var h=o-1,d=o===0?i:[""],S=la(d),g=0,y=0,P=0;g0?d[f]+" "+c:F(c,/&\f/g,d[f])))&&(s[P++]=p);return Yi(e,t,n,o===0?oa:u,s,a,m)}function Ky(e,t,n){return Yi(e,t,n,Ap,Qi(Dy()),no(e,2,-2),0)}function Uc(e,t,n,r){return Yi(e,t,n,ia,no(e,0,r),no(e,r+1,-1),r)}function Xn(e,t){for(var n="",r=la(e),o=0;o6)switch(he(e,t+1)){case 109:if(he(e,t+4)!==45)break;case 102:return F(e,/(.+:)(.+)-([^]+)/,"$1"+A+"$2-$3$1"+$i+(he(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~qu(e,"stretch")?bp(F(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(he(e,t+1)!==115)break;case 6444:switch(he(e,vt(e)-3-(~qu(e,"!important")&&10))){case 107:return F(e,":",":"+A)+e;case 101:return F(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+A+(he(e,14)===45?"inline-":"")+"box$3$1"+A+"$2$3$1"+xe+"$2box$3")+e}break;case 5936:switch(he(e,t+11)){case 114:return A+e+xe+F(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return A+e+xe+F(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return A+e+xe+F(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return A+e+xe+e+e}return e}var tg=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case ia:t.return=bp(t.value,t.length);break;case Fp:return Xn([kr(t,{value:F(t.value,"@","@"+A)})],o);case oa:if(t.length)return Fy(t.props,function(i){switch(Ay(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Xn([kr(t,{props:[F(i,/:(read-\w+)/,":"+$i+"$1")]})],o);case"::placeholder":return Xn([kr(t,{props:[F(i,/:(plac\w+)/,":"+A+"input-$1")]}),kr(t,{props:[F(i,/:(plac\w+)/,":"+$i+"$1")]}),kr(t,{props:[F(i,/:(plac\w+)/,xe+"input-$1")]})],o)}return""})}},ng=[tg],Vp=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(y){var P=y.getAttribute("data-emotion");P.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var o=t.stylisPlugins||ng,i={},l,u=[];l=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(y){for(var P=y.getAttribute("data-emotion").split(" "),f=1;f=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&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 mg={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},hg=!1,yg=/[A-Z]|^ms/g,gg=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Zp=function(t){return t.charCodeAt(1)===45},bc=function(t){return t!=null&&typeof t!="boolean"},ru=jp(function(e){return Zp(e)?e:e.replace(yg,"-$&").toLowerCase()}),Vc=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(gg,function(r,o,i){return St={name:o,styles:i,next:St},o})}return mg[t]!==1&&!Zp(t)&&typeof n=="number"&&n!==0?n+"px":n},vg="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function oo(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return St={name:o.name,styles:o.styles,next:St},o.name;var i=n;if(i.styles!==void 0){var l=i.next;if(l!==void 0)for(;l!==void 0;)St={name:l.name,styles:l.styles,next:St},l=l.next;var u=i.styles+";";return u}return Sg(e,t,n)}case"function":{if(e!==void 0){var s=St,a=n(e);return St=s,oo(e,t,a)}break}}var m=n;if(t==null)return m;var h=t[m];return h!==void 0?h:m}function Sg(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o96?Eg:_g},Gc=function(t,n,r){var o;if(n){var i=n.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(l){return t.__emotion_forwardProp(l)&&i(l)}:i}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},Pg=!1,Tg=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return Yp(n,r,o),xg(function(){return Xp(n,r,o)}),null},Rg=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,i,l;n!==void 0&&(i=n.label,l=n.target);var u=Gc(t,n,r),s=u||Qc(o),a=!s("as");return function(){var m=arguments,h=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&h.push("label:"+i+";"),m[0]==null||m[0].raw===void 0)h.push.apply(h,m);else{h.push(m[0][0]);for(var d=m.length,S=1;St(zg(o)?n:o):t;return Je.jsx(Cg,{styles:r})}function Ng(e,t){return es(e,t)}const Lg=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},Ig=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:Mg,StyledEngineProvider:Og,ThemeContext:fa,css:t0,default:Ng,internal_processStyles:Lg,keyframes:ll},Symbol.toStringTag,{value:"Module"})),jg=rn(Ig);function Vt(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function n0(e){if(!Vt(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=n0(e[n])}),t}function Et(e,t,n={clone:!0}){const r=n.clone?O({},e):e;return Vt(e)&&Vt(t)&&Object.keys(t).forEach(o=>{Vt(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Vt(e[o])?r[o]=Et(e[o],t[o],n):n.clone?r[o]=Vt(t[o])?n0(t[o]):t[o]:r[o]=t[o]}),r}const Ag=Object.freeze(Object.defineProperty({__proto__:null,default:Et,isPlainObject:Vt},Symbol.toStringTag,{value:"Module"})),Fg=rn(Ag);function Me(e){if(typeof e!="string")throw new Error(to(7));return e.charAt(0).toUpperCase()+e.slice(1)}const Dg=Object.freeze(Object.defineProperty({__proto__:null,default:Me},Symbol.toStringTag,{value:"Module"})),Bg=rn(Dg);var r0={exports:{}},W={};/** + * @license React + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var da=Symbol.for("react.element"),pa=Symbol.for("react.portal"),ul=Symbol.for("react.fragment"),sl=Symbol.for("react.strict_mode"),al=Symbol.for("react.profiler"),cl=Symbol.for("react.provider"),fl=Symbol.for("react.context"),Ug=Symbol.for("react.server_context"),dl=Symbol.for("react.forward_ref"),pl=Symbol.for("react.suspense"),ml=Symbol.for("react.suspense_list"),hl=Symbol.for("react.memo"),yl=Symbol.for("react.lazy"),Wg=Symbol.for("react.offscreen"),o0;o0=Symbol.for("react.module.reference");function it(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case da:switch(e=e.type,e){case ul:case al:case sl:case pl:case ml:return e;default:switch(e=e&&e.$$typeof,e){case Ug:case fl:case dl:case yl:case hl:case cl:return e;default:return t}}case pa:return t}}}W.ContextConsumer=fl;W.ContextProvider=cl;W.Element=da;W.ForwardRef=dl;W.Fragment=ul;W.Lazy=yl;W.Memo=hl;W.Portal=pa;W.Profiler=al;W.StrictMode=sl;W.Suspense=pl;W.SuspenseList=ml;W.isAsyncMode=function(){return!1};W.isConcurrentMode=function(){return!1};W.isContextConsumer=function(e){return it(e)===fl};W.isContextProvider=function(e){return it(e)===cl};W.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===da};W.isForwardRef=function(e){return it(e)===dl};W.isFragment=function(e){return it(e)===ul};W.isLazy=function(e){return it(e)===yl};W.isMemo=function(e){return it(e)===hl};W.isPortal=function(e){return it(e)===pa};W.isProfiler=function(e){return it(e)===al};W.isStrictMode=function(e){return it(e)===sl};W.isSuspense=function(e){return it(e)===pl};W.isSuspenseList=function(e){return it(e)===ml};W.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===ul||e===al||e===sl||e===pl||e===ml||e===Wg||typeof e=="object"&&e!==null&&(e.$$typeof===yl||e.$$typeof===hl||e.$$typeof===cl||e.$$typeof===fl||e.$$typeof===dl||e.$$typeof===o0||e.getModuleId!==void 0)};W.typeOf=it;r0.exports=W;var Yc=r0.exports;const bg=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function i0(e){const t=`${e}`.match(bg);return t&&t[1]||""}function l0(e,t=""){return e.displayName||e.name||i0(e)||t}function Xc(e,t,n){const r=l0(t);return e.displayName||(r!==""?`${n}(${r})`:n)}function Vg(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return l0(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Yc.ForwardRef:return Xc(e,e.render,"ForwardRef");case Yc.Memo:return Xc(e,e.type,"memo");default:return}}}const Hg=Object.freeze(Object.defineProperty({__proto__:null,default:Vg,getFunctionName:i0},Symbol.toStringTag,{value:"Module"})),Kg=rn(Hg),Qg=["values","unit","step"],Gg=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>O({},n,{[r.key]:r.val}),{})};function u0(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=ot(e,Qg),i=Gg(t),l=Object.keys(i);function u(d){return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${n})`}function s(d){return`@media (max-width:${(typeof t[d]=="number"?t[d]:d)-r/100}${n})`}function a(d,S){const g=l.indexOf(S);return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${n}) and (max-width:${(g!==-1&&typeof t[l[g]]=="number"?t[l[g]]:S)-r/100}${n})`}function m(d){return l.indexOf(d)+1`@media (min-width:${ma[e]}px)`};function jt(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||Zc;return t.reduce((l,u,s)=>(l[i.up(i.keys[s])]=n(t[s]),l),{})}if(typeof t=="object"){const i=r.breakpoints||Zc;return Object.keys(t).reduce((l,u)=>{if(Object.keys(i.values||ma).indexOf(u)!==-1){const s=i.up(u);l[s]=n(t[u],u)}else{const s=u;l[s]=t[s]}return l},{})}return n(t)}function Xg(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function Zg(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function gl(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(r!=null)return r}return t.split(".").reduce((r,o)=>r&&r[o]!=null?r[o]:null,e)}function Oi(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=gl(e,n)||r,t&&(o=t(o,r,e)),o}function oe(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=l=>{if(l[t]==null)return null;const u=l[t],s=l.theme,a=gl(s,r)||{};return jt(l,u,h=>{let d=Oi(a,o,h);return h===d&&typeof h=="string"&&(d=Oi(a,o,`${t}${h==="default"?"":Me(h)}`,h)),n===!1?d:{[n]:d}})};return i.propTypes={},i.filterProps=[t],i}function qg(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const Jg={m:"margin",p:"padding"},e1={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},qc={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},t1=qg(e=>{if(e.length>2)if(qc[e])e=qc[e];else return[e];const[t,n]=e.split(""),r=Jg[t],o=e1[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),ha=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],ya=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...ha,...ya];function mo(e,t,n,r){var o;const i=(o=gl(e,t,!1))!=null?o:n;return typeof i=="number"?l=>typeof l=="string"?l:i*l:Array.isArray(i)?l=>typeof l=="string"?l:i[l]:typeof i=="function"?i:()=>{}}function s0(e){return mo(e,"spacing",8)}function ho(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function n1(e,t){return n=>e.reduce((r,o)=>(r[o]=ho(t,n),r),{})}function r1(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=t1(n),i=n1(o,r),l=e[n];return jt(e,l,i)}function a0(e,t){const n=s0(e.theme);return Object.keys(e).map(r=>r1(e,t,r,n)).reduce(Ar,{})}function J(e){return a0(e,ha)}J.propTypes={};J.filterProps=ha;function ee(e){return a0(e,ya)}ee.propTypes={};ee.filterProps=ya;function o1(e=8){if(e.mui)return e;const t=s0({spacing:e}),n=(...r)=>(r.length===0?[1]:r).map(i=>{const l=t(i);return typeof l=="number"?`${l}px`:l}).join(" ");return n.mui=!0,n}function vl(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(i=>{r[i]=o}),r),{}),n=r=>Object.keys(r).reduce((o,i)=>t[i]?Ar(o,t[i](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function Ze(e){return typeof e!="number"?e:`${e}px solid`}function lt(e,t){return oe({prop:e,themeKey:"borders",transform:t})}const i1=lt("border",Ze),l1=lt("borderTop",Ze),u1=lt("borderRight",Ze),s1=lt("borderBottom",Ze),a1=lt("borderLeft",Ze),c1=lt("borderColor"),f1=lt("borderTopColor"),d1=lt("borderRightColor"),p1=lt("borderBottomColor"),m1=lt("borderLeftColor"),h1=lt("outline",Ze),y1=lt("outlineColor"),Sl=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=mo(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:ho(t,r)});return jt(e,e.borderRadius,n)}return null};Sl.propTypes={};Sl.filterProps=["borderRadius"];vl(i1,l1,u1,s1,a1,c1,f1,d1,p1,m1,Sl,h1,y1);const wl=e=>{if(e.gap!==void 0&&e.gap!==null){const t=mo(e.theme,"spacing",8),n=r=>({gap:ho(t,r)});return jt(e,e.gap,n)}return null};wl.propTypes={};wl.filterProps=["gap"];const xl=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=mo(e.theme,"spacing",8),n=r=>({columnGap:ho(t,r)});return jt(e,e.columnGap,n)}return null};xl.propTypes={};xl.filterProps=["columnGap"];const kl=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=mo(e.theme,"spacing",8),n=r=>({rowGap:ho(t,r)});return jt(e,e.rowGap,n)}return null};kl.propTypes={};kl.filterProps=["rowGap"];const g1=oe({prop:"gridColumn"}),v1=oe({prop:"gridRow"}),S1=oe({prop:"gridAutoFlow"}),w1=oe({prop:"gridAutoColumns"}),x1=oe({prop:"gridAutoRows"}),k1=oe({prop:"gridTemplateColumns"}),C1=oe({prop:"gridTemplateRows"}),E1=oe({prop:"gridTemplateAreas"}),_1=oe({prop:"gridArea"});vl(wl,xl,kl,g1,v1,S1,w1,x1,k1,C1,E1,_1);function Zn(e,t){return t==="grey"?t:e}const P1=oe({prop:"color",themeKey:"palette",transform:Zn}),T1=oe({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Zn}),R1=oe({prop:"backgroundColor",themeKey:"palette",transform:Zn});vl(P1,T1,R1);function De(e){return e<=1&&e!==0?`${e*100}%`:e}const $1=oe({prop:"width",transform:De}),ga=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,o;const i=((r=e.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[n])||ma[n];return i?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:De(n)}};return jt(e,e.maxWidth,t)}return null};ga.filterProps=["maxWidth"];const O1=oe({prop:"minWidth",transform:De}),z1=oe({prop:"height",transform:De}),M1=oe({prop:"maxHeight",transform:De}),N1=oe({prop:"minHeight",transform:De});oe({prop:"size",cssProperty:"width",transform:De});oe({prop:"size",cssProperty:"height",transform:De});const L1=oe({prop:"boxSizing"});vl($1,ga,O1,z1,M1,N1,L1);const yo={border:{themeKey:"borders",transform:Ze},borderTop:{themeKey:"borders",transform:Ze},borderRight:{themeKey:"borders",transform:Ze},borderBottom:{themeKey:"borders",transform:Ze},borderLeft:{themeKey:"borders",transform:Ze},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Ze},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Sl},color:{themeKey:"palette",transform:Zn},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Zn},backgroundColor:{themeKey:"palette",transform:Zn},p:{style:ee},pt:{style:ee},pr:{style:ee},pb:{style:ee},pl:{style:ee},px:{style:ee},py:{style:ee},padding:{style:ee},paddingTop:{style:ee},paddingRight:{style:ee},paddingBottom:{style:ee},paddingLeft:{style:ee},paddingX:{style:ee},paddingY:{style:ee},paddingInline:{style:ee},paddingInlineStart:{style:ee},paddingInlineEnd:{style:ee},paddingBlock:{style:ee},paddingBlockStart:{style:ee},paddingBlockEnd:{style:ee},m:{style:J},mt:{style:J},mr:{style:J},mb:{style:J},ml:{style:J},mx:{style:J},my:{style:J},margin:{style:J},marginTop:{style:J},marginRight:{style:J},marginBottom:{style:J},marginLeft:{style:J},marginX:{style:J},marginY:{style:J},marginInline:{style:J},marginInlineStart:{style:J},marginInlineEnd:{style:J},marginBlock:{style:J},marginBlockStart:{style:J},marginBlockEnd:{style:J},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:wl},rowGap:{style:kl},columnGap:{style:xl},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:De},maxWidth:{style:ga},minWidth:{transform:De},height:{transform:De},maxHeight:{transform:De},minHeight:{transform:De},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function I1(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function j1(e,t){return typeof e=="function"?e(t):e}function c0(){function e(n,r,o,i){const l={[n]:r,theme:o},u=i[n];if(!u)return{[n]:r};const{cssProperty:s=n,themeKey:a,transform:m,style:h}=u;if(r==null)return null;if(a==="typography"&&r==="inherit")return{[n]:r};const d=gl(o,a)||{};return h?h(l):jt(l,r,g=>{let y=Oi(d,m,g);return g===y&&typeof g=="string"&&(y=Oi(d,m,`${n}${g==="default"?"":Me(g)}`,g)),s===!1?y:{[s]:y}})}function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const l=(r=i.unstable_sxConfig)!=null?r:yo;function u(s){let a=s;if(typeof s=="function")a=s(i);else if(typeof s!="object")return s;if(!a)return null;const m=Xg(i.breakpoints),h=Object.keys(m);let d=m;return Object.keys(a).forEach(S=>{const g=j1(a[S],i);if(g!=null)if(typeof g=="object")if(l[S])d=Ar(d,e(S,g,i,l));else{const y=jt({theme:i},g,P=>({[S]:P}));I1(y,g)?d[S]=t({sx:g,theme:i}):d=Ar(d,y)}else d=Ar(d,e(S,g,i,l))}),Zg(h,d)}return Array.isArray(o)?o.map(u):u(o)}return t}const Cl=c0();Cl.filterProps=["sx"];function f0(e,t){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:n.palette.mode===e?t:{}}const A1=["breakpoints","palette","spacing","shape"];function d0(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,l=ot(e,A1),u=u0(n),s=o1(o);let a=Et({breakpoints:u,direction:"ltr",components:{},palette:O({mode:"light"},r),spacing:s,shape:O({},Yg,i)},l);return a.applyStyles=f0,a=t.reduce((m,h)=>Et(m,h),a),a.unstable_sxConfig=O({},yo,l==null?void 0:l.unstable_sxConfig),a.unstable_sx=function(h){return Cl({sx:h,theme:this})},a}const F1=Object.freeze(Object.defineProperty({__proto__:null,default:d0,private_createBreakpoints:u0,unstable_applyStyles:f0},Symbol.toStringTag,{value:"Module"})),D1=rn(F1),B1=["sx"],U1=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:yo;return Object.keys(e).forEach(i=>{o[i]?r.systemProps[i]=e[i]:r.otherProps[i]=e[i]}),r};function W1(e){const{sx:t}=e,n=ot(e,B1),{systemProps:r,otherProps:o}=U1(n);let i;return Array.isArray(t)?i=[r,...t]:typeof t=="function"?i=(...l)=>{const u=t(...l);return Vt(u)?O({},r,u):r}:i=O({},r,t),O({},o,{sx:i})}const b1=Object.freeze(Object.defineProperty({__proto__:null,default:Cl,extendSxProp:W1,unstable_createStyleFunctionSx:c0,unstable_defaultSxConfig:yo},Symbol.toStringTag,{value:"Module"})),V1=rn(b1);var fr=$p;Object.defineProperty(fo,"__esModule",{value:!0});var H1=fo.default=ov;fo.shouldForwardProp=ti;fo.systemDefaultTheme=void 0;var Qe=fr(Ey()),ns=fr(_y()),Jc=q1(jg),K1=Fg;fr(Bg);fr(Kg);var Q1=fr(D1),G1=fr(V1);const Y1=["ownerState"],X1=["variants"],Z1=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function p0(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(p0=function(r){return r?n:t})(e)}function q1(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=p0(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}function J1(e){return Object.keys(e).length===0}function ev(e){return typeof e=="string"&&e.charCodeAt(0)>96}function ti(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const tv=fo.systemDefaultTheme=(0,Q1.default)(),nv=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Ao({defaultTheme:e,theme:t,themeId:n}){return J1(t)?e:t[n]||t}function rv(e){return e?(t,n)=>n[e]:null}function ni(e,t){let{ownerState:n}=t,r=(0,ns.default)(t,Y1);const o=typeof e=="function"?e((0,Qe.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(i=>ni(i,(0,Qe.default)({ownerState:n},r)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:i=[]}=o;let u=(0,ns.default)(o,X1);return i.forEach(s=>{let a=!0;typeof s.props=="function"?a=s.props((0,Qe.default)({ownerState:n},r,n)):Object.keys(s.props).forEach(m=>{(n==null?void 0:n[m])!==s.props[m]&&r[m]!==s.props[m]&&(a=!1)}),a&&(Array.isArray(u)||(u=[u]),u.push(typeof s.style=="function"?s.style((0,Qe.default)({ownerState:n},r,n)):s.style))}),u}return o}function ov(e={}){const{themeId:t,defaultTheme:n=tv,rootShouldForwardProp:r=ti,slotShouldForwardProp:o=ti}=e,i=l=>(0,G1.default)((0,Qe.default)({},l,{theme:Ao((0,Qe.default)({},l,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(l,u={})=>{(0,Jc.internal_processStyles)(l,w=>w.filter(k=>!(k!=null&&k.__mui_systemSx)));const{name:s,slot:a,skipVariantsResolver:m,skipSx:h,overridesResolver:d=rv(nv(a))}=u,S=(0,ns.default)(u,Z1),g=m!==void 0?m:a&&a!=="Root"&&a!=="root"||!1,y=h||!1;let P,f=ti;a==="Root"||a==="root"?f=r:a?f=o:ev(l)&&(f=void 0);const c=(0,Jc.default)(l,(0,Qe.default)({shouldForwardProp:f,label:P},S)),p=w=>typeof w=="function"&&w.__emotion_real!==w||(0,K1.isPlainObject)(w)?k=>ni(w,(0,Qe.default)({},k,{theme:Ao({theme:k.theme,defaultTheme:n,themeId:t})})):w,v=(w,...k)=>{let x=p(w);const _=k?k.map(p):[];s&&d&&_.push(D=>{const b=Ao((0,Qe.default)({},D,{defaultTheme:n,themeId:t}));if(!b.components||!b.components[s]||!b.components[s].styleOverrides)return null;const ie=b.components[s].styleOverrides,ve={};return Object.entries(ie).forEach(([ut,Ee])=>{ve[ut]=ni(Ee,(0,Qe.default)({},D,{theme:b}))}),d(D,ve)}),s&&!g&&_.push(D=>{var b;const ie=Ao((0,Qe.default)({},D,{defaultTheme:n,themeId:t})),ve=ie==null||(b=ie.components)==null||(b=b[s])==null?void 0:b.variants;return ni({variants:ve},(0,Qe.default)({},D,{theme:ie}))}),y||_.push(i);const L=_.length-k.length;if(Array.isArray(w)&&L>0){const D=new Array(L).fill("");x=[...w,...D],x.raw=[...w.raw,...D]}const $=c(x,..._);return l.muiName&&($.muiName=l.muiName),$};return c.withConfig&&(v.withConfig=c.withConfig),v}}const ef=e=>e,iv=()=>{let e=ef;return{configure(t){e=t},generate(t){return e(t)},reset(){e=ef}}},lv=iv(),uv={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function va(e,t,n="Mui"){const r=uv[t];return r?`${n}-${r}`:`${lv.generate(e)}-${t}`}function sv(e,t){return O({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const io={black:"#000",white:"#fff"},av={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},Pn={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Tn={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Cr={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Rn={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},$n={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},On={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},cv=["mode","contrastThreshold","tonalOffset"],tf={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:io.white,default:io.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},ou={text:{primary:io.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:io.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function nf(e,t,n,r){const o=r.light||r,i=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=py(e.main,o):t==="dark"&&(e.dark=fy(e.main,i)))}function fv(e="light"){return e==="dark"?{main:Rn[200],light:Rn[50],dark:Rn[400]}:{main:Rn[700],light:Rn[400],dark:Rn[800]}}function dv(e="light"){return e==="dark"?{main:Pn[200],light:Pn[50],dark:Pn[400]}:{main:Pn[500],light:Pn[300],dark:Pn[700]}}function pv(e="light"){return e==="dark"?{main:Tn[500],light:Tn[300],dark:Tn[700]}:{main:Tn[700],light:Tn[400],dark:Tn[800]}}function mv(e="light"){return e==="dark"?{main:$n[400],light:$n[300],dark:$n[700]}:{main:$n[700],light:$n[500],dark:$n[900]}}function hv(e="light"){return e==="dark"?{main:On[400],light:On[300],dark:On[700]}:{main:On[800],light:On[500],dark:On[900]}}function yv(e="light"){return e==="dark"?{main:Cr[400],light:Cr[300],dark:Cr[700]}:{main:"#ed6c02",light:Cr[500],dark:Cr[900]}}function gv(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=ot(e,cv),i=e.primary||fv(t),l=e.secondary||dv(t),u=e.error||pv(t),s=e.info||mv(t),a=e.success||hv(t),m=e.warning||yv(t);function h(y){return dy(y,ou.text.primary)>=n?ou.text.primary:tf.text.primary}const d=({color:y,name:P,mainShade:f=500,lightShade:c=300,darkShade:p=700})=>{if(y=O({},y),!y.main&&y[f]&&(y.main=y[f]),!y.hasOwnProperty("main"))throw new Error(to(11,P?` (${P})`:"",f));if(typeof y.main!="string")throw new Error(to(12,P?` (${P})`:"",JSON.stringify(y.main)));return nf(y,"light",c,r),nf(y,"dark",p,r),y.contrastText||(y.contrastText=h(y.main)),y},S={dark:ou,light:tf};return Et(O({common:O({},io),mode:t,primary:d({color:i,name:"primary"}),secondary:d({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:d({color:u,name:"error"}),warning:d({color:m,name:"warning"}),info:d({color:s,name:"info"}),success:d({color:a,name:"success"}),grey:av,contrastThreshold:n,getContrastText:h,augmentColor:d,tonalOffset:r},S[t]),o)}const vv=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Sv(e){return Math.round(e*1e5)/1e5}const rf={textTransform:"uppercase"},of='"Roboto", "Helvetica", "Arial", sans-serif';function wv(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=of,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:l=400,fontWeightMedium:u=500,fontWeightBold:s=700,htmlFontSize:a=16,allVariants:m,pxToRem:h}=n,d=ot(n,vv),S=o/14,g=h||(f=>`${f/a*S}rem`),y=(f,c,p,v,w)=>O({fontFamily:r,fontWeight:f,fontSize:g(c),lineHeight:p},r===of?{letterSpacing:`${Sv(v/c)}em`}:{},w,m),P={h1:y(i,96,1.167,-1.5),h2:y(i,60,1.2,-.5),h3:y(l,48,1.167,0),h4:y(l,34,1.235,.25),h5:y(l,24,1.334,0),h6:y(u,20,1.6,.15),subtitle1:y(l,16,1.75,.15),subtitle2:y(u,14,1.57,.1),body1:y(l,16,1.5,.15),body2:y(l,14,1.43,.15),button:y(u,14,1.75,.4,rf),caption:y(l,12,1.66,.4),overline:y(l,12,2.66,1,rf),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Et(O({htmlFontSize:a,pxToRem:g,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:l,fontWeightMedium:u,fontWeightBold:s},P),d,{clone:!1})}const xv=.2,kv=.14,Cv=.12;function Q(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${xv})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${kv})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Cv})`].join(",")}const Ev=["none",Q(0,2,1,-1,0,1,1,0,0,1,3,0),Q(0,3,1,-2,0,2,2,0,0,1,5,0),Q(0,3,3,-2,0,3,4,0,0,1,8,0),Q(0,2,4,-1,0,4,5,0,0,1,10,0),Q(0,3,5,-1,0,5,8,0,0,1,14,0),Q(0,3,5,-1,0,6,10,0,0,1,18,0),Q(0,4,5,-2,0,7,10,1,0,2,16,1),Q(0,5,5,-3,0,8,10,1,0,3,14,2),Q(0,5,6,-3,0,9,12,1,0,3,16,2),Q(0,6,6,-3,0,10,14,1,0,4,18,3),Q(0,6,7,-4,0,11,15,1,0,4,20,3),Q(0,7,8,-4,0,12,17,2,0,5,22,4),Q(0,7,8,-4,0,13,19,2,0,5,24,4),Q(0,7,9,-4,0,14,21,2,0,5,26,4),Q(0,8,9,-5,0,15,22,2,0,6,28,5),Q(0,8,10,-5,0,16,24,2,0,6,30,5),Q(0,8,11,-5,0,17,26,2,0,6,32,5),Q(0,9,11,-5,0,18,28,2,0,7,34,6),Q(0,9,12,-6,0,19,29,2,0,7,36,6),Q(0,10,13,-6,0,20,31,3,0,8,38,7),Q(0,10,13,-6,0,21,33,3,0,8,40,7),Q(0,10,14,-6,0,22,35,3,0,8,42,7),Q(0,11,14,-7,0,23,36,3,0,9,44,8),Q(0,11,15,-7,0,24,38,3,0,9,46,8)],_v=["duration","easing","delay"],Pv={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Tv={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function lf(e){return`${Math.round(e)}ms`}function Rv(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function $v(e){const t=O({},Pv,e.easing),n=O({},Tv,e.duration);return O({getAutoHeightDuration:Rv,create:(o=["all"],i={})=>{const{duration:l=n.standard,easing:u=t.easeInOut,delay:s=0}=i;return ot(i,_v),(Array.isArray(o)?o:[o]).map(a=>`${a} ${typeof l=="string"?l:lf(l)} ${u} ${typeof s=="string"?s:lf(s)}`).join(",")}},e,{easing:t,duration:n})}const Ov={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},zv=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Mv(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,l=ot(e,zv);if(e.vars)throw new Error(to(18));const u=gv(r),s=d0(e);let a=Et(s,{mixins:sv(s.breakpoints,n),palette:u,shadows:Ev.slice(),typography:wv(u,i),transitions:$v(o),zIndex:O({},Ov)});return a=Et(a,l),a=t.reduce((m,h)=>Et(m,h),a),a.unstable_sxConfig=O({},yo,l==null?void 0:l.unstable_sxConfig),a.unstable_sx=function(h){return Cl({sx:h,theme:this})},a}const Nv=Mv(),Lv="$$material";function Iv(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const m0=e=>Iv(e)&&e!=="classes",dr=H1({themeId:Lv,defaultTheme:Nv,rootShouldForwardProp:m0}),jv=T.createContext(void 0);function Av(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?Ti(o.defaultProps,r):!o.styleOverrides&&!o.variants?Ti(o,r):r}function Fv({props:e,name:t}){const n=T.useContext(jv);return Av({props:e,name:t,theme:{components:n}})}function Sa(e){return Fv(e)}function Dv(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function rs(...e){return T.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{Dv(n,t)})},e)}const Bv=typeof window<"u"?T.useLayoutEffect:T.useEffect;function Fo(e){const t=T.useRef(e);return Bv(()=>{t.current=e}),T.useRef((...n)=>(0,t.current)(...n)).current}const uf={};function Uv(e,t){const n=T.useRef(uf);return n.current===uf&&(n.current=e(t)),n}const Wv=[];function bv(e){T.useEffect(e,Wv)}class El{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new El}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function Vv(){const e=Uv(El.create).current;return bv(e.disposeEffect),e}let _l=!0,os=!1;const Hv=new El,Kv={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function Qv(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&Kv[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function Gv(e){e.metaKey||e.altKey||e.ctrlKey||(_l=!0)}function iu(){_l=!1}function Yv(){this.visibilityState==="hidden"&&os&&(_l=!0)}function Xv(e){e.addEventListener("keydown",Gv,!0),e.addEventListener("mousedown",iu,!0),e.addEventListener("pointerdown",iu,!0),e.addEventListener("touchstart",iu,!0),e.addEventListener("visibilitychange",Yv,!0)}function Zv(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return _l||Qv(t)}function qv(){const e=T.useCallback(o=>{o!=null&&Xv(o.ownerDocument)},[]),t=T.useRef(!1);function n(){return t.current?(os=!0,Hv.start(100,()=>{os=!1}),t.current=!1,!0):!1}function r(o){return Zv(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function is(e,t){return is=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},is(e,t)}function Jv(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,is(e,t)}const sf=zn.createContext(null);function eS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wa(e,t){var n=function(i){return t&&T.isValidElement(i)?t(i):i},r=Object.create(null);return e&&T.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function tS(e,t){e=e||{},t=t||{};function n(m){return m in t?t[m]:e[m]}var r=Object.create(null),o=[];for(var i in e)i in t?o.length&&(r[i]=o,o=[]):o.push(i);var l,u={};for(var s in t){if(r[s])for(l=0;l{r[o]=va(e,o,n)}),r}function AS(e){return e&&e.ownerDocument||document}function lS(e){return typeof e=="string"}function uS(e,t,n){return e===void 0||lS(e)?t:O({},t,{ownerState:O({},t.ownerState,n)})}function sS(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function af(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function aS(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const S=Oe(n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),g=O({},n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),y=O({},n,o,r);return S.length>0&&(y.className=S),Object.keys(g).length>0&&(y.style=g),{props:y,internalRef:void 0}}const l=sS(O({},o,r)),u=af(r),s=af(o),a=t(l),m=Oe(a==null?void 0:a.className,n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),h=O({},a==null?void 0:a.style,n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),d=O({},a,n,s,u);return m.length>0&&(d.className=m),Object.keys(h).length>0&&(d.style=h),{props:d,internalRef:a.ref}}function cS(e,t,n){return typeof e=="function"?e(t,n):e}const fS=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function FS(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:i=!1}=e,l=ot(e,fS),u=i?{}:cS(r,o),{props:s,internalRef:a}=aS(O({},l,{externalSlotProps:u})),m=rs(a,u==null?void 0:u.ref,(t=e.additionalProps)==null?void 0:t.ref);return uS(n,O({},s,{ref:m}),o)}const dS=T.createContext(),DS=()=>{const e=T.useContext(dS);return e??!1};function pS(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:i,rippleSize:l,in:u,onExited:s,timeout:a}=e,[m,h]=T.useState(!1),d=Oe(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),S={width:l,height:l,top:-(l/2)+i,left:-(l/2)+o},g=Oe(n.child,m&&n.childLeaving,r&&n.childPulsate);return!u&&!m&&h(!0),T.useEffect(()=>{if(!u&&s!=null){const y=setTimeout(s,a);return()=>{clearTimeout(y)}}},[s,u,a]),Je.jsx("span",{className:d,style:S,children:Je.jsx("span",{className:g})})}const Ge=ka("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),mS=["center","classes","className"];let Pl=e=>e,cf,ff,df,pf;const ls=550,hS=80,yS=ll(cf||(cf=Pl` + 0% { + transform: scale(0); + opacity: 0.1; + } + + 100% { + transform: scale(1); + opacity: 0.3; + } +`)),gS=ll(ff||(ff=Pl` + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + } +`)),vS=ll(df||(df=Pl` + 0% { + transform: scale(1); + } + + 50% { + transform: scale(0.92); + } + + 100% { + transform: scale(1); + } +`)),SS=dr("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),wS=dr(pS,{name:"MuiTouchRipple",slot:"Ripple"})(pf||(pf=Pl` + opacity: 0; + position: absolute; + + &.${0} { + opacity: 0.3; + transform: scale(1); + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + &.${0} { + animation-duration: ${0}ms; + } + + & .${0} { + opacity: 1; + display: block; + width: 100%; + height: 100%; + border-radius: 50%; + background-color: currentColor; + } + + & .${0} { + opacity: 0; + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + & .${0} { + position: absolute; + /* @noflip */ + left: 0px; + top: 0; + animation-name: ${0}; + animation-duration: 2500ms; + animation-timing-function: ${0}; + animation-iteration-count: infinite; + animation-delay: 200ms; + } +`),Ge.rippleVisible,yS,ls,({theme:e})=>e.transitions.easing.easeInOut,Ge.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,Ge.child,Ge.childLeaving,gS,ls,({theme:e})=>e.transitions.easing.easeInOut,Ge.childPulsate,vS,({theme:e})=>e.transitions.easing.easeInOut),xS=T.forwardRef(function(t,n){const r=Sa({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:l}=r,u=ot(r,mS),[s,a]=T.useState([]),m=T.useRef(0),h=T.useRef(null);T.useEffect(()=>{h.current&&(h.current(),h.current=null)},[s]);const d=T.useRef(!1),S=Vv(),g=T.useRef(null),y=T.useRef(null),P=T.useCallback(v=>{const{pulsate:w,rippleX:k,rippleY:x,rippleSize:_,cb:L}=v;a($=>[...$,Je.jsx(wS,{classes:{ripple:Oe(i.ripple,Ge.ripple),rippleVisible:Oe(i.rippleVisible,Ge.rippleVisible),ripplePulsate:Oe(i.ripplePulsate,Ge.ripplePulsate),child:Oe(i.child,Ge.child),childLeaving:Oe(i.childLeaving,Ge.childLeaving),childPulsate:Oe(i.childPulsate,Ge.childPulsate)},timeout:ls,pulsate:w,rippleX:k,rippleY:x,rippleSize:_},m.current)]),m.current+=1,h.current=L},[i]),f=T.useCallback((v={},w={},k=()=>{})=>{const{pulsate:x=!1,center:_=o||w.pulsate,fakeElement:L=!1}=w;if((v==null?void 0:v.type)==="mousedown"&&d.current){d.current=!1;return}(v==null?void 0:v.type)==="touchstart"&&(d.current=!0);const $=L?null:y.current,D=$?$.getBoundingClientRect():{width:0,height:0,left:0,top:0};let b,ie,ve;if(_||v===void 0||v.clientX===0&&v.clientY===0||!v.clientX&&!v.touches)b=Math.round(D.width/2),ie=Math.round(D.height/2);else{const{clientX:ut,clientY:Ee}=v.touches&&v.touches.length>0?v.touches[0]:v;b=Math.round(ut-D.left),ie=Math.round(Ee-D.top)}if(_)ve=Math.sqrt((2*D.width**2+D.height**2)/3),ve%2===0&&(ve+=1);else{const ut=Math.max(Math.abs(($?$.clientWidth:0)-b),b)*2+2,Ee=Math.max(Math.abs(($?$.clientHeight:0)-ie),ie)*2+2;ve=Math.sqrt(ut**2+Ee**2)}v!=null&&v.touches?g.current===null&&(g.current=()=>{P({pulsate:x,rippleX:b,rippleY:ie,rippleSize:ve,cb:k})},S.start(hS,()=>{g.current&&(g.current(),g.current=null)})):P({pulsate:x,rippleX:b,rippleY:ie,rippleSize:ve,cb:k})},[o,P,S]),c=T.useCallback(()=>{f({},{pulsate:!0})},[f]),p=T.useCallback((v,w)=>{if(S.clear(),(v==null?void 0:v.type)==="touchend"&&g.current){g.current(),g.current=null,S.start(0,()=>{p(v,w)});return}g.current=null,a(k=>k.length>0?k.slice(1):k),h.current=w},[S]);return T.useImperativeHandle(n,()=>({pulsate:c,start:f,stop:p}),[c,f,p]),Je.jsx(SS,O({className:Oe(Ge.root,i.root,l),ref:y},u,{children:Je.jsx(xa,{component:null,exit:!0,children:s})}))});function kS(e){return va("MuiButtonBase",e)}const CS=ka("MuiButtonBase",["root","disabled","focusVisible"]),ES=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],_S=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,l=Tp({root:["root",t&&"disabled",n&&"focusVisible"]},kS,o);return n&&r&&(l.root+=` ${r}`),l},PS=dr("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${CS.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),TS=T.forwardRef(function(t,n){const r=Sa({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:l,className:u,component:s="button",disabled:a=!1,disableRipple:m=!1,disableTouchRipple:h=!1,focusRipple:d=!1,LinkComponent:S="a",onBlur:g,onClick:y,onContextMenu:P,onDragLeave:f,onFocus:c,onFocusVisible:p,onKeyDown:v,onKeyUp:w,onMouseDown:k,onMouseLeave:x,onMouseUp:_,onTouchEnd:L,onTouchMove:$,onTouchStart:D,tabIndex:b=0,TouchRippleProps:ie,touchRippleRef:ve,type:ut}=r,Ee=ot(r,ES),_t=T.useRef(null),E=T.useRef(null),z=rs(E,ve),{isFocusVisibleRef:M,onFocus:Y,onBlur:le,ref:Cn}=qv(),[_e,Ft]=T.useState(!1);a&&_e&&Ft(!1),T.useImperativeHandle(o,()=>({focusVisible:()=>{Ft(!0),_t.current.focus()}}),[]);const[st,En]=T.useState(!1);T.useEffect(()=>{En(!0)},[]);const y0=st&&!m&&!a;T.useEffect(()=>{_e&&d&&!m&&st&&E.current.pulsate()},[m,d,_e,st]);function Pt(N,Ea,z0=h){return Fo(_a=>(Ea&&Ea(_a),!z0&&E.current&&E.current[N](_a),!0))}const g0=Pt("start",k),v0=Pt("stop",P),S0=Pt("stop",f),w0=Pt("stop",_),x0=Pt("stop",N=>{_e&&N.preventDefault(),x&&x(N)}),k0=Pt("start",D),C0=Pt("stop",L),E0=Pt("stop",$),_0=Pt("stop",N=>{le(N),M.current===!1&&Ft(!1),g&&g(N)},!1),P0=Fo(N=>{_t.current||(_t.current=N.currentTarget),Y(N),M.current===!0&&(Ft(!0),p&&p(N)),c&&c(N)}),Tl=()=>{const N=_t.current;return s&&s!=="button"&&!(N.tagName==="A"&&N.href)},Rl=T.useRef(!1),T0=Fo(N=>{d&&!Rl.current&&_e&&E.current&&N.key===" "&&(Rl.current=!0,E.current.stop(N,()=>{E.current.start(N)})),N.target===N.currentTarget&&Tl()&&N.key===" "&&N.preventDefault(),v&&v(N),N.target===N.currentTarget&&Tl()&&N.key==="Enter"&&!a&&(N.preventDefault(),y&&y(N))}),R0=Fo(N=>{d&&N.key===" "&&E.current&&_e&&!N.defaultPrevented&&(Rl.current=!1,E.current.stop(N,()=>{E.current.pulsate(N)})),w&&w(N),y&&N.target===N.currentTarget&&Tl()&&N.key===" "&&!N.defaultPrevented&&y(N)});let go=s;go==="button"&&(Ee.href||Ee.to)&&(go=S);const pr={};go==="button"?(pr.type=ut===void 0?"button":ut,pr.disabled=a):(!Ee.href&&!Ee.to&&(pr.role="button"),a&&(pr["aria-disabled"]=a));const $0=rs(n,Cn,_t),Ca=O({},r,{centerRipple:i,component:s,disabled:a,disableRipple:m,disableTouchRipple:h,focusRipple:d,tabIndex:b,focusVisible:_e}),O0=_S(Ca);return Je.jsxs(PS,O({as:go,className:Oe(O0.root,u),ownerState:Ca,onBlur:_0,onClick:y,onContextMenu:v0,onFocus:P0,onKeyDown:T0,onKeyUp:R0,onMouseDown:g0,onMouseLeave:x0,onMouseUp:w0,onDragLeave:S0,onTouchEnd:C0,onTouchMove:E0,onTouchStart:k0,ref:$0,tabIndex:a?-1:b,type:ut},pr,Ee,{children:[l,y0?Je.jsx(xS,O({ref:z,center:i},ie)):null]}))});function RS(e){return va("MuiButton",e)}const Do=ka("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),$S=T.createContext({}),OS=T.createContext(void 0),zS=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],MS=e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,classes:l}=e,u={root:["root",i,`${i}${Me(t)}`,`size${Me(o)}`,`${i}Size${Me(o)}`,`color${Me(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${Me(o)}`],endIcon:["icon","endIcon",`iconSize${Me(o)}`]},s=Tp(u,RS,l);return O({},l,s)},h0=e=>O({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),NS=dr(TS,{shouldForwardProp:e=>m0(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Me(n.color)}`],t[`size${Me(n.size)}`],t[`${n.variant}Size${Me(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var n,r;const o=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],i=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return O({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":O({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Io(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="text"&&t.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Io(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="outlined"&&t.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Io(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},t.variant==="contained"&&t.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":O({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${Do.focusVisible}`]:O({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${Do.disabled}`]:O({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant==="text"&&{padding:"6px 8px"},t.variant==="text"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main},t.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},t.variant==="outlined"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${Io(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(n=(r=e.palette).getContrastText)==null?void 0:n.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},t.variant==="contained"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},t.size==="small"&&t.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Do.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Do.disabled}`]:{boxShadow:"none"}}),LS=dr("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${Me(n.size)}`]]}})(({ownerState:e})=>O({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},h0(e))),IS=dr("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${Me(n.size)}`]]}})(({ownerState:e})=>O({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},h0(e))),BS=T.forwardRef(function(t,n){const r=T.useContext($S),o=T.useContext(OS),i=Ti(r,t),l=Sa({props:i,name:"MuiButton"}),{children:u,color:s="primary",component:a="button",className:m,disabled:h=!1,disableElevation:d=!1,disableFocusRipple:S=!1,endIcon:g,focusVisibleClassName:y,fullWidth:P=!1,size:f="medium",startIcon:c,type:p,variant:v="text"}=l,w=ot(l,zS),k=O({},l,{color:s,component:a,disabled:h,disableElevation:d,disableFocusRipple:S,fullWidth:P,size:f,type:p,variant:v}),x=MS(k),_=c&&Je.jsx(LS,{className:x.startIcon,ownerState:k,children:c}),L=g&&Je.jsx(IS,{className:x.endIcon,ownerState:k,children:g}),$=o||"";return Je.jsxs(NS,O({ownerState:k,className:Oe(r.className,x.root,m,$),component:a,disabled:h,focusRipple:!S,focusVisibleClassName:Oe(x.focusVisible,y),ref:n,type:p},w,{classes:x,children:[_,u,L]}))});export{Ng as A,BS as B,Cl as C,W1 as D,Lv as E,Nv as F,Mg as G,to as H,Mv as I,lv as J,m0 as K,Et as L,TS as M,N0 as N,fa as T,O as _,rs as a,Bv as b,sy as c,Fo as d,sS as e,va as f,ka as g,Oe as h,lS as i,Je as j,Me as k,py as l,fy as m,Io as n,AS as o,Iv as p,Sa as q,T as r,dr as s,DS as t,qv as u,ot as v,FS as w,Tp as x,Oa as y,d0 as z}; diff --git a/dist/js/Button-DdSKzsDw.js b/dist/js/Button-DdSKzsDw.js new file mode 100644 index 0000000..2b13315 --- /dev/null +++ b/dist/js/Button-DdSKzsDw.js @@ -0,0 +1,128 @@ +function L0(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const l of i.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function mf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function rn(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var hf={exports:{}},zi={},yf={exports:{}},I={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var lo=Symbol.for("react.element"),I0=Symbol.for("react.portal"),j0=Symbol.for("react.fragment"),A0=Symbol.for("react.strict_mode"),F0=Symbol.for("react.profiler"),D0=Symbol.for("react.provider"),B0=Symbol.for("react.context"),U0=Symbol.for("react.forward_ref"),W0=Symbol.for("react.suspense"),b0=Symbol.for("react.memo"),V0=Symbol.for("react.lazy"),Pa=Symbol.iterator;function H0(e){return e===null||typeof e!="object"?null:(e=Pa&&e[Pa]||e["@@iterator"],typeof e=="function"?e:null)}var gf={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},vf=Object.assign,Sf={};function lr(e,t,n){this.props=e,this.context=t,this.refs=Sf,this.updater=n||gf}lr.prototype.isReactComponent={};lr.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};lr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function wf(){}wf.prototype=lr.prototype;function us(e,t,n){this.props=e,this.context=t,this.refs=Sf,this.updater=n||gf}var ss=us.prototype=new wf;ss.constructor=us;vf(ss,lr.prototype);ss.isPureReactComponent=!0;var Ta=Array.isArray,xf=Object.prototype.hasOwnProperty,as={current:null},kf={key:!0,ref:!0,__self:!0,__source:!0};function Cf(e,t,n){var r,o={},i=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(i=""+t.key),t)xf.call(t,r)&&!kf.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(u===1)o.children=n;else if(1>>1,le=E[Y];if(0>>1;Yo(Ft,M))sto(En,Ft)?(E[Y]=En,E[st]=M,Y=st):(E[Y]=Ft,E[_e]=M,Y=_e);else if(sto(En,M))E[Y]=En,E[st]=M,Y=st;else break e}}return z}function o(E,z){var M=E.sortIndex-z.sortIndex;return M!==0?M:E.id-z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var l=Date,u=l.now();e.unstable_now=function(){return l.now()-u}}var s=[],a=[],m=1,h=null,d=3,S=!1,g=!1,y=!1,T=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(E){for(var z=n(a);z!==null;){if(z.callback===null)r(a);else if(z.startTime<=E)r(a),z.sortIndex=z.expirationTime,t(s,z);else break;z=n(a)}}function v(E){if(y=!1,p(E),!g)if(n(s)!==null)g=!0,Ee(w);else{var z=n(a);z!==null&&_t(v,z.startTime-E)}}function w(E,z){g=!1,y&&(y=!1,f(_),_=-1),S=!0;var M=d;try{for(p(z),h=n(s);h!==null&&(!(h.expirationTime>z)||E&&!D());){var Y=h.callback;if(typeof Y=="function"){h.callback=null,d=h.priorityLevel;var le=Y(h.expirationTime<=z);z=e.unstable_now(),typeof le=="function"?h.callback=le:h===n(s)&&r(s),p(z)}else r(s);h=n(s)}if(h!==null)var Cn=!0;else{var _e=n(a);_e!==null&&_t(v,_e.startTime-z),Cn=!1}return Cn}finally{h=null,d=M,S=!1}}var k=!1,x=null,_=-1,L=5,$=-1;function D(){return!(e.unstable_now()-$E||125Y?(E.sortIndex=M,t(a,E),n(s)===null&&E===n(a)&&(y?(f(_),_=-1):y=!0,_t(v,M-Y))):(E.sortIndex=le,t(s,E),g||S||(g=!0,Ee(w))),E},e.unstable_shouldYield=D,e.unstable_wrapCallback=function(E){var z=d;return function(){var M=d;d=z;try{return E.apply(this,arguments)}finally{d=M}}}})(Rf);Tf.exports=Rf;var nm=Tf.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var rm=P,be=nm;function C(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),lu=Object.prototype.hasOwnProperty,om=/^[: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]*$/,za={},Ma={};function im(e){return lu.call(Ma,e)?!0:lu.call(za,e)?!1:om.test(e)?Ma[e]=!0:(za[e]=!0,!1)}function lm(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function um(e,t,n,r){if(t===null||typeof t>"u"||lm(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.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 $e(e,t,n,r,o,i,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=l}var ge={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ge[e]=new $e(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ge[t]=new $e(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ge[e]=new $e(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ge[e]=new $e(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){ge[e]=new $e(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ge[e]=new $e(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ge[e]=new $e(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ge[e]=new $e(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ge[e]=new $e(e,5,!1,e.toLowerCase(),null,!1,!1)});var fs=/[\-:]([a-z])/g;function ds(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(fs,ds);ge[t]=new $e(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(fs,ds);ge[t]=new $e(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(fs,ds);ge[t]=new $e(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ge[e]=new $e(e,1,!1,e.toLowerCase(),null,!1,!1)});ge.xlinkHref=new $e("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ge[e]=new $e(e,1,!1,e.toLowerCase(),null,!0,!0)});function ps(e,t,n,r){var o=ge.hasOwnProperty(t)?ge[t]:null;(o!==null?o.type!==0:r||!(2u||o[l]!==i[u]){var s=` +`+o[l].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=l&&0<=u);break}}}finally{zl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Er(e):""}function sm(e){switch(e.tag){case 5:return Er(e.type);case 16:return Er("Lazy");case 13:return Er("Suspense");case 19:return Er("SuspenseList");case 0:case 2:case 15:return e=Ml(e.type,!1),e;case 11:return e=Ml(e.type.render,!1),e;case 1:return e=Ml(e.type,!0),e;default:return""}}function cu(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 Nn:return"Fragment";case Mn:return"Portal";case uu:return"Profiler";case ms:return"StrictMode";case su:return"Suspense";case au:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case zf:return(e.displayName||"Context")+".Consumer";case Of:return(e._context.displayName||"Context")+".Provider";case hs:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ys:return t=e.displayName||null,t!==null?t:cu(e.type)||"Memo";case Bt:t=e._payload,e=e._init;try{return cu(e(t))}catch{}}return null}function am(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return cu(t);case 8:return t===ms?"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 t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function tn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Nf(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function cm(e){var t=Nf(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(l){r=""+l,i.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function wo(e){e._valueTracker||(e._valueTracker=cm(e))}function Lf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Nf(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function ri(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}}function fu(e,t){var n=t.checked;return q({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function La(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=tn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function If(e,t){t=t.checked,t!=null&&ps(e,"checked",t,!1)}function du(e,t){If(e,t);var n=tn(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?pu(e,t.type,n):t.hasOwnProperty("defaultValue")&&pu(e,t.type,tn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ia(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function pu(e,t,n){(t!=="number"||ri(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var _r=Array.isArray;function Vn(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=xo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Dr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Rr={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},fm=["Webkit","ms","Moz","O"];Object.keys(Rr).forEach(function(e){fm.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Rr[t]=Rr[e]})});function Df(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Rr.hasOwnProperty(e)&&Rr[e]?(""+t).trim():t+"px"}function Bf(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Df(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var dm=q({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 yu(e,t){if(t){if(dm[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(C(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(C(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(C(61))}if(t.style!=null&&typeof t.style!="object")throw Error(C(62))}}function gu(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}}var vu=null;function gs(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Su=null,Hn=null,Kn=null;function Fa(e){if(e=ao(e)){if(typeof Su!="function")throw Error(C(280));var t=e.stateNode;t&&(t=ji(t),Su(e.stateNode,e.type,t))}}function Uf(e){Hn?Kn?Kn.push(e):Kn=[e]:Hn=e}function Wf(){if(Hn){var e=Hn,t=Kn;if(Kn=Hn=null,Fa(e),t)for(e=0;e>>=0,e===0?32:31-(Cm(e)/Em|0)|0}var ko=64,Co=4194304;function Pr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ui(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,l=n&268435455;if(l!==0){var u=l&~o;u!==0?r=Pr(u):(i&=l,i!==0&&(r=Pr(i)))}else l=n&~o,l!==0?r=Pr(l):i!==0&&(r=Pr(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function uo(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-pt(t),e[t]=n}function Rm(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Or),Qa=" ",Ga=!1;function sd(e,t){switch(e){case"keyup":return nh.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ad(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ln=!1;function oh(e,t){switch(e){case"compositionend":return ad(t);case"keypress":return t.which!==32?null:(Ga=!0,Qa);case"textInput":return e=t.data,e===Qa&&Ga?null:e;default:return null}}function ih(e,t){if(Ln)return e==="compositionend"||!_s&&sd(e,t)?(e=ld(),bo=ks=Ht=null,Ln=!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)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=qa(n)}}function pd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?pd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function md(){for(var e=window,t=ri();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ri(e.document)}return t}function Ps(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")}function mh(e){var t=md(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&pd(n.ownerDocument.documentElement,n)){if(r!==null&&Ps(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=Ja(n,i);var l=Ja(n,r);o&&l&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,In=null,_u=null,Mr=null,Pu=!1;function ec(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Pu||In==null||In!==ri(r)||(r=In,"selectionStart"in r&&Ps(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Mr&&Hr(Mr,r)||(Mr=r,r=ci(_u,"onSelect"),0Fn||(e.current=Mu[Fn],Mu[Fn]=null,Fn--)}function V(e,t){Fn++,Mu[Fn]=e.current,e.current=t}var nn={},Ce=ln(nn),Le=ln(!1),yn=nn;function Jn(e,t){var n=e.type.contextTypes;if(!n)return nn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ie(e){return e=e.childContextTypes,e!=null}function di(){K(Le),K(Ce)}function uc(e,t,n){if(Ce.current!==nn)throw Error(C(168));V(Ce,t),V(Le,n)}function Cd(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(C(108,am(e)||"Unknown",o));return q({},n,r)}function pi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||nn,yn=Ce.current,V(Ce,e),V(Le,Le.current),!0}function sc(e,t,n){var r=e.stateNode;if(!r)throw Error(C(169));n?(e=Cd(e,t,yn),r.__reactInternalMemoizedMergedChildContext=e,K(Le),K(Ce),V(Ce,e)):K(Le),V(Le,n)}var Rt=null,Ai=!1,Kl=!1;function Ed(e){Rt===null?Rt=[e]:Rt.push(e)}function Ph(e){Ai=!0,Ed(e)}function un(){if(!Kl&&Rt!==null){Kl=!0;var e=0,t=B;try{var n=Rt;for(B=1;e>=l,o-=l,$t=1<<32-pt(t)+o|n<_?(L=x,x=null):L=x.sibling;var $=d(f,x,p[_],v);if($===null){x===null&&(x=L);break}e&&x&&$.alternate===null&&t(f,x),c=i($,c,_),k===null?w=$:k.sibling=$,k=$,x=L}if(_===p.length)return n(f,x),G&&sn(f,_),w;if(x===null){for(;__?(L=x,x=null):L=x.sibling;var D=d(f,x,$.value,v);if(D===null){x===null&&(x=L);break}e&&x&&D.alternate===null&&t(f,x),c=i(D,c,_),k===null?w=D:k.sibling=D,k=D,x=L}if($.done)return n(f,x),G&&sn(f,_),w;if(x===null){for(;!$.done;_++,$=p.next())$=h(f,$.value,v),$!==null&&(c=i($,c,_),k===null?w=$:k.sibling=$,k=$);return G&&sn(f,_),w}for(x=r(f,x);!$.done;_++,$=p.next())$=S(x,f,_,$.value,v),$!==null&&(e&&$.alternate!==null&&x.delete($.key===null?_:$.key),c=i($,c,_),k===null?w=$:k.sibling=$,k=$);return e&&x.forEach(function(b){return t(f,b)}),G&&sn(f,_),w}function T(f,c,p,v){if(typeof p=="object"&&p!==null&&p.type===Nn&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case So:e:{for(var w=p.key,k=c;k!==null;){if(k.key===w){if(w=p.type,w===Nn){if(k.tag===7){n(f,k.sibling),c=o(k,p.props.children),c.return=f,f=c;break e}}else if(k.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===Bt&&fc(w)===k.type){n(f,k.sibling),c=o(k,p.props),c.ref=Sr(f,k,p),c.return=f,f=c;break e}n(f,k);break}else t(f,k);k=k.sibling}p.type===Nn?(c=hn(p.props.children,f.mode,v,p.key),c.return=f,f=c):(v=Zo(p.type,p.key,p.props,null,f.mode,v),v.ref=Sr(f,c,p),v.return=f,f=v)}return l(f);case Mn:e:{for(k=p.key;c!==null;){if(c.key===k)if(c.tag===4&&c.stateNode.containerInfo===p.containerInfo&&c.stateNode.implementation===p.implementation){n(f,c.sibling),c=o(c,p.children||[]),c.return=f,f=c;break e}else{n(f,c);break}else t(f,c);c=c.sibling}c=eu(p,f.mode,v),c.return=f,f=c}return l(f);case Bt:return k=p._init,T(f,c,k(p._payload),v)}if(_r(p))return g(f,c,p,v);if(mr(p))return y(f,c,p,v);Oo(f,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,c!==null&&c.tag===6?(n(f,c.sibling),c=o(c,p),c.return=f,f=c):(n(f,c),c=Jl(p,f.mode,v),c.return=f,f=c),l(f)):n(f,c)}return T}var tr=Rd(!0),$d=Rd(!1),yi=ln(null),gi=null,Un=null,Os=null;function zs(){Os=Un=gi=null}function Ms(e){var t=yi.current;K(yi),e._currentValue=t}function Iu(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Gn(e,t){gi=e,Os=Un=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ne=!0),e.firstContext=null)}function tt(e){var t=e._currentValue;if(Os!==e)if(e={context:e,memoizedValue:t,next:null},Un===null){if(gi===null)throw Error(C(308));Un=e,gi.dependencies={lanes:0,firstContext:e}}else Un=Un.next=e;return t}var fn=null;function Ns(e){fn===null?fn=[e]:fn.push(e)}function Od(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Ns(t)):(n.next=o.next,o.next=n),t.interleaved=n,Lt(e,r)}function Lt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Ut=!1;function Ls(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function zd(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 zt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Zt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,j&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Lt(e,n)}return o=r.interleaved,o===null?(t.next=t,Ns(r)):(t.next=o.next,o.next=t),r.interleaved=t,Lt(e,n)}function Ho(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ss(e,n)}}function dc(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=l:i=i.next=l,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function vi(e,t,n,r){var o=e.updateQueue;Ut=!1;var i=o.firstBaseUpdate,l=o.lastBaseUpdate,u=o.shared.pending;if(u!==null){o.shared.pending=null;var s=u,a=s.next;s.next=null,l===null?i=a:l.next=a,l=s;var m=e.alternate;m!==null&&(m=m.updateQueue,u=m.lastBaseUpdate,u!==l&&(u===null?m.firstBaseUpdate=a:u.next=a,m.lastBaseUpdate=s))}if(i!==null){var h=o.baseState;l=0,m=a=s=null,u=i;do{var d=u.lane,S=u.eventTime;if((r&d)===d){m!==null&&(m=m.next={eventTime:S,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var g=e,y=u;switch(d=t,S=n,y.tag){case 1:if(g=y.payload,typeof g=="function"){h=g.call(S,h,d);break e}h=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=y.payload,d=typeof g=="function"?g.call(S,h,d):g,d==null)break e;h=q({},h,d);break e;case 2:Ut=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,d=o.effects,d===null?o.effects=[u]:d.push(u))}else S={eventTime:S,lane:d,tag:u.tag,payload:u.payload,callback:u.callback,next:null},m===null?(a=m=S,s=h):m=m.next=S,l|=d;if(u=u.next,u===null){if(u=o.shared.pending,u===null)break;d=u,u=d.next,d.next=null,o.lastBaseUpdate=d,o.shared.pending=null}}while(!0);if(m===null&&(s=h),o.baseState=s,o.firstBaseUpdate=a,o.lastBaseUpdate=m,t=o.shared.interleaved,t!==null){o=t;do l|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);Sn|=l,e.lanes=l,e.memoizedState=h}}function pc(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Gl.transition;Gl.transition={};try{e(!1),t()}finally{B=n,Gl.transition=r}}function Gd(){return nt().memoizedState}function Oh(e,t,n){var r=Jt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Yd(e))Xd(t,n);else if(n=Od(e,t,n,r),n!==null){var o=Te();mt(n,e,r,o),Zd(n,t,r)}}function zh(e,t,n){var r=Jt(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Yd(e))Xd(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var l=t.lastRenderedState,u=i(l,n);if(o.hasEagerState=!0,o.eagerState=u,ht(u,l)){var s=t.interleaved;s===null?(o.next=o,Ns(t)):(o.next=s.next,s.next=o),t.interleaved=o;return}}catch{}finally{}n=Od(e,t,o,r),n!==null&&(o=Te(),mt(n,e,r,o),Zd(n,t,r))}}function Yd(e){var t=e.alternate;return e===Z||t!==null&&t===Z}function Xd(e,t){Nr=wi=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Zd(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ss(e,n)}}var xi={readContext:tt,useCallback:Se,useContext:Se,useEffect:Se,useImperativeHandle:Se,useInsertionEffect:Se,useLayoutEffect:Se,useMemo:Se,useReducer:Se,useRef:Se,useState:Se,useDebugValue:Se,useDeferredValue:Se,useTransition:Se,useMutableSource:Se,useSyncExternalStore:Se,useId:Se,unstable_isNewReconciler:!1},Mh={readContext:tt,useCallback:function(e,t){return gt().memoizedState=[e,t===void 0?null:t],e},useContext:tt,useEffect:hc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Qo(4194308,4,bd.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Qo(4194308,4,e,t)},useInsertionEffect:function(e,t){return Qo(4,2,e,t)},useMemo:function(e,t){var n=gt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=gt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Oh.bind(null,Z,e),[r.memoizedState,e]},useRef:function(e){var t=gt();return e={current:e},t.memoizedState=e},useState:mc,useDebugValue:Ws,useDeferredValue:function(e){return gt().memoizedState=e},useTransition:function(){var e=mc(!1),t=e[0];return e=$h.bind(null,e[1]),gt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Z,o=gt();if(G){if(n===void 0)throw Error(C(407));n=n()}else{if(n=t(),de===null)throw Error(C(349));vn&30||Id(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,hc(Ad.bind(null,r,i,e),[e]),r.flags|=2048,Jr(9,jd.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=gt(),t=de.identifierPrefix;if(G){var n=Ot,r=$t;n=(r&~(1<<32-pt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Zr++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[wt]=t,e[Gr]=r,up(e,t,!1,!1),t.stateNode=e;e:{switch(l=gu(n,r),n){case"dialog":H("cancel",e),H("close",e),o=r;break;case"iframe":case"object":case"embed":H("load",e),o=r;break;case"video":case"audio":for(o=0;oor&&(t.flags|=128,r=!0,wr(i,!1),t.lanes=4194304)}else{if(!r)if(e=Si(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),wr(i,!0),i.tail===null&&i.tailMode==="hidden"&&!l.alternate&&!G)return we(t),null}else 2*ne()-i.renderingStartTime>or&&n!==1073741824&&(t.flags|=128,r=!0,wr(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(n=i.last,n!==null?n.sibling=l:t.child=l,i.last=l)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=ne(),t.sibling=null,n=X.current,V(X,r?n&1|2:n&1),t):(we(t),null);case 22:case 23:return Gs(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Fe&1073741824&&(we(t),t.subtreeFlags&6&&(t.flags|=8192)):we(t),null;case 24:return null;case 25:return null}throw Error(C(156,t.tag))}function Bh(e,t){switch(Rs(t),t.tag){case 1:return Ie(t.type)&&di(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return nr(),K(Le),K(Ce),As(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return js(t),null;case 13:if(K(X),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(C(340));er()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return K(X),null;case 4:return nr(),null;case 10:return Ms(t.type._context),null;case 22:case 23:return Gs(),null;case 24:return null;default:return null}}var Mo=!1,ke=!1,Uh=typeof WeakSet=="function"?WeakSet:Set,R=null;function Wn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){te(e,t,r)}else n.current=null}function Vu(e,t,n){try{n()}catch(r){te(e,t,r)}}var Pc=!1;function Wh(e,t){if(Tu=si,e=md(),Ps(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var l=0,u=-1,s=-1,a=0,m=0,h=e,d=null;t:for(;;){for(var S;h!==n||o!==0&&h.nodeType!==3||(u=l+o),h!==i||r!==0&&h.nodeType!==3||(s=l+r),h.nodeType===3&&(l+=h.nodeValue.length),(S=h.firstChild)!==null;)d=h,h=S;for(;;){if(h===e)break t;if(d===n&&++a===o&&(u=l),d===i&&++m===r&&(s=l),(S=h.nextSibling)!==null)break;h=d,d=h.parentNode}h=S}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ru={focusedElem:e,selectionRange:n},si=!1,R=t;R!==null;)if(t=R,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,R=e;else for(;R!==null;){t=R;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var y=g.memoizedProps,T=g.memoizedState,f=t.stateNode,c=f.getSnapshotBeforeUpdate(t.elementType===t.type?y:ct(t.type,y),T);f.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(C(163))}}catch(v){te(t,t.return,v)}if(e=t.sibling,e!==null){e.return=t.return,R=e;break}R=t.return}return g=Pc,Pc=!1,g}function Lr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&Vu(t,n,i)}o=o.next}while(o!==r)}}function Bi(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Hu(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function cp(e){var t=e.alternate;t!==null&&(e.alternate=null,cp(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[wt],delete t[Gr],delete t[zu],delete t[Eh],delete t[_h])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function fp(e){return e.tag===5||e.tag===3||e.tag===4}function Tc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||fp(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ku(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=fi));else if(r!==4&&(e=e.child,e!==null))for(Ku(e,t,n),e=e.sibling;e!==null;)Ku(e,t,n),e=e.sibling}function Qu(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Qu(e,t,n),e=e.sibling;e!==null;)Qu(e,t,n),e=e.sibling}var me=null,ft=!1;function Dt(e,t,n){for(n=n.child;n!==null;)dp(e,t,n),n=n.sibling}function dp(e,t,n){if(xt&&typeof xt.onCommitFiberUnmount=="function")try{xt.onCommitFiberUnmount(Mi,n)}catch{}switch(n.tag){case 5:ke||Wn(n,t);case 6:var r=me,o=ft;me=null,Dt(e,t,n),me=r,ft=o,me!==null&&(ft?(e=me,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):me.removeChild(n.stateNode));break;case 18:me!==null&&(ft?(e=me,n=n.stateNode,e.nodeType===8?Hl(e.parentNode,n):e.nodeType===1&&Hl(e,n),br(e)):Hl(me,n.stateNode));break;case 4:r=me,o=ft,me=n.stateNode.containerInfo,ft=!0,Dt(e,t,n),me=r,ft=o;break;case 0:case 11:case 14:case 15:if(!ke&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,l=i.destroy;i=i.tag,l!==void 0&&(i&2||i&4)&&Vu(n,t,l),o=o.next}while(o!==r)}Dt(e,t,n);break;case 1:if(!ke&&(Wn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){te(n,t,u)}Dt(e,t,n);break;case 21:Dt(e,t,n);break;case 22:n.mode&1?(ke=(r=ke)||n.memoizedState!==null,Dt(e,t,n),ke=r):Dt(e,t,n);break;default:Dt(e,t,n)}}function Rc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Uh),t.forEach(function(r){var o=Zh.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function at(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=l),r&=~i}if(r=o,r=ne()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Vh(r/1960))-r,10e?16:e,Kt===null)var r=!1;else{if(e=Kt,Kt=null,Ei=0,j&6)throw Error(C(331));var o=j;for(j|=4,R=e.current;R!==null;){var i=R,l=i.child;if(R.flags&16){var u=i.deletions;if(u!==null){for(var s=0;sne()-Ks?mn(e,0):Hs|=n),je(e,t)}function wp(e,t){t===0&&(e.mode&1?(t=Co,Co<<=1,!(Co&130023424)&&(Co=4194304)):t=1);var n=Te();e=Lt(e,t),e!==null&&(uo(e,t,n),je(e,n))}function Xh(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),wp(e,n)}function Zh(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(C(314))}r!==null&&r.delete(t),wp(e,n)}var xp;xp=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Le.current)Ne=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ne=!1,Fh(e,t,n);Ne=!!(e.flags&131072)}else Ne=!1,G&&t.flags&1048576&&_d(t,hi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Go(e,t),e=t.pendingProps;var o=Jn(t,Ce.current);Gn(t,n),o=Ds(null,t,r,e,o,n);var i=Bs();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ie(r)?(i=!0,pi(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Ls(t),o.updater=Di,t.stateNode=o,o._reactInternals=t,Au(t,r,e,n),t=Bu(null,t,r,!0,i,n)):(t.tag=0,G&&i&&Ts(t),Pe(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Go(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=Jh(r),e=ct(r,e),o){case 0:t=Du(null,t,r,e,n);break e;case 1:t=Cc(null,t,r,e,n);break e;case 11:t=xc(null,t,r,e,n);break e;case 14:t=kc(null,t,r,ct(r.type,e),n);break e}throw Error(C(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ct(r,o),Du(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ct(r,o),Cc(e,t,r,o,n);case 3:e:{if(op(t),e===null)throw Error(C(387));r=t.pendingProps,i=t.memoizedState,o=i.element,zd(e,t),vi(t,r,null,n);var l=t.memoizedState;if(r=l.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=rr(Error(C(423)),t),t=Ec(e,t,r,n,o);break e}else if(r!==o){o=rr(Error(C(424)),t),t=Ec(e,t,r,n,o);break e}else for(Be=Xt(t.stateNode.containerInfo.firstChild),Ue=t,G=!0,dt=null,n=$d(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(er(),r===o){t=It(e,t,n);break e}Pe(e,t,r,n)}t=t.child}return t;case 5:return Md(t),e===null&&Lu(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,l=o.children,$u(r,o)?l=null:i!==null&&$u(r,i)&&(t.flags|=32),rp(e,t),Pe(e,t,l,n),t.child;case 6:return e===null&&Lu(t),null;case 13:return ip(e,t,n);case 4:return Is(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=tr(t,null,r,n):Pe(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ct(r,o),xc(e,t,r,o,n);case 7:return Pe(e,t,t.pendingProps,n),t.child;case 8:return Pe(e,t,t.pendingProps.children,n),t.child;case 12:return Pe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,l=o.value,V(yi,r._currentValue),r._currentValue=l,i!==null)if(ht(i.value,l)){if(i.children===o.children&&!Le.current){t=It(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var u=i.dependencies;if(u!==null){l=i.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(i.tag===1){s=zt(-1,n&-n),s.tag=2;var a=i.updateQueue;if(a!==null){a=a.shared;var m=a.pending;m===null?s.next=s:(s.next=m.next,m.next=s),a.pending=s}}i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),Iu(i.return,n,t),u.lanes|=n;break}s=s.next}}else if(i.tag===10)l=i.type===t.type?null:i.child;else if(i.tag===18){if(l=i.return,l===null)throw Error(C(341));l.lanes|=n,u=l.alternate,u!==null&&(u.lanes|=n),Iu(l,n,t),l=i.sibling}else l=i.child;if(l!==null)l.return=i;else for(l=i;l!==null;){if(l===t){l=null;break}if(i=l.sibling,i!==null){i.return=l.return,l=i;break}l=l.return}i=l}Pe(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Gn(t,n),o=tt(o),r=r(o),t.flags|=1,Pe(e,t,r,n),t.child;case 14:return r=t.type,o=ct(r,t.pendingProps),o=ct(r.type,o),kc(e,t,r,o,n);case 15:return tp(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ct(r,o),Go(e,t),t.tag=1,Ie(r)?(e=!0,pi(t)):e=!1,Gn(t,n),qd(t,r,o),Au(t,r,o,n),Bu(null,t,r,!0,e,n);case 19:return lp(e,t,n);case 22:return np(e,t,n)}throw Error(C(156,t.tag))};function kp(e,t){return Yf(e,t)}function qh(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function qe(e,t,n,r){return new qh(e,t,n,r)}function Xs(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Jh(e){if(typeof e=="function")return Xs(e)?1:0;if(e!=null){if(e=e.$$typeof,e===hs)return 11;if(e===ys)return 14}return 2}function en(e,t){var n=e.alternate;return n===null?(n=qe(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Zo(e,t,n,r,o,i){var l=2;if(r=e,typeof e=="function")Xs(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case Nn:return hn(n.children,o,i,t);case ms:l=8,o|=8;break;case uu:return e=qe(12,n,t,o|2),e.elementType=uu,e.lanes=i,e;case su:return e=qe(13,n,t,o),e.elementType=su,e.lanes=i,e;case au:return e=qe(19,n,t,o),e.elementType=au,e.lanes=i,e;case Mf:return Wi(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Of:l=10;break e;case zf:l=9;break e;case hs:l=11;break e;case ys:l=14;break e;case Bt:l=16,r=null;break e}throw Error(C(130,e==null?e:typeof e,""))}return t=qe(l,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function hn(e,t,n,r){return e=qe(7,e,r,t),e.lanes=n,e}function Wi(e,t,n,r){return e=qe(22,e,r,t),e.elementType=Mf,e.lanes=n,e.stateNode={isHidden:!1},e}function Jl(e,t,n){return e=qe(6,e,null,t),e.lanes=n,e}function eu(e,t,n){return t=qe(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ey(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ll(0),this.expirationTimes=Ll(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ll(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Zs(e,t,n,r,o,i,l,u,s){return e=new ey(e,t,n,u,s),t===1?(t=1,i===!0&&(t|=8)):t=0,i=qe(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ls(i),e}function ty(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Pp)}catch(e){console.error(e)}}Pp(),Pf.exports=Ve;var Tp=Pf.exports;const AS=mf(Tp);var jc=Tp;Oa.createRoot=jc.createRoot,Oa.hydrateRoot=jc.hydrateRoot;function ot(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function O(){return O=Object.assign?Object.assign.bind():function(e){for(var t=1;t{if(r.toString().match(/^(components|slots)$/))n[r]=O({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},i=t[r];n[r]={},!i||!Object.keys(i)?n[r]=o:!o||!Object.keys(o)?n[r]=i:(n[r]=O({},i),Object.keys(o).forEach(l=>{n[r][l]=Ti(o[l],i[l])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function $p(e,t,n=void 0){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((i,l)=>{if(l){const u=t(l);u!==""&&i.push(u),n&&n[l]&&i.push(n[l])}return i},[]).join(" ")}),r}var re={},Op={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Op);var zp=Op.exports;function to(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function hy(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function rt(e){if(e.type)return e;if(e.charAt(0)==="#")return rt(Np(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error((0,Ac.default)(9,e));let r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error((0,Ac.default)(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}const Lp=e=>{const t=rt(e);return t.values.slice(0,3).map((n,r)=>t.type.indexOf("hsl")!==-1&&r!==0?`${n}%`:n).join(" ")};re.colorChannel=Lp;const yy=(e,t)=>{try{return Lp(e)}catch{return e}};re.private_safeColorChannel=yy;function ar(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((o,i)=>i<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function gy(e){if(e.indexOf("#")===0)return e;const{values:t}=rt(e);return`#${t.map((n,r)=>hy(r===3?Math.round(255*n):n)).join("")}`}function Ip(e){e=rt(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),l=(a,m=(a+n/30)%12)=>o-i*Math.max(Math.min(m-3,9-m,1),-1);let u="rgb";const s=[Math.round(l(0)*255),Math.round(l(8)*255),Math.round(l(4)*255)];return e.type==="hsla"&&(u+="a",s.push(t[3])),ar({type:u,values:s})}function Ri(e){e=rt(e);let t=e.type==="hsl"||e.type==="hsla"?rt(Ip(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function vy(e,t){const n=Ri(e),r=Ri(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function jp(e,t){return e=rt(e),t=ta(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,ar(e)}function Sy(e,t,n){try{return jp(e,t)}catch{return e}}function na(e,t){if(e=rt(e),t=ta(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return ar(e)}function wy(e,t,n){try{return na(e,t)}catch{return e}}function ra(e,t){if(e=rt(e),t=ta(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return ar(e)}function xy(e,t,n){try{return ra(e,t)}catch{return e}}function Ap(e,t=.15){return Ri(e)>.5?na(e,t):ra(e,t)}function ky(e,t,n){try{return Ap(e,t)}catch{return e}}function Cy(e,t,n,r=1){const o=(s,a)=>Math.round((s**(1/r)*(1-n)+a**(1/r)*n)**r),i=rt(e),l=rt(t),u=[o(i.values[0],l.values[0]),o(i.values[1],l.values[1]),o(i.values[2],l.values[2])];return ar({type:"rgb",values:u})}var fo={},tu={exports:{}},Fc;function Ey(){return Fc||(Fc=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(n){for(var r=1;r0?he(cr,--Ae):0,ir--,ue===10&&(ir=1,Gi--),ue}function We(){return ue=Ae2||ro(ue)>3?"":" "}function Wy(e,t){for(;--t&&We()&&!(ue<48||ue>102||ue>57&&ue<65||ue>70&&ue<97););return po(e,qo()+(t<6&&Ct()==32&&We()==32))}function Ju(e){for(;We();)switch(ue){case e:return Ae;case 34:case 39:e!==34&&e!==39&&Ju(ue);break;case 40:e===41&&Ju(e);break;case 92:We();break}return Ae}function by(e,t){for(;We()&&e+ue!==57;)if(e+ue===84&&Ct()===47)break;return"/*"+po(t,Ae-1)+"*"+Qi(e===47?e:We())}function Vy(e){for(;!ro(Ct());)We();return po(e,Ae)}function Hy(e){return Vp(ei("",null,null,null,[""],e=bp(e),0,[0],e))}function ei(e,t,n,r,o,i,l,u,s){for(var a=0,m=0,h=l,d=0,S=0,g=0,y=1,T=1,f=1,c=0,p="",v=o,w=i,k=r,x=p;T;)switch(g=c,c=We()){case 40:if(g!=108&&he(x,h-1)==58){qu(x+=F(Jo(c),"&","&\f"),"&\f")!=-1&&(f=-1);break}case 34:case 39:case 91:x+=Jo(c);break;case 9:case 10:case 13:case 32:x+=Uy(g);break;case 92:x+=Wy(qo()-1,7);continue;case 47:switch(Ct()){case 42:case 47:jo(Ky(by(We(),qo()),t,n),s);break;default:x+="/"}break;case 123*y:u[a++]=vt(x)*f;case 125*y:case 59:case 0:switch(c){case 0:case 125:T=0;case 59+m:f==-1&&(x=F(x,/\f/g,"")),S>0&&vt(x)-h&&jo(S>32?Uc(x+";",r,n,h-1):Uc(F(x," ","")+";",r,n,h-2),s);break;case 59:x+=";";default:if(jo(k=Bc(x,t,n,a,m,o,u,p,v=[],w=[],h),i),c===123)if(m===0)ei(x,t,k,k,v,i,h,u,w);else switch(d===99&&he(x,3)===110?100:d){case 100:case 108:case 109:case 115:ei(e,k,k,r&&jo(Bc(e,k,k,0,0,o,u,p,o,v=[],h),w),o,w,h,u,r?v:w);break;default:ei(x,k,k,k,[""],w,0,u,w)}}a=m=S=0,y=f=1,p=x="",h=l;break;case 58:h=1+vt(x),S=g;default:if(y<1){if(c==123)--y;else if(c==125&&y++==0&&By()==125)continue}switch(x+=Qi(c),c*y){case 38:f=m>0?1:(x+="\f",-1);break;case 44:u[a++]=(vt(x)-1)*f,f=1;break;case 64:Ct()===45&&(x+=Jo(We())),d=Ct(),m=h=vt(p=x+=Vy(qo())),c++;break;case 45:g===45&&vt(x)==2&&(y=0)}}return i}function Bc(e,t,n,r,o,i,l,u,s,a,m){for(var h=o-1,d=o===0?i:[""],S=la(d),g=0,y=0,T=0;g0?d[f]+" "+c:F(c,/&\f/g,d[f])))&&(s[T++]=p);return Yi(e,t,n,o===0?oa:u,s,a,m)}function Ky(e,t,n){return Yi(e,t,n,Dp,Qi(Dy()),no(e,2,-2),0)}function Uc(e,t,n,r){return Yi(e,t,n,ia,no(e,0,r),no(e,r+1,-1),r)}function Xn(e,t){for(var n="",r=la(e),o=0;o6)switch(he(e,t+1)){case 109:if(he(e,t+4)!==45)break;case 102:return F(e,/(.+:)(.+)-([^]+)/,"$1"+A+"$2-$3$1"+$i+(he(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~qu(e,"stretch")?Hp(F(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(he(e,t+1)!==115)break;case 6444:switch(he(e,vt(e)-3-(~qu(e,"!important")&&10))){case 107:return F(e,":",":"+A)+e;case 101:return F(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+A+(he(e,14)===45?"inline-":"")+"box$3$1"+A+"$2$3$1"+xe+"$2box$3")+e}break;case 5936:switch(he(e,t+11)){case 114:return A+e+xe+F(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return A+e+xe+F(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return A+e+xe+F(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return A+e+xe+e+e}return e}var tg=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case ia:t.return=Hp(t.value,t.length);break;case Bp:return Xn([kr(t,{value:F(t.value,"@","@"+A)})],o);case oa:if(t.length)return Fy(t.props,function(i){switch(Ay(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Xn([kr(t,{props:[F(i,/:(read-\w+)/,":"+$i+"$1")]})],o);case"::placeholder":return Xn([kr(t,{props:[F(i,/:(plac\w+)/,":"+A+"input-$1")]}),kr(t,{props:[F(i,/:(plac\w+)/,":"+$i+"$1")]}),kr(t,{props:[F(i,/:(plac\w+)/,xe+"input-$1")]})],o)}return""})}},ng=[tg],Kp=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(y){var T=y.getAttribute("data-emotion");T.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var o=t.stylisPlugins||ng,i={},l,u=[];l=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(y){for(var T=y.getAttribute("data-emotion").split(" "),f=1;f=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&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 mg={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},hg=!1,yg=/[A-Z]|^ms/g,gg=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Jp=function(t){return t.charCodeAt(1)===45},bc=function(t){return t!=null&&typeof t!="boolean"},ru=Fp(function(e){return Jp(e)?e:e.replace(yg,"-$&").toLowerCase()}),Vc=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(gg,function(r,o,i){return St={name:o,styles:i,next:St},o})}return mg[t]!==1&&!Jp(t)&&typeof n=="number"&&n!==0?n+"px":n},vg="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function oo(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return St={name:o.name,styles:o.styles,next:St},o.name;var i=n;if(i.styles!==void 0){var l=i.next;if(l!==void 0)for(;l!==void 0;)St={name:l.name,styles:l.styles,next:St},l=l.next;var u=i.styles+";";return u}return Sg(e,t,n)}case"function":{if(e!==void 0){var s=St,a=n(e);return St=s,oo(e,t,a)}break}}var m=n;if(t==null)return m;var h=t[m];return h!==void 0?h:m}function Sg(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o96?Eg:_g},Gc=function(t,n,r){var o;if(n){var i=n.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(l){return t.__emotion_forwardProp(l)&&i(l)}:i}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},Pg=!1,Tg=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return Zp(n,r,o),xg(function(){return qp(n,r,o)}),null},Rg=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,i,l;n!==void 0&&(i=n.label,l=n.target);var u=Gc(t,n,r),s=u||Qc(o),a=!s("as");return function(){var m=arguments,h=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&h.push("label:"+i+";"),m[0]==null||m[0].raw===void 0)h.push.apply(h,m);else{h.push(m[0][0]);for(var d=m.length,S=1;St(zg(o)?n:o):t;return Je.jsx(Cg,{styles:r})}function Ng(e,t){return es(e,t)}const Lg=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},Ig=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:Mg,StyledEngineProvider:Og,ThemeContext:fa,css:r0,default:Ng,internal_processStyles:Lg,keyframes:ll},Symbol.toStringTag,{value:"Module"})),jg=rn(Ig);function Vt(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function o0(e){if(!Vt(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=o0(e[n])}),t}function Et(e,t,n={clone:!0}){const r=n.clone?O({},e):e;return Vt(e)&&Vt(t)&&Object.keys(t).forEach(o=>{Vt(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Vt(e[o])?r[o]=Et(e[o],t[o],n):n.clone?r[o]=Vt(t[o])?o0(t[o]):t[o]:r[o]=t[o]}),r}const Ag=Object.freeze(Object.defineProperty({__proto__:null,default:Et,isPlainObject:Vt},Symbol.toStringTag,{value:"Module"})),Fg=rn(Ag);function Me(e){if(typeof e!="string")throw new Error(to(7));return e.charAt(0).toUpperCase()+e.slice(1)}const Dg=Object.freeze(Object.defineProperty({__proto__:null,default:Me},Symbol.toStringTag,{value:"Module"})),Bg=rn(Dg);var i0={exports:{}},W={};/** + * @license React + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var da=Symbol.for("react.element"),pa=Symbol.for("react.portal"),ul=Symbol.for("react.fragment"),sl=Symbol.for("react.strict_mode"),al=Symbol.for("react.profiler"),cl=Symbol.for("react.provider"),fl=Symbol.for("react.context"),Ug=Symbol.for("react.server_context"),dl=Symbol.for("react.forward_ref"),pl=Symbol.for("react.suspense"),ml=Symbol.for("react.suspense_list"),hl=Symbol.for("react.memo"),yl=Symbol.for("react.lazy"),Wg=Symbol.for("react.offscreen"),l0;l0=Symbol.for("react.module.reference");function it(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case da:switch(e=e.type,e){case ul:case al:case sl:case pl:case ml:return e;default:switch(e=e&&e.$$typeof,e){case Ug:case fl:case dl:case yl:case hl:case cl:return e;default:return t}}case pa:return t}}}W.ContextConsumer=fl;W.ContextProvider=cl;W.Element=da;W.ForwardRef=dl;W.Fragment=ul;W.Lazy=yl;W.Memo=hl;W.Portal=pa;W.Profiler=al;W.StrictMode=sl;W.Suspense=pl;W.SuspenseList=ml;W.isAsyncMode=function(){return!1};W.isConcurrentMode=function(){return!1};W.isContextConsumer=function(e){return it(e)===fl};W.isContextProvider=function(e){return it(e)===cl};W.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===da};W.isForwardRef=function(e){return it(e)===dl};W.isFragment=function(e){return it(e)===ul};W.isLazy=function(e){return it(e)===yl};W.isMemo=function(e){return it(e)===hl};W.isPortal=function(e){return it(e)===pa};W.isProfiler=function(e){return it(e)===al};W.isStrictMode=function(e){return it(e)===sl};W.isSuspense=function(e){return it(e)===pl};W.isSuspenseList=function(e){return it(e)===ml};W.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===ul||e===al||e===sl||e===pl||e===ml||e===Wg||typeof e=="object"&&e!==null&&(e.$$typeof===yl||e.$$typeof===hl||e.$$typeof===cl||e.$$typeof===fl||e.$$typeof===dl||e.$$typeof===l0||e.getModuleId!==void 0)};W.typeOf=it;i0.exports=W;var Yc=i0.exports;const bg=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function u0(e){const t=`${e}`.match(bg);return t&&t[1]||""}function s0(e,t=""){return e.displayName||e.name||u0(e)||t}function Xc(e,t,n){const r=s0(t);return e.displayName||(r!==""?`${n}(${r})`:n)}function Vg(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return s0(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Yc.ForwardRef:return Xc(e,e.render,"ForwardRef");case Yc.Memo:return Xc(e,e.type,"memo");default:return}}}const Hg=Object.freeze(Object.defineProperty({__proto__:null,default:Vg,getFunctionName:u0},Symbol.toStringTag,{value:"Module"})),Kg=rn(Hg),Qg=["values","unit","step"],Gg=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>O({},n,{[r.key]:r.val}),{})};function a0(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=ot(e,Qg),i=Gg(t),l=Object.keys(i);function u(d){return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${n})`}function s(d){return`@media (max-width:${(typeof t[d]=="number"?t[d]:d)-r/100}${n})`}function a(d,S){const g=l.indexOf(S);return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${n}) and (max-width:${(g!==-1&&typeof t[l[g]]=="number"?t[l[g]]:S)-r/100}${n})`}function m(d){return l.indexOf(d)+1`@media (min-width:${ma[e]}px)`};function jt(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||Zc;return t.reduce((l,u,s)=>(l[i.up(i.keys[s])]=n(t[s]),l),{})}if(typeof t=="object"){const i=r.breakpoints||Zc;return Object.keys(t).reduce((l,u)=>{if(Object.keys(i.values||ma).indexOf(u)!==-1){const s=i.up(u);l[s]=n(t[u],u)}else{const s=u;l[s]=t[s]}return l},{})}return n(t)}function Xg(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function Zg(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function gl(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(r!=null)return r}return t.split(".").reduce((r,o)=>r&&r[o]!=null?r[o]:null,e)}function Oi(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=gl(e,n)||r,t&&(o=t(o,r,e)),o}function oe(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=l=>{if(l[t]==null)return null;const u=l[t],s=l.theme,a=gl(s,r)||{};return jt(l,u,h=>{let d=Oi(a,o,h);return h===d&&typeof h=="string"&&(d=Oi(a,o,`${t}${h==="default"?"":Me(h)}`,h)),n===!1?d:{[n]:d}})};return i.propTypes={},i.filterProps=[t],i}function qg(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const Jg={m:"margin",p:"padding"},e1={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},qc={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},t1=qg(e=>{if(e.length>2)if(qc[e])e=qc[e];else return[e];const[t,n]=e.split(""),r=Jg[t],o=e1[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),ha=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],ya=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...ha,...ya];function mo(e,t,n,r){var o;const i=(o=gl(e,t,!1))!=null?o:n;return typeof i=="number"?l=>typeof l=="string"?l:i*l:Array.isArray(i)?l=>typeof l=="string"?l:i[l]:typeof i=="function"?i:()=>{}}function c0(e){return mo(e,"spacing",8)}function ho(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function n1(e,t){return n=>e.reduce((r,o)=>(r[o]=ho(t,n),r),{})}function r1(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=t1(n),i=n1(o,r),l=e[n];return jt(e,l,i)}function f0(e,t){const n=c0(e.theme);return Object.keys(e).map(r=>r1(e,t,r,n)).reduce(Ar,{})}function J(e){return f0(e,ha)}J.propTypes={};J.filterProps=ha;function ee(e){return f0(e,ya)}ee.propTypes={};ee.filterProps=ya;function o1(e=8){if(e.mui)return e;const t=c0({spacing:e}),n=(...r)=>(r.length===0?[1]:r).map(i=>{const l=t(i);return typeof l=="number"?`${l}px`:l}).join(" ");return n.mui=!0,n}function vl(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(i=>{r[i]=o}),r),{}),n=r=>Object.keys(r).reduce((o,i)=>t[i]?Ar(o,t[i](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function Ze(e){return typeof e!="number"?e:`${e}px solid`}function lt(e,t){return oe({prop:e,themeKey:"borders",transform:t})}const i1=lt("border",Ze),l1=lt("borderTop",Ze),u1=lt("borderRight",Ze),s1=lt("borderBottom",Ze),a1=lt("borderLeft",Ze),c1=lt("borderColor"),f1=lt("borderTopColor"),d1=lt("borderRightColor"),p1=lt("borderBottomColor"),m1=lt("borderLeftColor"),h1=lt("outline",Ze),y1=lt("outlineColor"),Sl=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=mo(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:ho(t,r)});return jt(e,e.borderRadius,n)}return null};Sl.propTypes={};Sl.filterProps=["borderRadius"];vl(i1,l1,u1,s1,a1,c1,f1,d1,p1,m1,Sl,h1,y1);const wl=e=>{if(e.gap!==void 0&&e.gap!==null){const t=mo(e.theme,"spacing",8),n=r=>({gap:ho(t,r)});return jt(e,e.gap,n)}return null};wl.propTypes={};wl.filterProps=["gap"];const xl=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=mo(e.theme,"spacing",8),n=r=>({columnGap:ho(t,r)});return jt(e,e.columnGap,n)}return null};xl.propTypes={};xl.filterProps=["columnGap"];const kl=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=mo(e.theme,"spacing",8),n=r=>({rowGap:ho(t,r)});return jt(e,e.rowGap,n)}return null};kl.propTypes={};kl.filterProps=["rowGap"];const g1=oe({prop:"gridColumn"}),v1=oe({prop:"gridRow"}),S1=oe({prop:"gridAutoFlow"}),w1=oe({prop:"gridAutoColumns"}),x1=oe({prop:"gridAutoRows"}),k1=oe({prop:"gridTemplateColumns"}),C1=oe({prop:"gridTemplateRows"}),E1=oe({prop:"gridTemplateAreas"}),_1=oe({prop:"gridArea"});vl(wl,xl,kl,g1,v1,S1,w1,x1,k1,C1,E1,_1);function Zn(e,t){return t==="grey"?t:e}const P1=oe({prop:"color",themeKey:"palette",transform:Zn}),T1=oe({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Zn}),R1=oe({prop:"backgroundColor",themeKey:"palette",transform:Zn});vl(P1,T1,R1);function De(e){return e<=1&&e!==0?`${e*100}%`:e}const $1=oe({prop:"width",transform:De}),ga=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,o;const i=((r=e.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[n])||ma[n];return i?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:De(n)}};return jt(e,e.maxWidth,t)}return null};ga.filterProps=["maxWidth"];const O1=oe({prop:"minWidth",transform:De}),z1=oe({prop:"height",transform:De}),M1=oe({prop:"maxHeight",transform:De}),N1=oe({prop:"minHeight",transform:De});oe({prop:"size",cssProperty:"width",transform:De});oe({prop:"size",cssProperty:"height",transform:De});const L1=oe({prop:"boxSizing"});vl($1,ga,O1,z1,M1,N1,L1);const yo={border:{themeKey:"borders",transform:Ze},borderTop:{themeKey:"borders",transform:Ze},borderRight:{themeKey:"borders",transform:Ze},borderBottom:{themeKey:"borders",transform:Ze},borderLeft:{themeKey:"borders",transform:Ze},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Ze},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Sl},color:{themeKey:"palette",transform:Zn},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Zn},backgroundColor:{themeKey:"palette",transform:Zn},p:{style:ee},pt:{style:ee},pr:{style:ee},pb:{style:ee},pl:{style:ee},px:{style:ee},py:{style:ee},padding:{style:ee},paddingTop:{style:ee},paddingRight:{style:ee},paddingBottom:{style:ee},paddingLeft:{style:ee},paddingX:{style:ee},paddingY:{style:ee},paddingInline:{style:ee},paddingInlineStart:{style:ee},paddingInlineEnd:{style:ee},paddingBlock:{style:ee},paddingBlockStart:{style:ee},paddingBlockEnd:{style:ee},m:{style:J},mt:{style:J},mr:{style:J},mb:{style:J},ml:{style:J},mx:{style:J},my:{style:J},margin:{style:J},marginTop:{style:J},marginRight:{style:J},marginBottom:{style:J},marginLeft:{style:J},marginX:{style:J},marginY:{style:J},marginInline:{style:J},marginInlineStart:{style:J},marginInlineEnd:{style:J},marginBlock:{style:J},marginBlockStart:{style:J},marginBlockEnd:{style:J},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:wl},rowGap:{style:kl},columnGap:{style:xl},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:De},maxWidth:{style:ga},minWidth:{transform:De},height:{transform:De},maxHeight:{transform:De},minHeight:{transform:De},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function I1(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function j1(e,t){return typeof e=="function"?e(t):e}function d0(){function e(n,r,o,i){const l={[n]:r,theme:o},u=i[n];if(!u)return{[n]:r};const{cssProperty:s=n,themeKey:a,transform:m,style:h}=u;if(r==null)return null;if(a==="typography"&&r==="inherit")return{[n]:r};const d=gl(o,a)||{};return h?h(l):jt(l,r,g=>{let y=Oi(d,m,g);return g===y&&typeof g=="string"&&(y=Oi(d,m,`${n}${g==="default"?"":Me(g)}`,g)),s===!1?y:{[s]:y}})}function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const l=(r=i.unstable_sxConfig)!=null?r:yo;function u(s){let a=s;if(typeof s=="function")a=s(i);else if(typeof s!="object")return s;if(!a)return null;const m=Xg(i.breakpoints),h=Object.keys(m);let d=m;return Object.keys(a).forEach(S=>{const g=j1(a[S],i);if(g!=null)if(typeof g=="object")if(l[S])d=Ar(d,e(S,g,i,l));else{const y=jt({theme:i},g,T=>({[S]:T}));I1(y,g)?d[S]=t({sx:g,theme:i}):d=Ar(d,y)}else d=Ar(d,e(S,g,i,l))}),Zg(h,d)}return Array.isArray(o)?o.map(u):u(o)}return t}const Cl=d0();Cl.filterProps=["sx"];function p0(e,t){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:n.palette.mode===e?t:{}}const A1=["breakpoints","palette","spacing","shape"];function m0(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,l=ot(e,A1),u=a0(n),s=o1(o);let a=Et({breakpoints:u,direction:"ltr",components:{},palette:O({mode:"light"},r),spacing:s,shape:O({},Yg,i)},l);return a.applyStyles=p0,a=t.reduce((m,h)=>Et(m,h),a),a.unstable_sxConfig=O({},yo,l==null?void 0:l.unstable_sxConfig),a.unstable_sx=function(h){return Cl({sx:h,theme:this})},a}const F1=Object.freeze(Object.defineProperty({__proto__:null,default:m0,private_createBreakpoints:a0,unstable_applyStyles:p0},Symbol.toStringTag,{value:"Module"})),D1=rn(F1),B1=["sx"],U1=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:yo;return Object.keys(e).forEach(i=>{o[i]?r.systemProps[i]=e[i]:r.otherProps[i]=e[i]}),r};function W1(e){const{sx:t}=e,n=ot(e,B1),{systemProps:r,otherProps:o}=U1(n);let i;return Array.isArray(t)?i=[r,...t]:typeof t=="function"?i=(...l)=>{const u=t(...l);return Vt(u)?O({},r,u):r}:i=O({},r,t),O({},o,{sx:i})}const b1=Object.freeze(Object.defineProperty({__proto__:null,default:Cl,extendSxProp:W1,unstable_createStyleFunctionSx:d0,unstable_defaultSxConfig:yo},Symbol.toStringTag,{value:"Module"})),V1=rn(b1);var fr=zp;Object.defineProperty(fo,"__esModule",{value:!0});var H1=fo.default=ov;fo.shouldForwardProp=ti;fo.systemDefaultTheme=void 0;var Qe=fr(Ey()),ns=fr(_y()),Jc=q1(jg),K1=Fg;fr(Bg);fr(Kg);var Q1=fr(D1),G1=fr(V1);const Y1=["ownerState"],X1=["variants"],Z1=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function h0(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(h0=function(r){return r?n:t})(e)}function q1(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=h0(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}function J1(e){return Object.keys(e).length===0}function ev(e){return typeof e=="string"&&e.charCodeAt(0)>96}function ti(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const tv=fo.systemDefaultTheme=(0,Q1.default)(),nv=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Ao({defaultTheme:e,theme:t,themeId:n}){return J1(t)?e:t[n]||t}function rv(e){return e?(t,n)=>n[e]:null}function ni(e,t){let{ownerState:n}=t,r=(0,ns.default)(t,Y1);const o=typeof e=="function"?e((0,Qe.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(i=>ni(i,(0,Qe.default)({ownerState:n},r)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:i=[]}=o;let u=(0,ns.default)(o,X1);return i.forEach(s=>{let a=!0;typeof s.props=="function"?a=s.props((0,Qe.default)({ownerState:n},r,n)):Object.keys(s.props).forEach(m=>{(n==null?void 0:n[m])!==s.props[m]&&r[m]!==s.props[m]&&(a=!1)}),a&&(Array.isArray(u)||(u=[u]),u.push(typeof s.style=="function"?s.style((0,Qe.default)({ownerState:n},r,n)):s.style))}),u}return o}function ov(e={}){const{themeId:t,defaultTheme:n=tv,rootShouldForwardProp:r=ti,slotShouldForwardProp:o=ti}=e,i=l=>(0,G1.default)((0,Qe.default)({},l,{theme:Ao((0,Qe.default)({},l,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(l,u={})=>{(0,Jc.internal_processStyles)(l,w=>w.filter(k=>!(k!=null&&k.__mui_systemSx)));const{name:s,slot:a,skipVariantsResolver:m,skipSx:h,overridesResolver:d=rv(nv(a))}=u,S=(0,ns.default)(u,Z1),g=m!==void 0?m:a&&a!=="Root"&&a!=="root"||!1,y=h||!1;let T,f=ti;a==="Root"||a==="root"?f=r:a?f=o:ev(l)&&(f=void 0);const c=(0,Jc.default)(l,(0,Qe.default)({shouldForwardProp:f,label:T},S)),p=w=>typeof w=="function"&&w.__emotion_real!==w||(0,K1.isPlainObject)(w)?k=>ni(w,(0,Qe.default)({},k,{theme:Ao({theme:k.theme,defaultTheme:n,themeId:t})})):w,v=(w,...k)=>{let x=p(w);const _=k?k.map(p):[];s&&d&&_.push(D=>{const b=Ao((0,Qe.default)({},D,{defaultTheme:n,themeId:t}));if(!b.components||!b.components[s]||!b.components[s].styleOverrides)return null;const ie=b.components[s].styleOverrides,ve={};return Object.entries(ie).forEach(([ut,Ee])=>{ve[ut]=ni(Ee,(0,Qe.default)({},D,{theme:b}))}),d(D,ve)}),s&&!g&&_.push(D=>{var b;const ie=Ao((0,Qe.default)({},D,{defaultTheme:n,themeId:t})),ve=ie==null||(b=ie.components)==null||(b=b[s])==null?void 0:b.variants;return ni({variants:ve},(0,Qe.default)({},D,{theme:ie}))}),y||_.push(i);const L=_.length-k.length;if(Array.isArray(w)&&L>0){const D=new Array(L).fill("");x=[...w,...D],x.raw=[...w.raw,...D]}const $=c(x,..._);return l.muiName&&($.muiName=l.muiName),$};return c.withConfig&&(v.withConfig=c.withConfig),v}}const ef=e=>e,iv=()=>{let e=ef;return{configure(t){e=t},generate(t){return e(t)},reset(){e=ef}}},lv=iv(),uv={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function va(e,t,n="Mui"){const r=uv[t];return r?`${n}-${r}`:`${lv.generate(e)}-${t}`}function sv(e,t){return O({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const io={black:"#000",white:"#fff"},av={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},Pn={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Tn={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Cr={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Rn={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},$n={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},On={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},cv=["mode","contrastThreshold","tonalOffset"],tf={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:io.white,default:io.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},ou={text:{primary:io.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:io.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function nf(e,t,n,r){const o=r.light||r,i=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=py(e.main,o):t==="dark"&&(e.dark=fy(e.main,i)))}function fv(e="light"){return e==="dark"?{main:Rn[200],light:Rn[50],dark:Rn[400]}:{main:Rn[700],light:Rn[400],dark:Rn[800]}}function dv(e="light"){return e==="dark"?{main:Pn[200],light:Pn[50],dark:Pn[400]}:{main:Pn[500],light:Pn[300],dark:Pn[700]}}function pv(e="light"){return e==="dark"?{main:Tn[500],light:Tn[300],dark:Tn[700]}:{main:Tn[700],light:Tn[400],dark:Tn[800]}}function mv(e="light"){return e==="dark"?{main:$n[400],light:$n[300],dark:$n[700]}:{main:$n[700],light:$n[500],dark:$n[900]}}function hv(e="light"){return e==="dark"?{main:On[400],light:On[300],dark:On[700]}:{main:On[800],light:On[500],dark:On[900]}}function yv(e="light"){return e==="dark"?{main:Cr[400],light:Cr[300],dark:Cr[700]}:{main:"#ed6c02",light:Cr[500],dark:Cr[900]}}function gv(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=ot(e,cv),i=e.primary||fv(t),l=e.secondary||dv(t),u=e.error||pv(t),s=e.info||mv(t),a=e.success||hv(t),m=e.warning||yv(t);function h(y){return dy(y,ou.text.primary)>=n?ou.text.primary:tf.text.primary}const d=({color:y,name:T,mainShade:f=500,lightShade:c=300,darkShade:p=700})=>{if(y=O({},y),!y.main&&y[f]&&(y.main=y[f]),!y.hasOwnProperty("main"))throw new Error(to(11,T?` (${T})`:"",f));if(typeof y.main!="string")throw new Error(to(12,T?` (${T})`:"",JSON.stringify(y.main)));return nf(y,"light",c,r),nf(y,"dark",p,r),y.contrastText||(y.contrastText=h(y.main)),y},S={dark:ou,light:tf};return Et(O({common:O({},io),mode:t,primary:d({color:i,name:"primary"}),secondary:d({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:d({color:u,name:"error"}),warning:d({color:m,name:"warning"}),info:d({color:s,name:"info"}),success:d({color:a,name:"success"}),grey:av,contrastThreshold:n,getContrastText:h,augmentColor:d,tonalOffset:r},S[t]),o)}const vv=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Sv(e){return Math.round(e*1e5)/1e5}const rf={textTransform:"uppercase"},of='"Roboto", "Helvetica", "Arial", sans-serif';function wv(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=of,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:l=400,fontWeightMedium:u=500,fontWeightBold:s=700,htmlFontSize:a=16,allVariants:m,pxToRem:h}=n,d=ot(n,vv),S=o/14,g=h||(f=>`${f/a*S}rem`),y=(f,c,p,v,w)=>O({fontFamily:r,fontWeight:f,fontSize:g(c),lineHeight:p},r===of?{letterSpacing:`${Sv(v/c)}em`}:{},w,m),T={h1:y(i,96,1.167,-1.5),h2:y(i,60,1.2,-.5),h3:y(l,48,1.167,0),h4:y(l,34,1.235,.25),h5:y(l,24,1.334,0),h6:y(u,20,1.6,.15),subtitle1:y(l,16,1.75,.15),subtitle2:y(u,14,1.57,.1),body1:y(l,16,1.5,.15),body2:y(l,14,1.43,.15),button:y(u,14,1.75,.4,rf),caption:y(l,12,1.66,.4),overline:y(l,12,2.66,1,rf),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Et(O({htmlFontSize:a,pxToRem:g,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:l,fontWeightMedium:u,fontWeightBold:s},T),d,{clone:!1})}const xv=.2,kv=.14,Cv=.12;function Q(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${xv})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${kv})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Cv})`].join(",")}const Ev=["none",Q(0,2,1,-1,0,1,1,0,0,1,3,0),Q(0,3,1,-2,0,2,2,0,0,1,5,0),Q(0,3,3,-2,0,3,4,0,0,1,8,0),Q(0,2,4,-1,0,4,5,0,0,1,10,0),Q(0,3,5,-1,0,5,8,0,0,1,14,0),Q(0,3,5,-1,0,6,10,0,0,1,18,0),Q(0,4,5,-2,0,7,10,1,0,2,16,1),Q(0,5,5,-3,0,8,10,1,0,3,14,2),Q(0,5,6,-3,0,9,12,1,0,3,16,2),Q(0,6,6,-3,0,10,14,1,0,4,18,3),Q(0,6,7,-4,0,11,15,1,0,4,20,3),Q(0,7,8,-4,0,12,17,2,0,5,22,4),Q(0,7,8,-4,0,13,19,2,0,5,24,4),Q(0,7,9,-4,0,14,21,2,0,5,26,4),Q(0,8,9,-5,0,15,22,2,0,6,28,5),Q(0,8,10,-5,0,16,24,2,0,6,30,5),Q(0,8,11,-5,0,17,26,2,0,6,32,5),Q(0,9,11,-5,0,18,28,2,0,7,34,6),Q(0,9,12,-6,0,19,29,2,0,7,36,6),Q(0,10,13,-6,0,20,31,3,0,8,38,7),Q(0,10,13,-6,0,21,33,3,0,8,40,7),Q(0,10,14,-6,0,22,35,3,0,8,42,7),Q(0,11,14,-7,0,23,36,3,0,9,44,8),Q(0,11,15,-7,0,24,38,3,0,9,46,8)],_v=["duration","easing","delay"],Pv={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Tv={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function lf(e){return`${Math.round(e)}ms`}function Rv(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function $v(e){const t=O({},Pv,e.easing),n=O({},Tv,e.duration);return O({getAutoHeightDuration:Rv,create:(o=["all"],i={})=>{const{duration:l=n.standard,easing:u=t.easeInOut,delay:s=0}=i;return ot(i,_v),(Array.isArray(o)?o:[o]).map(a=>`${a} ${typeof l=="string"?l:lf(l)} ${u} ${typeof s=="string"?s:lf(s)}`).join(",")}},e,{easing:t,duration:n})}const Ov={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},zv=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Mv(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,l=ot(e,zv);if(e.vars)throw new Error(to(18));const u=gv(r),s=m0(e);let a=Et(s,{mixins:sv(s.breakpoints,n),palette:u,shadows:Ev.slice(),typography:wv(u,i),transitions:$v(o),zIndex:O({},Ov)});return a=Et(a,l),a=t.reduce((m,h)=>Et(m,h),a),a.unstable_sxConfig=O({},yo,l==null?void 0:l.unstable_sxConfig),a.unstable_sx=function(h){return Cl({sx:h,theme:this})},a}const Nv=Mv(),Lv="$$material";function Iv(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const y0=e=>Iv(e)&&e!=="classes",dr=H1({themeId:Lv,defaultTheme:Nv,rootShouldForwardProp:y0}),jv=P.createContext(void 0);function Av(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?Ti(o.defaultProps,r):!o.styleOverrides&&!o.variants?Ti(o,r):r}function Fv({props:e,name:t}){const n=P.useContext(jv);return Av({props:e,name:t,theme:{components:n}})}function Sa(e){return Fv(e)}function Dv(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function rs(...e){return P.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{Dv(n,t)})},e)}const Bv=typeof window<"u"?P.useLayoutEffect:P.useEffect;function Fo(e){const t=P.useRef(e);return Bv(()=>{t.current=e}),P.useRef((...n)=>(0,t.current)(...n)).current}const uf={};function Uv(e,t){const n=P.useRef(uf);return n.current===uf&&(n.current=e(t)),n}const Wv=[];function bv(e){P.useEffect(e,Wv)}class El{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new El}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function Vv(){const e=Uv(El.create).current;return bv(e.disposeEffect),e}let _l=!0,os=!1;const Hv=new El,Kv={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function Qv(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&Kv[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function Gv(e){e.metaKey||e.altKey||e.ctrlKey||(_l=!0)}function iu(){_l=!1}function Yv(){this.visibilityState==="hidden"&&os&&(_l=!0)}function Xv(e){e.addEventListener("keydown",Gv,!0),e.addEventListener("mousedown",iu,!0),e.addEventListener("pointerdown",iu,!0),e.addEventListener("touchstart",iu,!0),e.addEventListener("visibilitychange",Yv,!0)}function Zv(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return _l||Qv(t)}function qv(){const e=P.useCallback(o=>{o!=null&&Xv(o.ownerDocument)},[]),t=P.useRef(!1);function n(){return t.current?(os=!0,Hv.start(100,()=>{os=!1}),t.current=!1,!0):!1}function r(o){return Zv(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function is(e,t){return is=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},is(e,t)}function Jv(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,is(e,t)}const sf=zn.createContext(null);function eS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wa(e,t){var n=function(i){return t&&P.isValidElement(i)?t(i):i},r=Object.create(null);return e&&P.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function tS(e,t){e=e||{},t=t||{};function n(m){return m in t?t[m]:e[m]}var r=Object.create(null),o=[];for(var i in e)i in t?o.length&&(r[i]=o,o=[]):o.push(i);var l,u={};for(var s in t){if(r[s])for(l=0;l{r[o]=va(e,o,n)}),r}function FS(e){return e&&e.ownerDocument||document}function DS({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=P.useRef(e!==void 0),[i,l]=P.useState(t),u=o?e:i,s=P.useCallback(a=>{o||l(a)},[]);return[u,s]}function lS(e){return typeof e=="string"}function uS(e,t,n){return e===void 0||lS(e)?t:O({},t,{ownerState:O({},t.ownerState,n)})}function sS(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function af(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function aS(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const S=Oe(n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),g=O({},n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),y=O({},n,o,r);return S.length>0&&(y.className=S),Object.keys(g).length>0&&(y.style=g),{props:y,internalRef:void 0}}const l=sS(O({},o,r)),u=af(r),s=af(o),a=t(l),m=Oe(a==null?void 0:a.className,n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),h=O({},a==null?void 0:a.style,n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),d=O({},a,n,s,u);return m.length>0&&(d.className=m),Object.keys(h).length>0&&(d.style=h),{props:d,internalRef:a.ref}}function cS(e,t,n){return typeof e=="function"?e(t,n):e}const fS=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function BS(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:i=!1}=e,l=ot(e,fS),u=i?{}:cS(r,o),{props:s,internalRef:a}=aS(O({},l,{externalSlotProps:u})),m=rs(a,u==null?void 0:u.ref,(t=e.additionalProps)==null?void 0:t.ref);return uS(n,O({},s,{ref:m}),o)}const dS=P.createContext(),US=()=>{const e=P.useContext(dS);return e??!1};function pS(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:i,rippleSize:l,in:u,onExited:s,timeout:a}=e,[m,h]=P.useState(!1),d=Oe(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),S={width:l,height:l,top:-(l/2)+i,left:-(l/2)+o},g=Oe(n.child,m&&n.childLeaving,r&&n.childPulsate);return!u&&!m&&h(!0),P.useEffect(()=>{if(!u&&s!=null){const y=setTimeout(s,a);return()=>{clearTimeout(y)}}},[s,u,a]),Je.jsx("span",{className:d,style:S,children:Je.jsx("span",{className:g})})}const Ge=ka("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),mS=["center","classes","className"];let Pl=e=>e,cf,ff,df,pf;const ls=550,hS=80,yS=ll(cf||(cf=Pl` + 0% { + transform: scale(0); + opacity: 0.1; + } + + 100% { + transform: scale(1); + opacity: 0.3; + } +`)),gS=ll(ff||(ff=Pl` + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + } +`)),vS=ll(df||(df=Pl` + 0% { + transform: scale(1); + } + + 50% { + transform: scale(0.92); + } + + 100% { + transform: scale(1); + } +`)),SS=dr("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),wS=dr(pS,{name:"MuiTouchRipple",slot:"Ripple"})(pf||(pf=Pl` + opacity: 0; + position: absolute; + + &.${0} { + opacity: 0.3; + transform: scale(1); + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + &.${0} { + animation-duration: ${0}ms; + } + + & .${0} { + opacity: 1; + display: block; + width: 100%; + height: 100%; + border-radius: 50%; + background-color: currentColor; + } + + & .${0} { + opacity: 0; + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + & .${0} { + position: absolute; + /* @noflip */ + left: 0px; + top: 0; + animation-name: ${0}; + animation-duration: 2500ms; + animation-timing-function: ${0}; + animation-iteration-count: infinite; + animation-delay: 200ms; + } +`),Ge.rippleVisible,yS,ls,({theme:e})=>e.transitions.easing.easeInOut,Ge.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,Ge.child,Ge.childLeaving,gS,ls,({theme:e})=>e.transitions.easing.easeInOut,Ge.childPulsate,vS,({theme:e})=>e.transitions.easing.easeInOut),xS=P.forwardRef(function(t,n){const r=Sa({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:l}=r,u=ot(r,mS),[s,a]=P.useState([]),m=P.useRef(0),h=P.useRef(null);P.useEffect(()=>{h.current&&(h.current(),h.current=null)},[s]);const d=P.useRef(!1),S=Vv(),g=P.useRef(null),y=P.useRef(null),T=P.useCallback(v=>{const{pulsate:w,rippleX:k,rippleY:x,rippleSize:_,cb:L}=v;a($=>[...$,Je.jsx(wS,{classes:{ripple:Oe(i.ripple,Ge.ripple),rippleVisible:Oe(i.rippleVisible,Ge.rippleVisible),ripplePulsate:Oe(i.ripplePulsate,Ge.ripplePulsate),child:Oe(i.child,Ge.child),childLeaving:Oe(i.childLeaving,Ge.childLeaving),childPulsate:Oe(i.childPulsate,Ge.childPulsate)},timeout:ls,pulsate:w,rippleX:k,rippleY:x,rippleSize:_},m.current)]),m.current+=1,h.current=L},[i]),f=P.useCallback((v={},w={},k=()=>{})=>{const{pulsate:x=!1,center:_=o||w.pulsate,fakeElement:L=!1}=w;if((v==null?void 0:v.type)==="mousedown"&&d.current){d.current=!1;return}(v==null?void 0:v.type)==="touchstart"&&(d.current=!0);const $=L?null:y.current,D=$?$.getBoundingClientRect():{width:0,height:0,left:0,top:0};let b,ie,ve;if(_||v===void 0||v.clientX===0&&v.clientY===0||!v.clientX&&!v.touches)b=Math.round(D.width/2),ie=Math.round(D.height/2);else{const{clientX:ut,clientY:Ee}=v.touches&&v.touches.length>0?v.touches[0]:v;b=Math.round(ut-D.left),ie=Math.round(Ee-D.top)}if(_)ve=Math.sqrt((2*D.width**2+D.height**2)/3),ve%2===0&&(ve+=1);else{const ut=Math.max(Math.abs(($?$.clientWidth:0)-b),b)*2+2,Ee=Math.max(Math.abs(($?$.clientHeight:0)-ie),ie)*2+2;ve=Math.sqrt(ut**2+Ee**2)}v!=null&&v.touches?g.current===null&&(g.current=()=>{T({pulsate:x,rippleX:b,rippleY:ie,rippleSize:ve,cb:k})},S.start(hS,()=>{g.current&&(g.current(),g.current=null)})):T({pulsate:x,rippleX:b,rippleY:ie,rippleSize:ve,cb:k})},[o,T,S]),c=P.useCallback(()=>{f({},{pulsate:!0})},[f]),p=P.useCallback((v,w)=>{if(S.clear(),(v==null?void 0:v.type)==="touchend"&&g.current){g.current(),g.current=null,S.start(0,()=>{p(v,w)});return}g.current=null,a(k=>k.length>0?k.slice(1):k),h.current=w},[S]);return P.useImperativeHandle(n,()=>({pulsate:c,start:f,stop:p}),[c,f,p]),Je.jsx(SS,O({className:Oe(Ge.root,i.root,l),ref:y},u,{children:Je.jsx(xa,{component:null,exit:!0,children:s})}))});function kS(e){return va("MuiButtonBase",e)}const CS=ka("MuiButtonBase",["root","disabled","focusVisible"]),ES=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],_S=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,l=$p({root:["root",t&&"disabled",n&&"focusVisible"]},kS,o);return n&&r&&(l.root+=` ${r}`),l},PS=dr("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${CS.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),TS=P.forwardRef(function(t,n){const r=Sa({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:l,className:u,component:s="button",disabled:a=!1,disableRipple:m=!1,disableTouchRipple:h=!1,focusRipple:d=!1,LinkComponent:S="a",onBlur:g,onClick:y,onContextMenu:T,onDragLeave:f,onFocus:c,onFocusVisible:p,onKeyDown:v,onKeyUp:w,onMouseDown:k,onMouseLeave:x,onMouseUp:_,onTouchEnd:L,onTouchMove:$,onTouchStart:D,tabIndex:b=0,TouchRippleProps:ie,touchRippleRef:ve,type:ut}=r,Ee=ot(r,ES),_t=P.useRef(null),E=P.useRef(null),z=rs(E,ve),{isFocusVisibleRef:M,onFocus:Y,onBlur:le,ref:Cn}=qv(),[_e,Ft]=P.useState(!1);a&&_e&&Ft(!1),P.useImperativeHandle(o,()=>({focusVisible:()=>{Ft(!0),_t.current.focus()}}),[]);const[st,En]=P.useState(!1);P.useEffect(()=>{En(!0)},[]);const v0=st&&!m&&!a;P.useEffect(()=>{_e&&d&&!m&&st&&E.current.pulsate()},[m,d,_e,st]);function Pt(N,Ea,N0=h){return Fo(_a=>(Ea&&Ea(_a),!N0&&E.current&&E.current[N](_a),!0))}const S0=Pt("start",k),w0=Pt("stop",T),x0=Pt("stop",f),k0=Pt("stop",_),C0=Pt("stop",N=>{_e&&N.preventDefault(),x&&x(N)}),E0=Pt("start",D),_0=Pt("stop",L),P0=Pt("stop",$),T0=Pt("stop",N=>{le(N),M.current===!1&&Ft(!1),g&&g(N)},!1),R0=Fo(N=>{_t.current||(_t.current=N.currentTarget),Y(N),M.current===!0&&(Ft(!0),p&&p(N)),c&&c(N)}),Tl=()=>{const N=_t.current;return s&&s!=="button"&&!(N.tagName==="A"&&N.href)},Rl=P.useRef(!1),$0=Fo(N=>{d&&!Rl.current&&_e&&E.current&&N.key===" "&&(Rl.current=!0,E.current.stop(N,()=>{E.current.start(N)})),N.target===N.currentTarget&&Tl()&&N.key===" "&&N.preventDefault(),v&&v(N),N.target===N.currentTarget&&Tl()&&N.key==="Enter"&&!a&&(N.preventDefault(),y&&y(N))}),O0=Fo(N=>{d&&N.key===" "&&E.current&&_e&&!N.defaultPrevented&&(Rl.current=!1,E.current.stop(N,()=>{E.current.pulsate(N)})),w&&w(N),y&&N.target===N.currentTarget&&Tl()&&N.key===" "&&!N.defaultPrevented&&y(N)});let go=s;go==="button"&&(Ee.href||Ee.to)&&(go=S);const pr={};go==="button"?(pr.type=ut===void 0?"button":ut,pr.disabled=a):(!Ee.href&&!Ee.to&&(pr.role="button"),a&&(pr["aria-disabled"]=a));const z0=rs(n,Cn,_t),Ca=O({},r,{centerRipple:i,component:s,disabled:a,disableRipple:m,disableTouchRipple:h,focusRipple:d,tabIndex:b,focusVisible:_e}),M0=_S(Ca);return Je.jsxs(PS,O({as:go,className:Oe(M0.root,u),ownerState:Ca,onBlur:T0,onClick:y,onContextMenu:w0,onFocus:R0,onKeyDown:$0,onKeyUp:O0,onMouseDown:S0,onMouseLeave:C0,onMouseUp:k0,onDragLeave:x0,onTouchEnd:_0,onTouchMove:P0,onTouchStart:E0,ref:z0,tabIndex:a?-1:b,type:ut},pr,Ee,{children:[l,v0?Je.jsx(xS,O({ref:z,center:i},ie)):null]}))});function RS(e){return va("MuiButton",e)}const Do=ka("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),$S=P.createContext({}),OS=P.createContext(void 0),zS=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],MS=e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,classes:l}=e,u={root:["root",i,`${i}${Me(t)}`,`size${Me(o)}`,`${i}Size${Me(o)}`,`color${Me(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${Me(o)}`],endIcon:["icon","endIcon",`iconSize${Me(o)}`]},s=$p(u,RS,l);return O({},l,s)},g0=e=>O({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),NS=dr(TS,{shouldForwardProp:e=>y0(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Me(n.color)}`],t[`size${Me(n.size)}`],t[`${n.variant}Size${Me(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var n,r;const o=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],i=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return O({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":O({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Io(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="text"&&t.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Io(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="outlined"&&t.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Io(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},t.variant==="contained"&&t.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":O({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${Do.focusVisible}`]:O({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${Do.disabled}`]:O({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant==="text"&&{padding:"6px 8px"},t.variant==="text"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main},t.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},t.variant==="outlined"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${Io(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(n=(r=e.palette).getContrastText)==null?void 0:n.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},t.variant==="contained"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},t.size==="small"&&t.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Do.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Do.disabled}`]:{boxShadow:"none"}}),LS=dr("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${Me(n.size)}`]]}})(({ownerState:e})=>O({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},g0(e))),IS=dr("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${Me(n.size)}`]]}})(({ownerState:e})=>O({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},g0(e))),WS=P.forwardRef(function(t,n){const r=P.useContext($S),o=P.useContext(OS),i=Ti(r,t),l=Sa({props:i,name:"MuiButton"}),{children:u,color:s="primary",component:a="button",className:m,disabled:h=!1,disableElevation:d=!1,disableFocusRipple:S=!1,endIcon:g,focusVisibleClassName:y,fullWidth:T=!1,size:f="medium",startIcon:c,type:p,variant:v="text"}=l,w=ot(l,zS),k=O({},l,{color:s,component:a,disabled:h,disableElevation:d,disableFocusRipple:S,fullWidth:T,size:f,type:p,variant:v}),x=MS(k),_=c&&Je.jsx(LS,{className:x.startIcon,ownerState:k,children:c}),L=g&&Je.jsx(IS,{className:x.endIcon,ownerState:k,children:g}),$=o||"";return Je.jsxs(NS,O({ownerState:k,className:Oe(r.className,x.root,m,$),component:a,disabled:h,focusRipple:!S,focusVisibleClassName:Oe(x.focusVisible,y),ref:n,type:p},w,{classes:x,children:[_,u,L]}))});export{Jv as A,WS as B,zn as C,fa as D,m0 as E,Ng as F,Mg as G,Cl as H,W1 as I,$a as J,Lv as K,Nv as L,Dv as M,Tp as N,to as O,Mv as P,lv as Q,AS as R,y0 as S,sf as T,Et as U,Vv as V,TS as W,mf as X,O as _,qv as a,rs as b,sy as c,Bv as d,Fo as e,sS as f,ka as g,va as h,lS as i,Oe as j,Je as k,Me as l,py as m,fy as n,FS as o,Io as p,Iv as q,P as r,dr as s,Sa as t,DS as u,US as v,ot as w,BS as x,$p as y,Oa as z}; diff --git a/dist/js/Button-qRXBE9Vn.js b/dist/js/Button-qRXBE9Vn.js new file mode 100644 index 0000000..3e14f20 --- /dev/null +++ b/dist/js/Button-qRXBE9Vn.js @@ -0,0 +1,128 @@ +function F0(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const l of i.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function D0(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function rn(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var wf={exports:{}},zi={},xf={exports:{}},I={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var lo=Symbol.for("react.element"),B0=Symbol.for("react.portal"),U0=Symbol.for("react.fragment"),b0=Symbol.for("react.strict_mode"),W0=Symbol.for("react.profiler"),V0=Symbol.for("react.provider"),H0=Symbol.for("react.context"),K0=Symbol.for("react.forward_ref"),Q0=Symbol.for("react.suspense"),G0=Symbol.for("react.memo"),Y0=Symbol.for("react.lazy"),$a=Symbol.iterator;function X0(e){return e===null||typeof e!="object"?null:(e=$a&&e[$a]||e["@@iterator"],typeof e=="function"?e:null)}var kf={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Cf=Object.assign,Ef={};function lr(e,t,n){this.props=e,this.context=t,this.refs=Ef,this.updater=n||kf}lr.prototype.isReactComponent={};lr.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};lr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function _f(){}_f.prototype=lr.prototype;function cs(e,t,n){this.props=e,this.context=t,this.refs=Ef,this.updater=n||kf}var fs=cs.prototype=new _f;fs.constructor=cs;Cf(fs,lr.prototype);fs.isPureReactComponent=!0;var Oa=Array.isArray,Pf=Object.prototype.hasOwnProperty,ds={current:null},Tf={key:!0,ref:!0,__self:!0,__source:!0};function Rf(e,t,n){var r,o={},i=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(i=""+t.key),t)Pf.call(t,r)&&!Tf.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(u===1)o.children=n;else if(1>>1,le=E[Y];if(0>>1;Yo(Ft,N))sto(En,Ft)?(E[Y]=En,E[st]=N,Y=st):(E[Y]=Ft,E[_e]=N,Y=_e);else if(sto(En,N))E[Y]=En,E[st]=N,Y=st;else break e}}return z}function o(E,z){var N=E.sortIndex-z.sortIndex;return N!==0?N:E.id-z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var l=Date,u=l.now();e.unstable_now=function(){return l.now()-u}}var s=[],a=[],m=1,h=null,d=3,S=!1,g=!1,y=!1,P=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(E){for(var z=n(a);z!==null;){if(z.callback===null)r(a);else if(z.startTime<=E)r(a),z.sortIndex=z.expirationTime,t(s,z);else break;z=n(a)}}function v(E){if(y=!1,p(E),!g)if(n(s)!==null)g=!0,Ee(w);else{var z=n(a);z!==null&&_t(v,z.startTime-E)}}function w(E,z){g=!1,y&&(y=!1,f(_),_=-1),S=!0;var N=d;try{for(p(z),h=n(s);h!==null&&(!(h.expirationTime>z)||E&&!D());){var Y=h.callback;if(typeof Y=="function"){h.callback=null,d=h.priorityLevel;var le=Y(h.expirationTime<=z);z=e.unstable_now(),typeof le=="function"?h.callback=le:h===n(s)&&r(s),p(z)}else r(s);h=n(s)}if(h!==null)var Cn=!0;else{var _e=n(a);_e!==null&&_t(v,_e.startTime-z),Cn=!1}return Cn}finally{h=null,d=N,S=!1}}var k=!1,x=null,_=-1,L=5,$=-1;function D(){return!(e.unstable_now()-$E||125Y?(E.sortIndex=N,t(a,E),n(s)===null&&E===n(a)&&(y?(f(_),_=-1):y=!0,_t(v,N-Y))):(E.sortIndex=le,t(s,E),g||S||(g=!0,Ee(w))),E},e.unstable_shouldYield=D,e.unstable_wrapCallback=function(E){var z=d;return function(){var N=d;d=z;try{return E.apply(this,arguments)}finally{d=N}}}})(Mf);Nf.exports=Mf;var um=Nf.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var sm=T,We=um;function C(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),au=Object.prototype.hasOwnProperty,am=/^[: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]*$/,La={},Ia={};function cm(e){return au.call(Ia,e)?!0:au.call(La,e)?!1:am.test(e)?Ia[e]=!0:(La[e]=!0,!1)}function fm(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function dm(e,t,n,r){if(t===null||typeof t>"u"||fm(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.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 $e(e,t,n,r,o,i,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=l}var ge={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ge[e]=new $e(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ge[t]=new $e(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ge[e]=new $e(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ge[e]=new $e(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){ge[e]=new $e(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ge[e]=new $e(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ge[e]=new $e(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ge[e]=new $e(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ge[e]=new $e(e,5,!1,e.toLowerCase(),null,!1,!1)});var ms=/[\-:]([a-z])/g;function hs(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(ms,hs);ge[t]=new $e(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(ms,hs);ge[t]=new $e(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(ms,hs);ge[t]=new $e(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ge[e]=new $e(e,1,!1,e.toLowerCase(),null,!1,!1)});ge.xlinkHref=new $e("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ge[e]=new $e(e,1,!1,e.toLowerCase(),null,!0,!0)});function ys(e,t,n,r){var o=ge.hasOwnProperty(t)?ge[t]:null;(o!==null?o.type!==0:r||!(2u||o[l]!==i[u]){var s=` +`+o[l].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=l&&0<=u);break}}}finally{zl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Er(e):""}function pm(e){switch(e.tag){case 5:return Er(e.type);case 16:return Er("Lazy");case 13:return Er("Suspense");case 19:return Er("SuspenseList");case 0:case 2:case 15:return e=Nl(e.type,!1),e;case 11:return e=Nl(e.type.render,!1),e;case 1:return e=Nl(e.type,!0),e;default:return""}}function pu(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 Mn:return"Fragment";case Nn:return"Portal";case cu:return"Profiler";case gs:return"StrictMode";case fu:return"Suspense";case du:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case jf:return(e.displayName||"Context")+".Consumer";case If:return(e._context.displayName||"Context")+".Provider";case vs:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ss:return t=e.displayName||null,t!==null?t:pu(e.type)||"Memo";case Bt:t=e._payload,e=e._init;try{return pu(e(t))}catch{}}return null}function mm(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return pu(t);case 8:return t===gs?"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 t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function tn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ff(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function hm(e){var t=Ff(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(l){r=""+l,i.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function wo(e){e._valueTracker||(e._valueTracker=hm(e))}function Df(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ff(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function ri(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}}function mu(e,t){var n=t.checked;return Z({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Aa(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=tn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Bf(e,t){t=t.checked,t!=null&&ys(e,"checked",t,!1)}function hu(e,t){Bf(e,t);var n=tn(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?yu(e,t.type,n):t.hasOwnProperty("defaultValue")&&yu(e,t.type,tn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Fa(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function yu(e,t,n){(t!=="number"||ri(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var _r=Array.isArray;function Vn(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=xo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Dr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Rr={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},ym=["Webkit","ms","Moz","O"];Object.keys(Rr).forEach(function(e){ym.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Rr[t]=Rr[e]})});function Vf(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Rr.hasOwnProperty(e)&&Rr[e]?(""+t).trim():t+"px"}function Hf(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Vf(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var gm=Z({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 Su(e,t){if(t){if(gm[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(C(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(C(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(C(61))}if(t.style!=null&&typeof t.style!="object")throw Error(C(62))}}function wu(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}}var xu=null;function ws(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ku=null,Hn=null,Kn=null;function Ua(e){if(e=ao(e)){if(typeof ku!="function")throw Error(C(280));var t=e.stateNode;t&&(t=ji(t),ku(e.stateNode,e.type,t))}}function Kf(e){Hn?Kn?Kn.push(e):Kn=[e]:Hn=e}function Qf(){if(Hn){var e=Hn,t=Kn;if(Kn=Hn=null,Ua(e),t)for(e=0;e>>=0,e===0?32:31-(Rm(e)/$m|0)|0}var ko=64,Co=4194304;function Pr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ui(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,l=n&268435455;if(l!==0){var u=l&~o;u!==0?r=Pr(u):(i&=l,i!==0&&(r=Pr(i)))}else l=n&~o,l!==0?r=Pr(l):i!==0&&(r=Pr(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function uo(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-pt(t),e[t]=n}function Mm(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Or),Xa=" ",qa=!1;function pd(e,t){switch(e){case"keyup":return uh.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function md(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ln=!1;function ah(e,t){switch(e){case"compositionend":return md(t);case"keypress":return t.which!==32?null:(qa=!0,Xa);case"textInput":return e=t.data,e===Xa&&qa?null:e;default:return null}}function ch(e,t){if(Ln)return e==="compositionend"||!Rs&&pd(e,t)?(e=fd(),Wo=_s=Ht=null,Ln=!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)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=tc(n)}}function vd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?vd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Sd(){for(var e=window,t=ri();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ri(e.document)}return t}function $s(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")}function Sh(e){var t=Sd(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&vd(n.ownerDocument.documentElement,n)){if(r!==null&&$s(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=nc(n,i);var l=nc(n,r);o&&l&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,In=null,Ru=null,Nr=null,$u=!1;function rc(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;$u||In==null||In!==ri(r)||(r=In,"selectionStart"in r&&$s(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Nr&&Hr(Nr,r)||(Nr=r,r=ci(Ru,"onSelect"),0Fn||(e.current=Iu[Fn],Iu[Fn]=null,Fn--)}function V(e,t){Fn++,Iu[Fn]=e.current,e.current=t}var nn={},Ce=ln(nn),Le=ln(!1),yn=nn;function Jn(e,t){var n=e.type.contextTypes;if(!n)return nn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ie(e){return e=e.childContextTypes,e!=null}function di(){K(Le),K(Ce)}function cc(e,t,n){if(Ce.current!==nn)throw Error(C(168));V(Ce,t),V(Le,n)}function Rd(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(C(108,mm(e)||"Unknown",o));return Z({},n,r)}function pi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||nn,yn=Ce.current,V(Ce,e),V(Le,Le.current),!0}function fc(e,t,n){var r=e.stateNode;if(!r)throw Error(C(169));n?(e=Rd(e,t,yn),r.__reactInternalMemoizedMergedChildContext=e,K(Le),K(Ce),V(Ce,e)):K(Le),V(Le,n)}var Rt=null,Ai=!1,Kl=!1;function $d(e){Rt===null?Rt=[e]:Rt.push(e)}function zh(e){Ai=!0,$d(e)}function un(){if(!Kl&&Rt!==null){Kl=!0;var e=0,t=B;try{var n=Rt;for(B=1;e>=l,o-=l,$t=1<<32-pt(t)+o|n<_?(L=x,x=null):L=x.sibling;var $=d(f,x,p[_],v);if($===null){x===null&&(x=L);break}e&&x&&$.alternate===null&&t(f,x),c=i($,c,_),k===null?w=$:k.sibling=$,k=$,x=L}if(_===p.length)return n(f,x),G&&sn(f,_),w;if(x===null){for(;__?(L=x,x=null):L=x.sibling;var D=d(f,x,$.value,v);if(D===null){x===null&&(x=L);break}e&&x&&D.alternate===null&&t(f,x),c=i(D,c,_),k===null?w=D:k.sibling=D,k=D,x=L}if($.done)return n(f,x),G&&sn(f,_),w;if(x===null){for(;!$.done;_++,$=p.next())$=h(f,$.value,v),$!==null&&(c=i($,c,_),k===null?w=$:k.sibling=$,k=$);return G&&sn(f,_),w}for(x=r(f,x);!$.done;_++,$=p.next())$=S(x,f,_,$.value,v),$!==null&&(e&&$.alternate!==null&&x.delete($.key===null?_:$.key),c=i($,c,_),k===null?w=$:k.sibling=$,k=$);return e&&x.forEach(function(W){return t(f,W)}),G&&sn(f,_),w}function P(f,c,p,v){if(typeof p=="object"&&p!==null&&p.type===Mn&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case So:e:{for(var w=p.key,k=c;k!==null;){if(k.key===w){if(w=p.type,w===Mn){if(k.tag===7){n(f,k.sibling),c=o(k,p.props.children),c.return=f,f=c;break e}}else if(k.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===Bt&&mc(w)===k.type){n(f,k.sibling),c=o(k,p.props),c.ref=Sr(f,k,p),c.return=f,f=c;break e}n(f,k);break}else t(f,k);k=k.sibling}p.type===Mn?(c=hn(p.props.children,f.mode,v,p.key),c.return=f,f=c):(v=qo(p.type,p.key,p.props,null,f.mode,v),v.ref=Sr(f,c,p),v.return=f,f=v)}return l(f);case Nn:e:{for(k=p.key;c!==null;){if(c.key===k)if(c.tag===4&&c.stateNode.containerInfo===p.containerInfo&&c.stateNode.implementation===p.implementation){n(f,c.sibling),c=o(c,p.children||[]),c.return=f,f=c;break e}else{n(f,c);break}else t(f,c);c=c.sibling}c=eu(p,f.mode,v),c.return=f,f=c}return l(f);case Bt:return k=p._init,P(f,c,k(p._payload),v)}if(_r(p))return g(f,c,p,v);if(mr(p))return y(f,c,p,v);Oo(f,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,c!==null&&c.tag===6?(n(f,c.sibling),c=o(c,p),c.return=f,f=c):(n(f,c),c=Jl(p,f.mode,v),c.return=f,f=c),l(f)):n(f,c)}return P}var tr=Md(!0),Ld=Md(!1),yi=ln(null),gi=null,Un=null,Ms=null;function Ls(){Ms=Un=gi=null}function Is(e){var t=yi.current;K(yi),e._currentValue=t}function Fu(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Gn(e,t){gi=e,Ms=Un=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Me=!0),e.firstContext=null)}function tt(e){var t=e._currentValue;if(Ms!==e)if(e={context:e,memoizedValue:t,next:null},Un===null){if(gi===null)throw Error(C(308));Un=e,gi.dependencies={lanes:0,firstContext:e}}else Un=Un.next=e;return t}var fn=null;function js(e){fn===null?fn=[e]:fn.push(e)}function Id(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,js(t)):(n.next=o.next,o.next=n),t.interleaved=n,Lt(e,r)}function Lt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Ut=!1;function As(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function jd(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 zt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function qt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,j&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Lt(e,n)}return o=r.interleaved,o===null?(t.next=t,js(r)):(t.next=o.next,o.next=t),r.interleaved=t,Lt(e,n)}function Ho(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ks(e,n)}}function hc(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=l:i=i.next=l,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function vi(e,t,n,r){var o=e.updateQueue;Ut=!1;var i=o.firstBaseUpdate,l=o.lastBaseUpdate,u=o.shared.pending;if(u!==null){o.shared.pending=null;var s=u,a=s.next;s.next=null,l===null?i=a:l.next=a,l=s;var m=e.alternate;m!==null&&(m=m.updateQueue,u=m.lastBaseUpdate,u!==l&&(u===null?m.firstBaseUpdate=a:u.next=a,m.lastBaseUpdate=s))}if(i!==null){var h=o.baseState;l=0,m=a=s=null,u=i;do{var d=u.lane,S=u.eventTime;if((r&d)===d){m!==null&&(m=m.next={eventTime:S,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var g=e,y=u;switch(d=t,S=n,y.tag){case 1:if(g=y.payload,typeof g=="function"){h=g.call(S,h,d);break e}h=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=y.payload,d=typeof g=="function"?g.call(S,h,d):g,d==null)break e;h=Z({},h,d);break e;case 2:Ut=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,d=o.effects,d===null?o.effects=[u]:d.push(u))}else S={eventTime:S,lane:d,tag:u.tag,payload:u.payload,callback:u.callback,next:null},m===null?(a=m=S,s=h):m=m.next=S,l|=d;if(u=u.next,u===null){if(u=o.shared.pending,u===null)break;d=u,u=d.next,d.next=null,o.lastBaseUpdate=d,o.shared.pending=null}}while(!0);if(m===null&&(s=h),o.baseState=s,o.firstBaseUpdate=a,o.lastBaseUpdate=m,t=o.shared.interleaved,t!==null){o=t;do l|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);Sn|=l,e.lanes=l,e.memoizedState=h}}function yc(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Gl.transition;Gl.transition={};try{e(!1),t()}finally{B=n,Gl.transition=r}}function Jd(){return nt().memoizedState}function Ih(e,t,n){var r=Jt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ep(e))tp(t,n);else if(n=Id(e,t,n,r),n!==null){var o=Te();mt(n,e,r,o),np(n,t,r)}}function jh(e,t,n){var r=Jt(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ep(e))tp(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var l=t.lastRenderedState,u=i(l,n);if(o.hasEagerState=!0,o.eagerState=u,ht(u,l)){var s=t.interleaved;s===null?(o.next=o,js(t)):(o.next=s.next,s.next=o),t.interleaved=o;return}}catch{}finally{}n=Id(e,t,o,r),n!==null&&(o=Te(),mt(n,e,r,o),np(n,t,r))}}function ep(e){var t=e.alternate;return e===q||t!==null&&t===q}function tp(e,t){Mr=wi=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function np(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ks(e,n)}}var xi={readContext:tt,useCallback:Se,useContext:Se,useEffect:Se,useImperativeHandle:Se,useInsertionEffect:Se,useLayoutEffect:Se,useMemo:Se,useReducer:Se,useRef:Se,useState:Se,useDebugValue:Se,useDeferredValue:Se,useTransition:Se,useMutableSource:Se,useSyncExternalStore:Se,useId:Se,unstable_isNewReconciler:!1},Ah={readContext:tt,useCallback:function(e,t){return gt().memoizedState=[e,t===void 0?null:t],e},useContext:tt,useEffect:vc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Qo(4194308,4,Gd.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Qo(4194308,4,e,t)},useInsertionEffect:function(e,t){return Qo(4,2,e,t)},useMemo:function(e,t){var n=gt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=gt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Ih.bind(null,q,e),[r.memoizedState,e]},useRef:function(e){var t=gt();return e={current:e},t.memoizedState=e},useState:gc,useDebugValue:Hs,useDeferredValue:function(e){return gt().memoizedState=e},useTransition:function(){var e=gc(!1),t=e[0];return e=Lh.bind(null,e[1]),gt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=q,o=gt();if(G){if(n===void 0)throw Error(C(407));n=n()}else{if(n=t(),de===null)throw Error(C(349));vn&30||Bd(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,vc(bd.bind(null,r,i,e),[e]),r.flags|=2048,Jr(9,Ud.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=gt(),t=de.identifierPrefix;if(G){var n=Ot,r=$t;n=(r&~(1<<32-pt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=qr++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[wt]=t,e[Gr]=r,dp(e,t,!1,!1),t.stateNode=e;e:{switch(l=wu(n,r),n){case"dialog":H("cancel",e),H("close",e),o=r;break;case"iframe":case"object":case"embed":H("load",e),o=r;break;case"video":case"audio":for(o=0;oor&&(t.flags|=128,r=!0,wr(i,!1),t.lanes=4194304)}else{if(!r)if(e=Si(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),wr(i,!0),i.tail===null&&i.tailMode==="hidden"&&!l.alternate&&!G)return we(t),null}else 2*ne()-i.renderingStartTime>or&&n!==1073741824&&(t.flags|=128,r=!0,wr(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(n=i.last,n!==null?n.sibling=l:t.child=l,i.last=l)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=ne(),t.sibling=null,n=X.current,V(X,r?n&1|2:n&1),t):(we(t),null);case 22:case 23:return qs(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Fe&1073741824&&(we(t),t.subtreeFlags&6&&(t.flags|=8192)):we(t),null;case 24:return null;case 25:return null}throw Error(C(156,t.tag))}function Hh(e,t){switch(zs(t),t.tag){case 1:return Ie(t.type)&&di(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return nr(),K(Le),K(Ce),Bs(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Ds(t),null;case 13:if(K(X),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(C(340));er()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return K(X),null;case 4:return nr(),null;case 10:return Is(t.type._context),null;case 22:case 23:return qs(),null;case 24:return null;default:return null}}var No=!1,ke=!1,Kh=typeof WeakSet=="function"?WeakSet:Set,R=null;function bn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){te(e,t,r)}else n.current=null}function Qu(e,t,n){try{n()}catch(r){te(e,t,r)}}var $c=!1;function Qh(e,t){if(Ou=si,e=Sd(),$s(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var l=0,u=-1,s=-1,a=0,m=0,h=e,d=null;t:for(;;){for(var S;h!==n||o!==0&&h.nodeType!==3||(u=l+o),h!==i||r!==0&&h.nodeType!==3||(s=l+r),h.nodeType===3&&(l+=h.nodeValue.length),(S=h.firstChild)!==null;)d=h,h=S;for(;;){if(h===e)break t;if(d===n&&++a===o&&(u=l),d===i&&++m===r&&(s=l),(S=h.nextSibling)!==null)break;h=d,d=h.parentNode}h=S}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(zu={focusedElem:e,selectionRange:n},si=!1,R=t;R!==null;)if(t=R,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,R=e;else for(;R!==null;){t=R;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var y=g.memoizedProps,P=g.memoizedState,f=t.stateNode,c=f.getSnapshotBeforeUpdate(t.elementType===t.type?y:ct(t.type,y),P);f.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(C(163))}}catch(v){te(t,t.return,v)}if(e=t.sibling,e!==null){e.return=t.return,R=e;break}R=t.return}return g=$c,$c=!1,g}function Lr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&Qu(t,n,i)}o=o.next}while(o!==r)}}function Bi(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Gu(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function hp(e){var t=e.alternate;t!==null&&(e.alternate=null,hp(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[wt],delete t[Gr],delete t[Lu],delete t[$h],delete t[Oh])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function yp(e){return e.tag===5||e.tag===3||e.tag===4}function Oc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||yp(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Yu(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=fi));else if(r!==4&&(e=e.child,e!==null))for(Yu(e,t,n),e=e.sibling;e!==null;)Yu(e,t,n),e=e.sibling}function Xu(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Xu(e,t,n),e=e.sibling;e!==null;)Xu(e,t,n),e=e.sibling}var me=null,ft=!1;function Dt(e,t,n){for(n=n.child;n!==null;)gp(e,t,n),n=n.sibling}function gp(e,t,n){if(xt&&typeof xt.onCommitFiberUnmount=="function")try{xt.onCommitFiberUnmount(Ni,n)}catch{}switch(n.tag){case 5:ke||bn(n,t);case 6:var r=me,o=ft;me=null,Dt(e,t,n),me=r,ft=o,me!==null&&(ft?(e=me,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):me.removeChild(n.stateNode));break;case 18:me!==null&&(ft?(e=me,n=n.stateNode,e.nodeType===8?Hl(e.parentNode,n):e.nodeType===1&&Hl(e,n),Wr(e)):Hl(me,n.stateNode));break;case 4:r=me,o=ft,me=n.stateNode.containerInfo,ft=!0,Dt(e,t,n),me=r,ft=o;break;case 0:case 11:case 14:case 15:if(!ke&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,l=i.destroy;i=i.tag,l!==void 0&&(i&2||i&4)&&Qu(n,t,l),o=o.next}while(o!==r)}Dt(e,t,n);break;case 1:if(!ke&&(bn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){te(n,t,u)}Dt(e,t,n);break;case 21:Dt(e,t,n);break;case 22:n.mode&1?(ke=(r=ke)||n.memoizedState!==null,Dt(e,t,n),ke=r):Dt(e,t,n);break;default:Dt(e,t,n)}}function zc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Kh),t.forEach(function(r){var o=ny.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function at(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=l),r&=~i}if(r=o,r=ne()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Yh(r/1960))-r,10e?16:e,Kt===null)var r=!1;else{if(e=Kt,Kt=null,Ei=0,j&6)throw Error(C(331));var o=j;for(j|=4,R=e.current;R!==null;){var i=R,l=i.child;if(R.flags&16){var u=i.deletions;if(u!==null){for(var s=0;sne()-Ys?mn(e,0):Gs|=n),je(e,t)}function _p(e,t){t===0&&(e.mode&1?(t=Co,Co<<=1,!(Co&130023424)&&(Co=4194304)):t=1);var n=Te();e=Lt(e,t),e!==null&&(uo(e,t,n),je(e,n))}function ty(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),_p(e,n)}function ny(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(C(314))}r!==null&&r.delete(t),_p(e,n)}var Pp;Pp=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Le.current)Me=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Me=!1,Wh(e,t,n);Me=!!(e.flags&131072)}else Me=!1,G&&t.flags&1048576&&Od(t,hi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Go(e,t),e=t.pendingProps;var o=Jn(t,Ce.current);Gn(t,n),o=bs(null,t,r,e,o,n);var i=Ws();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ie(r)?(i=!0,pi(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,As(t),o.updater=Di,t.stateNode=o,o._reactInternals=t,Bu(t,r,e,n),t=Wu(null,t,r,!0,i,n)):(t.tag=0,G&&i&&Os(t),Pe(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Go(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=oy(r),e=ct(r,e),o){case 0:t=bu(null,t,r,e,n);break e;case 1:t=Pc(null,t,r,e,n);break e;case 11:t=Ec(null,t,r,e,n);break e;case 14:t=_c(null,t,r,ct(r.type,e),n);break e}throw Error(C(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ct(r,o),bu(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ct(r,o),Pc(e,t,r,o,n);case 3:e:{if(ap(t),e===null)throw Error(C(387));r=t.pendingProps,i=t.memoizedState,o=i.element,jd(e,t),vi(t,r,null,n);var l=t.memoizedState;if(r=l.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=rr(Error(C(423)),t),t=Tc(e,t,r,n,o);break e}else if(r!==o){o=rr(Error(C(424)),t),t=Tc(e,t,r,n,o);break e}else for(Be=Xt(t.stateNode.containerInfo.firstChild),Ue=t,G=!0,dt=null,n=Ld(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(er(),r===o){t=It(e,t,n);break e}Pe(e,t,r,n)}t=t.child}return t;case 5:return Ad(t),e===null&&Au(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,l=o.children,Nu(r,o)?l=null:i!==null&&Nu(r,i)&&(t.flags|=32),sp(e,t),Pe(e,t,l,n),t.child;case 6:return e===null&&Au(t),null;case 13:return cp(e,t,n);case 4:return Fs(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=tr(t,null,r,n):Pe(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ct(r,o),Ec(e,t,r,o,n);case 7:return Pe(e,t,t.pendingProps,n),t.child;case 8:return Pe(e,t,t.pendingProps.children,n),t.child;case 12:return Pe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,l=o.value,V(yi,r._currentValue),r._currentValue=l,i!==null)if(ht(i.value,l)){if(i.children===o.children&&!Le.current){t=It(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var u=i.dependencies;if(u!==null){l=i.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(i.tag===1){s=zt(-1,n&-n),s.tag=2;var a=i.updateQueue;if(a!==null){a=a.shared;var m=a.pending;m===null?s.next=s:(s.next=m.next,m.next=s),a.pending=s}}i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),Fu(i.return,n,t),u.lanes|=n;break}s=s.next}}else if(i.tag===10)l=i.type===t.type?null:i.child;else if(i.tag===18){if(l=i.return,l===null)throw Error(C(341));l.lanes|=n,u=l.alternate,u!==null&&(u.lanes|=n),Fu(l,n,t),l=i.sibling}else l=i.child;if(l!==null)l.return=i;else for(l=i;l!==null;){if(l===t){l=null;break}if(i=l.sibling,i!==null){i.return=l.return,l=i;break}l=l.return}i=l}Pe(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Gn(t,n),o=tt(o),r=r(o),t.flags|=1,Pe(e,t,r,n),t.child;case 14:return r=t.type,o=ct(r,t.pendingProps),o=ct(r.type,o),_c(e,t,r,o,n);case 15:return lp(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ct(r,o),Go(e,t),t.tag=1,Ie(r)?(e=!0,pi(t)):e=!1,Gn(t,n),rp(t,r,o),Bu(t,r,o,n),Wu(null,t,r,!0,e,n);case 19:return fp(e,t,n);case 22:return up(e,t,n)}throw Error(C(156,t.tag))};function Tp(e,t){return ed(e,t)}function ry(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ze(e,t,n,r){return new ry(e,t,n,r)}function Js(e){return e=e.prototype,!(!e||!e.isReactComponent)}function oy(e){if(typeof e=="function")return Js(e)?1:0;if(e!=null){if(e=e.$$typeof,e===vs)return 11;if(e===Ss)return 14}return 2}function en(e,t){var n=e.alternate;return n===null?(n=Ze(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function qo(e,t,n,r,o,i){var l=2;if(r=e,typeof e=="function")Js(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case Mn:return hn(n.children,o,i,t);case gs:l=8,o|=8;break;case cu:return e=Ze(12,n,t,o|2),e.elementType=cu,e.lanes=i,e;case fu:return e=Ze(13,n,t,o),e.elementType=fu,e.lanes=i,e;case du:return e=Ze(19,n,t,o),e.elementType=du,e.lanes=i,e;case Af:return bi(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case If:l=10;break e;case jf:l=9;break e;case vs:l=11;break e;case Ss:l=14;break e;case Bt:l=16,r=null;break e}throw Error(C(130,e==null?e:typeof e,""))}return t=Ze(l,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function hn(e,t,n,r){return e=Ze(7,e,r,t),e.lanes=n,e}function bi(e,t,n,r){return e=Ze(22,e,r,t),e.elementType=Af,e.lanes=n,e.stateNode={isHidden:!1},e}function Jl(e,t,n){return e=Ze(6,e,null,t),e.lanes=n,e}function eu(e,t,n){return t=Ze(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function iy(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ll(0),this.expirationTimes=Ll(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ll(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function ea(e,t,n,r,o,i,l,u,s){return e=new iy(e,t,n,u,s),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Ze(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},As(i),e}function ly(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(zp)}catch(e){console.error(e)}}zp(),zf.exports=Ve;var fy=zf.exports,Dc=fy;Ma.createRoot=Dc.createRoot,Ma.hydrateRoot=Dc.hydrateRoot;function ot(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function O(){return O=Object.assign?Object.assign.bind():function(e){for(var t=1;t{if(r.toString().match(/^(components|slots)$/))n[r]=O({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},i=t[r];n[r]={},!i||!Object.keys(i)?n[r]=o:!o||!Object.keys(o)?n[r]=i:(n[r]=O({},i),Object.keys(o).forEach(l=>{n[r][l]=Ti(o[l],i[l])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function Mp(e,t,n=void 0){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((i,l)=>{if(l){const u=t(l);u!==""&&i.push(u),n&&n[l]&&i.push(n[l])}return i},[]).join(" ")}),r}var re={},Lp={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Lp);var Ip=Lp.exports;function to(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function Ey(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function rt(e){if(e.type)return e;if(e.charAt(0)==="#")return rt(Ap(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error((0,Wc.default)(9,e));let r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error((0,Wc.default)(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}const Fp=e=>{const t=rt(e);return t.values.slice(0,3).map((n,r)=>t.type.indexOf("hsl")!==-1&&r!==0?`${n}%`:n).join(" ")};re.colorChannel=Fp;const _y=(e,t)=>{try{return Fp(e)}catch{return e}};re.private_safeColorChannel=_y;function ar(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((o,i)=>i<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function Py(e){if(e.indexOf("#")===0)return e;const{values:t}=rt(e);return`#${t.map((n,r)=>Ey(r===3?Math.round(255*n):n)).join("")}`}function Dp(e){e=rt(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),l=(a,m=(a+n/30)%12)=>o-i*Math.max(Math.min(m-3,9-m,1),-1);let u="rgb";const s=[Math.round(l(0)*255),Math.round(l(8)*255),Math.round(l(4)*255)];return e.type==="hsla"&&(u+="a",s.push(t[3])),ar({type:u,values:s})}function Ri(e){e=rt(e);let t=e.type==="hsl"||e.type==="hsla"?rt(Dp(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Ty(e,t){const n=Ri(e),r=Ri(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Bp(e,t){return e=rt(e),t=oa(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,ar(e)}function Ry(e,t,n){try{return Bp(e,t)}catch{return e}}function ia(e,t){if(e=rt(e),t=oa(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return ar(e)}function $y(e,t,n){try{return ia(e,t)}catch{return e}}function la(e,t){if(e=rt(e),t=oa(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return ar(e)}function Oy(e,t,n){try{return la(e,t)}catch{return e}}function Up(e,t=.15){return Ri(e)>.5?ia(e,t):la(e,t)}function zy(e,t,n){try{return Up(e,t)}catch{return e}}function Ny(e,t,n,r=1){const o=(s,a)=>Math.round((s**(1/r)*(1-n)+a**(1/r)*n)**r),i=rt(e),l=rt(t),u=[o(i.values[0],l.values[0]),o(i.values[1],l.values[1]),o(i.values[2],l.values[2])];return ar({type:"rgb",values:u})}var fo={},ou={exports:{}},Vc;function My(){return Vc||(Vc=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(n){for(var r=1;r0?he(cr,--Ae):0,ir--,ue===10&&(ir=1,Gi--),ue}function be(){return ue=Ae2||ro(ue)>3?"":" "}function qy(e,t){for(;--t&&be()&&!(ue<48||ue>102||ue>57&&ue<65||ue>70&&ue<97););return po(e,Zo()+(t<6&&Ct()==32&&be()==32))}function ns(e){for(;be();)switch(ue){case e:return Ae;case 34:case 39:e!==34&&e!==39&&ns(ue);break;case 40:e===41&&ns(e);break;case 92:be();break}return Ae}function Zy(e,t){for(;be()&&e+ue!==57;)if(e+ue===84&&Ct()===47)break;return"/*"+po(t,Ae-1)+"*"+Qi(e===47?e:be())}function Jy(e){for(;!ro(Ct());)be();return po(e,Ae)}function eg(e){return Gp(ei("",null,null,null,[""],e=Qp(e),0,[0],e))}function ei(e,t,n,r,o,i,l,u,s){for(var a=0,m=0,h=l,d=0,S=0,g=0,y=1,P=1,f=1,c=0,p="",v=o,w=i,k=r,x=p;P;)switch(g=c,c=be()){case 40:if(g!=108&&he(x,h-1)==58){ts(x+=F(Jo(c),"&","&\f"),"&\f")!=-1&&(f=-1);break}case 34:case 39:case 91:x+=Jo(c);break;case 9:case 10:case 13:case 32:x+=Xy(g);break;case 92:x+=qy(Zo()-1,7);continue;case 47:switch(Ct()){case 42:case 47:jo(tg(Zy(be(),Zo()),t,n),s);break;default:x+="/"}break;case 123*y:u[a++]=vt(x)*f;case 125*y:case 59:case 0:switch(c){case 0:case 125:P=0;case 59+m:f==-1&&(x=F(x,/\f/g,"")),S>0&&vt(x)-h&&jo(S>32?Qc(x+";",r,n,h-1):Qc(F(x," ","")+";",r,n,h-2),s);break;case 59:x+=";";default:if(jo(k=Kc(x,t,n,a,m,o,u,p,v=[],w=[],h),i),c===123)if(m===0)ei(x,t,k,k,v,i,h,u,w);else switch(d===99&&he(x,3)===110?100:d){case 100:case 108:case 109:case 115:ei(e,k,k,r&&jo(Kc(e,k,k,0,0,o,u,p,o,v=[],h),w),o,w,h,u,r?v:w);break;default:ei(x,k,k,k,[""],w,0,u,w)}}a=m=S=0,y=f=1,p=x="",h=l;break;case 58:h=1+vt(x),S=g;default:if(y<1){if(c==123)--y;else if(c==125&&y++==0&&Yy()==125)continue}switch(x+=Qi(c),c*y){case 38:f=m>0?1:(x+="\f",-1);break;case 44:u[a++]=(vt(x)-1)*f,f=1;break;case 64:Ct()===45&&(x+=Jo(be())),d=Ct(),m=h=vt(p=x+=Jy(Zo())),c++;break;case 45:g===45&&vt(x)==2&&(y=0)}}return i}function Kc(e,t,n,r,o,i,l,u,s,a,m){for(var h=o-1,d=o===0?i:[""],S=aa(d),g=0,y=0,P=0;g0?d[f]+" "+c:F(c,/&\f/g,d[f])))&&(s[P++]=p);return Yi(e,t,n,o===0?ua:u,s,a,m)}function tg(e,t,n){return Yi(e,t,n,Wp,Qi(Gy()),no(e,2,-2),0)}function Qc(e,t,n,r){return Yi(e,t,n,sa,no(e,0,r),no(e,r+1,-1),r)}function Xn(e,t){for(var n="",r=aa(e),o=0;o6)switch(he(e,t+1)){case 109:if(he(e,t+4)!==45)break;case 102:return F(e,/(.+:)(.+)-([^]+)/,"$1"+A+"$2-$3$1"+$i+(he(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ts(e,"stretch")?Yp(F(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(he(e,t+1)!==115)break;case 6444:switch(he(e,vt(e)-3-(~ts(e,"!important")&&10))){case 107:return F(e,":",":"+A)+e;case 101:return F(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+A+(he(e,14)===45?"inline-":"")+"box$3$1"+A+"$2$3$1"+xe+"$2box$3")+e}break;case 5936:switch(he(e,t+11)){case 114:return A+e+xe+F(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return A+e+xe+F(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return A+e+xe+F(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return A+e+xe+e+e}return e}var cg=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case sa:t.return=Yp(t.value,t.length);break;case Vp:return Xn([kr(t,{value:F(t.value,"@","@"+A)})],o);case ua:if(t.length)return Qy(t.props,function(i){switch(Ky(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Xn([kr(t,{props:[F(i,/:(read-\w+)/,":"+$i+"$1")]})],o);case"::placeholder":return Xn([kr(t,{props:[F(i,/:(plac\w+)/,":"+A+"input-$1")]}),kr(t,{props:[F(i,/:(plac\w+)/,":"+$i+"$1")]}),kr(t,{props:[F(i,/:(plac\w+)/,xe+"input-$1")]})],o)}return""})}},fg=[cg],Xp=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(y){var P=y.getAttribute("data-emotion");P.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var o=t.stylisPlugins||fg,i={},l,u=[];l=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(y){for(var P=y.getAttribute("data-emotion").split(" "),f=1;f=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&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 Cg={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Eg=!1,_g=/[A-Z]|^ms/g,Pg=/_EMO_([^_]+?)_([^]*?)_EMO_/g,r0=function(t){return t.charCodeAt(1)===45},Yc=function(t){return t!=null&&typeof t!="boolean"},lu=bp(function(e){return r0(e)?e:e.replace(_g,"-$&").toLowerCase()}),Xc=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Pg,function(r,o,i){return St={name:o,styles:i,next:St},o})}return Cg[t]!==1&&!r0(t)&&typeof n=="number"&&n!==0?n+"px":n},Tg="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function oo(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return St={name:o.name,styles:o.styles,next:St},o.name;var i=n;if(i.styles!==void 0){var l=i.next;if(l!==void 0)for(;l!==void 0;)St={name:l.name,styles:l.styles,next:St},l=l.next;var u=i.styles+";";return u}return Rg(e,t,n)}case"function":{if(e!==void 0){var s=St,a=n(e);return St=s,oo(e,t,a)}break}}var m=n;if(t==null)return m;var h=t[m];return h!==void 0?h:m}function Rg(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o96?Mg:Lg},ef=function(t,n,r){var o;if(n){var i=n.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(l){return t.__emotion_forwardProp(l)&&i(l)}:i}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},Ig=!1,jg=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return t0(n,r,o),Og(function(){return n0(n,r,o)}),null},Ag=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,i,l;n!==void 0&&(i=n.label,l=n.target);var u=ef(t,n,r),s=u||Jc(o),a=!s("as");return function(){var m=arguments,h=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&h.push("label:"+i+";"),m[0]==null||m[0].raw===void 0)h.push.apply(h,m);else{h.push(m[0][0]);for(var d=m.length,S=1;St(Bg(o)?n:o):t;return Je.jsx(Ng,{styles:r})}function bg(e,t){return rs(e,t)}const Wg=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},Vg=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:Ug,StyledEngineProvider:Dg,ThemeContext:ma,css:u0,default:bg,internal_processStyles:Wg,keyframes:ll},Symbol.toStringTag,{value:"Module"})),Hg=rn(Vg);function Vt(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function s0(e){if(!Vt(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=s0(e[n])}),t}function Et(e,t,n={clone:!0}){const r=n.clone?O({},e):e;return Vt(e)&&Vt(t)&&Object.keys(t).forEach(o=>{Vt(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Vt(e[o])?r[o]=Et(e[o],t[o],n):n.clone?r[o]=Vt(t[o])?s0(t[o]):t[o]:r[o]=t[o]}),r}const Kg=Object.freeze(Object.defineProperty({__proto__:null,default:Et,isPlainObject:Vt},Symbol.toStringTag,{value:"Module"})),Qg=rn(Kg);function Ne(e){if(typeof e!="string")throw new Error(to(7));return e.charAt(0).toUpperCase()+e.slice(1)}const Gg=Object.freeze(Object.defineProperty({__proto__:null,default:Ne},Symbol.toStringTag,{value:"Module"})),Yg=rn(Gg);var a0={exports:{}},b={};/** + * @license React + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var ha=Symbol.for("react.element"),ya=Symbol.for("react.portal"),ul=Symbol.for("react.fragment"),sl=Symbol.for("react.strict_mode"),al=Symbol.for("react.profiler"),cl=Symbol.for("react.provider"),fl=Symbol.for("react.context"),Xg=Symbol.for("react.server_context"),dl=Symbol.for("react.forward_ref"),pl=Symbol.for("react.suspense"),ml=Symbol.for("react.suspense_list"),hl=Symbol.for("react.memo"),yl=Symbol.for("react.lazy"),qg=Symbol.for("react.offscreen"),c0;c0=Symbol.for("react.module.reference");function it(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case ha:switch(e=e.type,e){case ul:case al:case sl:case pl:case ml:return e;default:switch(e=e&&e.$$typeof,e){case Xg:case fl:case dl:case yl:case hl:case cl:return e;default:return t}}case ya:return t}}}b.ContextConsumer=fl;b.ContextProvider=cl;b.Element=ha;b.ForwardRef=dl;b.Fragment=ul;b.Lazy=yl;b.Memo=hl;b.Portal=ya;b.Profiler=al;b.StrictMode=sl;b.Suspense=pl;b.SuspenseList=ml;b.isAsyncMode=function(){return!1};b.isConcurrentMode=function(){return!1};b.isContextConsumer=function(e){return it(e)===fl};b.isContextProvider=function(e){return it(e)===cl};b.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===ha};b.isForwardRef=function(e){return it(e)===dl};b.isFragment=function(e){return it(e)===ul};b.isLazy=function(e){return it(e)===yl};b.isMemo=function(e){return it(e)===hl};b.isPortal=function(e){return it(e)===ya};b.isProfiler=function(e){return it(e)===al};b.isStrictMode=function(e){return it(e)===sl};b.isSuspense=function(e){return it(e)===pl};b.isSuspenseList=function(e){return it(e)===ml};b.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===ul||e===al||e===sl||e===pl||e===ml||e===qg||typeof e=="object"&&e!==null&&(e.$$typeof===yl||e.$$typeof===hl||e.$$typeof===cl||e.$$typeof===fl||e.$$typeof===dl||e.$$typeof===c0||e.getModuleId!==void 0)};b.typeOf=it;a0.exports=b;var tf=a0.exports;const Zg=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function f0(e){const t=`${e}`.match(Zg);return t&&t[1]||""}function d0(e,t=""){return e.displayName||e.name||f0(e)||t}function nf(e,t,n){const r=d0(t);return e.displayName||(r!==""?`${n}(${r})`:n)}function Jg(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return d0(e,"Component");if(typeof e=="object")switch(e.$$typeof){case tf.ForwardRef:return nf(e,e.render,"ForwardRef");case tf.Memo:return nf(e,e.type,"memo");default:return}}}const e1=Object.freeze(Object.defineProperty({__proto__:null,default:Jg,getFunctionName:f0},Symbol.toStringTag,{value:"Module"})),t1=rn(e1),n1=["values","unit","step"],r1=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>O({},n,{[r.key]:r.val}),{})};function p0(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=ot(e,n1),i=r1(t),l=Object.keys(i);function u(d){return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${n})`}function s(d){return`@media (max-width:${(typeof t[d]=="number"?t[d]:d)-r/100}${n})`}function a(d,S){const g=l.indexOf(S);return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${n}) and (max-width:${(g!==-1&&typeof t[l[g]]=="number"?t[l[g]]:S)-r/100}${n})`}function m(d){return l.indexOf(d)+1`@media (min-width:${ga[e]}px)`};function jt(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||rf;return t.reduce((l,u,s)=>(l[i.up(i.keys[s])]=n(t[s]),l),{})}if(typeof t=="object"){const i=r.breakpoints||rf;return Object.keys(t).reduce((l,u)=>{if(Object.keys(i.values||ga).indexOf(u)!==-1){const s=i.up(u);l[s]=n(t[u],u)}else{const s=u;l[s]=t[s]}return l},{})}return n(t)}function i1(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function l1(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function gl(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(r!=null)return r}return t.split(".").reduce((r,o)=>r&&r[o]!=null?r[o]:null,e)}function Oi(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=gl(e,n)||r,t&&(o=t(o,r,e)),o}function oe(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=l=>{if(l[t]==null)return null;const u=l[t],s=l.theme,a=gl(s,r)||{};return jt(l,u,h=>{let d=Oi(a,o,h);return h===d&&typeof h=="string"&&(d=Oi(a,o,`${t}${h==="default"?"":Ne(h)}`,h)),n===!1?d:{[n]:d}})};return i.propTypes={},i.filterProps=[t],i}function u1(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const s1={m:"margin",p:"padding"},a1={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},of={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},c1=u1(e=>{if(e.length>2)if(of[e])e=of[e];else return[e];const[t,n]=e.split(""),r=s1[t],o=a1[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),va=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Sa=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...va,...Sa];function mo(e,t,n,r){var o;const i=(o=gl(e,t,!1))!=null?o:n;return typeof i=="number"?l=>typeof l=="string"?l:i*l:Array.isArray(i)?l=>typeof l=="string"?l:i[l]:typeof i=="function"?i:()=>{}}function m0(e){return mo(e,"spacing",8)}function ho(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function f1(e,t){return n=>e.reduce((r,o)=>(r[o]=ho(t,n),r),{})}function d1(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=c1(n),i=f1(o,r),l=e[n];return jt(e,l,i)}function h0(e,t){const n=m0(e.theme);return Object.keys(e).map(r=>d1(e,t,r,n)).reduce(Ar,{})}function J(e){return h0(e,va)}J.propTypes={};J.filterProps=va;function ee(e){return h0(e,Sa)}ee.propTypes={};ee.filterProps=Sa;function p1(e=8){if(e.mui)return e;const t=m0({spacing:e}),n=(...r)=>(r.length===0?[1]:r).map(i=>{const l=t(i);return typeof l=="number"?`${l}px`:l}).join(" ");return n.mui=!0,n}function vl(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(i=>{r[i]=o}),r),{}),n=r=>Object.keys(r).reduce((o,i)=>t[i]?Ar(o,t[i](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function qe(e){return typeof e!="number"?e:`${e}px solid`}function lt(e,t){return oe({prop:e,themeKey:"borders",transform:t})}const m1=lt("border",qe),h1=lt("borderTop",qe),y1=lt("borderRight",qe),g1=lt("borderBottom",qe),v1=lt("borderLeft",qe),S1=lt("borderColor"),w1=lt("borderTopColor"),x1=lt("borderRightColor"),k1=lt("borderBottomColor"),C1=lt("borderLeftColor"),E1=lt("outline",qe),_1=lt("outlineColor"),Sl=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=mo(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:ho(t,r)});return jt(e,e.borderRadius,n)}return null};Sl.propTypes={};Sl.filterProps=["borderRadius"];vl(m1,h1,y1,g1,v1,S1,w1,x1,k1,C1,Sl,E1,_1);const wl=e=>{if(e.gap!==void 0&&e.gap!==null){const t=mo(e.theme,"spacing",8),n=r=>({gap:ho(t,r)});return jt(e,e.gap,n)}return null};wl.propTypes={};wl.filterProps=["gap"];const xl=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=mo(e.theme,"spacing",8),n=r=>({columnGap:ho(t,r)});return jt(e,e.columnGap,n)}return null};xl.propTypes={};xl.filterProps=["columnGap"];const kl=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=mo(e.theme,"spacing",8),n=r=>({rowGap:ho(t,r)});return jt(e,e.rowGap,n)}return null};kl.propTypes={};kl.filterProps=["rowGap"];const P1=oe({prop:"gridColumn"}),T1=oe({prop:"gridRow"}),R1=oe({prop:"gridAutoFlow"}),$1=oe({prop:"gridAutoColumns"}),O1=oe({prop:"gridAutoRows"}),z1=oe({prop:"gridTemplateColumns"}),N1=oe({prop:"gridTemplateRows"}),M1=oe({prop:"gridTemplateAreas"}),L1=oe({prop:"gridArea"});vl(wl,xl,kl,P1,T1,R1,$1,O1,z1,N1,M1,L1);function qn(e,t){return t==="grey"?t:e}const I1=oe({prop:"color",themeKey:"palette",transform:qn}),j1=oe({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:qn}),A1=oe({prop:"backgroundColor",themeKey:"palette",transform:qn});vl(I1,j1,A1);function De(e){return e<=1&&e!==0?`${e*100}%`:e}const F1=oe({prop:"width",transform:De}),wa=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,o;const i=((r=e.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[n])||ga[n];return i?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:De(n)}};return jt(e,e.maxWidth,t)}return null};wa.filterProps=["maxWidth"];const D1=oe({prop:"minWidth",transform:De}),B1=oe({prop:"height",transform:De}),U1=oe({prop:"maxHeight",transform:De}),b1=oe({prop:"minHeight",transform:De});oe({prop:"size",cssProperty:"width",transform:De});oe({prop:"size",cssProperty:"height",transform:De});const W1=oe({prop:"boxSizing"});vl(F1,wa,D1,B1,U1,b1,W1);const yo={border:{themeKey:"borders",transform:qe},borderTop:{themeKey:"borders",transform:qe},borderRight:{themeKey:"borders",transform:qe},borderBottom:{themeKey:"borders",transform:qe},borderLeft:{themeKey:"borders",transform:qe},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:qe},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Sl},color:{themeKey:"palette",transform:qn},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:qn},backgroundColor:{themeKey:"palette",transform:qn},p:{style:ee},pt:{style:ee},pr:{style:ee},pb:{style:ee},pl:{style:ee},px:{style:ee},py:{style:ee},padding:{style:ee},paddingTop:{style:ee},paddingRight:{style:ee},paddingBottom:{style:ee},paddingLeft:{style:ee},paddingX:{style:ee},paddingY:{style:ee},paddingInline:{style:ee},paddingInlineStart:{style:ee},paddingInlineEnd:{style:ee},paddingBlock:{style:ee},paddingBlockStart:{style:ee},paddingBlockEnd:{style:ee},m:{style:J},mt:{style:J},mr:{style:J},mb:{style:J},ml:{style:J},mx:{style:J},my:{style:J},margin:{style:J},marginTop:{style:J},marginRight:{style:J},marginBottom:{style:J},marginLeft:{style:J},marginX:{style:J},marginY:{style:J},marginInline:{style:J},marginInlineStart:{style:J},marginInlineEnd:{style:J},marginBlock:{style:J},marginBlockStart:{style:J},marginBlockEnd:{style:J},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:wl},rowGap:{style:kl},columnGap:{style:xl},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:De},maxWidth:{style:wa},minWidth:{transform:De},height:{transform:De},maxHeight:{transform:De},minHeight:{transform:De},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function V1(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function H1(e,t){return typeof e=="function"?e(t):e}function y0(){function e(n,r,o,i){const l={[n]:r,theme:o},u=i[n];if(!u)return{[n]:r};const{cssProperty:s=n,themeKey:a,transform:m,style:h}=u;if(r==null)return null;if(a==="typography"&&r==="inherit")return{[n]:r};const d=gl(o,a)||{};return h?h(l):jt(l,r,g=>{let y=Oi(d,m,g);return g===y&&typeof g=="string"&&(y=Oi(d,m,`${n}${g==="default"?"":Ne(g)}`,g)),s===!1?y:{[s]:y}})}function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const l=(r=i.unstable_sxConfig)!=null?r:yo;function u(s){let a=s;if(typeof s=="function")a=s(i);else if(typeof s!="object")return s;if(!a)return null;const m=i1(i.breakpoints),h=Object.keys(m);let d=m;return Object.keys(a).forEach(S=>{const g=H1(a[S],i);if(g!=null)if(typeof g=="object")if(l[S])d=Ar(d,e(S,g,i,l));else{const y=jt({theme:i},g,P=>({[S]:P}));V1(y,g)?d[S]=t({sx:g,theme:i}):d=Ar(d,y)}else d=Ar(d,e(S,g,i,l))}),l1(h,d)}return Array.isArray(o)?o.map(u):u(o)}return t}const Cl=y0();Cl.filterProps=["sx"];function g0(e,t){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:n.palette.mode===e?t:{}}const K1=["breakpoints","palette","spacing","shape"];function v0(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,l=ot(e,K1),u=p0(n),s=p1(o);let a=Et({breakpoints:u,direction:"ltr",components:{},palette:O({mode:"light"},r),spacing:s,shape:O({},o1,i)},l);return a.applyStyles=g0,a=t.reduce((m,h)=>Et(m,h),a),a.unstable_sxConfig=O({},yo,l==null?void 0:l.unstable_sxConfig),a.unstable_sx=function(h){return Cl({sx:h,theme:this})},a}const Q1=Object.freeze(Object.defineProperty({__proto__:null,default:v0,private_createBreakpoints:p0,unstable_applyStyles:g0},Symbol.toStringTag,{value:"Module"})),G1=rn(Q1),Y1=["sx"],X1=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:yo;return Object.keys(e).forEach(i=>{o[i]?r.systemProps[i]=e[i]:r.otherProps[i]=e[i]}),r};function q1(e){const{sx:t}=e,n=ot(e,Y1),{systemProps:r,otherProps:o}=X1(n);let i;return Array.isArray(t)?i=[r,...t]:typeof t=="function"?i=(...l)=>{const u=t(...l);return Vt(u)?O({},r,u):r}:i=O({},r,t),O({},o,{sx:i})}const Z1=Object.freeze(Object.defineProperty({__proto__:null,default:Cl,extendSxProp:q1,unstable_createStyleFunctionSx:y0,unstable_defaultSxConfig:yo},Symbol.toStringTag,{value:"Module"})),J1=rn(Z1);var fr=Ip;Object.defineProperty(fo,"__esModule",{value:!0});var ev=fo.default=pv;fo.shouldForwardProp=ti;fo.systemDefaultTheme=void 0;var Qe=fr(My()),is=fr(Ly()),lf=uv(Hg),tv=Qg;fr(Yg);fr(t1);var nv=fr(G1),rv=fr(J1);const ov=["ownerState"],iv=["variants"],lv=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function S0(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(S0=function(r){return r?n:t})(e)}function uv(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=S0(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}function sv(e){return Object.keys(e).length===0}function av(e){return typeof e=="string"&&e.charCodeAt(0)>96}function ti(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const cv=fo.systemDefaultTheme=(0,nv.default)(),fv=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Ao({defaultTheme:e,theme:t,themeId:n}){return sv(t)?e:t[n]||t}function dv(e){return e?(t,n)=>n[e]:null}function ni(e,t){let{ownerState:n}=t,r=(0,is.default)(t,ov);const o=typeof e=="function"?e((0,Qe.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(i=>ni(i,(0,Qe.default)({ownerState:n},r)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:i=[]}=o;let u=(0,is.default)(o,iv);return i.forEach(s=>{let a=!0;typeof s.props=="function"?a=s.props((0,Qe.default)({ownerState:n},r,n)):Object.keys(s.props).forEach(m=>{(n==null?void 0:n[m])!==s.props[m]&&r[m]!==s.props[m]&&(a=!1)}),a&&(Array.isArray(u)||(u=[u]),u.push(typeof s.style=="function"?s.style((0,Qe.default)({ownerState:n},r,n)):s.style))}),u}return o}function pv(e={}){const{themeId:t,defaultTheme:n=cv,rootShouldForwardProp:r=ti,slotShouldForwardProp:o=ti}=e,i=l=>(0,rv.default)((0,Qe.default)({},l,{theme:Ao((0,Qe.default)({},l,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(l,u={})=>{(0,lf.internal_processStyles)(l,w=>w.filter(k=>!(k!=null&&k.__mui_systemSx)));const{name:s,slot:a,skipVariantsResolver:m,skipSx:h,overridesResolver:d=dv(fv(a))}=u,S=(0,is.default)(u,lv),g=m!==void 0?m:a&&a!=="Root"&&a!=="root"||!1,y=h||!1;let P,f=ti;a==="Root"||a==="root"?f=r:a?f=o:av(l)&&(f=void 0);const c=(0,lf.default)(l,(0,Qe.default)({shouldForwardProp:f,label:P},S)),p=w=>typeof w=="function"&&w.__emotion_real!==w||(0,tv.isPlainObject)(w)?k=>ni(w,(0,Qe.default)({},k,{theme:Ao({theme:k.theme,defaultTheme:n,themeId:t})})):w,v=(w,...k)=>{let x=p(w);const _=k?k.map(p):[];s&&d&&_.push(D=>{const W=Ao((0,Qe.default)({},D,{defaultTheme:n,themeId:t}));if(!W.components||!W.components[s]||!W.components[s].styleOverrides)return null;const ie=W.components[s].styleOverrides,ve={};return Object.entries(ie).forEach(([ut,Ee])=>{ve[ut]=ni(Ee,(0,Qe.default)({},D,{theme:W}))}),d(D,ve)}),s&&!g&&_.push(D=>{var W;const ie=Ao((0,Qe.default)({},D,{defaultTheme:n,themeId:t})),ve=ie==null||(W=ie.components)==null||(W=W[s])==null?void 0:W.variants;return ni({variants:ve},(0,Qe.default)({},D,{theme:ie}))}),y||_.push(i);const L=_.length-k.length;if(Array.isArray(w)&&L>0){const D=new Array(L).fill("");x=[...w,...D],x.raw=[...w.raw,...D]}const $=c(x,..._);return l.muiName&&($.muiName=l.muiName),$};return c.withConfig&&(v.withConfig=c.withConfig),v}}const uf=e=>e,mv=()=>{let e=uf;return{configure(t){e=t},generate(t){return e(t)},reset(){e=uf}}},hv=mv(),yv={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function xa(e,t,n="Mui"){const r=yv[t];return r?`${n}-${r}`:`${hv.generate(e)}-${t}`}function gv(e,t){return O({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const io={black:"#000",white:"#fff"},vv={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},Pn={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Tn={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Cr={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Rn={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},$n={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},On={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Sv=["mode","contrastThreshold","tonalOffset"],sf={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:io.white,default:io.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},uu={text:{primary:io.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:io.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function af(e,t,n,r){const o=r.light||r,i=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=ky(e.main,o):t==="dark"&&(e.dark=wy(e.main,i)))}function wv(e="light"){return e==="dark"?{main:Rn[200],light:Rn[50],dark:Rn[400]}:{main:Rn[700],light:Rn[400],dark:Rn[800]}}function xv(e="light"){return e==="dark"?{main:Pn[200],light:Pn[50],dark:Pn[400]}:{main:Pn[500],light:Pn[300],dark:Pn[700]}}function kv(e="light"){return e==="dark"?{main:Tn[500],light:Tn[300],dark:Tn[700]}:{main:Tn[700],light:Tn[400],dark:Tn[800]}}function Cv(e="light"){return e==="dark"?{main:$n[400],light:$n[300],dark:$n[700]}:{main:$n[700],light:$n[500],dark:$n[900]}}function Ev(e="light"){return e==="dark"?{main:On[400],light:On[300],dark:On[700]}:{main:On[800],light:On[500],dark:On[900]}}function _v(e="light"){return e==="dark"?{main:Cr[400],light:Cr[300],dark:Cr[700]}:{main:"#ed6c02",light:Cr[500],dark:Cr[900]}}function Pv(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=ot(e,Sv),i=e.primary||wv(t),l=e.secondary||xv(t),u=e.error||kv(t),s=e.info||Cv(t),a=e.success||Ev(t),m=e.warning||_v(t);function h(y){return xy(y,uu.text.primary)>=n?uu.text.primary:sf.text.primary}const d=({color:y,name:P,mainShade:f=500,lightShade:c=300,darkShade:p=700})=>{if(y=O({},y),!y.main&&y[f]&&(y.main=y[f]),!y.hasOwnProperty("main"))throw new Error(to(11,P?` (${P})`:"",f));if(typeof y.main!="string")throw new Error(to(12,P?` (${P})`:"",JSON.stringify(y.main)));return af(y,"light",c,r),af(y,"dark",p,r),y.contrastText||(y.contrastText=h(y.main)),y},S={dark:uu,light:sf};return Et(O({common:O({},io),mode:t,primary:d({color:i,name:"primary"}),secondary:d({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:d({color:u,name:"error"}),warning:d({color:m,name:"warning"}),info:d({color:s,name:"info"}),success:d({color:a,name:"success"}),grey:vv,contrastThreshold:n,getContrastText:h,augmentColor:d,tonalOffset:r},S[t]),o)}const Tv=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Rv(e){return Math.round(e*1e5)/1e5}const cf={textTransform:"uppercase"},ff='"Roboto", "Helvetica", "Arial", sans-serif';function $v(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=ff,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:l=400,fontWeightMedium:u=500,fontWeightBold:s=700,htmlFontSize:a=16,allVariants:m,pxToRem:h}=n,d=ot(n,Tv),S=o/14,g=h||(f=>`${f/a*S}rem`),y=(f,c,p,v,w)=>O({fontFamily:r,fontWeight:f,fontSize:g(c),lineHeight:p},r===ff?{letterSpacing:`${Rv(v/c)}em`}:{},w,m),P={h1:y(i,96,1.167,-1.5),h2:y(i,60,1.2,-.5),h3:y(l,48,1.167,0),h4:y(l,34,1.235,.25),h5:y(l,24,1.334,0),h6:y(u,20,1.6,.15),subtitle1:y(l,16,1.75,.15),subtitle2:y(u,14,1.57,.1),body1:y(l,16,1.5,.15),body2:y(l,14,1.43,.15),button:y(u,14,1.75,.4,cf),caption:y(l,12,1.66,.4),overline:y(l,12,2.66,1,cf),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Et(O({htmlFontSize:a,pxToRem:g,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:l,fontWeightMedium:u,fontWeightBold:s},P),d,{clone:!1})}const Ov=.2,zv=.14,Nv=.12;function Q(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Ov})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${zv})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Nv})`].join(",")}const Mv=["none",Q(0,2,1,-1,0,1,1,0,0,1,3,0),Q(0,3,1,-2,0,2,2,0,0,1,5,0),Q(0,3,3,-2,0,3,4,0,0,1,8,0),Q(0,2,4,-1,0,4,5,0,0,1,10,0),Q(0,3,5,-1,0,5,8,0,0,1,14,0),Q(0,3,5,-1,0,6,10,0,0,1,18,0),Q(0,4,5,-2,0,7,10,1,0,2,16,1),Q(0,5,5,-3,0,8,10,1,0,3,14,2),Q(0,5,6,-3,0,9,12,1,0,3,16,2),Q(0,6,6,-3,0,10,14,1,0,4,18,3),Q(0,6,7,-4,0,11,15,1,0,4,20,3),Q(0,7,8,-4,0,12,17,2,0,5,22,4),Q(0,7,8,-4,0,13,19,2,0,5,24,4),Q(0,7,9,-4,0,14,21,2,0,5,26,4),Q(0,8,9,-5,0,15,22,2,0,6,28,5),Q(0,8,10,-5,0,16,24,2,0,6,30,5),Q(0,8,11,-5,0,17,26,2,0,6,32,5),Q(0,9,11,-5,0,18,28,2,0,7,34,6),Q(0,9,12,-6,0,19,29,2,0,7,36,6),Q(0,10,13,-6,0,20,31,3,0,8,38,7),Q(0,10,13,-6,0,21,33,3,0,8,40,7),Q(0,10,14,-6,0,22,35,3,0,8,42,7),Q(0,11,14,-7,0,23,36,3,0,9,44,8),Q(0,11,15,-7,0,24,38,3,0,9,46,8)],Lv=["duration","easing","delay"],Iv={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},jv={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function df(e){return`${Math.round(e)}ms`}function Av(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function Fv(e){const t=O({},Iv,e.easing),n=O({},jv,e.duration);return O({getAutoHeightDuration:Av,create:(o=["all"],i={})=>{const{duration:l=n.standard,easing:u=t.easeInOut,delay:s=0}=i;return ot(i,Lv),(Array.isArray(o)?o:[o]).map(a=>`${a} ${typeof l=="string"?l:df(l)} ${u} ${typeof s=="string"?s:df(s)}`).join(",")}},e,{easing:t,duration:n})}const Dv={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Bv=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Uv(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,l=ot(e,Bv);if(e.vars)throw new Error(to(18));const u=Pv(r),s=v0(e);let a=Et(s,{mixins:gv(s.breakpoints,n),palette:u,shadows:Mv.slice(),typography:$v(u,i),transitions:Fv(o),zIndex:O({},Dv)});return a=Et(a,l),a=t.reduce((m,h)=>Et(m,h),a),a.unstable_sxConfig=O({},yo,l==null?void 0:l.unstable_sxConfig),a.unstable_sx=function(h){return Cl({sx:h,theme:this})},a}const bv=Uv(),Wv="$$material";function Vv(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const w0=e=>Vv(e)&&e!=="classes",dr=ev({themeId:Wv,defaultTheme:bv,rootShouldForwardProp:w0}),Hv=T.createContext(void 0);function Kv(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?Ti(o.defaultProps,r):!o.styleOverrides&&!o.variants?Ti(o,r):r}function Qv({props:e,name:t}){const n=T.useContext(Hv);return Kv({props:e,name:t,theme:{components:n}})}function ka(e){return Qv(e)}function Gv(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function ls(...e){return T.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{Gv(n,t)})},e)}const Yv=typeof window<"u"?T.useLayoutEffect:T.useEffect;function Fo(e){const t=T.useRef(e);return Yv(()=>{t.current=e}),T.useRef((...n)=>(0,t.current)(...n)).current}const pf={};function Xv(e,t){const n=T.useRef(pf);return n.current===pf&&(n.current=e(t)),n}const qv=[];function Zv(e){T.useEffect(e,qv)}class El{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new El}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function Jv(){const e=Xv(El.create).current;return Zv(e.disposeEffect),e}let _l=!0,us=!1;const eS=new El,tS={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function nS(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&tS[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function rS(e){e.metaKey||e.altKey||e.ctrlKey||(_l=!0)}function su(){_l=!1}function oS(){this.visibilityState==="hidden"&&us&&(_l=!0)}function iS(e){e.addEventListener("keydown",rS,!0),e.addEventListener("mousedown",su,!0),e.addEventListener("pointerdown",su,!0),e.addEventListener("touchstart",su,!0),e.addEventListener("visibilitychange",oS,!0)}function lS(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return _l||nS(t)}function uS(){const e=T.useCallback(o=>{o!=null&&iS(o.ownerDocument)},[]),t=T.useRef(!1);function n(){return t.current?(us=!0,eS.start(100,()=>{us=!1}),t.current=!1,!0):!1}function r(o){return lS(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function ss(e,t){return ss=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},ss(e,t)}function sS(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ss(e,t)}const mf=zn.createContext(null);function aS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ca(e,t){var n=function(i){return t&&T.isValidElement(i)?t(i):i},r=Object.create(null);return e&&T.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function cS(e,t){e=e||{},t=t||{};function n(m){return m in t?t[m]:e[m]}var r=Object.create(null),o=[];for(var i in e)i in t?o.length&&(r[i]=o,o=[]):o.push(i);var l,u={};for(var s in t){if(r[s])for(l=0;l{r[o]=xa(e,o,n)}),r}function KS(e){return e&&e.ownerDocument||document}function hS(e){return typeof e=="string"}function yS(e,t,n){return e===void 0||hS(e)?t:O({},t,{ownerState:O({},t.ownerState,n)})}function gS(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function hf(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function vS(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const S=Oe(n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),g=O({},n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),y=O({},n,o,r);return S.length>0&&(y.className=S),Object.keys(g).length>0&&(y.style=g),{props:y,internalRef:void 0}}const l=gS(O({},o,r)),u=hf(r),s=hf(o),a=t(l),m=Oe(a==null?void 0:a.className,n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),h=O({},a==null?void 0:a.style,n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),d=O({},a,n,s,u);return m.length>0&&(d.className=m),Object.keys(h).length>0&&(d.style=h),{props:d,internalRef:a.ref}}function SS(e,t,n){return typeof e=="function"?e(t,n):e}const wS=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function QS(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:i=!1}=e,l=ot(e,wS),u=i?{}:SS(r,o),{props:s,internalRef:a}=vS(O({},l,{externalSlotProps:u})),m=ls(a,u==null?void 0:u.ref,(t=e.additionalProps)==null?void 0:t.ref);return yS(n,O({},s,{ref:m}),o)}const xS=T.createContext(),GS=()=>{const e=T.useContext(xS);return e??!1};function kS(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:i,rippleSize:l,in:u,onExited:s,timeout:a}=e,[m,h]=T.useState(!1),d=Oe(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),S={width:l,height:l,top:-(l/2)+i,left:-(l/2)+o},g=Oe(n.child,m&&n.childLeaving,r&&n.childPulsate);return!u&&!m&&h(!0),T.useEffect(()=>{if(!u&&s!=null){const y=setTimeout(s,a);return()=>{clearTimeout(y)}}},[s,u,a]),Je.jsx("span",{className:d,style:S,children:Je.jsx("span",{className:g})})}const Ge=_a("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),CS=["center","classes","className"];let Pl=e=>e,yf,gf,vf,Sf;const as=550,ES=80,_S=ll(yf||(yf=Pl` + 0% { + transform: scale(0); + opacity: 0.1; + } + + 100% { + transform: scale(1); + opacity: 0.3; + } +`)),PS=ll(gf||(gf=Pl` + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + } +`)),TS=ll(vf||(vf=Pl` + 0% { + transform: scale(1); + } + + 50% { + transform: scale(0.92); + } + + 100% { + transform: scale(1); + } +`)),RS=dr("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),$S=dr(kS,{name:"MuiTouchRipple",slot:"Ripple"})(Sf||(Sf=Pl` + opacity: 0; + position: absolute; + + &.${0} { + opacity: 0.3; + transform: scale(1); + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + &.${0} { + animation-duration: ${0}ms; + } + + & .${0} { + opacity: 1; + display: block; + width: 100%; + height: 100%; + border-radius: 50%; + background-color: currentColor; + } + + & .${0} { + opacity: 0; + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + & .${0} { + position: absolute; + /* @noflip */ + left: 0px; + top: 0; + animation-name: ${0}; + animation-duration: 2500ms; + animation-timing-function: ${0}; + animation-iteration-count: infinite; + animation-delay: 200ms; + } +`),Ge.rippleVisible,_S,as,({theme:e})=>e.transitions.easing.easeInOut,Ge.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,Ge.child,Ge.childLeaving,PS,as,({theme:e})=>e.transitions.easing.easeInOut,Ge.childPulsate,TS,({theme:e})=>e.transitions.easing.easeInOut),OS=T.forwardRef(function(t,n){const r=ka({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:l}=r,u=ot(r,CS),[s,a]=T.useState([]),m=T.useRef(0),h=T.useRef(null);T.useEffect(()=>{h.current&&(h.current(),h.current=null)},[s]);const d=T.useRef(!1),S=Jv(),g=T.useRef(null),y=T.useRef(null),P=T.useCallback(v=>{const{pulsate:w,rippleX:k,rippleY:x,rippleSize:_,cb:L}=v;a($=>[...$,Je.jsx($S,{classes:{ripple:Oe(i.ripple,Ge.ripple),rippleVisible:Oe(i.rippleVisible,Ge.rippleVisible),ripplePulsate:Oe(i.ripplePulsate,Ge.ripplePulsate),child:Oe(i.child,Ge.child),childLeaving:Oe(i.childLeaving,Ge.childLeaving),childPulsate:Oe(i.childPulsate,Ge.childPulsate)},timeout:as,pulsate:w,rippleX:k,rippleY:x,rippleSize:_},m.current)]),m.current+=1,h.current=L},[i]),f=T.useCallback((v={},w={},k=()=>{})=>{const{pulsate:x=!1,center:_=o||w.pulsate,fakeElement:L=!1}=w;if((v==null?void 0:v.type)==="mousedown"&&d.current){d.current=!1;return}(v==null?void 0:v.type)==="touchstart"&&(d.current=!0);const $=L?null:y.current,D=$?$.getBoundingClientRect():{width:0,height:0,left:0,top:0};let W,ie,ve;if(_||v===void 0||v.clientX===0&&v.clientY===0||!v.clientX&&!v.touches)W=Math.round(D.width/2),ie=Math.round(D.height/2);else{const{clientX:ut,clientY:Ee}=v.touches&&v.touches.length>0?v.touches[0]:v;W=Math.round(ut-D.left),ie=Math.round(Ee-D.top)}if(_)ve=Math.sqrt((2*D.width**2+D.height**2)/3),ve%2===0&&(ve+=1);else{const ut=Math.max(Math.abs(($?$.clientWidth:0)-W),W)*2+2,Ee=Math.max(Math.abs(($?$.clientHeight:0)-ie),ie)*2+2;ve=Math.sqrt(ut**2+Ee**2)}v!=null&&v.touches?g.current===null&&(g.current=()=>{P({pulsate:x,rippleX:W,rippleY:ie,rippleSize:ve,cb:k})},S.start(ES,()=>{g.current&&(g.current(),g.current=null)})):P({pulsate:x,rippleX:W,rippleY:ie,rippleSize:ve,cb:k})},[o,P,S]),c=T.useCallback(()=>{f({},{pulsate:!0})},[f]),p=T.useCallback((v,w)=>{if(S.clear(),(v==null?void 0:v.type)==="touchend"&&g.current){g.current(),g.current=null,S.start(0,()=>{p(v,w)});return}g.current=null,a(k=>k.length>0?k.slice(1):k),h.current=w},[S]);return T.useImperativeHandle(n,()=>({pulsate:c,start:f,stop:p}),[c,f,p]),Je.jsx(RS,O({className:Oe(Ge.root,i.root,l),ref:y},u,{children:Je.jsx(Ea,{component:null,exit:!0,children:s})}))});function zS(e){return xa("MuiButtonBase",e)}const NS=_a("MuiButtonBase",["root","disabled","focusVisible"]),MS=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],LS=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,l=Mp({root:["root",t&&"disabled",n&&"focusVisible"]},zS,o);return n&&r&&(l.root+=` ${r}`),l},IS=dr("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${NS.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),jS=T.forwardRef(function(t,n){const r=ka({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:l,className:u,component:s="button",disabled:a=!1,disableRipple:m=!1,disableTouchRipple:h=!1,focusRipple:d=!1,LinkComponent:S="a",onBlur:g,onClick:y,onContextMenu:P,onDragLeave:f,onFocus:c,onFocusVisible:p,onKeyDown:v,onKeyUp:w,onMouseDown:k,onMouseLeave:x,onMouseUp:_,onTouchEnd:L,onTouchMove:$,onTouchStart:D,tabIndex:W=0,TouchRippleProps:ie,touchRippleRef:ve,type:ut}=r,Ee=ot(r,MS),_t=T.useRef(null),E=T.useRef(null),z=ls(E,ve),{isFocusVisibleRef:N,onFocus:Y,onBlur:le,ref:Cn}=uS(),[_e,Ft]=T.useState(!1);a&&_e&&Ft(!1),T.useImperativeHandle(o,()=>({focusVisible:()=>{Ft(!0),_t.current.focus()}}),[]);const[st,En]=T.useState(!1);T.useEffect(()=>{En(!0)},[]);const k0=st&&!m&&!a;T.useEffect(()=>{_e&&d&&!m&&st&&E.current.pulsate()},[m,d,_e,st]);function Pt(M,Ta,A0=h){return Fo(Ra=>(Ta&&Ta(Ra),!A0&&E.current&&E.current[M](Ra),!0))}const C0=Pt("start",k),E0=Pt("stop",P),_0=Pt("stop",f),P0=Pt("stop",_),T0=Pt("stop",M=>{_e&&M.preventDefault(),x&&x(M)}),R0=Pt("start",D),$0=Pt("stop",L),O0=Pt("stop",$),z0=Pt("stop",M=>{le(M),N.current===!1&&Ft(!1),g&&g(M)},!1),N0=Fo(M=>{_t.current||(_t.current=M.currentTarget),Y(M),N.current===!0&&(Ft(!0),p&&p(M)),c&&c(M)}),Tl=()=>{const M=_t.current;return s&&s!=="button"&&!(M.tagName==="A"&&M.href)},Rl=T.useRef(!1),M0=Fo(M=>{d&&!Rl.current&&_e&&E.current&&M.key===" "&&(Rl.current=!0,E.current.stop(M,()=>{E.current.start(M)})),M.target===M.currentTarget&&Tl()&&M.key===" "&&M.preventDefault(),v&&v(M),M.target===M.currentTarget&&Tl()&&M.key==="Enter"&&!a&&(M.preventDefault(),y&&y(M))}),L0=Fo(M=>{d&&M.key===" "&&E.current&&_e&&!M.defaultPrevented&&(Rl.current=!1,E.current.stop(M,()=>{E.current.pulsate(M)})),w&&w(M),y&&M.target===M.currentTarget&&Tl()&&M.key===" "&&!M.defaultPrevented&&y(M)});let go=s;go==="button"&&(Ee.href||Ee.to)&&(go=S);const pr={};go==="button"?(pr.type=ut===void 0?"button":ut,pr.disabled=a):(!Ee.href&&!Ee.to&&(pr.role="button"),a&&(pr["aria-disabled"]=a));const I0=ls(n,Cn,_t),Pa=O({},r,{centerRipple:i,component:s,disabled:a,disableRipple:m,disableTouchRipple:h,focusRipple:d,tabIndex:W,focusVisible:_e}),j0=LS(Pa);return Je.jsxs(IS,O({as:go,className:Oe(j0.root,u),ownerState:Pa,onBlur:z0,onClick:y,onContextMenu:E0,onFocus:N0,onKeyDown:M0,onKeyUp:L0,onMouseDown:C0,onMouseLeave:T0,onMouseUp:P0,onDragLeave:_0,onTouchEnd:$0,onTouchMove:O0,onTouchStart:R0,ref:I0,tabIndex:a?-1:W,type:ut},pr,Ee,{children:[l,k0?Je.jsx(OS,O({ref:z,center:i},ie)):null]}))});function AS(e){return xa("MuiButton",e)}const Do=_a("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),FS=T.createContext({}),DS=T.createContext(void 0),BS=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],US=e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,classes:l}=e,u={root:["root",i,`${i}${Ne(t)}`,`size${Ne(o)}`,`${i}Size${Ne(o)}`,`color${Ne(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${Ne(o)}`],endIcon:["icon","endIcon",`iconSize${Ne(o)}`]},s=Mp(u,AS,l);return O({},l,s)},x0=e=>O({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),bS=dr(jS,{shouldForwardProp:e=>w0(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Ne(n.color)}`],t[`size${Ne(n.size)}`],t[`${n.variant}Size${Ne(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var n,r;const o=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],i=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return O({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":O({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Io(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="text"&&t.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Io(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="outlined"&&t.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Io(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},t.variant==="contained"&&t.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":O({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${Do.focusVisible}`]:O({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${Do.disabled}`]:O({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant==="text"&&{padding:"6px 8px"},t.variant==="text"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main},t.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},t.variant==="outlined"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${Io(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(n=(r=e.palette).getContrastText)==null?void 0:n.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},t.variant==="contained"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},t.size==="small"&&t.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Do.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Do.disabled}`]:{boxShadow:"none"}}),WS=dr("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${Ne(n.size)}`]]}})(({ownerState:e})=>O({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},x0(e))),VS=dr("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${Ne(n.size)}`]]}})(({ownerState:e})=>O({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},x0(e))),YS=T.forwardRef(function(t,n){const r=T.useContext(FS),o=T.useContext(DS),i=Ti(r,t),l=ka({props:i,name:"MuiButton"}),{children:u,color:s="primary",component:a="button",className:m,disabled:h=!1,disableElevation:d=!1,disableFocusRipple:S=!1,endIcon:g,focusVisibleClassName:y,fullWidth:P=!1,size:f="medium",startIcon:c,type:p,variant:v="text"}=l,w=ot(l,BS),k=O({},l,{color:s,component:a,disabled:h,disableElevation:d,disableFocusRipple:S,fullWidth:P,size:f,type:p,variant:v}),x=US(k),_=c&&Je.jsx(WS,{className:x.startIcon,ownerState:k,children:c}),L=g&&Je.jsx(VS,{className:x.endIcon,ownerState:k,children:g}),$=o||"";return Je.jsxs(bS,O({ownerState:k,className:Oe(r.className,x.root,m,$),component:a,disabled:h,focusRipple:!S,focusVisibleClassName:Oe(x.focusVisible,y),ref:n,type:p},w,{classes:x,children:[_,u,L]}))});export{bg as A,YS as B,Cl as C,q1 as D,Wv as E,bv as F,Ug as G,to as H,Uv as I,hv as J,w0 as K,Et as L,jS as M,my as N,D0 as O,ma as T,O as _,ls as a,Yv as b,gy as c,Fo as d,gS as e,xa as f,_a as g,Oe as h,hS as i,Je as j,Ne as k,ky as l,wy as m,Io as n,KS as o,Vv as p,ka as q,T as r,dr as s,GS as t,uS as u,ot as v,QS as w,Mp as x,Ma as y,v0 as z}; diff --git a/dist/js/ButtonBase-CIM-J61H.js b/dist/js/ButtonBase-CIM-J61H.js new file mode 100644 index 0000000..dc17c3f --- /dev/null +++ b/dist/js/ButtonBase-CIM-J61H.js @@ -0,0 +1,128 @@ +function T0(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const l of i.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function O0(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function nn(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var cf={exports:{}},Pi={},ff={exports:{}},L={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var oo=Symbol.for("react.element"),R0=Symbol.for("react.portal"),$0=Symbol.for("react.fragment"),M0=Symbol.for("react.strict_mode"),N0=Symbol.for("react.profiler"),z0=Symbol.for("react.provider"),L0=Symbol.for("react.context"),j0=Symbol.for("react.forward_ref"),A0=Symbol.for("react.suspense"),I0=Symbol.for("react.memo"),F0=Symbol.for("react.lazy"),xa=Symbol.iterator;function D0(e){return e===null||typeof e!="object"?null:(e=xa&&e[xa]||e["@@iterator"],typeof e=="function"?e:null)}var df={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},pf=Object.assign,mf={};function ir(e,t,n){this.props=e,this.context=t,this.refs=mf,this.updater=n||df}ir.prototype.isReactComponent={};ir.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};ir.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function hf(){}hf.prototype=ir.prototype;function os(e,t,n){this.props=e,this.context=t,this.refs=mf,this.updater=n||df}var is=os.prototype=new hf;is.constructor=os;pf(is,ir.prototype);is.isPureReactComponent=!0;var Ea=Array.isArray,yf=Object.prototype.hasOwnProperty,ls={current:null},gf={key:!0,ref:!0,__self:!0,__source:!0};function vf(e,t,n){var r,o={},i=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(i=""+t.key),t)yf.call(t,r)&&!gf.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(u===1)o.children=n;else if(1>>1,le=C[Y];if(0>>1;Yo(It,M))ito(En,It)?(C[Y]=En,C[it]=M,Y=it):(C[Y]=It,C[_e]=M,Y=_e);else if(ito(En,M))C[Y]=En,C[it]=M,Y=it;else break e}}return $}function o(C,$){var M=C.sortIndex-$.sortIndex;return M!==0?M:C.id-$.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var l=Date,u=l.now();e.unstable_now=function(){return l.now()-u}}var s=[],a=[],m=1,h=null,d=3,w=!1,g=!1,y=!1,T=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(C){for(var $=n(a);$!==null;){if($.callback===null)r(a);else if($.startTime<=C)r(a),$.sortIndex=$.expirationTime,t(s,$);else break;$=n(a)}}function v(C){if(y=!1,p(C),!g)if(n(s)!==null)g=!0,Ce(S);else{var $=n(a);$!==null&&Et(v,$.startTime-C)}}function S(C,$){g=!1,y&&(y=!1,f(_),_=-1),w=!0;var M=d;try{for(p($),h=n(s);h!==null&&(!(h.expirationTime>$)||C&&!D());){var Y=h.callback;if(typeof Y=="function"){h.callback=null,d=h.priorityLevel;var le=Y(h.expirationTime<=$);$=e.unstable_now(),typeof le=="function"?h.callback=le:h===n(s)&&r(s),p($)}else r(s);h=n(s)}if(h!==null)var xn=!0;else{var _e=n(a);_e!==null&&Et(v,_e.startTime-$),xn=!1}return xn}finally{h=null,d=M,w=!1}}var E=!1,k=null,_=-1,j=5,R=-1;function D(){return!(e.unstable_now()-RC||125Y?(C.sortIndex=M,t(a,C),n(s)===null&&C===n(a)&&(y?(f(_),_=-1):y=!0,Et(v,M-Y))):(C.sortIndex=le,t(s,C),g||w||(g=!0,Ce(S))),C},e.unstable_shouldYield=D,e.unstable_wrapCallback=function(C){var $=d;return function(){var M=d;d=$;try{return C.apply(this,arguments)}finally{d=M}}}})(Ef);xf.exports=Ef;var X0=xf.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Z0=O,Ue=X0;function x(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),nu=Object.prototype.hasOwnProperty,q0=/^[: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]*$/,Ta={},Oa={};function J0(e){return nu.call(Oa,e)?!0:nu.call(Ta,e)?!1:q0.test(e)?Oa[e]=!0:(Ta[e]=!0,!1)}function em(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function tm(e,t,n,r){if(t===null||typeof t>"u"||em(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.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 Re(e,t,n,r,o,i,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=l}var ge={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ge[e]=new Re(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ge[t]=new Re(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ge[e]=new Re(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ge[e]=new Re(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){ge[e]=new Re(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ge[e]=new Re(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ge[e]=new Re(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ge[e]=new Re(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ge[e]=new Re(e,5,!1,e.toLowerCase(),null,!1,!1)});var ss=/[\-:]([a-z])/g;function as(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(ss,as);ge[t]=new Re(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(ss,as);ge[t]=new Re(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(ss,as);ge[t]=new Re(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ge[e]=new Re(e,1,!1,e.toLowerCase(),null,!1,!1)});ge.xlinkHref=new Re("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ge[e]=new Re(e,1,!1,e.toLowerCase(),null,!0,!0)});function cs(e,t,n,r){var o=ge.hasOwnProperty(t)?ge[t]:null;(o!==null?o.type!==0:r||!(2u||o[l]!==i[u]){var s=` +`+o[l].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=l&&0<=u);break}}}finally{Tl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?xr(e):""}function nm(e){switch(e.tag){case 5:return xr(e.type);case 16:return xr("Lazy");case 13:return xr("Suspense");case 19:return xr("SuspenseList");case 0:case 2:case 15:return e=Ol(e.type,!1),e;case 11:return e=Ol(e.type.render,!1),e;case 1:return e=Ol(e.type,!0),e;default:return""}}function lu(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 Nn:return"Fragment";case Mn:return"Portal";case ru:return"Profiler";case fs:return"StrictMode";case ou:return"Suspense";case iu:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Pf:return(e.displayName||"Context")+".Consumer";case _f:return(e._context.displayName||"Context")+".Provider";case ds:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ps:return t=e.displayName||null,t!==null?t:lu(e.type)||"Memo";case Dt:t=e._payload,e=e._init;try{return lu(e(t))}catch{}}return null}function rm(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return lu(t);case 8:return t===fs?"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 t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function en(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Of(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function om(e){var t=Of(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(l){r=""+l,i.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function vo(e){e._valueTracker||(e._valueTracker=om(e))}function Rf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Of(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Jo(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}}function uu(e,t){var n=t.checked;return q({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function $a(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=en(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function $f(e,t){t=t.checked,t!=null&&cs(e,"checked",t,!1)}function su(e,t){$f(e,t);var n=en(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?au(e,t.type,n):t.hasOwnProperty("defaultValue")&&au(e,t.type,en(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ma(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function au(e,t,n){(t!=="number"||Jo(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Er=Array.isArray;function Vn(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=wo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ir(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Pr={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},im=["Webkit","ms","Moz","O"];Object.keys(Pr).forEach(function(e){im.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Pr[t]=Pr[e]})});function Lf(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Pr.hasOwnProperty(e)&&Pr[e]?(""+t).trim():t+"px"}function jf(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Lf(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var lm=q({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 du(e,t){if(t){if(lm[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(x(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(x(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(x(61))}if(t.style!=null&&typeof t.style!="object")throw Error(x(62))}}function pu(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}}var mu=null;function ms(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var hu=null,Hn=null,Kn=null;function La(e){if(e=uo(e)){if(typeof hu!="function")throw Error(x(280));var t=e.stateNode;t&&(t=Mi(t),hu(e.stateNode,e.type,t))}}function Af(e){Hn?Kn?Kn.push(e):Kn=[e]:Hn=e}function If(){if(Hn){var e=Hn,t=Kn;if(Kn=Hn=null,La(e),t)for(e=0;e>>=0,e===0?32:31-(gm(e)/vm|0)|0}var So=64,ko=4194304;function Cr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ri(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,l=n&268435455;if(l!==0){var u=l&~o;u!==0?r=Cr(u):(i&=l,i!==0&&(r=Cr(i)))}else l=n&~o,l!==0?r=Cr(l):i!==0&&(r=Cr(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function io(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ct(t),e[t]=n}function xm(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Or),Va=" ",Ha=!1;function rd(e,t){switch(e){case"keyup":return Xm.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function od(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var zn=!1;function qm(e,t){switch(e){case"compositionend":return od(t);case"keypress":return t.which!==32?null:(Ha=!0,Va);case"textInput":return e=t.data,e===Va&&Ha?null:e;default:return null}}function Jm(e,t){if(zn)return e==="compositionend"||!xs&&rd(e,t)?(e=td(),Do=ws=Ht=null,zn=!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)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Ga(n)}}function sd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?sd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function ad(){for(var e=window,t=Jo();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Jo(e.document)}return t}function Es(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")}function sh(e){var t=ad(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&sd(n.ownerDocument.documentElement,n)){if(r!==null&&Es(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=Ya(n,i);var l=Ya(n,r);o&&l&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Ln=null,ku=null,$r=null,xu=!1;function Xa(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;xu||Ln==null||Ln!==Jo(r)||(r=Ln,"selectionStart"in r&&Es(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),$r&&Vr($r,r)||($r=r,r=li(ku,"onSelect"),0In||(e.current=Ou[In],Ou[In]=null,In--)}function H(e,t){In++,Ou[In]=e.current,e.current=t}var tn={},Ee=on(tn),Ne=on(!1),hn=tn;function qn(e,t){var n=e.type.contextTypes;if(!n)return tn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function ze(e){return e=e.childContextTypes,e!=null}function si(){b(Ne),b(Ee)}function rc(e,t,n){if(Ee.current!==tn)throw Error(x(168));H(Ee,t),H(Ne,n)}function vd(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(x(108,rm(e)||"Unknown",o));return q({},n,r)}function ai(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||tn,hn=Ee.current,H(Ee,e),H(Ne,Ne.current),!0}function oc(e,t,n){var r=e.stateNode;if(!r)throw Error(x(169));n?(e=vd(e,t,hn),r.__reactInternalMemoizedMergedChildContext=e,b(Ne),b(Ee),H(Ee,e)):b(Ne),H(Ne,n)}var Pt=null,Ni=!1,Wl=!1;function wd(e){Pt===null?Pt=[e]:Pt.push(e)}function Sh(e){Ni=!0,wd(e)}function ln(){if(!Wl&&Pt!==null){Wl=!0;var e=0,t=B;try{var n=Pt;for(B=1;e>=l,o-=l,Tt=1<<32-ct(t)+o|n<_?(j=k,k=null):j=k.sibling;var R=d(f,k,p[_],v);if(R===null){k===null&&(k=j);break}e&&k&&R.alternate===null&&t(f,k),c=i(R,c,_),E===null?S=R:E.sibling=R,E=R,k=j}if(_===p.length)return n(f,k),G&&un(f,_),S;if(k===null){for(;__?(j=k,k=null):j=k.sibling;var D=d(f,k,R.value,v);if(D===null){k===null&&(k=j);break}e&&k&&D.alternate===null&&t(f,k),c=i(D,c,_),E===null?S=D:E.sibling=D,E=D,k=j}if(R.done)return n(f,k),G&&un(f,_),S;if(k===null){for(;!R.done;_++,R=p.next())R=h(f,R.value,v),R!==null&&(c=i(R,c,_),E===null?S=R:E.sibling=R,E=R);return G&&un(f,_),S}for(k=r(f,k);!R.done;_++,R=p.next())R=w(k,f,_,R.value,v),R!==null&&(e&&R.alternate!==null&&k.delete(R.key===null?_:R.key),c=i(R,c,_),E===null?S=R:E.sibling=R,E=R);return e&&k.forEach(function(V){return t(f,V)}),G&&un(f,_),S}function T(f,c,p,v){if(typeof p=="object"&&p!==null&&p.type===Nn&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case go:e:{for(var S=p.key,E=c;E!==null;){if(E.key===S){if(S=p.type,S===Nn){if(E.tag===7){n(f,E.sibling),c=o(E,p.props.children),c.return=f,f=c;break e}}else if(E.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===Dt&&uc(S)===E.type){n(f,E.sibling),c=o(E,p.props),c.ref=gr(f,E,p),c.return=f,f=c;break e}n(f,E);break}else t(f,E);E=E.sibling}p.type===Nn?(c=mn(p.props.children,f.mode,v,p.key),c.return=f,f=c):(v=Qo(p.type,p.key,p.props,null,f.mode,v),v.ref=gr(f,c,p),v.return=f,f=v)}return l(f);case Mn:e:{for(E=p.key;c!==null;){if(c.key===E)if(c.tag===4&&c.stateNode.containerInfo===p.containerInfo&&c.stateNode.implementation===p.implementation){n(f,c.sibling),c=o(c,p.children||[]),c.return=f,f=c;break e}else{n(f,c);break}else t(f,c);c=c.sibling}c=Xl(p,f.mode,v),c.return=f,f=c}return l(f);case Dt:return E=p._init,T(f,c,E(p._payload),v)}if(Er(p))return g(f,c,p,v);if(dr(p))return y(f,c,p,v);Oo(f,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,c!==null&&c.tag===6?(n(f,c.sibling),c=o(c,p),c.return=f,f=c):(n(f,c),c=Yl(p,f.mode,v),c.return=f,f=c),l(f)):n(f,c)}return T}var er=Ed(!0),Cd=Ed(!1),di=on(null),pi=null,Bn=null,Ts=null;function Os(){Ts=Bn=pi=null}function Rs(e){var t=di.current;b(di),e._currentValue=t}function Mu(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Qn(e,t){pi=e,Ts=Bn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Me=!0),e.firstContext=null)}function Je(e){var t=e._currentValue;if(Ts!==e)if(e={context:e,memoizedValue:t,next:null},Bn===null){if(pi===null)throw Error(x(308));Bn=e,pi.dependencies={lanes:0,firstContext:e}}else Bn=Bn.next=e;return t}var cn=null;function $s(e){cn===null?cn=[e]:cn.push(e)}function _d(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,$s(t)):(n.next=o.next,o.next=n),t.interleaved=n,zt(e,r)}function zt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Bt=!1;function Ms(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Pd(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 $t(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Xt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,A&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,zt(e,n)}return o=r.interleaved,o===null?(t.next=t,$s(r)):(t.next=o.next,o.next=t),r.interleaved=t,zt(e,n)}function Uo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ys(e,n)}}function sc(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=l:i=i.next=l,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function mi(e,t,n,r){var o=e.updateQueue;Bt=!1;var i=o.firstBaseUpdate,l=o.lastBaseUpdate,u=o.shared.pending;if(u!==null){o.shared.pending=null;var s=u,a=s.next;s.next=null,l===null?i=a:l.next=a,l=s;var m=e.alternate;m!==null&&(m=m.updateQueue,u=m.lastBaseUpdate,u!==l&&(u===null?m.firstBaseUpdate=a:u.next=a,m.lastBaseUpdate=s))}if(i!==null){var h=o.baseState;l=0,m=a=s=null,u=i;do{var d=u.lane,w=u.eventTime;if((r&d)===d){m!==null&&(m=m.next={eventTime:w,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var g=e,y=u;switch(d=t,w=n,y.tag){case 1:if(g=y.payload,typeof g=="function"){h=g.call(w,h,d);break e}h=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=y.payload,d=typeof g=="function"?g.call(w,h,d):g,d==null)break e;h=q({},h,d);break e;case 2:Bt=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,d=o.effects,d===null?o.effects=[u]:d.push(u))}else w={eventTime:w,lane:d,tag:u.tag,payload:u.payload,callback:u.callback,next:null},m===null?(a=m=w,s=h):m=m.next=w,l|=d;if(u=u.next,u===null){if(u=o.shared.pending,u===null)break;d=u,u=d.next,d.next=null,o.lastBaseUpdate=d,o.shared.pending=null}}while(!0);if(m===null&&(s=h),o.baseState=s,o.firstBaseUpdate=a,o.lastBaseUpdate=m,t=o.shared.interleaved,t!==null){o=t;do l|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);vn|=l,e.lanes=l,e.memoizedState=h}}function ac(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Hl.transition;Hl.transition={};try{e(!1),t()}finally{B=n,Hl.transition=r}}function Vd(){return et().memoizedState}function Ch(e,t,n){var r=qt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Hd(e))Kd(t,n);else if(n=_d(e,t,n,r),n!==null){var o=Te();ft(n,e,r,o),bd(n,t,r)}}function _h(e,t,n){var r=qt(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Hd(e))Kd(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var l=t.lastRenderedState,u=i(l,n);if(o.hasEagerState=!0,o.eagerState=u,dt(u,l)){var s=t.interleaved;s===null?(o.next=o,$s(t)):(o.next=s.next,s.next=o),t.interleaved=o;return}}catch{}finally{}n=_d(e,t,o,r),n!==null&&(o=Te(),ft(n,e,r,o),bd(n,t,r))}}function Hd(e){var t=e.alternate;return e===Z||t!==null&&t===Z}function Kd(e,t){Mr=yi=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function bd(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ys(e,n)}}var gi={readContext:Je,useCallback:we,useContext:we,useEffect:we,useImperativeHandle:we,useInsertionEffect:we,useLayoutEffect:we,useMemo:we,useReducer:we,useRef:we,useState:we,useDebugValue:we,useDeferredValue:we,useTransition:we,useMutableSource:we,useSyncExternalStore:we,useId:we,unstable_isNewReconciler:!1},Ph={readContext:Je,useCallback:function(e,t){return ht().memoizedState=[e,t===void 0?null:t],e},useContext:Je,useEffect:fc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Vo(4194308,4,Fd.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Vo(4194308,4,e,t)},useInsertionEffect:function(e,t){return Vo(4,2,e,t)},useMemo:function(e,t){var n=ht();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ht();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Ch.bind(null,Z,e),[r.memoizedState,e]},useRef:function(e){var t=ht();return e={current:e},t.memoizedState=e},useState:cc,useDebugValue:Ds,useDeferredValue:function(e){return ht().memoizedState=e},useTransition:function(){var e=cc(!1),t=e[0];return e=Eh.bind(null,e[1]),ht().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Z,o=ht();if(G){if(n===void 0)throw Error(x(407));n=n()}else{if(n=t(),de===null)throw Error(x(349));gn&30||$d(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,fc(Nd.bind(null,r,i,e),[e]),r.flags|=2048,Zr(9,Md.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=ht(),t=de.identifierPrefix;if(G){var n=Ot,r=Tt;n=(r&~(1<<32-ct(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Yr++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[vt]=t,e[br]=r,np(e,t,!1,!1),t.stateNode=e;e:{switch(l=pu(n,r),n){case"dialog":K("cancel",e),K("close",e),o=r;break;case"iframe":case"object":case"embed":K("load",e),o=r;break;case"video":case"audio":for(o=0;o<_r.length;o++)K(_r[o],e);o=r;break;case"source":K("error",e),o=r;break;case"img":case"image":case"link":K("error",e),K("load",e),o=r;break;case"details":K("toggle",e),o=r;break;case"input":$a(e,r),o=uu(e,r),K("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=q({},r,{value:void 0}),K("invalid",e);break;case"textarea":Na(e,r),o=cu(e,r),K("invalid",e);break;default:o=r}du(n,o),u=o;for(i in u)if(u.hasOwnProperty(i)){var s=u[i];i==="style"?jf(e,s):i==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,s!=null&&zf(e,s)):i==="children"?typeof s=="string"?(n!=="textarea"||s!=="")&&Ir(e,s):typeof s=="number"&&Ir(e,""+s):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(Ar.hasOwnProperty(i)?s!=null&&i==="onScroll"&&K("scroll",e):s!=null&&cs(e,i,s,l))}switch(n){case"input":vo(e),Ma(e,r,!1);break;case"textarea":vo(e),za(e);break;case"option":r.value!=null&&e.setAttribute("value",""+en(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?Vn(e,!!r.multiple,i,!1):r.defaultValue!=null&&Vn(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=ui)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Se(t),null;case 6:if(e&&t.stateNode!=null)op(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(x(166));if(n=fn(Gr.current),fn(St.current),To(t)){if(r=t.stateNode,n=t.memoizedProps,r[vt]=t,(i=r.nodeValue!==n)&&(e=De,e!==null))switch(e.tag){case 3:Po(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Po(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[vt]=t,t.stateNode=r}return Se(t),null;case 13:if(b(X),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(G&&Fe!==null&&t.mode&1&&!(t.flags&128))xd(),Jn(),t.flags|=98560,i=!1;else if(i=To(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(x(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(x(317));i[vt]=t}else Jn(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Se(t),i=!1}else at!==null&&(Qu(at),at=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||X.current&1?ce===0&&(ce=3):bs())),t.updateQueue!==null&&(t.flags|=4),Se(t),null);case 4:return tr(),Du(e,t),e===null&&Hr(t.stateNode.containerInfo),Se(t),null;case 10:return Rs(t.type._context),Se(t),null;case 17:return ze(t.type)&&si(),Se(t),null;case 19:if(b(X),i=t.memoizedState,i===null)return Se(t),null;if(r=(t.flags&128)!==0,l=i.rendering,l===null)if(r)vr(i,!1);else{if(ce!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(l=hi(e),l!==null){for(t.flags|=128,vr(i,!1),r=l.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,l=i.alternate,l===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=l.childLanes,i.lanes=l.lanes,i.child=l.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=l.memoizedProps,i.memoizedState=l.memoizedState,i.updateQueue=l.updateQueue,i.type=l.type,e=l.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return H(X,X.current&1|2),t.child}e=e.sibling}i.tail!==null&&ne()>rr&&(t.flags|=128,r=!0,vr(i,!1),t.lanes=4194304)}else{if(!r)if(e=hi(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),vr(i,!0),i.tail===null&&i.tailMode==="hidden"&&!l.alternate&&!G)return Se(t),null}else 2*ne()-i.renderingStartTime>rr&&n!==1073741824&&(t.flags|=128,r=!0,vr(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(n=i.last,n!==null?n.sibling=l:t.child=l,i.last=l)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=ne(),t.sibling=null,n=X.current,H(X,r?n&1|2:n&1),t):(Se(t),null);case 22:case 23:return Ks(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ae&1073741824&&(Se(t),t.subtreeFlags&6&&(t.flags|=8192)):Se(t),null;case 24:return null;case 25:return null}throw Error(x(156,t.tag))}function Lh(e,t){switch(_s(t),t.tag){case 1:return ze(t.type)&&si(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return tr(),b(Ne),b(Ee),Ls(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return zs(t),null;case 13:if(b(X),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(x(340));Jn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return b(X),null;case 4:return tr(),null;case 10:return Rs(t.type._context),null;case 22:case 23:return Ks(),null;case 24:return null;default:return null}}var $o=!1,xe=!1,jh=typeof WeakSet=="function"?WeakSet:Set,P=null;function Un(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){te(e,t,r)}else n.current=null}function Bu(e,t,n){try{n()}catch(r){te(e,t,r)}}var xc=!1;function Ah(e,t){if(Eu=oi,e=ad(),Es(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var l=0,u=-1,s=-1,a=0,m=0,h=e,d=null;t:for(;;){for(var w;h!==n||o!==0&&h.nodeType!==3||(u=l+o),h!==i||r!==0&&h.nodeType!==3||(s=l+r),h.nodeType===3&&(l+=h.nodeValue.length),(w=h.firstChild)!==null;)d=h,h=w;for(;;){if(h===e)break t;if(d===n&&++a===o&&(u=l),d===i&&++m===r&&(s=l),(w=h.nextSibling)!==null)break;h=d,d=h.parentNode}h=w}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(Cu={focusedElem:e,selectionRange:n},oi=!1,P=t;P!==null;)if(t=P,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,P=e;else for(;P!==null;){t=P;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var y=g.memoizedProps,T=g.memoizedState,f=t.stateNode,c=f.getSnapshotBeforeUpdate(t.elementType===t.type?y:ut(t.type,y),T);f.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(x(163))}}catch(v){te(t,t.return,v)}if(e=t.sibling,e!==null){e.return=t.return,P=e;break}P=t.return}return g=xc,xc=!1,g}function Nr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&Bu(t,n,i)}o=o.next}while(o!==r)}}function ji(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Uu(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function ip(e){var t=e.alternate;t!==null&&(e.alternate=null,ip(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[vt],delete t[br],delete t[Tu],delete t[vh],delete t[wh])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function lp(e){return e.tag===5||e.tag===3||e.tag===4}function Ec(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||lp(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Wu(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=ui));else if(r!==4&&(e=e.child,e!==null))for(Wu(e,t,n),e=e.sibling;e!==null;)Wu(e,t,n),e=e.sibling}function Vu(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Vu(e,t,n),e=e.sibling;e!==null;)Vu(e,t,n),e=e.sibling}var me=null,st=!1;function Ft(e,t,n){for(n=n.child;n!==null;)up(e,t,n),n=n.sibling}function up(e,t,n){if(wt&&typeof wt.onCommitFiberUnmount=="function")try{wt.onCommitFiberUnmount(Ti,n)}catch{}switch(n.tag){case 5:xe||Un(n,t);case 6:var r=me,o=st;me=null,Ft(e,t,n),me=r,st=o,me!==null&&(st?(e=me,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):me.removeChild(n.stateNode));break;case 18:me!==null&&(st?(e=me,n=n.stateNode,e.nodeType===8?Ul(e.parentNode,n):e.nodeType===1&&Ul(e,n),Ur(e)):Ul(me,n.stateNode));break;case 4:r=me,o=st,me=n.stateNode.containerInfo,st=!0,Ft(e,t,n),me=r,st=o;break;case 0:case 11:case 14:case 15:if(!xe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,l=i.destroy;i=i.tag,l!==void 0&&(i&2||i&4)&&Bu(n,t,l),o=o.next}while(o!==r)}Ft(e,t,n);break;case 1:if(!xe&&(Un(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){te(n,t,u)}Ft(e,t,n);break;case 21:Ft(e,t,n);break;case 22:n.mode&1?(xe=(r=xe)||n.memoizedState!==null,Ft(e,t,n),xe=r):Ft(e,t,n);break;default:Ft(e,t,n)}}function Cc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new jh),t.forEach(function(r){var o=Kh.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function lt(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=l),r&=~i}if(r=o,r=ne()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Fh(r/1960))-r,10e?16:e,Kt===null)var r=!1;else{if(e=Kt,Kt=null,Si=0,A&6)throw Error(x(331));var o=A;for(A|=4,P=e.current;P!==null;){var i=P,l=i.child;if(P.flags&16){var u=i.deletions;if(u!==null){for(var s=0;sne()-Vs?pn(e,0):Ws|=n),Le(e,t)}function hp(e,t){t===0&&(e.mode&1?(t=ko,ko<<=1,!(ko&130023424)&&(ko=4194304)):t=1);var n=Te();e=zt(e,t),e!==null&&(io(e,t,n),Le(e,n))}function Hh(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),hp(e,n)}function Kh(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(x(314))}r!==null&&r.delete(t),hp(e,n)}var yp;yp=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ne.current)Me=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Me=!1,Nh(e,t,n);Me=!!(e.flags&131072)}else Me=!1,G&&t.flags&1048576&&Sd(t,fi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ho(e,t),e=t.pendingProps;var o=qn(t,Ee.current);Qn(t,n),o=As(null,t,r,e,o,n);var i=Is();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ze(r)?(i=!0,ai(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Ms(t),o.updater=Li,t.stateNode=o,o._reactInternals=t,zu(t,r,e,n),t=Au(null,t,r,!0,i,n)):(t.tag=0,G&&i&&Cs(t),Pe(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ho(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=Qh(r),e=ut(r,e),o){case 0:t=ju(null,t,r,e,n);break e;case 1:t=wc(null,t,r,e,n);break e;case 11:t=gc(null,t,r,e,n);break e;case 14:t=vc(null,t,r,ut(r.type,e),n);break e}throw Error(x(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ut(r,o),ju(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ut(r,o),wc(e,t,r,o,n);case 3:e:{if(Jd(t),e===null)throw Error(x(387));r=t.pendingProps,i=t.memoizedState,o=i.element,Pd(e,t),mi(t,r,null,n);var l=t.memoizedState;if(r=l.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=nr(Error(x(423)),t),t=Sc(e,t,r,n,o);break e}else if(r!==o){o=nr(Error(x(424)),t),t=Sc(e,t,r,n,o);break e}else for(Fe=Yt(t.stateNode.containerInfo.firstChild),De=t,G=!0,at=null,n=Cd(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Jn(),r===o){t=Lt(e,t,n);break e}Pe(e,t,r,n)}t=t.child}return t;case 5:return Td(t),e===null&&$u(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,l=o.children,_u(r,o)?l=null:i!==null&&_u(r,i)&&(t.flags|=32),qd(e,t),Pe(e,t,l,n),t.child;case 6:return e===null&&$u(t),null;case 13:return ep(e,t,n);case 4:return Ns(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=er(t,null,r,n):Pe(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ut(r,o),gc(e,t,r,o,n);case 7:return Pe(e,t,t.pendingProps,n),t.child;case 8:return Pe(e,t,t.pendingProps.children,n),t.child;case 12:return Pe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,l=o.value,H(di,r._currentValue),r._currentValue=l,i!==null)if(dt(i.value,l)){if(i.children===o.children&&!Ne.current){t=Lt(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var u=i.dependencies;if(u!==null){l=i.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(i.tag===1){s=$t(-1,n&-n),s.tag=2;var a=i.updateQueue;if(a!==null){a=a.shared;var m=a.pending;m===null?s.next=s:(s.next=m.next,m.next=s),a.pending=s}}i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),Mu(i.return,n,t),u.lanes|=n;break}s=s.next}}else if(i.tag===10)l=i.type===t.type?null:i.child;else if(i.tag===18){if(l=i.return,l===null)throw Error(x(341));l.lanes|=n,u=l.alternate,u!==null&&(u.lanes|=n),Mu(l,n,t),l=i.sibling}else l=i.child;if(l!==null)l.return=i;else for(l=i;l!==null;){if(l===t){l=null;break}if(i=l.sibling,i!==null){i.return=l.return,l=i;break}l=l.return}i=l}Pe(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Qn(t,n),o=Je(o),r=r(o),t.flags|=1,Pe(e,t,r,n),t.child;case 14:return r=t.type,o=ut(r,t.pendingProps),o=ut(r.type,o),vc(e,t,r,o,n);case 15:return Xd(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ut(r,o),Ho(e,t),t.tag=1,ze(r)?(e=!0,ai(t)):e=!1,Qn(t,n),Qd(t,r,o),zu(t,r,o,n),Au(null,t,r,!0,e,n);case 19:return tp(e,t,n);case 22:return Zd(e,t,n)}throw Error(x(156,t.tag))};function gp(e,t){return Hf(e,t)}function bh(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ze(e,t,n,r){return new bh(e,t,n,r)}function Qs(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Qh(e){if(typeof e=="function")return Qs(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ds)return 11;if(e===ps)return 14}return 2}function Jt(e,t){var n=e.alternate;return n===null?(n=Ze(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Qo(e,t,n,r,o,i){var l=2;if(r=e,typeof e=="function")Qs(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case Nn:return mn(n.children,o,i,t);case fs:l=8,o|=8;break;case ru:return e=Ze(12,n,t,o|2),e.elementType=ru,e.lanes=i,e;case ou:return e=Ze(13,n,t,o),e.elementType=ou,e.lanes=i,e;case iu:return e=Ze(19,n,t,o),e.elementType=iu,e.lanes=i,e;case Tf:return Ii(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case _f:l=10;break e;case Pf:l=9;break e;case ds:l=11;break e;case ps:l=14;break e;case Dt:l=16,r=null;break e}throw Error(x(130,e==null?e:typeof e,""))}return t=Ze(l,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function mn(e,t,n,r){return e=Ze(7,e,r,t),e.lanes=n,e}function Ii(e,t,n,r){return e=Ze(22,e,r,t),e.elementType=Tf,e.lanes=n,e.stateNode={isHidden:!1},e}function Yl(e,t,n){return e=Ze(6,e,null,t),e.lanes=n,e}function Xl(e,t,n){return t=Ze(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Gh(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=$l(0),this.expirationTimes=$l(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=$l(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Gs(e,t,n,r,o,i,l,u,s){return e=new Gh(e,t,n,u,s),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Ze(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ms(i),e}function Yh(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(kp)}catch(e){console.error(e)}}kp(),kf.exports=We;var ey=kf.exports,Nc=ey;Pa.createRoot=Nc.createRoot,Pa.hydrateRoot=Nc.hydrateRoot;function pt(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function z(){return z=Object.assign?Object.assign.bind():function(e){for(var t=1;t{if(r.toString().match(/^(components|slots)$/))n[r]=z({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},i=t[r];n[r]={},!i||!Object.keys(i)?n[r]=o:!o||!Object.keys(o)?n[r]=i:(n[r]=z({},i),Object.keys(o).forEach(l=>{n[r][l]=Gu(o[l],i[l])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function ty(e,t,n=void 0){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((i,l)=>{if(l){const u=t(l);u!==""&&i.push(u),n&&n[l]&&i.push(n[l])}return i},[]).join(" ")}),r}var re={},Ep={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Ep);var Cp=Ep.exports;function Jr(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function fy(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function tt(e){if(e.type)return e;if(e.charAt(0)==="#")return tt(Pp(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error((0,zc.default)(9,e));let r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error((0,zc.default)(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}const Tp=e=>{const t=tt(e);return t.values.slice(0,3).map((n,r)=>t.type.indexOf("hsl")!==-1&&r!==0?`${n}%`:n).join(" ")};re.colorChannel=Tp;const dy=(e,t)=>{try{return Tp(e)}catch{return e}};re.private_safeColorChannel=dy;function sr(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((o,i)=>i<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function py(e){if(e.indexOf("#")===0)return e;const{values:t}=tt(e);return`#${t.map((n,r)=>fy(r===3?Math.round(255*n):n)).join("")}`}function Op(e){e=tt(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),l=(a,m=(a+n/30)%12)=>o-i*Math.max(Math.min(m-3,9-m,1),-1);let u="rgb";const s=[Math.round(l(0)*255),Math.round(l(8)*255),Math.round(l(4)*255)];return e.type==="hsla"&&(u+="a",s.push(t[3])),sr({type:u,values:s})}function Ei(e){e=tt(e);let t=e.type==="hsl"||e.type==="hsla"?tt(Op(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function my(e,t){const n=Ei(e),r=Ei(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Rp(e,t){return e=tt(e),t=qs(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,sr(e)}function hy(e,t,n){try{return Rp(e,t)}catch{return e}}function Js(e,t){if(e=tt(e),t=qs(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return sr(e)}function yy(e,t,n){try{return Js(e,t)}catch{return e}}function ea(e,t){if(e=tt(e),t=qs(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return sr(e)}function gy(e,t,n){try{return ea(e,t)}catch{return e}}function $p(e,t=.15){return Ei(e)>.5?Js(e,t):ea(e,t)}function vy(e,t,n){try{return $p(e,t)}catch{return e}}function wy(e,t,n,r=1){const o=(s,a)=>Math.round((s**(1/r)*(1-n)+a**(1/r)*n)**r),i=tt(e),l=tt(t),u=[o(i.values[0],l.values[0]),o(i.values[1],l.values[1]),o(i.values[2],l.values[2])];return sr({type:"rgb",values:u})}var ao={},Zl={exports:{}},Lc;function Sy(){return Lc||(Lc=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(n){for(var r=1;r0?he(ar,--je):0,or--,ue===10&&(or=1,Vi--),ue}function Be(){return ue=je2||to(ue)>3?"":" "}function Fy(e,t){for(;--t&&Be()&&!(ue<48||ue>102||ue>57&&ue<65||ue>70&&ue<97););return co(e,Go()+(t<6&&kt()==32&&Be()==32))}function Xu(e){for(;Be();)switch(ue){case e:return je;case 34:case 39:e!==34&&e!==39&&Xu(ue);break;case 40:e===41&&Xu(e);break;case 92:Be();break}return je}function Dy(e,t){for(;Be()&&e+ue!==57;)if(e+ue===84&&kt()===47)break;return"/*"+co(t,je-1)+"*"+Wi(e===47?e:Be())}function By(e){for(;!to(kt());)Be();return co(e,je)}function Uy(e){return Ip(Xo("",null,null,null,[""],e=Ap(e),0,[0],e))}function Xo(e,t,n,r,o,i,l,u,s){for(var a=0,m=0,h=l,d=0,w=0,g=0,y=1,T=1,f=1,c=0,p="",v=o,S=i,E=r,k=p;T;)switch(g=c,c=Be()){case 40:if(g!=108&&he(k,h-1)==58){Yu(k+=F(Yo(c),"&","&\f"),"&\f")!=-1&&(f=-1);break}case 34:case 39:case 91:k+=Yo(c);break;case 9:case 10:case 13:case 32:k+=Iy(g);break;case 92:k+=Fy(Go()-1,7);continue;case 47:switch(kt()){case 42:case 47:zo(Wy(Dy(Be(),Go()),t,n),s);break;default:k+="/"}break;case 123*y:u[a++]=yt(k)*f;case 125*y:case 59:case 0:switch(c){case 0:case 125:T=0;case 59+m:f==-1&&(k=F(k,/\f/g,"")),w>0&&yt(k)-h&&zo(w>32?Ic(k+";",r,n,h-1):Ic(F(k," ","")+";",r,n,h-2),s);break;case 59:k+=";";default:if(zo(E=Ac(k,t,n,a,m,o,u,p,v=[],S=[],h),i),c===123)if(m===0)Xo(k,t,E,E,v,i,h,u,S);else switch(d===99&&he(k,3)===110?100:d){case 100:case 108:case 109:case 115:Xo(e,E,E,r&&zo(Ac(e,E,E,0,0,o,u,p,o,v=[],h),S),o,S,h,u,r?v:S);break;default:Xo(k,E,E,E,[""],S,0,u,S)}}a=m=w=0,y=f=1,p=k="",h=l;break;case 58:h=1+yt(k),w=g;default:if(y<1){if(c==123)--y;else if(c==125&&y++==0&&Ay()==125)continue}switch(k+=Wi(c),c*y){case 38:f=m>0?1:(k+="\f",-1);break;case 44:u[a++]=(yt(k)-1)*f,f=1;break;case 64:kt()===45&&(k+=Yo(Be())),d=kt(),m=h=yt(p=k+=By(Go())),c++;break;case 45:g===45&&yt(k)==2&&(y=0)}}return i}function Ac(e,t,n,r,o,i,l,u,s,a,m){for(var h=o-1,d=o===0?i:[""],w=ra(d),g=0,y=0,T=0;g0?d[f]+" "+c:F(c,/&\f/g,d[f])))&&(s[T++]=p);return Hi(e,t,n,o===0?ta:u,s,a,m)}function Wy(e,t,n){return Hi(e,t,n,Np,Wi(jy()),eo(e,2,-2),0)}function Ic(e,t,n,r){return Hi(e,t,n,na,eo(e,0,r),eo(e,r+1,-1),r)}function Yn(e,t){for(var n="",r=ra(e),o=0;o6)switch(he(e,t+1)){case 109:if(he(e,t+4)!==45)break;case 102:return F(e,/(.+:)(.+)-([^]+)/,"$1"+I+"$2-$3$1"+Ci+(he(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Yu(e,"stretch")?Fp(F(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(he(e,t+1)!==115)break;case 6444:switch(he(e,yt(e)-3-(~Yu(e,"!important")&&10))){case 107:return F(e,":",":"+I)+e;case 101:return F(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+I+(he(e,14)===45?"inline-":"")+"box$3$1"+I+"$2$3$1"+ke+"$2box$3")+e}break;case 5936:switch(he(e,t+11)){case 114:return I+e+ke+F(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return I+e+ke+F(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return I+e+ke+F(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return I+e+ke+e+e}return e}var Zy=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case na:t.return=Fp(t.value,t.length);break;case zp:return Yn([Sr(t,{value:F(t.value,"@","@"+I)})],o);case ta:if(t.length)return Ly(t.props,function(i){switch(zy(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Yn([Sr(t,{props:[F(i,/:(read-\w+)/,":"+Ci+"$1")]})],o);case"::placeholder":return Yn([Sr(t,{props:[F(i,/:(plac\w+)/,":"+I+"input-$1")]}),Sr(t,{props:[F(i,/:(plac\w+)/,":"+Ci+"$1")]}),Sr(t,{props:[F(i,/:(plac\w+)/,ke+"input-$1")]})],o)}return""})}},qy=[Zy],Dp=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(y){var T=y.getAttribute("data-emotion");T.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var o=t.stylisPlugins||qy,i={},l,u=[];l=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(y){for(var T=y.getAttribute("data-emotion").split(" "),f=1;f=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&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 cg={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},fg=!1,dg=/[A-Z]|^ms/g,pg=/_EMO_([^_]+?)_([^]*?)_EMO_/g,bp=function(t){return t.charCodeAt(1)===45},Dc=function(t){return t!=null&&typeof t!="boolean"},Jl=Mp(function(e){return bp(e)?e:e.replace(dg,"-$&").toLowerCase()}),Bc=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(pg,function(r,o,i){return gt={name:o,styles:i,next:gt},o})}return cg[t]!==1&&!bp(t)&&typeof n=="number"&&n!==0?n+"px":n},mg="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function no(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return gt={name:o.name,styles:o.styles,next:gt},o.name;var i=n;if(i.styles!==void 0){var l=i.next;if(l!==void 0)for(;l!==void 0;)gt={name:l.name,styles:l.styles,next:gt},l=l.next;var u=i.styles+";";return u}return hg(e,t,n)}case"function":{if(e!==void 0){var s=gt,a=n(e);return gt=s,no(e,t,a)}break}}var m=n;if(t==null)return m;var h=t[m];return h!==void 0?h:m}function hg(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o96?Sg:kg},Hc=function(t,n,r){var o;if(n){var i=n.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(l){return t.__emotion_forwardProp(l)&&i(l)}:i}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},xg=!1,Eg=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return Hp(n,r,o),gg(function(){return Kp(n,r,o)}),null},Cg=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,i,l;n!==void 0&&(i=n.label,l=n.target);var u=Hc(t,n,r),s=u||Vc(o),a=!s("as");return function(){var m=arguments,h=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&h.push("label:"+i+";"),m[0]==null||m[0].raw===void 0)h.push.apply(h,m);else{h.push(m[0][0]);for(var d=m.length,w=1;wt(Tg(o)?n:o):t;return Rt.jsx(wg,{styles:r})}function Rg(e,t){return Zu(e,t)}const $g=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},Mg=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:Og,StyledEngineProvider:Pg,ThemeContext:tl,css:Xp,default:Rg,internal_processStyles:$g,keyframes:nl},Symbol.toStringTag,{value:"Module"})),Ng=nn(Mg);function Vt(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Zp(e){if(!Vt(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=Zp(e[n])}),t}function xt(e,t,n={clone:!0}){const r=n.clone?z({},e):e;return Vt(e)&&Vt(t)&&Object.keys(t).forEach(o=>{Vt(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Vt(e[o])?r[o]=xt(e[o],t[o],n):n.clone?r[o]=Vt(t[o])?Zp(t[o]):t[o]:r[o]=t[o]}),r}const zg=Object.freeze(Object.defineProperty({__proto__:null,default:xt,isPlainObject:Vt},Symbol.toStringTag,{value:"Module"})),Lg=nn(zg);function sa(e){if(typeof e!="string")throw new Error(Jr(7));return e.charAt(0).toUpperCase()+e.slice(1)}const jg=Object.freeze(Object.defineProperty({__proto__:null,default:sa},Symbol.toStringTag,{value:"Module"})),Ag=nn(jg);var qp={exports:{}},W={};/** + * @license React + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var aa=Symbol.for("react.element"),ca=Symbol.for("react.portal"),rl=Symbol.for("react.fragment"),ol=Symbol.for("react.strict_mode"),il=Symbol.for("react.profiler"),ll=Symbol.for("react.provider"),ul=Symbol.for("react.context"),Ig=Symbol.for("react.server_context"),sl=Symbol.for("react.forward_ref"),al=Symbol.for("react.suspense"),cl=Symbol.for("react.suspense_list"),fl=Symbol.for("react.memo"),dl=Symbol.for("react.lazy"),Fg=Symbol.for("react.offscreen"),Jp;Jp=Symbol.for("react.module.reference");function nt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case aa:switch(e=e.type,e){case rl:case il:case ol:case al:case cl:return e;default:switch(e=e&&e.$$typeof,e){case Ig:case ul:case sl:case dl:case fl:case ll:return e;default:return t}}case ca:return t}}}W.ContextConsumer=ul;W.ContextProvider=ll;W.Element=aa;W.ForwardRef=sl;W.Fragment=rl;W.Lazy=dl;W.Memo=fl;W.Portal=ca;W.Profiler=il;W.StrictMode=ol;W.Suspense=al;W.SuspenseList=cl;W.isAsyncMode=function(){return!1};W.isConcurrentMode=function(){return!1};W.isContextConsumer=function(e){return nt(e)===ul};W.isContextProvider=function(e){return nt(e)===ll};W.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===aa};W.isForwardRef=function(e){return nt(e)===sl};W.isFragment=function(e){return nt(e)===rl};W.isLazy=function(e){return nt(e)===dl};W.isMemo=function(e){return nt(e)===fl};W.isPortal=function(e){return nt(e)===ca};W.isProfiler=function(e){return nt(e)===il};W.isStrictMode=function(e){return nt(e)===ol};W.isSuspense=function(e){return nt(e)===al};W.isSuspenseList=function(e){return nt(e)===cl};W.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===rl||e===il||e===ol||e===al||e===cl||e===Fg||typeof e=="object"&&e!==null&&(e.$$typeof===dl||e.$$typeof===fl||e.$$typeof===ll||e.$$typeof===ul||e.$$typeof===sl||e.$$typeof===Jp||e.getModuleId!==void 0)};W.typeOf=nt;qp.exports=W;var Kc=qp.exports;const Dg=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function e0(e){const t=`${e}`.match(Dg);return t&&t[1]||""}function t0(e,t=""){return e.displayName||e.name||e0(e)||t}function bc(e,t,n){const r=t0(t);return e.displayName||(r!==""?`${n}(${r})`:n)}function Bg(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return t0(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Kc.ForwardRef:return bc(e,e.render,"ForwardRef");case Kc.Memo:return bc(e,e.type,"memo");default:return}}}const Ug=Object.freeze(Object.defineProperty({__proto__:null,default:Bg,getFunctionName:e0},Symbol.toStringTag,{value:"Module"})),Wg=nn(Ug),Vg=["values","unit","step"],Hg=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>z({},n,{[r.key]:r.val}),{})};function n0(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=pt(e,Vg),i=Hg(t),l=Object.keys(i);function u(d){return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${n})`}function s(d){return`@media (max-width:${(typeof t[d]=="number"?t[d]:d)-r/100}${n})`}function a(d,w){const g=l.indexOf(w);return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${n}) and (max-width:${(g!==-1&&typeof t[l[g]]=="number"?t[l[g]]:w)-r/100}${n})`}function m(d){return l.indexOf(d)+1`@media (min-width:${fa[e]}px)`};function jt(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||Qc;return t.reduce((l,u,s)=>(l[i.up(i.keys[s])]=n(t[s]),l),{})}if(typeof t=="object"){const i=r.breakpoints||Qc;return Object.keys(t).reduce((l,u)=>{if(Object.keys(i.values||fa).indexOf(u)!==-1){const s=i.up(u);l[s]=n(t[u],u)}else{const s=u;l[s]=t[s]}return l},{})}return n(t)}function bg(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function Qg(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function pl(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(r!=null)return r}return t.split(".").reduce((r,o)=>r&&r[o]!=null?r[o]:null,e)}function _i(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=pl(e,n)||r,t&&(o=t(o,r,e)),o}function oe(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=l=>{if(l[t]==null)return null;const u=l[t],s=l.theme,a=pl(s,r)||{};return jt(l,u,h=>{let d=_i(a,o,h);return h===d&&typeof h=="string"&&(d=_i(a,o,`${t}${h==="default"?"":sa(h)}`,h)),n===!1?d:{[n]:d}})};return i.propTypes={},i.filterProps=[t],i}function Gg(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const Yg={m:"margin",p:"padding"},Xg={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Gc={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Zg=Gg(e=>{if(e.length>2)if(Gc[e])e=Gc[e];else return[e];const[t,n]=e.split(""),r=Yg[t],o=Xg[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),da=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],pa=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...da,...pa];function fo(e,t,n,r){var o;const i=(o=pl(e,t,!1))!=null?o:n;return typeof i=="number"?l=>typeof l=="string"?l:i*l:Array.isArray(i)?l=>typeof l=="string"?l:i[l]:typeof i=="function"?i:()=>{}}function r0(e){return fo(e,"spacing",8)}function po(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function qg(e,t){return n=>e.reduce((r,o)=>(r[o]=po(t,n),r),{})}function Jg(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=Zg(n),i=qg(o,r),l=e[n];return jt(e,l,i)}function o0(e,t){const n=r0(e.theme);return Object.keys(e).map(r=>Jg(e,t,r,n)).reduce(jr,{})}function J(e){return o0(e,da)}J.propTypes={};J.filterProps=da;function ee(e){return o0(e,pa)}ee.propTypes={};ee.filterProps=pa;function e1(e=8){if(e.mui)return e;const t=r0({spacing:e}),n=(...r)=>(r.length===0?[1]:r).map(i=>{const l=t(i);return typeof l=="number"?`${l}px`:l}).join(" ");return n.mui=!0,n}function ml(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(i=>{r[i]=o}),r),{}),n=r=>Object.keys(r).reduce((o,i)=>t[i]?jr(o,t[i](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function Xe(e){return typeof e!="number"?e:`${e}px solid`}function rt(e,t){return oe({prop:e,themeKey:"borders",transform:t})}const t1=rt("border",Xe),n1=rt("borderTop",Xe),r1=rt("borderRight",Xe),o1=rt("borderBottom",Xe),i1=rt("borderLeft",Xe),l1=rt("borderColor"),u1=rt("borderTopColor"),s1=rt("borderRightColor"),a1=rt("borderBottomColor"),c1=rt("borderLeftColor"),f1=rt("outline",Xe),d1=rt("outlineColor"),hl=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=fo(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:po(t,r)});return jt(e,e.borderRadius,n)}return null};hl.propTypes={};hl.filterProps=["borderRadius"];ml(t1,n1,r1,o1,i1,l1,u1,s1,a1,c1,hl,f1,d1);const yl=e=>{if(e.gap!==void 0&&e.gap!==null){const t=fo(e.theme,"spacing",8),n=r=>({gap:po(t,r)});return jt(e,e.gap,n)}return null};yl.propTypes={};yl.filterProps=["gap"];const gl=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=fo(e.theme,"spacing",8),n=r=>({columnGap:po(t,r)});return jt(e,e.columnGap,n)}return null};gl.propTypes={};gl.filterProps=["columnGap"];const vl=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=fo(e.theme,"spacing",8),n=r=>({rowGap:po(t,r)});return jt(e,e.rowGap,n)}return null};vl.propTypes={};vl.filterProps=["rowGap"];const p1=oe({prop:"gridColumn"}),m1=oe({prop:"gridRow"}),h1=oe({prop:"gridAutoFlow"}),y1=oe({prop:"gridAutoColumns"}),g1=oe({prop:"gridAutoRows"}),v1=oe({prop:"gridTemplateColumns"}),w1=oe({prop:"gridTemplateRows"}),S1=oe({prop:"gridTemplateAreas"}),k1=oe({prop:"gridArea"});ml(yl,gl,vl,p1,m1,h1,y1,g1,v1,w1,S1,k1);function Xn(e,t){return t==="grey"?t:e}const x1=oe({prop:"color",themeKey:"palette",transform:Xn}),E1=oe({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Xn}),C1=oe({prop:"backgroundColor",themeKey:"palette",transform:Xn});ml(x1,E1,C1);function Ie(e){return e<=1&&e!==0?`${e*100}%`:e}const _1=oe({prop:"width",transform:Ie}),ma=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,o;const i=((r=e.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[n])||fa[n];return i?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:Ie(n)}};return jt(e,e.maxWidth,t)}return null};ma.filterProps=["maxWidth"];const P1=oe({prop:"minWidth",transform:Ie}),T1=oe({prop:"height",transform:Ie}),O1=oe({prop:"maxHeight",transform:Ie}),R1=oe({prop:"minHeight",transform:Ie});oe({prop:"size",cssProperty:"width",transform:Ie});oe({prop:"size",cssProperty:"height",transform:Ie});const $1=oe({prop:"boxSizing"});ml(_1,ma,P1,T1,O1,R1,$1);const mo={border:{themeKey:"borders",transform:Xe},borderTop:{themeKey:"borders",transform:Xe},borderRight:{themeKey:"borders",transform:Xe},borderBottom:{themeKey:"borders",transform:Xe},borderLeft:{themeKey:"borders",transform:Xe},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Xe},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:hl},color:{themeKey:"palette",transform:Xn},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Xn},backgroundColor:{themeKey:"palette",transform:Xn},p:{style:ee},pt:{style:ee},pr:{style:ee},pb:{style:ee},pl:{style:ee},px:{style:ee},py:{style:ee},padding:{style:ee},paddingTop:{style:ee},paddingRight:{style:ee},paddingBottom:{style:ee},paddingLeft:{style:ee},paddingX:{style:ee},paddingY:{style:ee},paddingInline:{style:ee},paddingInlineStart:{style:ee},paddingInlineEnd:{style:ee},paddingBlock:{style:ee},paddingBlockStart:{style:ee},paddingBlockEnd:{style:ee},m:{style:J},mt:{style:J},mr:{style:J},mb:{style:J},ml:{style:J},mx:{style:J},my:{style:J},margin:{style:J},marginTop:{style:J},marginRight:{style:J},marginBottom:{style:J},marginLeft:{style:J},marginX:{style:J},marginY:{style:J},marginInline:{style:J},marginInlineStart:{style:J},marginInlineEnd:{style:J},marginBlock:{style:J},marginBlockStart:{style:J},marginBlockEnd:{style:J},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:yl},rowGap:{style:vl},columnGap:{style:gl},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Ie},maxWidth:{style:ma},minWidth:{transform:Ie},height:{transform:Ie},maxHeight:{transform:Ie},minHeight:{transform:Ie},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function M1(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function N1(e,t){return typeof e=="function"?e(t):e}function i0(){function e(n,r,o,i){const l={[n]:r,theme:o},u=i[n];if(!u)return{[n]:r};const{cssProperty:s=n,themeKey:a,transform:m,style:h}=u;if(r==null)return null;if(a==="typography"&&r==="inherit")return{[n]:r};const d=pl(o,a)||{};return h?h(l):jt(l,r,g=>{let y=_i(d,m,g);return g===y&&typeof g=="string"&&(y=_i(d,m,`${n}${g==="default"?"":sa(g)}`,g)),s===!1?y:{[s]:y}})}function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const l=(r=i.unstable_sxConfig)!=null?r:mo;function u(s){let a=s;if(typeof s=="function")a=s(i);else if(typeof s!="object")return s;if(!a)return null;const m=bg(i.breakpoints),h=Object.keys(m);let d=m;return Object.keys(a).forEach(w=>{const g=N1(a[w],i);if(g!=null)if(typeof g=="object")if(l[w])d=jr(d,e(w,g,i,l));else{const y=jt({theme:i},g,T=>({[w]:T}));M1(y,g)?d[w]=t({sx:g,theme:i}):d=jr(d,y)}else d=jr(d,e(w,g,i,l))}),Qg(h,d)}return Array.isArray(o)?o.map(u):u(o)}return t}const wl=i0();wl.filterProps=["sx"];function l0(e,t){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:n.palette.mode===e?t:{}}const z1=["breakpoints","palette","spacing","shape"];function ha(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,l=pt(e,z1),u=n0(n),s=e1(o);let a=xt({breakpoints:u,direction:"ltr",components:{},palette:z({mode:"light"},r),spacing:s,shape:z({},Kg,i)},l);return a.applyStyles=l0,a=t.reduce((m,h)=>xt(m,h),a),a.unstable_sxConfig=z({},mo,l==null?void 0:l.unstable_sxConfig),a.unstable_sx=function(h){return wl({sx:h,theme:this})},a}const L1=Object.freeze(Object.defineProperty({__proto__:null,default:ha,private_createBreakpoints:n0,unstable_applyStyles:l0},Symbol.toStringTag,{value:"Module"})),j1=nn(L1),A1=["sx"],I1=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:mo;return Object.keys(e).forEach(i=>{o[i]?r.systemProps[i]=e[i]:r.otherProps[i]=e[i]}),r};function F1(e){const{sx:t}=e,n=pt(e,A1),{systemProps:r,otherProps:o}=I1(n);let i;return Array.isArray(t)?i=[r,...t]:typeof t=="function"?i=(...l)=>{const u=t(...l);return Vt(u)?z({},r,u):r}:i=z({},r,t),z({},o,{sx:i})}const D1=Object.freeze(Object.defineProperty({__proto__:null,default:wl,extendSxProp:F1,unstable_createStyleFunctionSx:i0,unstable_defaultSxConfig:mo},Symbol.toStringTag,{value:"Module"})),B1=nn(D1);var cr=Cp;Object.defineProperty(ao,"__esModule",{value:!0});var U1=ao.default=ev;ao.shouldForwardProp=Zo;ao.systemDefaultTheme=void 0;var Ke=cr(Sy()),Ju=cr(ky()),Yc=G1(Ng),W1=Lg;cr(Ag);cr(Wg);var V1=cr(j1),H1=cr(B1);const K1=["ownerState"],b1=["variants"],Q1=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function u0(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(u0=function(r){return r?n:t})(e)}function G1(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=u0(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}function Y1(e){return Object.keys(e).length===0}function X1(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Zo(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Z1=ao.systemDefaultTheme=(0,V1.default)(),q1=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Lo({defaultTheme:e,theme:t,themeId:n}){return Y1(t)?e:t[n]||t}function J1(e){return e?(t,n)=>n[e]:null}function qo(e,t){let{ownerState:n}=t,r=(0,Ju.default)(t,K1);const o=typeof e=="function"?e((0,Ke.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(i=>qo(i,(0,Ke.default)({ownerState:n},r)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:i=[]}=o;let u=(0,Ju.default)(o,b1);return i.forEach(s=>{let a=!0;typeof s.props=="function"?a=s.props((0,Ke.default)({ownerState:n},r,n)):Object.keys(s.props).forEach(m=>{(n==null?void 0:n[m])!==s.props[m]&&r[m]!==s.props[m]&&(a=!1)}),a&&(Array.isArray(u)||(u=[u]),u.push(typeof s.style=="function"?s.style((0,Ke.default)({ownerState:n},r,n)):s.style))}),u}return o}function ev(e={}){const{themeId:t,defaultTheme:n=Z1,rootShouldForwardProp:r=Zo,slotShouldForwardProp:o=Zo}=e,i=l=>(0,H1.default)((0,Ke.default)({},l,{theme:Lo((0,Ke.default)({},l,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(l,u={})=>{(0,Yc.internal_processStyles)(l,S=>S.filter(E=>!(E!=null&&E.__mui_systemSx)));const{name:s,slot:a,skipVariantsResolver:m,skipSx:h,overridesResolver:d=J1(q1(a))}=u,w=(0,Ju.default)(u,Q1),g=m!==void 0?m:a&&a!=="Root"&&a!=="root"||!1,y=h||!1;let T,f=Zo;a==="Root"||a==="root"?f=r:a?f=o:X1(l)&&(f=void 0);const c=(0,Yc.default)(l,(0,Ke.default)({shouldForwardProp:f,label:T},w)),p=S=>typeof S=="function"&&S.__emotion_real!==S||(0,W1.isPlainObject)(S)?E=>qo(S,(0,Ke.default)({},E,{theme:Lo({theme:E.theme,defaultTheme:n,themeId:t})})):S,v=(S,...E)=>{let k=p(S);const _=E?E.map(p):[];s&&d&&_.push(D=>{const V=Lo((0,Ke.default)({},D,{defaultTheme:n,themeId:t}));if(!V.components||!V.components[s]||!V.components[s].styleOverrides)return null;const ie=V.components[s].styleOverrides,ve={};return Object.entries(ie).forEach(([ot,Ce])=>{ve[ot]=qo(Ce,(0,Ke.default)({},D,{theme:V}))}),d(D,ve)}),s&&!g&&_.push(D=>{var V;const ie=Lo((0,Ke.default)({},D,{defaultTheme:n,themeId:t})),ve=ie==null||(V=ie.components)==null||(V=V[s])==null?void 0:V.variants;return qo({variants:ve},(0,Ke.default)({},D,{theme:ie}))}),y||_.push(i);const j=_.length-E.length;if(Array.isArray(S)&&j>0){const D=new Array(j).fill("");k=[...S,...D],k.raw=[...S.raw,...D]}const R=c(k,..._);return l.muiName&&(R.muiName=l.muiName),R};return c.withConfig&&(v.withConfig=c.withConfig),v}}const Xc=e=>e,tv=()=>{let e=Xc;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Xc}}},nv=tv(),rv={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function s0(e,t,n="Mui"){const r=rv[t];return r?`${n}-${r}`:`${nv.generate(e)}-${t}`}function ov(e,t){return z({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const ro={black:"#000",white:"#fff"},iv={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},_n={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Pn={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},kr={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Tn={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},On={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Rn={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},lv=["mode","contrastThreshold","tonalOffset"],Zc={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:ro.white,default:ro.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},eu={text:{primary:ro.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:ro.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function qc(e,t,n,r){const o=r.light||r,i=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=ay(e.main,o):t==="dark"&&(e.dark=uy(e.main,i)))}function uv(e="light"){return e==="dark"?{main:Tn[200],light:Tn[50],dark:Tn[400]}:{main:Tn[700],light:Tn[400],dark:Tn[800]}}function sv(e="light"){return e==="dark"?{main:_n[200],light:_n[50],dark:_n[400]}:{main:_n[500],light:_n[300],dark:_n[700]}}function av(e="light"){return e==="dark"?{main:Pn[500],light:Pn[300],dark:Pn[700]}:{main:Pn[700],light:Pn[400],dark:Pn[800]}}function cv(e="light"){return e==="dark"?{main:On[400],light:On[300],dark:On[700]}:{main:On[700],light:On[500],dark:On[900]}}function fv(e="light"){return e==="dark"?{main:Rn[400],light:Rn[300],dark:Rn[700]}:{main:Rn[800],light:Rn[500],dark:Rn[900]}}function dv(e="light"){return e==="dark"?{main:kr[400],light:kr[300],dark:kr[700]}:{main:"#ed6c02",light:kr[500],dark:kr[900]}}function pv(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=pt(e,lv),i=e.primary||uv(t),l=e.secondary||sv(t),u=e.error||av(t),s=e.info||cv(t),a=e.success||fv(t),m=e.warning||dv(t);function h(y){return sy(y,eu.text.primary)>=n?eu.text.primary:Zc.text.primary}const d=({color:y,name:T,mainShade:f=500,lightShade:c=300,darkShade:p=700})=>{if(y=z({},y),!y.main&&y[f]&&(y.main=y[f]),!y.hasOwnProperty("main"))throw new Error(Jr(11,T?` (${T})`:"",f));if(typeof y.main!="string")throw new Error(Jr(12,T?` (${T})`:"",JSON.stringify(y.main)));return qc(y,"light",c,r),qc(y,"dark",p,r),y.contrastText||(y.contrastText=h(y.main)),y},w={dark:eu,light:Zc};return xt(z({common:z({},ro),mode:t,primary:d({color:i,name:"primary"}),secondary:d({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:d({color:u,name:"error"}),warning:d({color:m,name:"warning"}),info:d({color:s,name:"info"}),success:d({color:a,name:"success"}),grey:iv,contrastThreshold:n,getContrastText:h,augmentColor:d,tonalOffset:r},w[t]),o)}const mv=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function hv(e){return Math.round(e*1e5)/1e5}const Jc={textTransform:"uppercase"},ef='"Roboto", "Helvetica", "Arial", sans-serif';function yv(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=ef,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:l=400,fontWeightMedium:u=500,fontWeightBold:s=700,htmlFontSize:a=16,allVariants:m,pxToRem:h}=n,d=pt(n,mv),w=o/14,g=h||(f=>`${f/a*w}rem`),y=(f,c,p,v,S)=>z({fontFamily:r,fontWeight:f,fontSize:g(c),lineHeight:p},r===ef?{letterSpacing:`${hv(v/c)}em`}:{},S,m),T={h1:y(i,96,1.167,-1.5),h2:y(i,60,1.2,-.5),h3:y(l,48,1.167,0),h4:y(l,34,1.235,.25),h5:y(l,24,1.334,0),h6:y(u,20,1.6,.15),subtitle1:y(l,16,1.75,.15),subtitle2:y(u,14,1.57,.1),body1:y(l,16,1.5,.15),body2:y(l,14,1.43,.15),button:y(u,14,1.75,.4,Jc),caption:y(l,12,1.66,.4),overline:y(l,12,2.66,1,Jc),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return xt(z({htmlFontSize:a,pxToRem:g,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:l,fontWeightMedium:u,fontWeightBold:s},T),d,{clone:!1})}const gv=.2,vv=.14,wv=.12;function Q(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${gv})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${vv})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${wv})`].join(",")}const Sv=["none",Q(0,2,1,-1,0,1,1,0,0,1,3,0),Q(0,3,1,-2,0,2,2,0,0,1,5,0),Q(0,3,3,-2,0,3,4,0,0,1,8,0),Q(0,2,4,-1,0,4,5,0,0,1,10,0),Q(0,3,5,-1,0,5,8,0,0,1,14,0),Q(0,3,5,-1,0,6,10,0,0,1,18,0),Q(0,4,5,-2,0,7,10,1,0,2,16,1),Q(0,5,5,-3,0,8,10,1,0,3,14,2),Q(0,5,6,-3,0,9,12,1,0,3,16,2),Q(0,6,6,-3,0,10,14,1,0,4,18,3),Q(0,6,7,-4,0,11,15,1,0,4,20,3),Q(0,7,8,-4,0,12,17,2,0,5,22,4),Q(0,7,8,-4,0,13,19,2,0,5,24,4),Q(0,7,9,-4,0,14,21,2,0,5,26,4),Q(0,8,9,-5,0,15,22,2,0,6,28,5),Q(0,8,10,-5,0,16,24,2,0,6,30,5),Q(0,8,11,-5,0,17,26,2,0,6,32,5),Q(0,9,11,-5,0,18,28,2,0,7,34,6),Q(0,9,12,-6,0,19,29,2,0,7,36,6),Q(0,10,13,-6,0,20,31,3,0,8,38,7),Q(0,10,13,-6,0,21,33,3,0,8,40,7),Q(0,10,14,-6,0,22,35,3,0,8,42,7),Q(0,11,14,-7,0,23,36,3,0,9,44,8),Q(0,11,15,-7,0,24,38,3,0,9,46,8)],kv=["duration","easing","delay"],xv={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Ev={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function tf(e){return`${Math.round(e)}ms`}function Cv(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function _v(e){const t=z({},xv,e.easing),n=z({},Ev,e.duration);return z({getAutoHeightDuration:Cv,create:(o=["all"],i={})=>{const{duration:l=n.standard,easing:u=t.easeInOut,delay:s=0}=i;return pt(i,kv),(Array.isArray(o)?o:[o]).map(a=>`${a} ${typeof l=="string"?l:tf(l)} ${u} ${typeof s=="string"?s:tf(s)}`).join(",")}},e,{easing:t,duration:n})}const Pv={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Tv=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Ov(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,l=pt(e,Tv);if(e.vars)throw new Error(Jr(18));const u=pv(r),s=ha(e);let a=xt(s,{mixins:ov(s.breakpoints,n),palette:u,shadows:Sv.slice(),typography:yv(u,i),transitions:_v(o),zIndex:z({},Pv)});return a=xt(a,l),a=t.reduce((m,h)=>xt(m,h),a),a.unstable_sxConfig=z({},mo,l==null?void 0:l.unstable_sxConfig),a.unstable_sx=function(h){return wl({sx:h,theme:this})},a}const Rv=Ov(),$v="$$material";function Mv(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Nv=e=>Mv(e)&&e!=="classes",ya=U1({themeId:$v,defaultTheme:Rv,rootShouldForwardProp:Nv}),zv=O.createContext(void 0);function Lv(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?Gu(o.defaultProps,r):!o.styleOverrides&&!o.variants?Gu(o,r):r}function jv({props:e,name:t}){const n=O.useContext(zv);return Lv({props:e,name:t,theme:{components:n}})}function a0(e){return jv(e)}function Av(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function es(...e){return O.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{Av(n,t)})},e)}const Iv=typeof window<"u"?O.useLayoutEffect:O.useEffect;function jo(e){const t=O.useRef(e);return Iv(()=>{t.current=e}),O.useRef((...n)=>(0,t.current)(...n)).current}const nf={};function Fv(e,t){const n=O.useRef(nf);return n.current===nf&&(n.current=e(t)),n}const Dv=[];function Bv(e){O.useEffect(e,Dv)}class Sl{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Sl}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function Uv(){const e=Fv(Sl.create).current;return Bv(e.disposeEffect),e}let kl=!0,ts=!1;const Wv=new Sl,Vv={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function Hv(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&Vv[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function Kv(e){e.metaKey||e.altKey||e.ctrlKey||(kl=!0)}function tu(){kl=!1}function bv(){this.visibilityState==="hidden"&&ts&&(kl=!0)}function Qv(e){e.addEventListener("keydown",Kv,!0),e.addEventListener("mousedown",tu,!0),e.addEventListener("pointerdown",tu,!0),e.addEventListener("touchstart",tu,!0),e.addEventListener("visibilitychange",bv,!0)}function Gv(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return kl||Hv(t)}function Yv(){const e=O.useCallback(o=>{o!=null&&Qv(o.ownerDocument)},[]),t=O.useRef(!1);function n(){return t.current?(ts=!0,Wv.start(100,()=>{ts=!1}),t.current=!1,!0):!1}function r(o){return Gv(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function ns(e,t){return ns=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},ns(e,t)}function Xv(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ns(e,t)}const rf=$n.createContext(null);function Zv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ga(e,t){var n=function(i){return t&&O.isValidElement(i)?t(i):i},r=Object.create(null);return e&&O.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function qv(e,t){e=e||{},t=t||{};function n(m){return m in t?t[m]:e[m]}var r=Object.create(null),o=[];for(var i in e)i in t?o.length&&(r[i]=o,o=[]):o.push(i);var l,u={};for(var s in t){if(r[s])for(l=0;l{r[o]=s0(e,o,n)}),r}function Mw(e,t=166){let n;function r(...o){const i=()=>{e.apply(this,o)};clearTimeout(n),n=setTimeout(i,t)}return r.clear=()=>{clearTimeout(n)},r}function lw(e){return e&&e.ownerDocument||document}function Nw(e){return lw(e).defaultView||window}function uw(e){return typeof e=="string"}function sw(e,t,n){return e===void 0||uw(e)?t:z({},t,{ownerState:z({},t.ownerState,n)})}function aw(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function of(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function cw(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const w=be(n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),g=z({},n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),y=z({},n,o,r);return w.length>0&&(y.className=w),Object.keys(g).length>0&&(y.style=g),{props:y,internalRef:void 0}}const l=aw(z({},o,r)),u=of(r),s=of(o),a=t(l),m=be(a==null?void 0:a.className,n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),h=z({},a==null?void 0:a.style,n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),d=z({},a,n,s,u);return m.length>0&&(d.className=m),Object.keys(h).length>0&&(d.style=h),{props:d,internalRef:a.ref}}function fw(e,t,n){return typeof e=="function"?e(t,n):e}const dw=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function zw(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:i=!1}=e,l=pt(e,dw),u=i?{}:fw(r,o),{props:s,internalRef:a}=cw(z({},l,{externalSlotProps:u})),m=es(a,u==null?void 0:u.ref,(t=e.additionalProps)==null?void 0:t.ref);return sw(n,z({},s,{ref:m}),o)}const pw=O.createContext(),Lw=()=>{const e=O.useContext(pw);return e??!1};function mw(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:i,rippleSize:l,in:u,onExited:s,timeout:a}=e,[m,h]=O.useState(!1),d=be(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),w={width:l,height:l,top:-(l/2)+i,left:-(l/2)+o},g=be(n.child,m&&n.childLeaving,r&&n.childPulsate);return!u&&!m&&h(!0),O.useEffect(()=>{if(!u&&s!=null){const y=setTimeout(s,a);return()=>{clearTimeout(y)}}},[s,u,a]),Rt.jsx("span",{className:d,style:w,children:Rt.jsx("span",{className:g})})}const Qe=c0("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),hw=["center","classes","className"];let xl=e=>e,lf,uf,sf,af;const rs=550,yw=80,gw=nl(lf||(lf=xl` + 0% { + transform: scale(0); + opacity: 0.1; + } + + 100% { + transform: scale(1); + opacity: 0.3; + } +`)),vw=nl(uf||(uf=xl` + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + } +`)),ww=nl(sf||(sf=xl` + 0% { + transform: scale(1); + } + + 50% { + transform: scale(0.92); + } + + 100% { + transform: scale(1); + } +`)),Sw=ya("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),kw=ya(mw,{name:"MuiTouchRipple",slot:"Ripple"})(af||(af=xl` + opacity: 0; + position: absolute; + + &.${0} { + opacity: 0.3; + transform: scale(1); + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + &.${0} { + animation-duration: ${0}ms; + } + + & .${0} { + opacity: 1; + display: block; + width: 100%; + height: 100%; + border-radius: 50%; + background-color: currentColor; + } + + & .${0} { + opacity: 0; + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + & .${0} { + position: absolute; + /* @noflip */ + left: 0px; + top: 0; + animation-name: ${0}; + animation-duration: 2500ms; + animation-timing-function: ${0}; + animation-iteration-count: infinite; + animation-delay: 200ms; + } +`),Qe.rippleVisible,gw,rs,({theme:e})=>e.transitions.easing.easeInOut,Qe.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,Qe.child,Qe.childLeaving,vw,rs,({theme:e})=>e.transitions.easing.easeInOut,Qe.childPulsate,ww,({theme:e})=>e.transitions.easing.easeInOut),xw=O.forwardRef(function(t,n){const r=a0({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:l}=r,u=pt(r,hw),[s,a]=O.useState([]),m=O.useRef(0),h=O.useRef(null);O.useEffect(()=>{h.current&&(h.current(),h.current=null)},[s]);const d=O.useRef(!1),w=Uv(),g=O.useRef(null),y=O.useRef(null),T=O.useCallback(v=>{const{pulsate:S,rippleX:E,rippleY:k,rippleSize:_,cb:j}=v;a(R=>[...R,Rt.jsx(kw,{classes:{ripple:be(i.ripple,Qe.ripple),rippleVisible:be(i.rippleVisible,Qe.rippleVisible),ripplePulsate:be(i.ripplePulsate,Qe.ripplePulsate),child:be(i.child,Qe.child),childLeaving:be(i.childLeaving,Qe.childLeaving),childPulsate:be(i.childPulsate,Qe.childPulsate)},timeout:rs,pulsate:S,rippleX:E,rippleY:k,rippleSize:_},m.current)]),m.current+=1,h.current=j},[i]),f=O.useCallback((v={},S={},E=()=>{})=>{const{pulsate:k=!1,center:_=o||S.pulsate,fakeElement:j=!1}=S;if((v==null?void 0:v.type)==="mousedown"&&d.current){d.current=!1;return}(v==null?void 0:v.type)==="touchstart"&&(d.current=!0);const R=j?null:y.current,D=R?R.getBoundingClientRect():{width:0,height:0,left:0,top:0};let V,ie,ve;if(_||v===void 0||v.clientX===0&&v.clientY===0||!v.clientX&&!v.touches)V=Math.round(D.width/2),ie=Math.round(D.height/2);else{const{clientX:ot,clientY:Ce}=v.touches&&v.touches.length>0?v.touches[0]:v;V=Math.round(ot-D.left),ie=Math.round(Ce-D.top)}if(_)ve=Math.sqrt((2*D.width**2+D.height**2)/3),ve%2===0&&(ve+=1);else{const ot=Math.max(Math.abs((R?R.clientWidth:0)-V),V)*2+2,Ce=Math.max(Math.abs((R?R.clientHeight:0)-ie),ie)*2+2;ve=Math.sqrt(ot**2+Ce**2)}v!=null&&v.touches?g.current===null&&(g.current=()=>{T({pulsate:k,rippleX:V,rippleY:ie,rippleSize:ve,cb:E})},w.start(yw,()=>{g.current&&(g.current(),g.current=null)})):T({pulsate:k,rippleX:V,rippleY:ie,rippleSize:ve,cb:E})},[o,T,w]),c=O.useCallback(()=>{f({},{pulsate:!0})},[f]),p=O.useCallback((v,S)=>{if(w.clear(),(v==null?void 0:v.type)==="touchend"&&g.current){g.current(),g.current=null,w.start(0,()=>{p(v,S)});return}g.current=null,a(E=>E.length>0?E.slice(1):E),h.current=S},[w]);return O.useImperativeHandle(n,()=>({pulsate:c,start:f,stop:p}),[c,f,p]),Rt.jsx(Sw,z({className:be(Qe.root,i.root,l),ref:y},u,{children:Rt.jsx(va,{component:null,exit:!0,children:s})}))});function Ew(e){return s0("MuiButtonBase",e)}const Cw=c0("MuiButtonBase",["root","disabled","focusVisible"]),_w=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],Pw=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,l=ty({root:["root",t&&"disabled",n&&"focusVisible"]},Ew,o);return n&&r&&(l.root+=` ${r}`),l},Tw=ya("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Cw.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),jw=O.forwardRef(function(t,n){const r=a0({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:l,className:u,component:s="button",disabled:a=!1,disableRipple:m=!1,disableTouchRipple:h=!1,focusRipple:d=!1,LinkComponent:w="a",onBlur:g,onClick:y,onContextMenu:T,onDragLeave:f,onFocus:c,onFocusVisible:p,onKeyDown:v,onKeyUp:S,onMouseDown:E,onMouseLeave:k,onMouseUp:_,onTouchEnd:j,onTouchMove:R,onTouchStart:D,tabIndex:V=0,TouchRippleProps:ie,touchRippleRef:ve,type:ot}=r,Ce=pt(r,_w),Et=O.useRef(null),C=O.useRef(null),$=es(C,ve),{isFocusVisibleRef:M,onFocus:Y,onBlur:le,ref:xn}=Yv(),[_e,It]=O.useState(!1);a&&_e&&It(!1),O.useImperativeHandle(o,()=>({focusVisible:()=>{It(!0),Et.current.focus()}}),[]);const[it,En]=O.useState(!1);O.useEffect(()=>{En(!0)},[]);const f0=it&&!m&&!a;O.useEffect(()=>{_e&&d&&!m&&it&&C.current.pulsate()},[m,d,_e,it]);function Ct(N,Sa,P0=h){return jo(ka=>(Sa&&Sa(ka),!P0&&C.current&&C.current[N](ka),!0))}const d0=Ct("start",E),p0=Ct("stop",T),m0=Ct("stop",f),h0=Ct("stop",_),y0=Ct("stop",N=>{_e&&N.preventDefault(),k&&k(N)}),g0=Ct("start",D),v0=Ct("stop",j),w0=Ct("stop",R),S0=Ct("stop",N=>{le(N),M.current===!1&&It(!1),g&&g(N)},!1),k0=jo(N=>{Et.current||(Et.current=N.currentTarget),Y(N),M.current===!0&&(It(!0),p&&p(N)),c&&c(N)}),El=()=>{const N=Et.current;return s&&s!=="button"&&!(N.tagName==="A"&&N.href)},Cl=O.useRef(!1),x0=jo(N=>{d&&!Cl.current&&_e&&C.current&&N.key===" "&&(Cl.current=!0,C.current.stop(N,()=>{C.current.start(N)})),N.target===N.currentTarget&&El()&&N.key===" "&&N.preventDefault(),v&&v(N),N.target===N.currentTarget&&El()&&N.key==="Enter"&&!a&&(N.preventDefault(),y&&y(N))}),E0=jo(N=>{d&&N.key===" "&&C.current&&_e&&!N.defaultPrevented&&(Cl.current=!1,C.current.stop(N,()=>{C.current.pulsate(N)})),S&&S(N),y&&N.target===N.currentTarget&&El()&&N.key===" "&&!N.defaultPrevented&&y(N)});let ho=s;ho==="button"&&(Ce.href||Ce.to)&&(ho=w);const fr={};ho==="button"?(fr.type=ot===void 0?"button":ot,fr.disabled=a):(!Ce.href&&!Ce.to&&(fr.role="button"),a&&(fr["aria-disabled"]=a));const C0=es(n,xn,Et),wa=z({},r,{centerRipple:i,component:s,disabled:a,disableRipple:m,disableTouchRipple:h,focusRipple:d,tabIndex:V,focusVisible:_e}),_0=Pw(wa);return Rt.jsxs(Tw,z({as:ho,className:be(_0.root,u),ownerState:wa,onBlur:S0,onClick:y,onContextMenu:p0,onFocus:k0,onKeyDown:x0,onKeyUp:E0,onMouseDown:d0,onMouseLeave:y0,onMouseUp:h0,onDragLeave:m0,onTouchEnd:v0,onTouchMove:w0,onTouchStart:g0,ref:C0,tabIndex:a?-1:V,type:ot},fr,Ce,{children:[l,f0?Rt.jsx(xw,z({ref:$,center:i},ie)):null]}))});export{aw as A,jw as B,ay as C,uy as D,Mv as E,Lw as F,Og as G,zw as H,Pa as I,Rg as J,wl as K,F1 as L,Ov as M,nv as N,O0 as O,$v as T,z as _,s0 as a,Nv as b,sa as c,Rw as d,Gu as e,a0 as f,c0 as g,pt as h,be as i,Rt as j,ty as k,es as l,Iv as m,Mw as n,Nw as o,Rv as p,uw as q,O as r,ya as s,Jr as t,$w as u,xt as v,oy as w,Yv as x,jo as y,lw as z}; diff --git a/dist/js/ButtonBase-FOVwS2Am.js b/dist/js/ButtonBase-FOVwS2Am.js new file mode 100644 index 0000000..c0dafbf --- /dev/null +++ b/dist/js/ButtonBase-FOVwS2Am.js @@ -0,0 +1,128 @@ +function z0(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const l of i.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function L0(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function nn(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var hf={exports:{}},Pi={},yf={exports:{}},L={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var oo=Symbol.for("react.element"),I0=Symbol.for("react.portal"),A0=Symbol.for("react.fragment"),j0=Symbol.for("react.strict_mode"),F0=Symbol.for("react.profiler"),D0=Symbol.for("react.provider"),B0=Symbol.for("react.context"),U0=Symbol.for("react.forward_ref"),W0=Symbol.for("react.suspense"),V0=Symbol.for("react.memo"),H0=Symbol.for("react.lazy"),Ea=Symbol.iterator;function K0(e){return e===null||typeof e!="object"?null:(e=Ea&&e[Ea]||e["@@iterator"],typeof e=="function"?e:null)}var gf={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},vf=Object.assign,wf={};function ir(e,t,n){this.props=e,this.context=t,this.refs=wf,this.updater=n||gf}ir.prototype.isReactComponent={};ir.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};ir.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Sf(){}Sf.prototype=ir.prototype;function ls(e,t,n){this.props=e,this.context=t,this.refs=wf,this.updater=n||gf}var us=ls.prototype=new Sf;us.constructor=ls;vf(us,ir.prototype);us.isPureReactComponent=!0;var Ca=Array.isArray,kf=Object.prototype.hasOwnProperty,ss={current:null},xf={key:!0,ref:!0,__self:!0,__source:!0};function _f(e,t,n){var r,o={},i=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(i=""+t.key),t)kf.call(t,r)&&!xf.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(u===1)o.children=n;else if(1>>1,le=E[Y];if(0>>1;Yo(jt,N))ito(_n,jt)?(E[Y]=_n,E[it]=N,Y=it):(E[Y]=jt,E[Ce]=N,Y=Ce);else if(ito(_n,N))E[Y]=_n,E[it]=N,Y=it;else break e}}return $}function o(E,$){var N=E.sortIndex-$.sortIndex;return N!==0?N:E.id-$.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var l=Date,u=l.now();e.unstable_now=function(){return l.now()-u}}var s=[],a=[],m=1,h=null,d=3,w=!1,g=!1,y=!1,T=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(E){for(var $=n(a);$!==null;){if($.callback===null)r(a);else if($.startTime<=E)r(a),$.sortIndex=$.expirationTime,t(s,$);else break;$=n(a)}}function v(E){if(y=!1,p(E),!g)if(n(s)!==null)g=!0,Ee(S);else{var $=n(a);$!==null&&_t(v,$.startTime-E)}}function S(E,$){g=!1,y&&(y=!1,f(C),C=-1),w=!0;var N=d;try{for(p($),h=n(s);h!==null&&(!(h.expirationTime>$)||E&&!D());){var Y=h.callback;if(typeof Y=="function"){h.callback=null,d=h.priorityLevel;var le=Y(h.expirationTime<=$);$=e.unstable_now(),typeof le=="function"?h.callback=le:h===n(s)&&r(s),p($)}else r(s);h=n(s)}if(h!==null)var xn=!0;else{var Ce=n(a);Ce!==null&&_t(v,Ce.startTime-$),xn=!1}return xn}finally{h=null,d=N,w=!1}}var _=!1,k=null,C=-1,I=5,O=-1;function D(){return!(e.unstable_now()-OE||125Y?(E.sortIndex=N,t(a,E),n(s)===null&&E===n(a)&&(y?(f(C),C=-1):y=!0,_t(v,N-Y))):(E.sortIndex=le,t(s,E),g||w||(g=!0,Ee(S))),E},e.unstable_shouldYield=D,e.unstable_wrapCallback=function(E){var $=d;return function(){var N=d;d=$;try{return E.apply(this,arguments)}finally{d=N}}}})(Rf);Tf.exports=Rf;var nm=Tf.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var rm=R,Ue=nm;function x(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ou=Object.prototype.hasOwnProperty,om=/^[: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]*$/,Oa={},$a={};function im(e){return ou.call($a,e)?!0:ou.call(Oa,e)?!1:om.test(e)?$a[e]=!0:(Oa[e]=!0,!1)}function lm(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function um(e,t,n,r){if(t===null||typeof t>"u"||lm(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.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 Oe(e,t,n,r,o,i,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=l}var ge={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ge[e]=new Oe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ge[t]=new Oe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ge[e]=new Oe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ge[e]=new Oe(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){ge[e]=new Oe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ge[e]=new Oe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ge[e]=new Oe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ge[e]=new Oe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ge[e]=new Oe(e,5,!1,e.toLowerCase(),null,!1,!1)});var cs=/[\-:]([a-z])/g;function fs(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(cs,fs);ge[t]=new Oe(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(cs,fs);ge[t]=new Oe(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(cs,fs);ge[t]=new Oe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ge[e]=new Oe(e,1,!1,e.toLowerCase(),null,!1,!1)});ge.xlinkHref=new Oe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ge[e]=new Oe(e,1,!1,e.toLowerCase(),null,!0,!0)});function ds(e,t,n,r){var o=ge.hasOwnProperty(t)?ge[t]:null;(o!==null?o.type!==0:r||!(2u||o[l]!==i[u]){var s=` +`+o[l].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=l&&0<=u);break}}}finally{Pl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?xr(e):""}function sm(e){switch(e.tag){case 5:return xr(e.type);case 16:return xr("Lazy");case 13:return xr("Suspense");case 19:return xr("SuspenseList");case 0:case 2:case 15:return e=Tl(e.type,!1),e;case 11:return e=Tl(e.type.render,!1),e;case 1:return e=Tl(e.type,!0),e;default:return""}}function su(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 Mn:return"Fragment";case Nn:return"Portal";case iu:return"Profiler";case ps:return"StrictMode";case lu:return"Suspense";case uu:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Nf:return(e.displayName||"Context")+".Consumer";case $f:return(e._context.displayName||"Context")+".Provider";case ms:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case hs:return t=e.displayName||null,t!==null?t:su(e.type)||"Memo";case Dt:t=e._payload,e=e._init;try{return su(e(t))}catch{}}return null}function am(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return su(t);case 8:return t===ps?"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 t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function en(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function zf(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function cm(e){var t=zf(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(l){r=""+l,i.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function vo(e){e._valueTracker||(e._valueTracker=cm(e))}function Lf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=zf(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Jo(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}}function au(e,t){var n=t.checked;return Z({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Ma(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=en(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function If(e,t){t=t.checked,t!=null&&ds(e,"checked",t,!1)}function cu(e,t){If(e,t);var n=en(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?fu(e,t.type,n):t.hasOwnProperty("defaultValue")&&fu(e,t.type,en(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function za(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function fu(e,t,n){(t!=="number"||Jo(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var _r=Array.isArray;function Vn(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=wo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function jr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Pr={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},fm=["Webkit","ms","Moz","O"];Object.keys(Pr).forEach(function(e){fm.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Pr[t]=Pr[e]})});function Df(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Pr.hasOwnProperty(e)&&Pr[e]?(""+t).trim():t+"px"}function Bf(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Df(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var dm=Z({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 mu(e,t){if(t){if(dm[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(x(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(x(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(x(61))}if(t.style!=null&&typeof t.style!="object")throw Error(x(62))}}function hu(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}}var yu=null;function ys(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var gu=null,Hn=null,Kn=null;function Aa(e){if(e=uo(e)){if(typeof gu!="function")throw Error(x(280));var t=e.stateNode;t&&(t=Ni(t),gu(e.stateNode,e.type,t))}}function Uf(e){Hn?Kn?Kn.push(e):Kn=[e]:Hn=e}function Wf(){if(Hn){var e=Hn,t=Kn;if(Kn=Hn=null,Aa(e),t)for(e=0;e>>=0,e===0?32:31-(_m(e)/Em|0)|0}var So=64,ko=4194304;function Er(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ri(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,l=n&268435455;if(l!==0){var u=l&~o;u!==0?r=Er(u):(i&=l,i!==0&&(r=Er(i)))}else l=n&~o,l!==0?r=Er(l):i!==0&&(r=Er(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function io(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ct(t),e[t]=n}function Rm(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Rr),Ka=" ",ba=!1;function sd(e,t){switch(e){case"keyup":return nh.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ad(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var zn=!1;function oh(e,t){switch(e){case"compositionend":return ad(t);case"keypress":return t.which!==32?null:(ba=!0,Ka);case"textInput":return e=t.data,e===Ka&&ba?null:e;default:return null}}function ih(e,t){if(zn)return e==="compositionend"||!Es&&sd(e,t)?(e=ld(),Do=ks=Ht=null,zn=!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)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Xa(n)}}function pd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?pd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function md(){for(var e=window,t=Jo();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Jo(e.document)}return t}function Cs(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")}function mh(e){var t=md(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&pd(n.ownerDocument.documentElement,n)){if(r!==null&&Cs(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=qa(n,i);var l=qa(n,r);o&&l&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Ln=null,_u=null,$r=null,Eu=!1;function Za(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Eu||Ln==null||Ln!==Jo(r)||(r=Ln,"selectionStart"in r&&Cs(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),$r&&Vr($r,r)||($r=r,r=li(_u,"onSelect"),0jn||(e.current=$u[jn],$u[jn]=null,jn--)}function H(e,t){jn++,$u[jn]=e.current,e.current=t}var tn={},_e=on(tn),Me=on(!1),hn=tn;function Zn(e,t){var n=e.type.contextTypes;if(!n)return tn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function ze(e){return e=e.childContextTypes,e!=null}function si(){b(Me),b(_e)}function ic(e,t,n){if(_e.current!==tn)throw Error(x(168));H(_e,t),H(Me,n)}function _d(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(x(108,am(e)||"Unknown",o));return Z({},n,r)}function ai(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||tn,hn=_e.current,H(_e,e),H(Me,Me.current),!0}function lc(e,t,n){var r=e.stateNode;if(!r)throw Error(x(169));n?(e=_d(e,t,hn),r.__reactInternalMemoizedMergedChildContext=e,b(Me),b(_e),H(_e,e)):b(Me),H(Me,n)}var Pt=null,Mi=!1,Ul=!1;function Ed(e){Pt===null?Pt=[e]:Pt.push(e)}function Ph(e){Mi=!0,Ed(e)}function ln(){if(!Ul&&Pt!==null){Ul=!0;var e=0,t=B;try{var n=Pt;for(B=1;e>=l,o-=l,Tt=1<<32-ct(t)+o|n<C?(I=k,k=null):I=k.sibling;var O=d(f,k,p[C],v);if(O===null){k===null&&(k=I);break}e&&k&&O.alternate===null&&t(f,k),c=i(O,c,C),_===null?S=O:_.sibling=O,_=O,k=I}if(C===p.length)return n(f,k),G&&un(f,C),S;if(k===null){for(;CC?(I=k,k=null):I=k.sibling;var D=d(f,k,O.value,v);if(D===null){k===null&&(k=I);break}e&&k&&D.alternate===null&&t(f,k),c=i(D,c,C),_===null?S=D:_.sibling=D,_=D,k=I}if(O.done)return n(f,k),G&&un(f,C),S;if(k===null){for(;!O.done;C++,O=p.next())O=h(f,O.value,v),O!==null&&(c=i(O,c,C),_===null?S=O:_.sibling=O,_=O);return G&&un(f,C),S}for(k=r(f,k);!O.done;C++,O=p.next())O=w(k,f,C,O.value,v),O!==null&&(e&&O.alternate!==null&&k.delete(O.key===null?C:O.key),c=i(O,c,C),_===null?S=O:_.sibling=O,_=O);return e&&k.forEach(function(V){return t(f,V)}),G&&un(f,C),S}function T(f,c,p,v){if(typeof p=="object"&&p!==null&&p.type===Mn&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case go:e:{for(var S=p.key,_=c;_!==null;){if(_.key===S){if(S=p.type,S===Mn){if(_.tag===7){n(f,_.sibling),c=o(_,p.props.children),c.return=f,f=c;break e}}else if(_.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===Dt&&ac(S)===_.type){n(f,_.sibling),c=o(_,p.props),c.ref=gr(f,_,p),c.return=f,f=c;break e}n(f,_);break}else t(f,_);_=_.sibling}p.type===Mn?(c=mn(p.props.children,f.mode,v,p.key),c.return=f,f=c):(v=Qo(p.type,p.key,p.props,null,f.mode,v),v.ref=gr(f,c,p),v.return=f,f=v)}return l(f);case Nn:e:{for(_=p.key;c!==null;){if(c.key===_)if(c.tag===4&&c.stateNode.containerInfo===p.containerInfo&&c.stateNode.implementation===p.implementation){n(f,c.sibling),c=o(c,p.children||[]),c.return=f,f=c;break e}else{n(f,c);break}else t(f,c);c=c.sibling}c=Yl(p,f.mode,v),c.return=f,f=c}return l(f);case Dt:return _=p._init,T(f,c,_(p._payload),v)}if(_r(p))return g(f,c,p,v);if(dr(p))return y(f,c,p,v);Ro(f,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,c!==null&&c.tag===6?(n(f,c.sibling),c=o(c,p),c.return=f,f=c):(n(f,c),c=Gl(p,f.mode,v),c.return=f,f=c),l(f)):n(f,c)}return T}var er=Rd(!0),Od=Rd(!1),di=on(null),pi=null,Bn=null,Os=null;function $s(){Os=Bn=pi=null}function Ns(e){var t=di.current;b(di),e._currentValue=t}function zu(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Qn(e,t){pi=e,Os=Bn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ne=!0),e.firstContext=null)}function Je(e){var t=e._currentValue;if(Os!==e)if(e={context:e,memoizedValue:t,next:null},Bn===null){if(pi===null)throw Error(x(308));Bn=e,pi.dependencies={lanes:0,firstContext:e}}else Bn=Bn.next=e;return t}var cn=null;function Ms(e){cn===null?cn=[e]:cn.push(e)}function $d(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Ms(t)):(n.next=o.next,o.next=n),t.interleaved=n,zt(e,r)}function zt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Bt=!1;function zs(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Nd(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 $t(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Xt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,A&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,zt(e,n)}return o=r.interleaved,o===null?(t.next=t,Ms(r)):(t.next=o.next,o.next=t),r.interleaved=t,zt(e,n)}function Uo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,vs(e,n)}}function cc(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=l:i=i.next=l,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function mi(e,t,n,r){var o=e.updateQueue;Bt=!1;var i=o.firstBaseUpdate,l=o.lastBaseUpdate,u=o.shared.pending;if(u!==null){o.shared.pending=null;var s=u,a=s.next;s.next=null,l===null?i=a:l.next=a,l=s;var m=e.alternate;m!==null&&(m=m.updateQueue,u=m.lastBaseUpdate,u!==l&&(u===null?m.firstBaseUpdate=a:u.next=a,m.lastBaseUpdate=s))}if(i!==null){var h=o.baseState;l=0,m=a=s=null,u=i;do{var d=u.lane,w=u.eventTime;if((r&d)===d){m!==null&&(m=m.next={eventTime:w,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var g=e,y=u;switch(d=t,w=n,y.tag){case 1:if(g=y.payload,typeof g=="function"){h=g.call(w,h,d);break e}h=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=y.payload,d=typeof g=="function"?g.call(w,h,d):g,d==null)break e;h=Z({},h,d);break e;case 2:Bt=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,d=o.effects,d===null?o.effects=[u]:d.push(u))}else w={eventTime:w,lane:d,tag:u.tag,payload:u.payload,callback:u.callback,next:null},m===null?(a=m=w,s=h):m=m.next=w,l|=d;if(u=u.next,u===null){if(u=o.shared.pending,u===null)break;d=u,u=d.next,d.next=null,o.lastBaseUpdate=d,o.shared.pending=null}}while(!0);if(m===null&&(s=h),o.baseState=s,o.firstBaseUpdate=a,o.lastBaseUpdate=m,t=o.shared.interleaved,t!==null){o=t;do l|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);vn|=l,e.lanes=l,e.memoizedState=h}}function fc(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Vl.transition;Vl.transition={};try{e(!1),t()}finally{B=n,Vl.transition=r}}function Gd(){return et().memoizedState}function $h(e,t,n){var r=Zt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Yd(e))Xd(t,n);else if(n=$d(e,t,n,r),n!==null){var o=Te();ft(n,e,r,o),qd(n,t,r)}}function Nh(e,t,n){var r=Zt(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Yd(e))Xd(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var l=t.lastRenderedState,u=i(l,n);if(o.hasEagerState=!0,o.eagerState=u,dt(u,l)){var s=t.interleaved;s===null?(o.next=o,Ms(t)):(o.next=s.next,s.next=o),t.interleaved=o;return}}catch{}finally{}n=$d(e,t,o,r),n!==null&&(o=Te(),ft(n,e,r,o),qd(n,t,r))}}function Yd(e){var t=e.alternate;return e===q||t!==null&&t===q}function Xd(e,t){Nr=yi=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function qd(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,vs(e,n)}}var gi={readContext:Je,useCallback:we,useContext:we,useEffect:we,useImperativeHandle:we,useInsertionEffect:we,useLayoutEffect:we,useMemo:we,useReducer:we,useRef:we,useState:we,useDebugValue:we,useDeferredValue:we,useTransition:we,useMutableSource:we,useSyncExternalStore:we,useId:we,unstable_isNewReconciler:!1},Mh={readContext:Je,useCallback:function(e,t){return ht().memoizedState=[e,t===void 0?null:t],e},useContext:Je,useEffect:pc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Vo(4194308,4,Vd.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Vo(4194308,4,e,t)},useInsertionEffect:function(e,t){return Vo(4,2,e,t)},useMemo:function(e,t){var n=ht();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ht();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=$h.bind(null,q,e),[r.memoizedState,e]},useRef:function(e){var t=ht();return e={current:e},t.memoizedState=e},useState:dc,useDebugValue:Us,useDeferredValue:function(e){return ht().memoizedState=e},useTransition:function(){var e=dc(!1),t=e[0];return e=Oh.bind(null,e[1]),ht().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=q,o=ht();if(G){if(n===void 0)throw Error(x(407));n=n()}else{if(n=t(),de===null)throw Error(x(349));gn&30||Id(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,pc(jd.bind(null,r,i,e),[e]),r.flags|=2048,qr(9,Ad.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=ht(),t=de.identifierPrefix;if(G){var n=Rt,r=Tt;n=(r&~(1<<32-ct(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Yr++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[vt]=t,e[br]=r,up(e,t,!1,!1),t.stateNode=e;e:{switch(l=hu(n,r),n){case"dialog":K("cancel",e),K("close",e),o=r;break;case"iframe":case"object":case"embed":K("load",e),o=r;break;case"video":case"audio":for(o=0;orr&&(t.flags|=128,r=!0,vr(i,!1),t.lanes=4194304)}else{if(!r)if(e=hi(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),vr(i,!0),i.tail===null&&i.tailMode==="hidden"&&!l.alternate&&!G)return Se(t),null}else 2*ne()-i.renderingStartTime>rr&&n!==1073741824&&(t.flags|=128,r=!0,vr(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(n=i.last,n!==null?n.sibling=l:t.child=l,i.last=l)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=ne(),t.sibling=null,n=X.current,H(X,r?n&1|2:n&1),t):(Se(t),null);case 22:case 23:return Qs(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ae&1073741824&&(Se(t),t.subtreeFlags&6&&(t.flags|=8192)):Se(t),null;case 24:return null;case 25:return null}throw Error(x(156,t.tag))}function Bh(e,t){switch(Ts(t),t.tag){case 1:return ze(t.type)&&si(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return tr(),b(Me),b(_e),As(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Is(t),null;case 13:if(b(X),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(x(340));Jn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return b(X),null;case 4:return tr(),null;case 10:return Ns(t.type._context),null;case 22:case 23:return Qs(),null;case 24:return null;default:return null}}var $o=!1,xe=!1,Uh=typeof WeakSet=="function"?WeakSet:Set,P=null;function Un(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){te(e,t,r)}else n.current=null}function Wu(e,t,n){try{n()}catch(r){te(e,t,r)}}var Ec=!1;function Wh(e,t){if(Cu=oi,e=md(),Cs(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var l=0,u=-1,s=-1,a=0,m=0,h=e,d=null;t:for(;;){for(var w;h!==n||o!==0&&h.nodeType!==3||(u=l+o),h!==i||r!==0&&h.nodeType!==3||(s=l+r),h.nodeType===3&&(l+=h.nodeValue.length),(w=h.firstChild)!==null;)d=h,h=w;for(;;){if(h===e)break t;if(d===n&&++a===o&&(u=l),d===i&&++m===r&&(s=l),(w=h.nextSibling)!==null)break;h=d,d=h.parentNode}h=w}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(Pu={focusedElem:e,selectionRange:n},oi=!1,P=t;P!==null;)if(t=P,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,P=e;else for(;P!==null;){t=P;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var y=g.memoizedProps,T=g.memoizedState,f=t.stateNode,c=f.getSnapshotBeforeUpdate(t.elementType===t.type?y:ut(t.type,y),T);f.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(x(163))}}catch(v){te(t,t.return,v)}if(e=t.sibling,e!==null){e.return=t.return,P=e;break}P=t.return}return g=Ec,Ec=!1,g}function Mr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&Wu(t,n,i)}o=o.next}while(o!==r)}}function Ii(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Vu(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function cp(e){var t=e.alternate;t!==null&&(e.alternate=null,cp(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[vt],delete t[br],delete t[Ou],delete t[Eh],delete t[Ch])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function fp(e){return e.tag===5||e.tag===3||e.tag===4}function Cc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||fp(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Hu(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=ui));else if(r!==4&&(e=e.child,e!==null))for(Hu(e,t,n),e=e.sibling;e!==null;)Hu(e,t,n),e=e.sibling}function Ku(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Ku(e,t,n),e=e.sibling;e!==null;)Ku(e,t,n),e=e.sibling}var me=null,st=!1;function Ft(e,t,n){for(n=n.child;n!==null;)dp(e,t,n),n=n.sibling}function dp(e,t,n){if(wt&&typeof wt.onCommitFiberUnmount=="function")try{wt.onCommitFiberUnmount(Ti,n)}catch{}switch(n.tag){case 5:xe||Un(n,t);case 6:var r=me,o=st;me=null,Ft(e,t,n),me=r,st=o,me!==null&&(st?(e=me,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):me.removeChild(n.stateNode));break;case 18:me!==null&&(st?(e=me,n=n.stateNode,e.nodeType===8?Bl(e.parentNode,n):e.nodeType===1&&Bl(e,n),Ur(e)):Bl(me,n.stateNode));break;case 4:r=me,o=st,me=n.stateNode.containerInfo,st=!0,Ft(e,t,n),me=r,st=o;break;case 0:case 11:case 14:case 15:if(!xe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,l=i.destroy;i=i.tag,l!==void 0&&(i&2||i&4)&&Wu(n,t,l),o=o.next}while(o!==r)}Ft(e,t,n);break;case 1:if(!xe&&(Un(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){te(n,t,u)}Ft(e,t,n);break;case 21:Ft(e,t,n);break;case 22:n.mode&1?(xe=(r=xe)||n.memoizedState!==null,Ft(e,t,n),xe=r):Ft(e,t,n);break;default:Ft(e,t,n)}}function Pc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Uh),t.forEach(function(r){var o=qh.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function lt(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=l),r&=~i}if(r=o,r=ne()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Hh(r/1960))-r,10e?16:e,Kt===null)var r=!1;else{if(e=Kt,Kt=null,Si=0,A&6)throw Error(x(331));var o=A;for(A|=4,P=e.current;P!==null;){var i=P,l=i.child;if(P.flags&16){var u=i.deletions;if(u!==null){for(var s=0;sne()-Ks?pn(e,0):Hs|=n),Le(e,t)}function Sp(e,t){t===0&&(e.mode&1?(t=ko,ko<<=1,!(ko&130023424)&&(ko=4194304)):t=1);var n=Te();e=zt(e,t),e!==null&&(io(e,t,n),Le(e,n))}function Xh(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Sp(e,n)}function qh(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(x(314))}r!==null&&r.delete(t),Sp(e,n)}var kp;kp=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Me.current)Ne=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ne=!1,Fh(e,t,n);Ne=!!(e.flags&131072)}else Ne=!1,G&&t.flags&1048576&&Cd(t,fi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ho(e,t),e=t.pendingProps;var o=Zn(t,_e.current);Qn(t,n),o=Fs(null,t,r,e,o,n);var i=Ds();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ze(r)?(i=!0,ai(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,zs(t),o.updater=Li,t.stateNode=o,o._reactInternals=t,Iu(t,r,e,n),t=Fu(null,t,r,!0,i,n)):(t.tag=0,G&&i&&Ps(t),Pe(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ho(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=Jh(r),e=ut(r,e),o){case 0:t=ju(null,t,r,e,n);break e;case 1:t=kc(null,t,r,e,n);break e;case 11:t=wc(null,t,r,e,n);break e;case 14:t=Sc(null,t,r,ut(r.type,e),n);break e}throw Error(x(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ut(r,o),ju(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ut(r,o),kc(e,t,r,o,n);case 3:e:{if(op(t),e===null)throw Error(x(387));r=t.pendingProps,i=t.memoizedState,o=i.element,Nd(e,t),mi(t,r,null,n);var l=t.memoizedState;if(r=l.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=nr(Error(x(423)),t),t=xc(e,t,r,n,o);break e}else if(r!==o){o=nr(Error(x(424)),t),t=xc(e,t,r,n,o);break e}else for(Fe=Yt(t.stateNode.containerInfo.firstChild),De=t,G=!0,at=null,n=Od(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Jn(),r===o){t=Lt(e,t,n);break e}Pe(e,t,r,n)}t=t.child}return t;case 5:return Md(t),e===null&&Mu(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,l=o.children,Tu(r,o)?l=null:i!==null&&Tu(r,i)&&(t.flags|=32),rp(e,t),Pe(e,t,l,n),t.child;case 6:return e===null&&Mu(t),null;case 13:return ip(e,t,n);case 4:return Ls(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=er(t,null,r,n):Pe(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ut(r,o),wc(e,t,r,o,n);case 7:return Pe(e,t,t.pendingProps,n),t.child;case 8:return Pe(e,t,t.pendingProps.children,n),t.child;case 12:return Pe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,l=o.value,H(di,r._currentValue),r._currentValue=l,i!==null)if(dt(i.value,l)){if(i.children===o.children&&!Me.current){t=Lt(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var u=i.dependencies;if(u!==null){l=i.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(i.tag===1){s=$t(-1,n&-n),s.tag=2;var a=i.updateQueue;if(a!==null){a=a.shared;var m=a.pending;m===null?s.next=s:(s.next=m.next,m.next=s),a.pending=s}}i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),zu(i.return,n,t),u.lanes|=n;break}s=s.next}}else if(i.tag===10)l=i.type===t.type?null:i.child;else if(i.tag===18){if(l=i.return,l===null)throw Error(x(341));l.lanes|=n,u=l.alternate,u!==null&&(u.lanes|=n),zu(l,n,t),l=i.sibling}else l=i.child;if(l!==null)l.return=i;else for(l=i;l!==null;){if(l===t){l=null;break}if(i=l.sibling,i!==null){i.return=l.return,l=i;break}l=l.return}i=l}Pe(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Qn(t,n),o=Je(o),r=r(o),t.flags|=1,Pe(e,t,r,n),t.child;case 14:return r=t.type,o=ut(r,t.pendingProps),o=ut(r.type,o),Sc(e,t,r,o,n);case 15:return tp(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ut(r,o),Ho(e,t),t.tag=1,ze(r)?(e=!0,ai(t)):e=!1,Qn(t,n),Zd(t,r,o),Iu(t,r,o,n),Fu(null,t,r,!0,e,n);case 19:return lp(e,t,n);case 22:return np(e,t,n)}throw Error(x(156,t.tag))};function xp(e,t){return Yf(e,t)}function Zh(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function qe(e,t,n,r){return new Zh(e,t,n,r)}function Ys(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Jh(e){if(typeof e=="function")return Ys(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ms)return 11;if(e===hs)return 14}return 2}function Jt(e,t){var n=e.alternate;return n===null?(n=qe(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Qo(e,t,n,r,o,i){var l=2;if(r=e,typeof e=="function")Ys(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case Mn:return mn(n.children,o,i,t);case ps:l=8,o|=8;break;case iu:return e=qe(12,n,t,o|2),e.elementType=iu,e.lanes=i,e;case lu:return e=qe(13,n,t,o),e.elementType=lu,e.lanes=i,e;case uu:return e=qe(19,n,t,o),e.elementType=uu,e.lanes=i,e;case Mf:return ji(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case $f:l=10;break e;case Nf:l=9;break e;case ms:l=11;break e;case hs:l=14;break e;case Dt:l=16,r=null;break e}throw Error(x(130,e==null?e:typeof e,""))}return t=qe(l,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function mn(e,t,n,r){return e=qe(7,e,r,t),e.lanes=n,e}function ji(e,t,n,r){return e=qe(22,e,r,t),e.elementType=Mf,e.lanes=n,e.stateNode={isHidden:!1},e}function Gl(e,t,n){return e=qe(6,e,null,t),e.lanes=n,e}function Yl(e,t,n){return t=qe(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ey(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ol(0),this.expirationTimes=Ol(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ol(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Xs(e,t,n,r,o,i,l,u,s){return e=new ey(e,t,n,u,s),t===1?(t=1,i===!0&&(t|=8)):t=0,i=qe(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},zs(i),e}function ty(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Pp)}catch(e){console.error(e)}}Pp(),Pf.exports=We;var ly=Pf.exports,Lc=ly;Ra.createRoot=Lc.createRoot,Ra.hydrateRoot=Lc.hydrateRoot;function pt(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function z(){return z=Object.assign?Object.assign.bind():function(e){for(var t=1;t{if(r.toString().match(/^(components|slots)$/))n[r]=z({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},i=t[r];n[r]={},!i||!Object.keys(i)?n[r]=o:!o||!Object.keys(o)?n[r]=i:(n[r]=z({},i),Object.keys(o).forEach(l=>{n[r][l]=Xu(o[l],i[l])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function cy(e,t,n=void 0){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((i,l)=>{if(l){const u=t(l);u!==""&&i.push(u),n&&n[l]&&i.push(n[l])}return i},[]).join(" ")}),r}var re={},Rp={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Rp);var Op=Rp.exports;function Jr(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function Sy(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function tt(e){if(e.type)return e;if(e.charAt(0)==="#")return tt(Np(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error((0,Fc.default)(9,e));let r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error((0,Fc.default)(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}const Mp=e=>{const t=tt(e);return t.values.slice(0,3).map((n,r)=>t.type.indexOf("hsl")!==-1&&r!==0?`${n}%`:n).join(" ")};re.colorChannel=Mp;const ky=(e,t)=>{try{return Mp(e)}catch{return e}};re.private_safeColorChannel=ky;function sr(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((o,i)=>i<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function xy(e){if(e.indexOf("#")===0)return e;const{values:t}=tt(e);return`#${t.map((n,r)=>Sy(r===3?Math.round(255*n):n)).join("")}`}function zp(e){e=tt(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),l=(a,m=(a+n/30)%12)=>o-i*Math.max(Math.min(m-3,9-m,1),-1);let u="rgb";const s=[Math.round(l(0)*255),Math.round(l(8)*255),Math.round(l(4)*255)];return e.type==="hsla"&&(u+="a",s.push(t[3])),sr({type:u,values:s})}function _i(e){e=tt(e);let t=e.type==="hsl"||e.type==="hsla"?tt(zp(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function _y(e,t){const n=_i(e),r=_i(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Lp(e,t){return e=tt(e),t=ea(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,sr(e)}function Ey(e,t,n){try{return Lp(e,t)}catch{return e}}function ta(e,t){if(e=tt(e),t=ea(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return sr(e)}function Cy(e,t,n){try{return ta(e,t)}catch{return e}}function na(e,t){if(e=tt(e),t=ea(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return sr(e)}function Py(e,t,n){try{return na(e,t)}catch{return e}}function Ip(e,t=.15){return _i(e)>.5?ta(e,t):na(e,t)}function Ty(e,t,n){try{return Ip(e,t)}catch{return e}}function Ry(e,t,n,r=1){const o=(s,a)=>Math.round((s**(1/r)*(1-n)+a**(1/r)*n)**r),i=tt(e),l=tt(t),u=[o(i.values[0],l.values[0]),o(i.values[1],l.values[1]),o(i.values[2],l.values[2])];return sr({type:"rgb",values:u})}var ao={},Jl={exports:{}},Dc;function Oy(){return Dc||(Dc=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(n){for(var r=1;r0?he(ar,--Ie):0,or--,ue===10&&(or=1,Vi--),ue}function Be(){return ue=Ie2||to(ue)>3?"":" "}function Qy(e,t){for(;--t&&Be()&&!(ue<48||ue>102||ue>57&&ue<65||ue>70&&ue<97););return co(e,Go()+(t<6&&kt()==32&&Be()==32))}function Zu(e){for(;Be();)switch(ue){case e:return Ie;case 34:case 39:e!==34&&e!==39&&Zu(ue);break;case 40:e===41&&Zu(e);break;case 92:Be();break}return Ie}function Gy(e,t){for(;Be()&&e+ue!==57;)if(e+ue===84&&kt()===47)break;return"/*"+co(t,Ie-1)+"*"+Wi(e===47?e:Be())}function Yy(e){for(;!to(kt());)Be();return co(e,Ie)}function Xy(e){return Wp(Xo("",null,null,null,[""],e=Up(e),0,[0],e))}function Xo(e,t,n,r,o,i,l,u,s){for(var a=0,m=0,h=l,d=0,w=0,g=0,y=1,T=1,f=1,c=0,p="",v=o,S=i,_=r,k=p;T;)switch(g=c,c=Be()){case 40:if(g!=108&&he(k,h-1)==58){qu(k+=F(Yo(c),"&","&\f"),"&\f")!=-1&&(f=-1);break}case 34:case 39:case 91:k+=Yo(c);break;case 9:case 10:case 13:case 32:k+=by(g);break;case 92:k+=Qy(Go()-1,7);continue;case 47:switch(kt()){case 42:case 47:zo(qy(Gy(Be(),Go()),t,n),s);break;default:k+="/"}break;case 123*y:u[a++]=yt(k)*f;case 125*y:case 59:case 0:switch(c){case 0:case 125:T=0;case 59+m:f==-1&&(k=F(k,/\f/g,"")),w>0&&yt(k)-h&&zo(w>32?Wc(k+";",r,n,h-1):Wc(F(k," ","")+";",r,n,h-2),s);break;case 59:k+=";";default:if(zo(_=Uc(k,t,n,a,m,o,u,p,v=[],S=[],h),i),c===123)if(m===0)Xo(k,t,_,_,v,i,h,u,S);else switch(d===99&&he(k,3)===110?100:d){case 100:case 108:case 109:case 115:Xo(e,_,_,r&&zo(Uc(e,_,_,0,0,o,u,p,o,v=[],h),S),o,S,h,u,r?v:S);break;default:Xo(k,_,_,_,[""],S,0,u,S)}}a=m=w=0,y=f=1,p=k="",h=l;break;case 58:h=1+yt(k),w=g;default:if(y<1){if(c==123)--y;else if(c==125&&y++==0&&Ky()==125)continue}switch(k+=Wi(c),c*y){case 38:f=m>0?1:(k+="\f",-1);break;case 44:u[a++]=(yt(k)-1)*f,f=1;break;case 64:kt()===45&&(k+=Yo(Be())),d=kt(),m=h=yt(p=k+=Yy(Go())),c++;break;case 45:g===45&&yt(k)==2&&(y=0)}}return i}function Uc(e,t,n,r,o,i,l,u,s,a,m){for(var h=o-1,d=o===0?i:[""],w=ia(d),g=0,y=0,T=0;g0?d[f]+" "+c:F(c,/&\f/g,d[f])))&&(s[T++]=p);return Hi(e,t,n,o===0?ra:u,s,a,m)}function qy(e,t,n){return Hi(e,t,n,jp,Wi(Hy()),eo(e,2,-2),0)}function Wc(e,t,n,r){return Hi(e,t,n,oa,eo(e,0,r),eo(e,r+1,-1),r)}function Yn(e,t){for(var n="",r=ia(e),o=0;o6)switch(he(e,t+1)){case 109:if(he(e,t+4)!==45)break;case 102:return F(e,/(.+:)(.+)-([^]+)/,"$1"+j+"$2-$3$1"+Ei+(he(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~qu(e,"stretch")?Vp(F(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(he(e,t+1)!==115)break;case 6444:switch(he(e,yt(e)-3-(~qu(e,"!important")&&10))){case 107:return F(e,":",":"+j)+e;case 101:return F(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+j+(he(e,14)===45?"inline-":"")+"box$3$1"+j+"$2$3$1"+ke+"$2box$3")+e}break;case 5936:switch(he(e,t+11)){case 114:return j+e+ke+F(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return j+e+ke+F(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return j+e+ke+F(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return j+e+ke+e+e}return e}var lg=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case oa:t.return=Vp(t.value,t.length);break;case Fp:return Yn([Sr(t,{value:F(t.value,"@","@"+j)})],o);case ra:if(t.length)return Vy(t.props,function(i){switch(Wy(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Yn([Sr(t,{props:[F(i,/:(read-\w+)/,":"+Ei+"$1")]})],o);case"::placeholder":return Yn([Sr(t,{props:[F(i,/:(plac\w+)/,":"+j+"input-$1")]}),Sr(t,{props:[F(i,/:(plac\w+)/,":"+Ei+"$1")]}),Sr(t,{props:[F(i,/:(plac\w+)/,ke+"input-$1")]})],o)}return""})}},ug=[lg],Hp=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(y){var T=y.getAttribute("data-emotion");T.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var o=t.stylisPlugins||ug,i={},l,u=[];l=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(y){for(var T=y.getAttribute("data-emotion").split(" "),f=1;f=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&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 wg={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Sg=!1,kg=/[A-Z]|^ms/g,xg=/_EMO_([^_]+?)_([^]*?)_EMO_/g,qp=function(t){return t.charCodeAt(1)===45},Hc=function(t){return t!=null&&typeof t!="boolean"},tu=Ap(function(e){return qp(e)?e:e.replace(kg,"-$&").toLowerCase()}),Kc=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(xg,function(r,o,i){return gt={name:o,styles:i,next:gt},o})}return wg[t]!==1&&!qp(t)&&typeof n=="number"&&n!==0?n+"px":n},_g="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function no(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return gt={name:o.name,styles:o.styles,next:gt},o.name;var i=n;if(i.styles!==void 0){var l=i.next;if(l!==void 0)for(;l!==void 0;)gt={name:l.name,styles:l.styles,next:gt},l=l.next;var u=i.styles+";";return u}return Eg(e,t,n)}case"function":{if(e!==void 0){var s=gt,a=n(e);return gt=s,no(e,t,a)}break}}var m=n;if(t==null)return m;var h=t[m];return h!==void 0?h:m}function Eg(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o96?Og:$g},Yc=function(t,n,r){var o;if(n){var i=n.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(l){return t.__emotion_forwardProp(l)&&i(l)}:i}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},Ng=!1,Mg=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return Yp(n,r,o),Pg(function(){return Xp(n,r,o)}),null},zg=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,i,l;n!==void 0&&(i=n.label,l=n.target);var u=Yc(t,n,r),s=u||Gc(o),a=!s("as");return function(){var m=arguments,h=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&h.push("label:"+i+";"),m[0]==null||m[0].raw===void 0)h.push.apply(h,m);else{h.push(m[0][0]);for(var d=m.length,w=1;wt(Ag(o)?n:o):t;return Ot.jsx(Rg,{styles:r})}function Fg(e,t){return Ju(e,t)}const Dg=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},Bg=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:jg,StyledEngineProvider:Ig,ThemeContext:ca,css:t0,default:Fg,internal_processStyles:Dg,keyframes:tl},Symbol.toStringTag,{value:"Module"})),Ug=nn(Bg);function Vt(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function n0(e){if(!Vt(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=n0(e[n])}),t}function xt(e,t,n={clone:!0}){const r=n.clone?z({},e):e;return Vt(e)&&Vt(t)&&Object.keys(t).forEach(o=>{Vt(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Vt(e[o])?r[o]=xt(e[o],t[o],n):n.clone?r[o]=Vt(t[o])?n0(t[o]):t[o]:r[o]=t[o]}),r}const Wg=Object.freeze(Object.defineProperty({__proto__:null,default:xt,isPlainObject:Vt},Symbol.toStringTag,{value:"Module"})),Vg=nn(Wg);function fa(e){if(typeof e!="string")throw new Error(Jr(7));return e.charAt(0).toUpperCase()+e.slice(1)}const Hg=Object.freeze(Object.defineProperty({__proto__:null,default:fa},Symbol.toStringTag,{value:"Module"})),Kg=nn(Hg);var r0={exports:{}},W={};/** + * @license React + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var da=Symbol.for("react.element"),pa=Symbol.for("react.portal"),nl=Symbol.for("react.fragment"),rl=Symbol.for("react.strict_mode"),ol=Symbol.for("react.profiler"),il=Symbol.for("react.provider"),ll=Symbol.for("react.context"),bg=Symbol.for("react.server_context"),ul=Symbol.for("react.forward_ref"),sl=Symbol.for("react.suspense"),al=Symbol.for("react.suspense_list"),cl=Symbol.for("react.memo"),fl=Symbol.for("react.lazy"),Qg=Symbol.for("react.offscreen"),o0;o0=Symbol.for("react.module.reference");function nt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case da:switch(e=e.type,e){case nl:case ol:case rl:case sl:case al:return e;default:switch(e=e&&e.$$typeof,e){case bg:case ll:case ul:case fl:case cl:case il:return e;default:return t}}case pa:return t}}}W.ContextConsumer=ll;W.ContextProvider=il;W.Element=da;W.ForwardRef=ul;W.Fragment=nl;W.Lazy=fl;W.Memo=cl;W.Portal=pa;W.Profiler=ol;W.StrictMode=rl;W.Suspense=sl;W.SuspenseList=al;W.isAsyncMode=function(){return!1};W.isConcurrentMode=function(){return!1};W.isContextConsumer=function(e){return nt(e)===ll};W.isContextProvider=function(e){return nt(e)===il};W.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===da};W.isForwardRef=function(e){return nt(e)===ul};W.isFragment=function(e){return nt(e)===nl};W.isLazy=function(e){return nt(e)===fl};W.isMemo=function(e){return nt(e)===cl};W.isPortal=function(e){return nt(e)===pa};W.isProfiler=function(e){return nt(e)===ol};W.isStrictMode=function(e){return nt(e)===rl};W.isSuspense=function(e){return nt(e)===sl};W.isSuspenseList=function(e){return nt(e)===al};W.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===nl||e===ol||e===rl||e===sl||e===al||e===Qg||typeof e=="object"&&e!==null&&(e.$$typeof===fl||e.$$typeof===cl||e.$$typeof===il||e.$$typeof===ll||e.$$typeof===ul||e.$$typeof===o0||e.getModuleId!==void 0)};W.typeOf=nt;r0.exports=W;var Xc=r0.exports;const Gg=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function i0(e){const t=`${e}`.match(Gg);return t&&t[1]||""}function l0(e,t=""){return e.displayName||e.name||i0(e)||t}function qc(e,t,n){const r=l0(t);return e.displayName||(r!==""?`${n}(${r})`:n)}function Yg(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return l0(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Xc.ForwardRef:return qc(e,e.render,"ForwardRef");case Xc.Memo:return qc(e,e.type,"memo");default:return}}}const Xg=Object.freeze(Object.defineProperty({__proto__:null,default:Yg,getFunctionName:i0},Symbol.toStringTag,{value:"Module"})),qg=nn(Xg),Zg=["values","unit","step"],Jg=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>z({},n,{[r.key]:r.val}),{})};function u0(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=pt(e,Zg),i=Jg(t),l=Object.keys(i);function u(d){return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${n})`}function s(d){return`@media (max-width:${(typeof t[d]=="number"?t[d]:d)-r/100}${n})`}function a(d,w){const g=l.indexOf(w);return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${n}) and (max-width:${(g!==-1&&typeof t[l[g]]=="number"?t[l[g]]:w)-r/100}${n})`}function m(d){return l.indexOf(d)+1`@media (min-width:${ma[e]}px)`};function It(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||Zc;return t.reduce((l,u,s)=>(l[i.up(i.keys[s])]=n(t[s]),l),{})}if(typeof t=="object"){const i=r.breakpoints||Zc;return Object.keys(t).reduce((l,u)=>{if(Object.keys(i.values||ma).indexOf(u)!==-1){const s=i.up(u);l[s]=n(t[u],u)}else{const s=u;l[s]=t[s]}return l},{})}return n(t)}function t1(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function n1(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function dl(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(r!=null)return r}return t.split(".").reduce((r,o)=>r&&r[o]!=null?r[o]:null,e)}function Ci(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=dl(e,n)||r,t&&(o=t(o,r,e)),o}function oe(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=l=>{if(l[t]==null)return null;const u=l[t],s=l.theme,a=dl(s,r)||{};return It(l,u,h=>{let d=Ci(a,o,h);return h===d&&typeof h=="string"&&(d=Ci(a,o,`${t}${h==="default"?"":fa(h)}`,h)),n===!1?d:{[n]:d}})};return i.propTypes={},i.filterProps=[t],i}function r1(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const o1={m:"margin",p:"padding"},i1={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Jc={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},l1=r1(e=>{if(e.length>2)if(Jc[e])e=Jc[e];else return[e];const[t,n]=e.split(""),r=o1[t],o=i1[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),ha=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],ya=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...ha,...ya];function fo(e,t,n,r){var o;const i=(o=dl(e,t,!1))!=null?o:n;return typeof i=="number"?l=>typeof l=="string"?l:i*l:Array.isArray(i)?l=>typeof l=="string"?l:i[l]:typeof i=="function"?i:()=>{}}function s0(e){return fo(e,"spacing",8)}function po(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function u1(e,t){return n=>e.reduce((r,o)=>(r[o]=po(t,n),r),{})}function s1(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=l1(n),i=u1(o,r),l=e[n];return It(e,l,i)}function a0(e,t){const n=s0(e.theme);return Object.keys(e).map(r=>s1(e,t,r,n)).reduce(Ir,{})}function J(e){return a0(e,ha)}J.propTypes={};J.filterProps=ha;function ee(e){return a0(e,ya)}ee.propTypes={};ee.filterProps=ya;function a1(e=8){if(e.mui)return e;const t=s0({spacing:e}),n=(...r)=>(r.length===0?[1]:r).map(i=>{const l=t(i);return typeof l=="number"?`${l}px`:l}).join(" ");return n.mui=!0,n}function pl(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(i=>{r[i]=o}),r),{}),n=r=>Object.keys(r).reduce((o,i)=>t[i]?Ir(o,t[i](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function Xe(e){return typeof e!="number"?e:`${e}px solid`}function rt(e,t){return oe({prop:e,themeKey:"borders",transform:t})}const c1=rt("border",Xe),f1=rt("borderTop",Xe),d1=rt("borderRight",Xe),p1=rt("borderBottom",Xe),m1=rt("borderLeft",Xe),h1=rt("borderColor"),y1=rt("borderTopColor"),g1=rt("borderRightColor"),v1=rt("borderBottomColor"),w1=rt("borderLeftColor"),S1=rt("outline",Xe),k1=rt("outlineColor"),ml=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=fo(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:po(t,r)});return It(e,e.borderRadius,n)}return null};ml.propTypes={};ml.filterProps=["borderRadius"];pl(c1,f1,d1,p1,m1,h1,y1,g1,v1,w1,ml,S1,k1);const hl=e=>{if(e.gap!==void 0&&e.gap!==null){const t=fo(e.theme,"spacing",8),n=r=>({gap:po(t,r)});return It(e,e.gap,n)}return null};hl.propTypes={};hl.filterProps=["gap"];const yl=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=fo(e.theme,"spacing",8),n=r=>({columnGap:po(t,r)});return It(e,e.columnGap,n)}return null};yl.propTypes={};yl.filterProps=["columnGap"];const gl=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=fo(e.theme,"spacing",8),n=r=>({rowGap:po(t,r)});return It(e,e.rowGap,n)}return null};gl.propTypes={};gl.filterProps=["rowGap"];const x1=oe({prop:"gridColumn"}),_1=oe({prop:"gridRow"}),E1=oe({prop:"gridAutoFlow"}),C1=oe({prop:"gridAutoColumns"}),P1=oe({prop:"gridAutoRows"}),T1=oe({prop:"gridTemplateColumns"}),R1=oe({prop:"gridTemplateRows"}),O1=oe({prop:"gridTemplateAreas"}),$1=oe({prop:"gridArea"});pl(hl,yl,gl,x1,_1,E1,C1,P1,T1,R1,O1,$1);function Xn(e,t){return t==="grey"?t:e}const N1=oe({prop:"color",themeKey:"palette",transform:Xn}),M1=oe({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Xn}),z1=oe({prop:"backgroundColor",themeKey:"palette",transform:Xn});pl(N1,M1,z1);function je(e){return e<=1&&e!==0?`${e*100}%`:e}const L1=oe({prop:"width",transform:je}),ga=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,o;const i=((r=e.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[n])||ma[n];return i?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:je(n)}};return It(e,e.maxWidth,t)}return null};ga.filterProps=["maxWidth"];const I1=oe({prop:"minWidth",transform:je}),A1=oe({prop:"height",transform:je}),j1=oe({prop:"maxHeight",transform:je}),F1=oe({prop:"minHeight",transform:je});oe({prop:"size",cssProperty:"width",transform:je});oe({prop:"size",cssProperty:"height",transform:je});const D1=oe({prop:"boxSizing"});pl(L1,ga,I1,A1,j1,F1,D1);const mo={border:{themeKey:"borders",transform:Xe},borderTop:{themeKey:"borders",transform:Xe},borderRight:{themeKey:"borders",transform:Xe},borderBottom:{themeKey:"borders",transform:Xe},borderLeft:{themeKey:"borders",transform:Xe},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Xe},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:ml},color:{themeKey:"palette",transform:Xn},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Xn},backgroundColor:{themeKey:"palette",transform:Xn},p:{style:ee},pt:{style:ee},pr:{style:ee},pb:{style:ee},pl:{style:ee},px:{style:ee},py:{style:ee},padding:{style:ee},paddingTop:{style:ee},paddingRight:{style:ee},paddingBottom:{style:ee},paddingLeft:{style:ee},paddingX:{style:ee},paddingY:{style:ee},paddingInline:{style:ee},paddingInlineStart:{style:ee},paddingInlineEnd:{style:ee},paddingBlock:{style:ee},paddingBlockStart:{style:ee},paddingBlockEnd:{style:ee},m:{style:J},mt:{style:J},mr:{style:J},mb:{style:J},ml:{style:J},mx:{style:J},my:{style:J},margin:{style:J},marginTop:{style:J},marginRight:{style:J},marginBottom:{style:J},marginLeft:{style:J},marginX:{style:J},marginY:{style:J},marginInline:{style:J},marginInlineStart:{style:J},marginInlineEnd:{style:J},marginBlock:{style:J},marginBlockStart:{style:J},marginBlockEnd:{style:J},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:hl},rowGap:{style:gl},columnGap:{style:yl},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:je},maxWidth:{style:ga},minWidth:{transform:je},height:{transform:je},maxHeight:{transform:je},minHeight:{transform:je},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function B1(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function U1(e,t){return typeof e=="function"?e(t):e}function c0(){function e(n,r,o,i){const l={[n]:r,theme:o},u=i[n];if(!u)return{[n]:r};const{cssProperty:s=n,themeKey:a,transform:m,style:h}=u;if(r==null)return null;if(a==="typography"&&r==="inherit")return{[n]:r};const d=dl(o,a)||{};return h?h(l):It(l,r,g=>{let y=Ci(d,m,g);return g===y&&typeof g=="string"&&(y=Ci(d,m,`${n}${g==="default"?"":fa(g)}`,g)),s===!1?y:{[s]:y}})}function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const l=(r=i.unstable_sxConfig)!=null?r:mo;function u(s){let a=s;if(typeof s=="function")a=s(i);else if(typeof s!="object")return s;if(!a)return null;const m=t1(i.breakpoints),h=Object.keys(m);let d=m;return Object.keys(a).forEach(w=>{const g=U1(a[w],i);if(g!=null)if(typeof g=="object")if(l[w])d=Ir(d,e(w,g,i,l));else{const y=It({theme:i},g,T=>({[w]:T}));B1(y,g)?d[w]=t({sx:g,theme:i}):d=Ir(d,y)}else d=Ir(d,e(w,g,i,l))}),n1(h,d)}return Array.isArray(o)?o.map(u):u(o)}return t}const vl=c0();vl.filterProps=["sx"];function f0(e,t){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:n.palette.mode===e?t:{}}const W1=["breakpoints","palette","spacing","shape"];function d0(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,l=pt(e,W1),u=u0(n),s=a1(o);let a=xt({breakpoints:u,direction:"ltr",components:{},palette:z({mode:"light"},r),spacing:s,shape:z({},e1,i)},l);return a.applyStyles=f0,a=t.reduce((m,h)=>xt(m,h),a),a.unstable_sxConfig=z({},mo,l==null?void 0:l.unstable_sxConfig),a.unstable_sx=function(h){return vl({sx:h,theme:this})},a}const V1=Object.freeze(Object.defineProperty({__proto__:null,default:d0,private_createBreakpoints:u0,unstable_applyStyles:f0},Symbol.toStringTag,{value:"Module"})),H1=nn(V1),K1=["sx"],b1=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:mo;return Object.keys(e).forEach(i=>{o[i]?r.systemProps[i]=e[i]:r.otherProps[i]=e[i]}),r};function Q1(e){const{sx:t}=e,n=pt(e,K1),{systemProps:r,otherProps:o}=b1(n);let i;return Array.isArray(t)?i=[r,...t]:typeof t=="function"?i=(...l)=>{const u=t(...l);return Vt(u)?z({},r,u):r}:i=z({},r,t),z({},o,{sx:i})}const G1=Object.freeze(Object.defineProperty({__proto__:null,default:vl,extendSxProp:Q1,unstable_createStyleFunctionSx:c0,unstable_defaultSxConfig:mo},Symbol.toStringTag,{value:"Module"})),Y1=nn(G1);var cr=Op;Object.defineProperty(ao,"__esModule",{value:!0});var X1=ao.default=av;ao.shouldForwardProp=qo;ao.systemDefaultTheme=void 0;var Ke=cr(Oy()),ts=cr($y()),ef=rv(Ug),q1=Vg;cr(Kg);cr(qg);var Z1=cr(H1),J1=cr(Y1);const ev=["ownerState"],tv=["variants"],nv=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function p0(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(p0=function(r){return r?n:t})(e)}function rv(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=p0(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}function ov(e){return Object.keys(e).length===0}function iv(e){return typeof e=="string"&&e.charCodeAt(0)>96}function qo(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const lv=ao.systemDefaultTheme=(0,Z1.default)(),uv=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Lo({defaultTheme:e,theme:t,themeId:n}){return ov(t)?e:t[n]||t}function sv(e){return e?(t,n)=>n[e]:null}function Zo(e,t){let{ownerState:n}=t,r=(0,ts.default)(t,ev);const o=typeof e=="function"?e((0,Ke.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(i=>Zo(i,(0,Ke.default)({ownerState:n},r)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:i=[]}=o;let u=(0,ts.default)(o,tv);return i.forEach(s=>{let a=!0;typeof s.props=="function"?a=s.props((0,Ke.default)({ownerState:n},r,n)):Object.keys(s.props).forEach(m=>{(n==null?void 0:n[m])!==s.props[m]&&r[m]!==s.props[m]&&(a=!1)}),a&&(Array.isArray(u)||(u=[u]),u.push(typeof s.style=="function"?s.style((0,Ke.default)({ownerState:n},r,n)):s.style))}),u}return o}function av(e={}){const{themeId:t,defaultTheme:n=lv,rootShouldForwardProp:r=qo,slotShouldForwardProp:o=qo}=e,i=l=>(0,J1.default)((0,Ke.default)({},l,{theme:Lo((0,Ke.default)({},l,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(l,u={})=>{(0,ef.internal_processStyles)(l,S=>S.filter(_=>!(_!=null&&_.__mui_systemSx)));const{name:s,slot:a,skipVariantsResolver:m,skipSx:h,overridesResolver:d=sv(uv(a))}=u,w=(0,ts.default)(u,nv),g=m!==void 0?m:a&&a!=="Root"&&a!=="root"||!1,y=h||!1;let T,f=qo;a==="Root"||a==="root"?f=r:a?f=o:iv(l)&&(f=void 0);const c=(0,ef.default)(l,(0,Ke.default)({shouldForwardProp:f,label:T},w)),p=S=>typeof S=="function"&&S.__emotion_real!==S||(0,q1.isPlainObject)(S)?_=>Zo(S,(0,Ke.default)({},_,{theme:Lo({theme:_.theme,defaultTheme:n,themeId:t})})):S,v=(S,..._)=>{let k=p(S);const C=_?_.map(p):[];s&&d&&C.push(D=>{const V=Lo((0,Ke.default)({},D,{defaultTheme:n,themeId:t}));if(!V.components||!V.components[s]||!V.components[s].styleOverrides)return null;const ie=V.components[s].styleOverrides,ve={};return Object.entries(ie).forEach(([ot,Ee])=>{ve[ot]=Zo(Ee,(0,Ke.default)({},D,{theme:V}))}),d(D,ve)}),s&&!g&&C.push(D=>{var V;const ie=Lo((0,Ke.default)({},D,{defaultTheme:n,themeId:t})),ve=ie==null||(V=ie.components)==null||(V=V[s])==null?void 0:V.variants;return Zo({variants:ve},(0,Ke.default)({},D,{theme:ie}))}),y||C.push(i);const I=C.length-_.length;if(Array.isArray(S)&&I>0){const D=new Array(I).fill("");k=[...S,...D],k.raw=[...S.raw,...D]}const O=c(k,...C);return l.muiName&&(O.muiName=l.muiName),O};return c.withConfig&&(v.withConfig=c.withConfig),v}}const tf=e=>e,cv=()=>{let e=tf;return{configure(t){e=t},generate(t){return e(t)},reset(){e=tf}}},fv=cv(),dv={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function m0(e,t,n="Mui"){const r=dv[t];return r?`${n}-${r}`:`${fv.generate(e)}-${t}`}function pv(e,t){return z({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const ro={black:"#000",white:"#fff"},mv={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},Cn={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Pn={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},kr={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Tn={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Rn={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},On={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},hv=["mode","contrastThreshold","tonalOffset"],nf={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:ro.white,default:ro.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},nu={text:{primary:ro.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:ro.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function rf(e,t,n,r){const o=r.light||r,i=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=vy(e.main,o):t==="dark"&&(e.dark=yy(e.main,i)))}function yv(e="light"){return e==="dark"?{main:Tn[200],light:Tn[50],dark:Tn[400]}:{main:Tn[700],light:Tn[400],dark:Tn[800]}}function gv(e="light"){return e==="dark"?{main:Cn[200],light:Cn[50],dark:Cn[400]}:{main:Cn[500],light:Cn[300],dark:Cn[700]}}function vv(e="light"){return e==="dark"?{main:Pn[500],light:Pn[300],dark:Pn[700]}:{main:Pn[700],light:Pn[400],dark:Pn[800]}}function wv(e="light"){return e==="dark"?{main:Rn[400],light:Rn[300],dark:Rn[700]}:{main:Rn[700],light:Rn[500],dark:Rn[900]}}function Sv(e="light"){return e==="dark"?{main:On[400],light:On[300],dark:On[700]}:{main:On[800],light:On[500],dark:On[900]}}function kv(e="light"){return e==="dark"?{main:kr[400],light:kr[300],dark:kr[700]}:{main:"#ed6c02",light:kr[500],dark:kr[900]}}function xv(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=pt(e,hv),i=e.primary||yv(t),l=e.secondary||gv(t),u=e.error||vv(t),s=e.info||wv(t),a=e.success||Sv(t),m=e.warning||kv(t);function h(y){return gy(y,nu.text.primary)>=n?nu.text.primary:nf.text.primary}const d=({color:y,name:T,mainShade:f=500,lightShade:c=300,darkShade:p=700})=>{if(y=z({},y),!y.main&&y[f]&&(y.main=y[f]),!y.hasOwnProperty("main"))throw new Error(Jr(11,T?` (${T})`:"",f));if(typeof y.main!="string")throw new Error(Jr(12,T?` (${T})`:"",JSON.stringify(y.main)));return rf(y,"light",c,r),rf(y,"dark",p,r),y.contrastText||(y.contrastText=h(y.main)),y},w={dark:nu,light:nf};return xt(z({common:z({},ro),mode:t,primary:d({color:i,name:"primary"}),secondary:d({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:d({color:u,name:"error"}),warning:d({color:m,name:"warning"}),info:d({color:s,name:"info"}),success:d({color:a,name:"success"}),grey:mv,contrastThreshold:n,getContrastText:h,augmentColor:d,tonalOffset:r},w[t]),o)}const _v=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Ev(e){return Math.round(e*1e5)/1e5}const of={textTransform:"uppercase"},lf='"Roboto", "Helvetica", "Arial", sans-serif';function Cv(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=lf,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:l=400,fontWeightMedium:u=500,fontWeightBold:s=700,htmlFontSize:a=16,allVariants:m,pxToRem:h}=n,d=pt(n,_v),w=o/14,g=h||(f=>`${f/a*w}rem`),y=(f,c,p,v,S)=>z({fontFamily:r,fontWeight:f,fontSize:g(c),lineHeight:p},r===lf?{letterSpacing:`${Ev(v/c)}em`}:{},S,m),T={h1:y(i,96,1.167,-1.5),h2:y(i,60,1.2,-.5),h3:y(l,48,1.167,0),h4:y(l,34,1.235,.25),h5:y(l,24,1.334,0),h6:y(u,20,1.6,.15),subtitle1:y(l,16,1.75,.15),subtitle2:y(u,14,1.57,.1),body1:y(l,16,1.5,.15),body2:y(l,14,1.43,.15),button:y(u,14,1.75,.4,of),caption:y(l,12,1.66,.4),overline:y(l,12,2.66,1,of),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return xt(z({htmlFontSize:a,pxToRem:g,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:l,fontWeightMedium:u,fontWeightBold:s},T),d,{clone:!1})}const Pv=.2,Tv=.14,Rv=.12;function Q(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Pv})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Tv})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Rv})`].join(",")}const Ov=["none",Q(0,2,1,-1,0,1,1,0,0,1,3,0),Q(0,3,1,-2,0,2,2,0,0,1,5,0),Q(0,3,3,-2,0,3,4,0,0,1,8,0),Q(0,2,4,-1,0,4,5,0,0,1,10,0),Q(0,3,5,-1,0,5,8,0,0,1,14,0),Q(0,3,5,-1,0,6,10,0,0,1,18,0),Q(0,4,5,-2,0,7,10,1,0,2,16,1),Q(0,5,5,-3,0,8,10,1,0,3,14,2),Q(0,5,6,-3,0,9,12,1,0,3,16,2),Q(0,6,6,-3,0,10,14,1,0,4,18,3),Q(0,6,7,-4,0,11,15,1,0,4,20,3),Q(0,7,8,-4,0,12,17,2,0,5,22,4),Q(0,7,8,-4,0,13,19,2,0,5,24,4),Q(0,7,9,-4,0,14,21,2,0,5,26,4),Q(0,8,9,-5,0,15,22,2,0,6,28,5),Q(0,8,10,-5,0,16,24,2,0,6,30,5),Q(0,8,11,-5,0,17,26,2,0,6,32,5),Q(0,9,11,-5,0,18,28,2,0,7,34,6),Q(0,9,12,-6,0,19,29,2,0,7,36,6),Q(0,10,13,-6,0,20,31,3,0,8,38,7),Q(0,10,13,-6,0,21,33,3,0,8,40,7),Q(0,10,14,-6,0,22,35,3,0,8,42,7),Q(0,11,14,-7,0,23,36,3,0,9,44,8),Q(0,11,15,-7,0,24,38,3,0,9,46,8)],$v=["duration","easing","delay"],Nv={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Mv={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function uf(e){return`${Math.round(e)}ms`}function zv(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function Lv(e){const t=z({},Nv,e.easing),n=z({},Mv,e.duration);return z({getAutoHeightDuration:zv,create:(o=["all"],i={})=>{const{duration:l=n.standard,easing:u=t.easeInOut,delay:s=0}=i;return pt(i,$v),(Array.isArray(o)?o:[o]).map(a=>`${a} ${typeof l=="string"?l:uf(l)} ${u} ${typeof s=="string"?s:uf(s)}`).join(",")}},e,{easing:t,duration:n})}const Iv={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Av=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function jv(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,l=pt(e,Av);if(e.vars)throw new Error(Jr(18));const u=xv(r),s=d0(e);let a=xt(s,{mixins:pv(s.breakpoints,n),palette:u,shadows:Ov.slice(),typography:Cv(u,i),transitions:Lv(o),zIndex:z({},Iv)});return a=xt(a,l),a=t.reduce((m,h)=>xt(m,h),a),a.unstable_sxConfig=z({},mo,l==null?void 0:l.unstable_sxConfig),a.unstable_sx=function(h){return vl({sx:h,theme:this})},a}const Fv=jv(),Dv="$$material";function Bv(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Uv=e=>Bv(e)&&e!=="classes",va=X1({themeId:Dv,defaultTheme:Fv,rootShouldForwardProp:Uv}),Wv=R.createContext(void 0);function Vv(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?Xu(o.defaultProps,r):!o.styleOverrides&&!o.variants?Xu(o,r):r}function Hv({props:e,name:t}){const n=R.useContext(Wv);return Vv({props:e,name:t,theme:{components:n}})}function h0(e){return Hv(e)}function Kv(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function ns(...e){return R.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{Kv(n,t)})},e)}const bv=typeof window<"u"?R.useLayoutEffect:R.useEffect;function Io(e){const t=R.useRef(e);return bv(()=>{t.current=e}),R.useRef((...n)=>(0,t.current)(...n)).current}const sf={};function Qv(e,t){const n=R.useRef(sf);return n.current===sf&&(n.current=e(t)),n}const Gv=[];function Yv(e){R.useEffect(e,Gv)}class wl{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new wl}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function Xv(){const e=Qv(wl.create).current;return Yv(e.disposeEffect),e}let Sl=!0,rs=!1;const qv=new wl,Zv={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function Jv(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&Zv[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function ew(e){e.metaKey||e.altKey||e.ctrlKey||(Sl=!0)}function ru(){Sl=!1}function tw(){this.visibilityState==="hidden"&&rs&&(Sl=!0)}function nw(e){e.addEventListener("keydown",ew,!0),e.addEventListener("mousedown",ru,!0),e.addEventListener("pointerdown",ru,!0),e.addEventListener("touchstart",ru,!0),e.addEventListener("visibilitychange",tw,!0)}function rw(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Sl||Jv(t)}function ow(){const e=R.useCallback(o=>{o!=null&&nw(o.ownerDocument)},[]),t=R.useRef(!1);function n(){return t.current?(rs=!0,qv.start(100,()=>{rs=!1}),t.current=!1,!0):!1}function r(o){return rw(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function os(e,t){return os=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},os(e,t)}function iw(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,os(e,t)}const af=$n.createContext(null);function lw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wa(e,t){var n=function(i){return t&&R.isValidElement(i)?t(i):i},r=Object.create(null);return e&&R.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function uw(e,t){e=e||{},t=t||{};function n(m){return m in t?t[m]:e[m]}var r=Object.create(null),o=[];for(var i in e)i in t?o.length&&(r[i]=o,o=[]):o.push(i);var l,u={};for(var s in t){if(r[s])for(l=0;l{r[o]=m0(e,o,n)}),r}function Iw(e){return e&&e.ownerDocument||document}function dw(e){return typeof e=="string"}function pw(e,t,n){return e===void 0||dw(e)?t:z({},t,{ownerState:z({},t.ownerState,n)})}function mw(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function cf(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function hw(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const w=be(n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),g=z({},n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),y=z({},n,o,r);return w.length>0&&(y.className=w),Object.keys(g).length>0&&(y.style=g),{props:y,internalRef:void 0}}const l=mw(z({},o,r)),u=cf(r),s=cf(o),a=t(l),m=be(a==null?void 0:a.className,n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),h=z({},a==null?void 0:a.style,n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),d=z({},a,n,s,u);return m.length>0&&(d.className=m),Object.keys(h).length>0&&(d.style=h),{props:d,internalRef:a.ref}}function yw(e,t,n){return typeof e=="function"?e(t,n):e}const gw=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Aw(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:i=!1}=e,l=pt(e,gw),u=i?{}:yw(r,o),{props:s,internalRef:a}=hw(z({},l,{externalSlotProps:u})),m=ns(a,u==null?void 0:u.ref,(t=e.additionalProps)==null?void 0:t.ref);return pw(n,z({},s,{ref:m}),o)}const vw=R.createContext(),jw=()=>{const e=R.useContext(vw);return e??!1};function ww(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:i,rippleSize:l,in:u,onExited:s,timeout:a}=e,[m,h]=R.useState(!1),d=be(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),w={width:l,height:l,top:-(l/2)+i,left:-(l/2)+o},g=be(n.child,m&&n.childLeaving,r&&n.childPulsate);return!u&&!m&&h(!0),R.useEffect(()=>{if(!u&&s!=null){const y=setTimeout(s,a);return()=>{clearTimeout(y)}}},[s,u,a]),Ot.jsx("span",{className:d,style:w,children:Ot.jsx("span",{className:g})})}const Qe=y0("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Sw=["center","classes","className"];let kl=e=>e,ff,df,pf,mf;const is=550,kw=80,xw=tl(ff||(ff=kl` + 0% { + transform: scale(0); + opacity: 0.1; + } + + 100% { + transform: scale(1); + opacity: 0.3; + } +`)),_w=tl(df||(df=kl` + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + } +`)),Ew=tl(pf||(pf=kl` + 0% { + transform: scale(1); + } + + 50% { + transform: scale(0.92); + } + + 100% { + transform: scale(1); + } +`)),Cw=va("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Pw=va(ww,{name:"MuiTouchRipple",slot:"Ripple"})(mf||(mf=kl` + opacity: 0; + position: absolute; + + &.${0} { + opacity: 0.3; + transform: scale(1); + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + &.${0} { + animation-duration: ${0}ms; + } + + & .${0} { + opacity: 1; + display: block; + width: 100%; + height: 100%; + border-radius: 50%; + background-color: currentColor; + } + + & .${0} { + opacity: 0; + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + & .${0} { + position: absolute; + /* @noflip */ + left: 0px; + top: 0; + animation-name: ${0}; + animation-duration: 2500ms; + animation-timing-function: ${0}; + animation-iteration-count: infinite; + animation-delay: 200ms; + } +`),Qe.rippleVisible,xw,is,({theme:e})=>e.transitions.easing.easeInOut,Qe.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,Qe.child,Qe.childLeaving,_w,is,({theme:e})=>e.transitions.easing.easeInOut,Qe.childPulsate,Ew,({theme:e})=>e.transitions.easing.easeInOut),Tw=R.forwardRef(function(t,n){const r=h0({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:l}=r,u=pt(r,Sw),[s,a]=R.useState([]),m=R.useRef(0),h=R.useRef(null);R.useEffect(()=>{h.current&&(h.current(),h.current=null)},[s]);const d=R.useRef(!1),w=Xv(),g=R.useRef(null),y=R.useRef(null),T=R.useCallback(v=>{const{pulsate:S,rippleX:_,rippleY:k,rippleSize:C,cb:I}=v;a(O=>[...O,Ot.jsx(Pw,{classes:{ripple:be(i.ripple,Qe.ripple),rippleVisible:be(i.rippleVisible,Qe.rippleVisible),ripplePulsate:be(i.ripplePulsate,Qe.ripplePulsate),child:be(i.child,Qe.child),childLeaving:be(i.childLeaving,Qe.childLeaving),childPulsate:be(i.childPulsate,Qe.childPulsate)},timeout:is,pulsate:S,rippleX:_,rippleY:k,rippleSize:C},m.current)]),m.current+=1,h.current=I},[i]),f=R.useCallback((v={},S={},_=()=>{})=>{const{pulsate:k=!1,center:C=o||S.pulsate,fakeElement:I=!1}=S;if((v==null?void 0:v.type)==="mousedown"&&d.current){d.current=!1;return}(v==null?void 0:v.type)==="touchstart"&&(d.current=!0);const O=I?null:y.current,D=O?O.getBoundingClientRect():{width:0,height:0,left:0,top:0};let V,ie,ve;if(C||v===void 0||v.clientX===0&&v.clientY===0||!v.clientX&&!v.touches)V=Math.round(D.width/2),ie=Math.round(D.height/2);else{const{clientX:ot,clientY:Ee}=v.touches&&v.touches.length>0?v.touches[0]:v;V=Math.round(ot-D.left),ie=Math.round(Ee-D.top)}if(C)ve=Math.sqrt((2*D.width**2+D.height**2)/3),ve%2===0&&(ve+=1);else{const ot=Math.max(Math.abs((O?O.clientWidth:0)-V),V)*2+2,Ee=Math.max(Math.abs((O?O.clientHeight:0)-ie),ie)*2+2;ve=Math.sqrt(ot**2+Ee**2)}v!=null&&v.touches?g.current===null&&(g.current=()=>{T({pulsate:k,rippleX:V,rippleY:ie,rippleSize:ve,cb:_})},w.start(kw,()=>{g.current&&(g.current(),g.current=null)})):T({pulsate:k,rippleX:V,rippleY:ie,rippleSize:ve,cb:_})},[o,T,w]),c=R.useCallback(()=>{f({},{pulsate:!0})},[f]),p=R.useCallback((v,S)=>{if(w.clear(),(v==null?void 0:v.type)==="touchend"&&g.current){g.current(),g.current=null,w.start(0,()=>{p(v,S)});return}g.current=null,a(_=>_.length>0?_.slice(1):_),h.current=S},[w]);return R.useImperativeHandle(n,()=>({pulsate:c,start:f,stop:p}),[c,f,p]),Ot.jsx(Cw,z({className:be(Qe.root,i.root,l),ref:y},u,{children:Ot.jsx(Sa,{component:null,exit:!0,children:s})}))});function Rw(e){return m0("MuiButtonBase",e)}const Ow=y0("MuiButtonBase",["root","disabled","focusVisible"]),$w=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],Nw=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,l=cy({root:["root",t&&"disabled",n&&"focusVisible"]},Rw,o);return n&&r&&(l.root+=` ${r}`),l},Mw=va("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Ow.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Fw=R.forwardRef(function(t,n){const r=h0({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:l,className:u,component:s="button",disabled:a=!1,disableRipple:m=!1,disableTouchRipple:h=!1,focusRipple:d=!1,LinkComponent:w="a",onBlur:g,onClick:y,onContextMenu:T,onDragLeave:f,onFocus:c,onFocusVisible:p,onKeyDown:v,onKeyUp:S,onMouseDown:_,onMouseLeave:k,onMouseUp:C,onTouchEnd:I,onTouchMove:O,onTouchStart:D,tabIndex:V=0,TouchRippleProps:ie,touchRippleRef:ve,type:ot}=r,Ee=pt(r,$w),_t=R.useRef(null),E=R.useRef(null),$=ns(E,ve),{isFocusVisibleRef:N,onFocus:Y,onBlur:le,ref:xn}=ow(),[Ce,jt]=R.useState(!1);a&&Ce&&jt(!1),R.useImperativeHandle(o,()=>({focusVisible:()=>{jt(!0),_t.current.focus()}}),[]);const[it,_n]=R.useState(!1);R.useEffect(()=>{_n(!0)},[]);const g0=it&&!m&&!a;R.useEffect(()=>{Ce&&d&&!m&&it&&E.current.pulsate()},[m,d,Ce,it]);function Et(M,xa,M0=h){return Io(_a=>(xa&&xa(_a),!M0&&E.current&&E.current[M](_a),!0))}const v0=Et("start",_),w0=Et("stop",T),S0=Et("stop",f),k0=Et("stop",C),x0=Et("stop",M=>{Ce&&M.preventDefault(),k&&k(M)}),_0=Et("start",D),E0=Et("stop",I),C0=Et("stop",O),P0=Et("stop",M=>{le(M),N.current===!1&&jt(!1),g&&g(M)},!1),T0=Io(M=>{_t.current||(_t.current=M.currentTarget),Y(M),N.current===!0&&(jt(!0),p&&p(M)),c&&c(M)}),xl=()=>{const M=_t.current;return s&&s!=="button"&&!(M.tagName==="A"&&M.href)},_l=R.useRef(!1),R0=Io(M=>{d&&!_l.current&&Ce&&E.current&&M.key===" "&&(_l.current=!0,E.current.stop(M,()=>{E.current.start(M)})),M.target===M.currentTarget&&xl()&&M.key===" "&&M.preventDefault(),v&&v(M),M.target===M.currentTarget&&xl()&&M.key==="Enter"&&!a&&(M.preventDefault(),y&&y(M))}),O0=Io(M=>{d&&M.key===" "&&E.current&&Ce&&!M.defaultPrevented&&(_l.current=!1,E.current.stop(M,()=>{E.current.pulsate(M)})),S&&S(M),y&&M.target===M.currentTarget&&xl()&&M.key===" "&&!M.defaultPrevented&&y(M)});let ho=s;ho==="button"&&(Ee.href||Ee.to)&&(ho=w);const fr={};ho==="button"?(fr.type=ot===void 0?"button":ot,fr.disabled=a):(!Ee.href&&!Ee.to&&(fr.role="button"),a&&(fr["aria-disabled"]=a));const $0=ns(n,xn,_t),ka=z({},r,{centerRipple:i,component:s,disabled:a,disableRipple:m,disableTouchRipple:h,focusRipple:d,tabIndex:V,focusVisible:Ce}),N0=Nw(ka);return Ot.jsxs(Mw,z({as:ho,className:be(N0.root,u),ownerState:ka,onBlur:P0,onClick:y,onContextMenu:w0,onFocus:T0,onKeyDown:R0,onKeyUp:O0,onMouseDown:v0,onMouseLeave:x0,onMouseUp:k0,onDragLeave:S0,onTouchEnd:E0,onTouchMove:C0,onTouchStart:_0,ref:$0,tabIndex:a?-1:V,type:ot},fr,Ee,{children:[l,g0?Ot.jsx(Tw,z({ref:$,center:i},ie)):null]}))});export{Ra as A,Fw as B,d0 as C,Fg as D,vl as E,Q1 as F,jg as G,Dv as H,Fv as I,Jr as J,jv as K,fv as L,xt as M,ay as N,L0 as O,ca as T,z as _,m0 as a,Uv as b,fa as c,Lw as d,Xu as e,pt as f,y0 as g,be as h,cy as i,Ot as j,py as k,ow as l,ns as m,bv as n,Io as o,Iw as p,mw as q,R as r,va as s,dw as t,h0 as u,vy as v,yy as w,Bv as x,jw as y,Aw as z}; diff --git a/dist/js/ButtonBase-jWIYaW7A.js b/dist/js/ButtonBase-jWIYaW7A.js new file mode 100644 index 0000000..4bff24c --- /dev/null +++ b/dist/js/ButtonBase-jWIYaW7A.js @@ -0,0 +1,128 @@ +function T0(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const l of i.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function R0(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function nn(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var af={exports:{}},Pi={},cf={exports:{}},L={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var oo=Symbol.for("react.element"),O0=Symbol.for("react.portal"),$0=Symbol.for("react.fragment"),M0=Symbol.for("react.strict_mode"),N0=Symbol.for("react.profiler"),z0=Symbol.for("react.provider"),L0=Symbol.for("react.context"),A0=Symbol.for("react.forward_ref"),j0=Symbol.for("react.suspense"),I0=Symbol.for("react.memo"),F0=Symbol.for("react.lazy"),ka=Symbol.iterator;function D0(e){return e===null||typeof e!="object"?null:(e=ka&&e[ka]||e["@@iterator"],typeof e=="function"?e:null)}var ff={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},df=Object.assign,pf={};function ir(e,t,n){this.props=e,this.context=t,this.refs=pf,this.updater=n||ff}ir.prototype.isReactComponent={};ir.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};ir.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function mf(){}mf.prototype=ir.prototype;function rs(e,t,n){this.props=e,this.context=t,this.refs=pf,this.updater=n||ff}var os=rs.prototype=new mf;os.constructor=rs;df(os,ir.prototype);os.isPureReactComponent=!0;var xa=Array.isArray,hf=Object.prototype.hasOwnProperty,is={current:null},yf={key:!0,ref:!0,__self:!0,__source:!0};function gf(e,t,n){var r,o={},i=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(i=""+t.key),t)hf.call(t,r)&&!yf.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(u===1)o.children=n;else if(1>>1,le=_[Y];if(0>>1;Yo(It,M))ito(En,It)?(_[Y]=En,_[it]=M,Y=it):(_[Y]=It,_[Ce]=M,Y=Ce);else if(ito(En,M))_[Y]=En,_[it]=M,Y=it;else break e}}return $}function o(_,$){var M=_.sortIndex-$.sortIndex;return M!==0?M:_.id-$.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var l=Date,u=l.now();e.unstable_now=function(){return l.now()-u}}var s=[],a=[],m=1,h=null,d=3,w=!1,g=!1,y=!1,T=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(_){for(var $=n(a);$!==null;){if($.callback===null)r(a);else if($.startTime<=_)r(a),$.sortIndex=$.expirationTime,t(s,$);else break;$=n(a)}}function v(_){if(y=!1,p(_),!g)if(n(s)!==null)g=!0,_e(S);else{var $=n(a);$!==null&&Et(v,$.startTime-_)}}function S(_,$){g=!1,y&&(y=!1,f(C),C=-1),w=!0;var M=d;try{for(p($),h=n(s);h!==null&&(!(h.expirationTime>$)||_&&!D());){var Y=h.callback;if(typeof Y=="function"){h.callback=null,d=h.priorityLevel;var le=Y(h.expirationTime<=$);$=e.unstable_now(),typeof le=="function"?h.callback=le:h===n(s)&&r(s),p($)}else r(s);h=n(s)}if(h!==null)var xn=!0;else{var Ce=n(a);Ce!==null&&Et(v,Ce.startTime-$),xn=!1}return xn}finally{h=null,d=M,w=!1}}var E=!1,k=null,C=-1,A=5,O=-1;function D(){return!(e.unstable_now()-O_||125<_?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):A=0<_?Math.floor(1e3/_):5},e.unstable_getCurrentPriorityLevel=function(){return d},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(_){switch(d){case 1:case 2:case 3:var $=3;break;default:$=d}var M=d;d=$;try{return _()}finally{d=M}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(_,$){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var M=d;d=_;try{return $()}finally{d=M}},e.unstable_scheduleCallback=function(_,$,M){var Y=e.unstable_now();switch(typeof M=="object"&&M!==null?(M=M.delay,M=typeof M=="number"&&0Y?(_.sortIndex=M,t(a,_),n(s)===null&&_===n(a)&&(y?(f(C),C=-1):y=!0,Et(v,M-Y))):(_.sortIndex=le,t(s,_),g||w||(g=!0,_e(S))),_},e.unstable_shouldYield=D,e.unstable_wrapCallback=function(_){var $=d;return function(){var M=d;d=$;try{return _.apply(this,arguments)}finally{d=M}}}})(xf);kf.exports=xf;var X0=kf.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Z0=R,Ue=X0;function x(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),tu=Object.prototype.hasOwnProperty,q0=/^[: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]*$/,Pa={},Ta={};function J0(e){return tu.call(Ta,e)?!0:tu.call(Pa,e)?!1:q0.test(e)?Ta[e]=!0:(Pa[e]=!0,!1)}function em(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function tm(e,t,n,r){if(t===null||typeof t>"u"||em(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.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 Oe(e,t,n,r,o,i,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=l}var ge={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ge[e]=new Oe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ge[t]=new Oe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ge[e]=new Oe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ge[e]=new Oe(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){ge[e]=new Oe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ge[e]=new Oe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ge[e]=new Oe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ge[e]=new Oe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ge[e]=new Oe(e,5,!1,e.toLowerCase(),null,!1,!1)});var us=/[\-:]([a-z])/g;function ss(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(us,ss);ge[t]=new Oe(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(us,ss);ge[t]=new Oe(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(us,ss);ge[t]=new Oe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ge[e]=new Oe(e,1,!1,e.toLowerCase(),null,!1,!1)});ge.xlinkHref=new Oe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ge[e]=new Oe(e,1,!1,e.toLowerCase(),null,!0,!0)});function as(e,t,n,r){var o=ge.hasOwnProperty(t)?ge[t]:null;(o!==null?o.type!==0:r||!(2u||o[l]!==i[u]){var s=` +`+o[l].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=l&&0<=u);break}}}finally{Pl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?xr(e):""}function nm(e){switch(e.tag){case 5:return xr(e.type);case 16:return xr("Lazy");case 13:return xr("Suspense");case 19:return xr("SuspenseList");case 0:case 2:case 15:return e=Tl(e.type,!1),e;case 11:return e=Tl(e.type.render,!1),e;case 1:return e=Tl(e.type,!0),e;default:return""}}function iu(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 Nn:return"Fragment";case Mn:return"Portal";case nu:return"Profiler";case cs:return"StrictMode";case ru:return"Suspense";case ou:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Cf:return(e.displayName||"Context")+".Consumer";case _f:return(e._context.displayName||"Context")+".Provider";case fs:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ds:return t=e.displayName||null,t!==null?t:iu(e.type)||"Memo";case Dt:t=e._payload,e=e._init;try{return iu(e(t))}catch{}}return null}function rm(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return iu(t);case 8:return t===cs?"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 t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function en(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Tf(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function om(e){var t=Tf(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(l){r=""+l,i.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function vo(e){e._valueTracker||(e._valueTracker=om(e))}function Rf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Tf(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Jo(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}}function lu(e,t){var n=t.checked;return q({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Oa(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=en(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Of(e,t){t=t.checked,t!=null&&as(e,"checked",t,!1)}function uu(e,t){Of(e,t);var n=en(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?su(e,t.type,n):t.hasOwnProperty("defaultValue")&&su(e,t.type,en(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function $a(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function su(e,t,n){(t!=="number"||Jo(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Er=Array.isArray;function Vn(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=wo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ir(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Pr={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},im=["Webkit","ms","Moz","O"];Object.keys(Pr).forEach(function(e){im.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Pr[t]=Pr[e]})});function zf(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Pr.hasOwnProperty(e)&&Pr[e]?(""+t).trim():t+"px"}function Lf(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=zf(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var lm=q({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 fu(e,t){if(t){if(lm[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(x(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(x(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(x(61))}if(t.style!=null&&typeof t.style!="object")throw Error(x(62))}}function du(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}}var pu=null;function ps(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var mu=null,Hn=null,Kn=null;function za(e){if(e=uo(e)){if(typeof mu!="function")throw Error(x(280));var t=e.stateNode;t&&(t=Mi(t),mu(e.stateNode,e.type,t))}}function Af(e){Hn?Kn?Kn.push(e):Kn=[e]:Hn=e}function jf(){if(Hn){var e=Hn,t=Kn;if(Kn=Hn=null,za(e),t)for(e=0;e>>=0,e===0?32:31-(gm(e)/vm|0)|0}var So=64,ko=4194304;function _r(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ri(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,l=n&268435455;if(l!==0){var u=l&~o;u!==0?r=_r(u):(i&=l,i!==0&&(r=_r(i)))}else l=n&~o,l!==0?r=_r(l):i!==0&&(r=_r(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function io(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ct(t),e[t]=n}function xm(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Rr),Wa=" ",Va=!1;function nd(e,t){switch(e){case"keyup":return Xm.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function rd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var zn=!1;function qm(e,t){switch(e){case"compositionend":return rd(t);case"keypress":return t.which!==32?null:(Va=!0,Wa);case"textInput":return e=t.data,e===Wa&&Va?null:e;default:return null}}function Jm(e,t){if(zn)return e==="compositionend"||!ks&&nd(e,t)?(e=ed(),Do=vs=Ht=null,zn=!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)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Qa(n)}}function ud(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ud(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function sd(){for(var e=window,t=Jo();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Jo(e.document)}return t}function xs(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")}function sh(e){var t=sd(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&ud(n.ownerDocument.documentElement,n)){if(r!==null&&xs(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=Ga(n,i);var l=Ga(n,r);o&&l&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Ln=null,Su=null,$r=null,ku=!1;function Ya(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ku||Ln==null||Ln!==Jo(r)||(r=Ln,"selectionStart"in r&&xs(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),$r&&Vr($r,r)||($r=r,r=li(Su,"onSelect"),0In||(e.current=Tu[In],Tu[In]=null,In--)}function H(e,t){In++,Tu[In]=e.current,e.current=t}var tn={},Ee=on(tn),Ne=on(!1),hn=tn;function qn(e,t){var n=e.type.contextTypes;if(!n)return tn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function ze(e){return e=e.childContextTypes,e!=null}function si(){b(Ne),b(Ee)}function nc(e,t,n){if(Ee.current!==tn)throw Error(x(168));H(Ee,t),H(Ne,n)}function gd(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(x(108,rm(e)||"Unknown",o));return q({},n,r)}function ai(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||tn,hn=Ee.current,H(Ee,e),H(Ne,Ne.current),!0}function rc(e,t,n){var r=e.stateNode;if(!r)throw Error(x(169));n?(e=gd(e,t,hn),r.__reactInternalMemoizedMergedChildContext=e,b(Ne),b(Ee),H(Ee,e)):b(Ne),H(Ne,n)}var Pt=null,Ni=!1,Ul=!1;function vd(e){Pt===null?Pt=[e]:Pt.push(e)}function Sh(e){Ni=!0,vd(e)}function ln(){if(!Ul&&Pt!==null){Ul=!0;var e=0,t=B;try{var n=Pt;for(B=1;e>=l,o-=l,Tt=1<<32-ct(t)+o|n<C?(A=k,k=null):A=k.sibling;var O=d(f,k,p[C],v);if(O===null){k===null&&(k=A);break}e&&k&&O.alternate===null&&t(f,k),c=i(O,c,C),E===null?S=O:E.sibling=O,E=O,k=A}if(C===p.length)return n(f,k),G&&un(f,C),S;if(k===null){for(;CC?(A=k,k=null):A=k.sibling;var D=d(f,k,O.value,v);if(D===null){k===null&&(k=A);break}e&&k&&D.alternate===null&&t(f,k),c=i(D,c,C),E===null?S=D:E.sibling=D,E=D,k=A}if(O.done)return n(f,k),G&&un(f,C),S;if(k===null){for(;!O.done;C++,O=p.next())O=h(f,O.value,v),O!==null&&(c=i(O,c,C),E===null?S=O:E.sibling=O,E=O);return G&&un(f,C),S}for(k=r(f,k);!O.done;C++,O=p.next())O=w(k,f,C,O.value,v),O!==null&&(e&&O.alternate!==null&&k.delete(O.key===null?C:O.key),c=i(O,c,C),E===null?S=O:E.sibling=O,E=O);return e&&k.forEach(function(V){return t(f,V)}),G&&un(f,C),S}function T(f,c,p,v){if(typeof p=="object"&&p!==null&&p.type===Nn&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case go:e:{for(var S=p.key,E=c;E!==null;){if(E.key===S){if(S=p.type,S===Nn){if(E.tag===7){n(f,E.sibling),c=o(E,p.props.children),c.return=f,f=c;break e}}else if(E.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===Dt&&lc(S)===E.type){n(f,E.sibling),c=o(E,p.props),c.ref=gr(f,E,p),c.return=f,f=c;break e}n(f,E);break}else t(f,E);E=E.sibling}p.type===Nn?(c=mn(p.props.children,f.mode,v,p.key),c.return=f,f=c):(v=Qo(p.type,p.key,p.props,null,f.mode,v),v.ref=gr(f,c,p),v.return=f,f=v)}return l(f);case Mn:e:{for(E=p.key;c!==null;){if(c.key===E)if(c.tag===4&&c.stateNode.containerInfo===p.containerInfo&&c.stateNode.implementation===p.implementation){n(f,c.sibling),c=o(c,p.children||[]),c.return=f,f=c;break e}else{n(f,c);break}else t(f,c);c=c.sibling}c=Yl(p,f.mode,v),c.return=f,f=c}return l(f);case Dt:return E=p._init,T(f,c,E(p._payload),v)}if(Er(p))return g(f,c,p,v);if(dr(p))return y(f,c,p,v);Ro(f,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,c!==null&&c.tag===6?(n(f,c.sibling),c=o(c,p),c.return=f,f=c):(n(f,c),c=Gl(p,f.mode,v),c.return=f,f=c),l(f)):n(f,c)}return T}var er=xd(!0),Ed=xd(!1),di=on(null),pi=null,Bn=null,Ps=null;function Ts(){Ps=Bn=pi=null}function Rs(e){var t=di.current;b(di),e._currentValue=t}function $u(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Qn(e,t){pi=e,Ps=Bn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Me=!0),e.firstContext=null)}function Je(e){var t=e._currentValue;if(Ps!==e)if(e={context:e,memoizedValue:t,next:null},Bn===null){if(pi===null)throw Error(x(308));Bn=e,pi.dependencies={lanes:0,firstContext:e}}else Bn=Bn.next=e;return t}var cn=null;function Os(e){cn===null?cn=[e]:cn.push(e)}function _d(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Os(t)):(n.next=o.next,o.next=n),t.interleaved=n,zt(e,r)}function zt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Bt=!1;function $s(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Cd(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 $t(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Xt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,j&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,zt(e,n)}return o=r.interleaved,o===null?(t.next=t,Os(r)):(t.next=o.next,o.next=t),r.interleaved=t,zt(e,n)}function Uo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,hs(e,n)}}function uc(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=l:i=i.next=l,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function mi(e,t,n,r){var o=e.updateQueue;Bt=!1;var i=o.firstBaseUpdate,l=o.lastBaseUpdate,u=o.shared.pending;if(u!==null){o.shared.pending=null;var s=u,a=s.next;s.next=null,l===null?i=a:l.next=a,l=s;var m=e.alternate;m!==null&&(m=m.updateQueue,u=m.lastBaseUpdate,u!==l&&(u===null?m.firstBaseUpdate=a:u.next=a,m.lastBaseUpdate=s))}if(i!==null){var h=o.baseState;l=0,m=a=s=null,u=i;do{var d=u.lane,w=u.eventTime;if((r&d)===d){m!==null&&(m=m.next={eventTime:w,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var g=e,y=u;switch(d=t,w=n,y.tag){case 1:if(g=y.payload,typeof g=="function"){h=g.call(w,h,d);break e}h=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=y.payload,d=typeof g=="function"?g.call(w,h,d):g,d==null)break e;h=q({},h,d);break e;case 2:Bt=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,d=o.effects,d===null?o.effects=[u]:d.push(u))}else w={eventTime:w,lane:d,tag:u.tag,payload:u.payload,callback:u.callback,next:null},m===null?(a=m=w,s=h):m=m.next=w,l|=d;if(u=u.next,u===null){if(u=o.shared.pending,u===null)break;d=u,u=d.next,d.next=null,o.lastBaseUpdate=d,o.shared.pending=null}}while(!0);if(m===null&&(s=h),o.baseState=s,o.firstBaseUpdate=a,o.lastBaseUpdate=m,t=o.shared.interleaved,t!==null){o=t;do l|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);vn|=l,e.lanes=l,e.memoizedState=h}}function sc(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Vl.transition;Vl.transition={};try{e(!1),t()}finally{B=n,Vl.transition=r}}function Wd(){return et().memoizedState}function _h(e,t,n){var r=qt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Vd(e))Hd(t,n);else if(n=_d(e,t,n,r),n!==null){var o=Te();ft(n,e,r,o),Kd(n,t,r)}}function Ch(e,t,n){var r=qt(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Vd(e))Hd(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var l=t.lastRenderedState,u=i(l,n);if(o.hasEagerState=!0,o.eagerState=u,dt(u,l)){var s=t.interleaved;s===null?(o.next=o,Os(t)):(o.next=s.next,s.next=o),t.interleaved=o;return}}catch{}finally{}n=_d(e,t,o,r),n!==null&&(o=Te(),ft(n,e,r,o),Kd(n,t,r))}}function Vd(e){var t=e.alternate;return e===Z||t!==null&&t===Z}function Hd(e,t){Mr=yi=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Kd(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,hs(e,n)}}var gi={readContext:Je,useCallback:we,useContext:we,useEffect:we,useImperativeHandle:we,useInsertionEffect:we,useLayoutEffect:we,useMemo:we,useReducer:we,useRef:we,useState:we,useDebugValue:we,useDeferredValue:we,useTransition:we,useMutableSource:we,useSyncExternalStore:we,useId:we,unstable_isNewReconciler:!1},Ph={readContext:Je,useCallback:function(e,t){return ht().memoizedState=[e,t===void 0?null:t],e},useContext:Je,useEffect:cc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Vo(4194308,4,Id.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Vo(4194308,4,e,t)},useInsertionEffect:function(e,t){return Vo(4,2,e,t)},useMemo:function(e,t){var n=ht();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ht();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=_h.bind(null,Z,e),[r.memoizedState,e]},useRef:function(e){var t=ht();return e={current:e},t.memoizedState=e},useState:ac,useDebugValue:Fs,useDeferredValue:function(e){return ht().memoizedState=e},useTransition:function(){var e=ac(!1),t=e[0];return e=Eh.bind(null,e[1]),ht().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Z,o=ht();if(G){if(n===void 0)throw Error(x(407));n=n()}else{if(n=t(),de===null)throw Error(x(349));gn&30||Od(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,cc(Md.bind(null,r,i,e),[e]),r.flags|=2048,Zr(9,$d.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=ht(),t=de.identifierPrefix;if(G){var n=Rt,r=Tt;n=(r&~(1<<32-ct(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Yr++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[vt]=t,e[br]=r,tp(e,t,!1,!1),t.stateNode=e;e:{switch(l=du(n,r),n){case"dialog":K("cancel",e),K("close",e),o=r;break;case"iframe":case"object":case"embed":K("load",e),o=r;break;case"video":case"audio":for(o=0;orr&&(t.flags|=128,r=!0,vr(i,!1),t.lanes=4194304)}else{if(!r)if(e=hi(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),vr(i,!0),i.tail===null&&i.tailMode==="hidden"&&!l.alternate&&!G)return Se(t),null}else 2*ne()-i.renderingStartTime>rr&&n!==1073741824&&(t.flags|=128,r=!0,vr(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(n=i.last,n!==null?n.sibling=l:t.child=l,i.last=l)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=ne(),t.sibling=null,n=X.current,H(X,r?n&1|2:n&1),t):(Se(t),null);case 22:case 23:return Hs(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?je&1073741824&&(Se(t),t.subtreeFlags&6&&(t.flags|=8192)):Se(t),null;case 24:return null;case 25:return null}throw Error(x(156,t.tag))}function Lh(e,t){switch(_s(t),t.tag){case 1:return ze(t.type)&&si(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return tr(),b(Ne),b(Ee),zs(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Ns(t),null;case 13:if(b(X),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(x(340));Jn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return b(X),null;case 4:return tr(),null;case 10:return Rs(t.type._context),null;case 22:case 23:return Hs(),null;case 24:return null;default:return null}}var $o=!1,xe=!1,Ah=typeof WeakSet=="function"?WeakSet:Set,P=null;function Un(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){te(e,t,r)}else n.current=null}function Du(e,t,n){try{n()}catch(r){te(e,t,r)}}var kc=!1;function jh(e,t){if(xu=oi,e=sd(),xs(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var l=0,u=-1,s=-1,a=0,m=0,h=e,d=null;t:for(;;){for(var w;h!==n||o!==0&&h.nodeType!==3||(u=l+o),h!==i||r!==0&&h.nodeType!==3||(s=l+r),h.nodeType===3&&(l+=h.nodeValue.length),(w=h.firstChild)!==null;)d=h,h=w;for(;;){if(h===e)break t;if(d===n&&++a===o&&(u=l),d===i&&++m===r&&(s=l),(w=h.nextSibling)!==null)break;h=d,d=h.parentNode}h=w}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(Eu={focusedElem:e,selectionRange:n},oi=!1,P=t;P!==null;)if(t=P,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,P=e;else for(;P!==null;){t=P;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var y=g.memoizedProps,T=g.memoizedState,f=t.stateNode,c=f.getSnapshotBeforeUpdate(t.elementType===t.type?y:ut(t.type,y),T);f.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(x(163))}}catch(v){te(t,t.return,v)}if(e=t.sibling,e!==null){e.return=t.return,P=e;break}P=t.return}return g=kc,kc=!1,g}function Nr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&Du(t,n,i)}o=o.next}while(o!==r)}}function Ai(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Bu(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function op(e){var t=e.alternate;t!==null&&(e.alternate=null,op(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[vt],delete t[br],delete t[Pu],delete t[vh],delete t[wh])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ip(e){return e.tag===5||e.tag===3||e.tag===4}function xc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||ip(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Uu(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=ui));else if(r!==4&&(e=e.child,e!==null))for(Uu(e,t,n),e=e.sibling;e!==null;)Uu(e,t,n),e=e.sibling}function Wu(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Wu(e,t,n),e=e.sibling;e!==null;)Wu(e,t,n),e=e.sibling}var me=null,st=!1;function Ft(e,t,n){for(n=n.child;n!==null;)lp(e,t,n),n=n.sibling}function lp(e,t,n){if(wt&&typeof wt.onCommitFiberUnmount=="function")try{wt.onCommitFiberUnmount(Ti,n)}catch{}switch(n.tag){case 5:xe||Un(n,t);case 6:var r=me,o=st;me=null,Ft(e,t,n),me=r,st=o,me!==null&&(st?(e=me,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):me.removeChild(n.stateNode));break;case 18:me!==null&&(st?(e=me,n=n.stateNode,e.nodeType===8?Bl(e.parentNode,n):e.nodeType===1&&Bl(e,n),Ur(e)):Bl(me,n.stateNode));break;case 4:r=me,o=st,me=n.stateNode.containerInfo,st=!0,Ft(e,t,n),me=r,st=o;break;case 0:case 11:case 14:case 15:if(!xe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,l=i.destroy;i=i.tag,l!==void 0&&(i&2||i&4)&&Du(n,t,l),o=o.next}while(o!==r)}Ft(e,t,n);break;case 1:if(!xe&&(Un(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){te(n,t,u)}Ft(e,t,n);break;case 21:Ft(e,t,n);break;case 22:n.mode&1?(xe=(r=xe)||n.memoizedState!==null,Ft(e,t,n),xe=r):Ft(e,t,n);break;default:Ft(e,t,n)}}function Ec(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Ah),t.forEach(function(r){var o=Kh.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function lt(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=l),r&=~i}if(r=o,r=ne()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Fh(r/1960))-r,10e?16:e,Kt===null)var r=!1;else{if(e=Kt,Kt=null,Si=0,j&6)throw Error(x(331));var o=j;for(j|=4,P=e.current;P!==null;){var i=P,l=i.child;if(P.flags&16){var u=i.deletions;if(u!==null){for(var s=0;sne()-Ws?pn(e,0):Us|=n),Le(e,t)}function mp(e,t){t===0&&(e.mode&1?(t=ko,ko<<=1,!(ko&130023424)&&(ko=4194304)):t=1);var n=Te();e=zt(e,t),e!==null&&(io(e,t,n),Le(e,n))}function Hh(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),mp(e,n)}function Kh(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(x(314))}r!==null&&r.delete(t),mp(e,n)}var hp;hp=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ne.current)Me=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Me=!1,Nh(e,t,n);Me=!!(e.flags&131072)}else Me=!1,G&&t.flags&1048576&&wd(t,fi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ho(e,t),e=t.pendingProps;var o=qn(t,Ee.current);Qn(t,n),o=As(null,t,r,e,o,n);var i=js();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ze(r)?(i=!0,ai(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,$s(t),o.updater=Li,t.stateNode=o,o._reactInternals=t,Nu(t,r,e,n),t=Au(null,t,r,!0,i,n)):(t.tag=0,G&&i&&Es(t),Pe(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ho(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=Qh(r),e=ut(r,e),o){case 0:t=Lu(null,t,r,e,n);break e;case 1:t=vc(null,t,r,e,n);break e;case 11:t=yc(null,t,r,e,n);break e;case 14:t=gc(null,t,r,ut(r.type,e),n);break e}throw Error(x(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ut(r,o),Lu(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ut(r,o),vc(e,t,r,o,n);case 3:e:{if(qd(t),e===null)throw Error(x(387));r=t.pendingProps,i=t.memoizedState,o=i.element,Cd(e,t),mi(t,r,null,n);var l=t.memoizedState;if(r=l.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=nr(Error(x(423)),t),t=wc(e,t,r,n,o);break e}else if(r!==o){o=nr(Error(x(424)),t),t=wc(e,t,r,n,o);break e}else for(Fe=Yt(t.stateNode.containerInfo.firstChild),De=t,G=!0,at=null,n=Ed(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Jn(),r===o){t=Lt(e,t,n);break e}Pe(e,t,r,n)}t=t.child}return t;case 5:return Pd(t),e===null&&Ou(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,l=o.children,_u(r,o)?l=null:i!==null&&_u(r,i)&&(t.flags|=32),Zd(e,t),Pe(e,t,l,n),t.child;case 6:return e===null&&Ou(t),null;case 13:return Jd(e,t,n);case 4:return Ms(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=er(t,null,r,n):Pe(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ut(r,o),yc(e,t,r,o,n);case 7:return Pe(e,t,t.pendingProps,n),t.child;case 8:return Pe(e,t,t.pendingProps.children,n),t.child;case 12:return Pe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,l=o.value,H(di,r._currentValue),r._currentValue=l,i!==null)if(dt(i.value,l)){if(i.children===o.children&&!Ne.current){t=Lt(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var u=i.dependencies;if(u!==null){l=i.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(i.tag===1){s=$t(-1,n&-n),s.tag=2;var a=i.updateQueue;if(a!==null){a=a.shared;var m=a.pending;m===null?s.next=s:(s.next=m.next,m.next=s),a.pending=s}}i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),$u(i.return,n,t),u.lanes|=n;break}s=s.next}}else if(i.tag===10)l=i.type===t.type?null:i.child;else if(i.tag===18){if(l=i.return,l===null)throw Error(x(341));l.lanes|=n,u=l.alternate,u!==null&&(u.lanes|=n),$u(l,n,t),l=i.sibling}else l=i.child;if(l!==null)l.return=i;else for(l=i;l!==null;){if(l===t){l=null;break}if(i=l.sibling,i!==null){i.return=l.return,l=i;break}l=l.return}i=l}Pe(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Qn(t,n),o=Je(o),r=r(o),t.flags|=1,Pe(e,t,r,n),t.child;case 14:return r=t.type,o=ut(r,t.pendingProps),o=ut(r.type,o),gc(e,t,r,o,n);case 15:return Yd(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ut(r,o),Ho(e,t),t.tag=1,ze(r)?(e=!0,ai(t)):e=!1,Qn(t,n),bd(t,r,o),Nu(t,r,o,n),Au(null,t,r,!0,e,n);case 19:return ep(e,t,n);case 22:return Xd(e,t,n)}throw Error(x(156,t.tag))};function yp(e,t){return Vf(e,t)}function bh(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ze(e,t,n,r){return new bh(e,t,n,r)}function bs(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Qh(e){if(typeof e=="function")return bs(e)?1:0;if(e!=null){if(e=e.$$typeof,e===fs)return 11;if(e===ds)return 14}return 2}function Jt(e,t){var n=e.alternate;return n===null?(n=Ze(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Qo(e,t,n,r,o,i){var l=2;if(r=e,typeof e=="function")bs(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case Nn:return mn(n.children,o,i,t);case cs:l=8,o|=8;break;case nu:return e=Ze(12,n,t,o|2),e.elementType=nu,e.lanes=i,e;case ru:return e=Ze(13,n,t,o),e.elementType=ru,e.lanes=i,e;case ou:return e=Ze(19,n,t,o),e.elementType=ou,e.lanes=i,e;case Pf:return Ii(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case _f:l=10;break e;case Cf:l=9;break e;case fs:l=11;break e;case ds:l=14;break e;case Dt:l=16,r=null;break e}throw Error(x(130,e==null?e:typeof e,""))}return t=Ze(l,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function mn(e,t,n,r){return e=Ze(7,e,r,t),e.lanes=n,e}function Ii(e,t,n,r){return e=Ze(22,e,r,t),e.elementType=Pf,e.lanes=n,e.stateNode={isHidden:!1},e}function Gl(e,t,n){return e=Ze(6,e,null,t),e.lanes=n,e}function Yl(e,t,n){return t=Ze(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Gh(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ol(0),this.expirationTimes=Ol(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ol(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Qs(e,t,n,r,o,i,l,u,s){return e=new Gh(e,t,n,u,s),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Ze(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},$s(i),e}function Yh(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Sp)}catch(e){console.error(e)}}Sp(),Sf.exports=We;var ey=Sf.exports,Mc=ey;Ca.createRoot=Mc.createRoot,Ca.hydrateRoot=Mc.hydrateRoot;function pt(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function z(){return z=Object.assign?Object.assign.bind():function(e){for(var t=1;t{if(r.toString().match(/^(components|slots)$/))n[r]=z({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},i=t[r];n[r]={},!i||!Object.keys(i)?n[r]=o:!o||!Object.keys(o)?n[r]=i:(n[r]=z({},i),Object.keys(o).forEach(l=>{n[r][l]=Qu(o[l],i[l])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function ty(e,t,n=void 0){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((i,l)=>{if(l){const u=t(l);u!==""&&i.push(u),n&&n[l]&&i.push(n[l])}return i},[]).join(" ")}),r}var re={},xp={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(xp);var Ep=xp.exports;function Jr(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function fy(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function tt(e){if(e.type)return e;if(e.charAt(0)==="#")return tt(Cp(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error((0,Nc.default)(9,e));let r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error((0,Nc.default)(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}const Pp=e=>{const t=tt(e);return t.values.slice(0,3).map((n,r)=>t.type.indexOf("hsl")!==-1&&r!==0?`${n}%`:n).join(" ")};re.colorChannel=Pp;const dy=(e,t)=>{try{return Pp(e)}catch{return e}};re.private_safeColorChannel=dy;function sr(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((o,i)=>i<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function py(e){if(e.indexOf("#")===0)return e;const{values:t}=tt(e);return`#${t.map((n,r)=>fy(r===3?Math.round(255*n):n)).join("")}`}function Tp(e){e=tt(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),l=(a,m=(a+n/30)%12)=>o-i*Math.max(Math.min(m-3,9-m,1),-1);let u="rgb";const s=[Math.round(l(0)*255),Math.round(l(8)*255),Math.round(l(4)*255)];return e.type==="hsla"&&(u+="a",s.push(t[3])),sr({type:u,values:s})}function Ei(e){e=tt(e);let t=e.type==="hsl"||e.type==="hsla"?tt(Tp(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function my(e,t){const n=Ei(e),r=Ei(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Rp(e,t){return e=tt(e),t=Zs(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,sr(e)}function hy(e,t,n){try{return Rp(e,t)}catch{return e}}function qs(e,t){if(e=tt(e),t=Zs(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return sr(e)}function yy(e,t,n){try{return qs(e,t)}catch{return e}}function Js(e,t){if(e=tt(e),t=Zs(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return sr(e)}function gy(e,t,n){try{return Js(e,t)}catch{return e}}function Op(e,t=.15){return Ei(e)>.5?qs(e,t):Js(e,t)}function vy(e,t,n){try{return Op(e,t)}catch{return e}}function wy(e,t,n,r=1){const o=(s,a)=>Math.round((s**(1/r)*(1-n)+a**(1/r)*n)**r),i=tt(e),l=tt(t),u=[o(i.values[0],l.values[0]),o(i.values[1],l.values[1]),o(i.values[2],l.values[2])];return sr({type:"rgb",values:u})}var ao={},Xl={exports:{}},zc;function Sy(){return zc||(zc=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(n){for(var r=1;r0?he(ar,--Ae):0,or--,ue===10&&(or=1,Vi--),ue}function Be(){return ue=Ae2||to(ue)>3?"":" "}function Fy(e,t){for(;--t&&Be()&&!(ue<48||ue>102||ue>57&&ue<65||ue>70&&ue<97););return co(e,Go()+(t<6&&kt()==32&&Be()==32))}function Yu(e){for(;Be();)switch(ue){case e:return Ae;case 34:case 39:e!==34&&e!==39&&Yu(ue);break;case 40:e===41&&Yu(e);break;case 92:Be();break}return Ae}function Dy(e,t){for(;Be()&&e+ue!==57;)if(e+ue===84&&kt()===47)break;return"/*"+co(t,Ae-1)+"*"+Wi(e===47?e:Be())}function By(e){for(;!to(kt());)Be();return co(e,Ae)}function Uy(e){return jp(Xo("",null,null,null,[""],e=Ap(e),0,[0],e))}function Xo(e,t,n,r,o,i,l,u,s){for(var a=0,m=0,h=l,d=0,w=0,g=0,y=1,T=1,f=1,c=0,p="",v=o,S=i,E=r,k=p;T;)switch(g=c,c=Be()){case 40:if(g!=108&&he(k,h-1)==58){Gu(k+=F(Yo(c),"&","&\f"),"&\f")!=-1&&(f=-1);break}case 34:case 39:case 91:k+=Yo(c);break;case 9:case 10:case 13:case 32:k+=Iy(g);break;case 92:k+=Fy(Go()-1,7);continue;case 47:switch(kt()){case 42:case 47:zo(Wy(Dy(Be(),Go()),t,n),s);break;default:k+="/"}break;case 123*y:u[a++]=yt(k)*f;case 125*y:case 59:case 0:switch(c){case 0:case 125:T=0;case 59+m:f==-1&&(k=F(k,/\f/g,"")),w>0&&yt(k)-h&&zo(w>32?jc(k+";",r,n,h-1):jc(F(k," ","")+";",r,n,h-2),s);break;case 59:k+=";";default:if(zo(E=Ac(k,t,n,a,m,o,u,p,v=[],S=[],h),i),c===123)if(m===0)Xo(k,t,E,E,v,i,h,u,S);else switch(d===99&&he(k,3)===110?100:d){case 100:case 108:case 109:case 115:Xo(e,E,E,r&&zo(Ac(e,E,E,0,0,o,u,p,o,v=[],h),S),o,S,h,u,r?v:S);break;default:Xo(k,E,E,E,[""],S,0,u,S)}}a=m=w=0,y=f=1,p=k="",h=l;break;case 58:h=1+yt(k),w=g;default:if(y<1){if(c==123)--y;else if(c==125&&y++==0&&jy()==125)continue}switch(k+=Wi(c),c*y){case 38:f=m>0?1:(k+="\f",-1);break;case 44:u[a++]=(yt(k)-1)*f,f=1;break;case 64:kt()===45&&(k+=Yo(Be())),d=kt(),m=h=yt(p=k+=By(Go())),c++;break;case 45:g===45&&yt(k)==2&&(y=0)}}return i}function Ac(e,t,n,r,o,i,l,u,s,a,m){for(var h=o-1,d=o===0?i:[""],w=na(d),g=0,y=0,T=0;g0?d[f]+" "+c:F(c,/&\f/g,d[f])))&&(s[T++]=p);return Hi(e,t,n,o===0?ea:u,s,a,m)}function Wy(e,t,n){return Hi(e,t,n,Mp,Wi(Ay()),eo(e,2,-2),0)}function jc(e,t,n,r){return Hi(e,t,n,ta,eo(e,0,r),eo(e,r+1,-1),r)}function Yn(e,t){for(var n="",r=na(e),o=0;o6)switch(he(e,t+1)){case 109:if(he(e,t+4)!==45)break;case 102:return F(e,/(.+:)(.+)-([^]+)/,"$1"+I+"$2-$3$1"+_i+(he(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Gu(e,"stretch")?Ip(F(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(he(e,t+1)!==115)break;case 6444:switch(he(e,yt(e)-3-(~Gu(e,"!important")&&10))){case 107:return F(e,":",":"+I)+e;case 101:return F(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+I+(he(e,14)===45?"inline-":"")+"box$3$1"+I+"$2$3$1"+ke+"$2box$3")+e}break;case 5936:switch(he(e,t+11)){case 114:return I+e+ke+F(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return I+e+ke+F(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return I+e+ke+F(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return I+e+ke+e+e}return e}var Zy=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case ta:t.return=Ip(t.value,t.length);break;case Np:return Yn([Sr(t,{value:F(t.value,"@","@"+I)})],o);case ea:if(t.length)return Ly(t.props,function(i){switch(zy(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Yn([Sr(t,{props:[F(i,/:(read-\w+)/,":"+_i+"$1")]})],o);case"::placeholder":return Yn([Sr(t,{props:[F(i,/:(plac\w+)/,":"+I+"input-$1")]}),Sr(t,{props:[F(i,/:(plac\w+)/,":"+_i+"$1")]}),Sr(t,{props:[F(i,/:(plac\w+)/,ke+"input-$1")]})],o)}return""})}},qy=[Zy],Fp=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(y){var T=y.getAttribute("data-emotion");T.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var o=t.stylisPlugins||qy,i={},l,u=[];l=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(y){for(var T=y.getAttribute("data-emotion").split(" "),f=1;f=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&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 cg={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},fg=!1,dg=/[A-Z]|^ms/g,pg=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Kp=function(t){return t.charCodeAt(1)===45},Fc=function(t){return t!=null&&typeof t!="boolean"},ql=$p(function(e){return Kp(e)?e:e.replace(dg,"-$&").toLowerCase()}),Dc=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(pg,function(r,o,i){return gt={name:o,styles:i,next:gt},o})}return cg[t]!==1&&!Kp(t)&&typeof n=="number"&&n!==0?n+"px":n},mg="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function no(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return gt={name:o.name,styles:o.styles,next:gt},o.name;var i=n;if(i.styles!==void 0){var l=i.next;if(l!==void 0)for(;l!==void 0;)gt={name:l.name,styles:l.styles,next:gt},l=l.next;var u=i.styles+";";return u}return hg(e,t,n)}case"function":{if(e!==void 0){var s=gt,a=n(e);return gt=s,no(e,t,a)}break}}var m=n;if(t==null)return m;var h=t[m];return h!==void 0?h:m}function hg(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o96?Sg:kg},Vc=function(t,n,r){var o;if(n){var i=n.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(l){return t.__emotion_forwardProp(l)&&i(l)}:i}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},xg=!1,Eg=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return Vp(n,r,o),gg(function(){return Hp(n,r,o)}),null},_g=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,i,l;n!==void 0&&(i=n.label,l=n.target);var u=Vc(t,n,r),s=u||Wc(o),a=!s("as");return function(){var m=arguments,h=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&h.push("label:"+i+";"),m[0]==null||m[0].raw===void 0)h.push.apply(h,m);else{h.push(m[0][0]);for(var d=m.length,w=1;wt(Tg(o)?n:o):t;return Ot.jsx(wg,{styles:r})}function Og(e,t){return Xu(e,t)}const $g=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},Mg=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:Rg,StyledEngineProvider:Pg,ThemeContext:ua,css:Yp,default:Og,internal_processStyles:$g,keyframes:tl},Symbol.toStringTag,{value:"Module"})),Ng=nn(Mg);function Vt(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Xp(e){if(!Vt(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=Xp(e[n])}),t}function xt(e,t,n={clone:!0}){const r=n.clone?z({},e):e;return Vt(e)&&Vt(t)&&Object.keys(t).forEach(o=>{Vt(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Vt(e[o])?r[o]=xt(e[o],t[o],n):n.clone?r[o]=Vt(t[o])?Xp(t[o]):t[o]:r[o]=t[o]}),r}const zg=Object.freeze(Object.defineProperty({__proto__:null,default:xt,isPlainObject:Vt},Symbol.toStringTag,{value:"Module"})),Lg=nn(zg);function sa(e){if(typeof e!="string")throw new Error(Jr(7));return e.charAt(0).toUpperCase()+e.slice(1)}const Ag=Object.freeze(Object.defineProperty({__proto__:null,default:sa},Symbol.toStringTag,{value:"Module"})),jg=nn(Ag);var Zp={exports:{}},W={};/** + * @license React + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var aa=Symbol.for("react.element"),ca=Symbol.for("react.portal"),nl=Symbol.for("react.fragment"),rl=Symbol.for("react.strict_mode"),ol=Symbol.for("react.profiler"),il=Symbol.for("react.provider"),ll=Symbol.for("react.context"),Ig=Symbol.for("react.server_context"),ul=Symbol.for("react.forward_ref"),sl=Symbol.for("react.suspense"),al=Symbol.for("react.suspense_list"),cl=Symbol.for("react.memo"),fl=Symbol.for("react.lazy"),Fg=Symbol.for("react.offscreen"),qp;qp=Symbol.for("react.module.reference");function nt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case aa:switch(e=e.type,e){case nl:case ol:case rl:case sl:case al:return e;default:switch(e=e&&e.$$typeof,e){case Ig:case ll:case ul:case fl:case cl:case il:return e;default:return t}}case ca:return t}}}W.ContextConsumer=ll;W.ContextProvider=il;W.Element=aa;W.ForwardRef=ul;W.Fragment=nl;W.Lazy=fl;W.Memo=cl;W.Portal=ca;W.Profiler=ol;W.StrictMode=rl;W.Suspense=sl;W.SuspenseList=al;W.isAsyncMode=function(){return!1};W.isConcurrentMode=function(){return!1};W.isContextConsumer=function(e){return nt(e)===ll};W.isContextProvider=function(e){return nt(e)===il};W.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===aa};W.isForwardRef=function(e){return nt(e)===ul};W.isFragment=function(e){return nt(e)===nl};W.isLazy=function(e){return nt(e)===fl};W.isMemo=function(e){return nt(e)===cl};W.isPortal=function(e){return nt(e)===ca};W.isProfiler=function(e){return nt(e)===ol};W.isStrictMode=function(e){return nt(e)===rl};W.isSuspense=function(e){return nt(e)===sl};W.isSuspenseList=function(e){return nt(e)===al};W.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===nl||e===ol||e===rl||e===sl||e===al||e===Fg||typeof e=="object"&&e!==null&&(e.$$typeof===fl||e.$$typeof===cl||e.$$typeof===il||e.$$typeof===ll||e.$$typeof===ul||e.$$typeof===qp||e.getModuleId!==void 0)};W.typeOf=nt;Zp.exports=W;var Hc=Zp.exports;const Dg=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function Jp(e){const t=`${e}`.match(Dg);return t&&t[1]||""}function e0(e,t=""){return e.displayName||e.name||Jp(e)||t}function Kc(e,t,n){const r=e0(t);return e.displayName||(r!==""?`${n}(${r})`:n)}function Bg(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return e0(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Hc.ForwardRef:return Kc(e,e.render,"ForwardRef");case Hc.Memo:return Kc(e,e.type,"memo");default:return}}}const Ug=Object.freeze(Object.defineProperty({__proto__:null,default:Bg,getFunctionName:Jp},Symbol.toStringTag,{value:"Module"})),Wg=nn(Ug),Vg=["values","unit","step"],Hg=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>z({},n,{[r.key]:r.val}),{})};function t0(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=pt(e,Vg),i=Hg(t),l=Object.keys(i);function u(d){return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${n})`}function s(d){return`@media (max-width:${(typeof t[d]=="number"?t[d]:d)-r/100}${n})`}function a(d,w){const g=l.indexOf(w);return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${n}) and (max-width:${(g!==-1&&typeof t[l[g]]=="number"?t[l[g]]:w)-r/100}${n})`}function m(d){return l.indexOf(d)+1`@media (min-width:${fa[e]}px)`};function At(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||bc;return t.reduce((l,u,s)=>(l[i.up(i.keys[s])]=n(t[s]),l),{})}if(typeof t=="object"){const i=r.breakpoints||bc;return Object.keys(t).reduce((l,u)=>{if(Object.keys(i.values||fa).indexOf(u)!==-1){const s=i.up(u);l[s]=n(t[u],u)}else{const s=u;l[s]=t[s]}return l},{})}return n(t)}function bg(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function Qg(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function dl(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(r!=null)return r}return t.split(".").reduce((r,o)=>r&&r[o]!=null?r[o]:null,e)}function Ci(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=dl(e,n)||r,t&&(o=t(o,r,e)),o}function oe(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=l=>{if(l[t]==null)return null;const u=l[t],s=l.theme,a=dl(s,r)||{};return At(l,u,h=>{let d=Ci(a,o,h);return h===d&&typeof h=="string"&&(d=Ci(a,o,`${t}${h==="default"?"":sa(h)}`,h)),n===!1?d:{[n]:d}})};return i.propTypes={},i.filterProps=[t],i}function Gg(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const Yg={m:"margin",p:"padding"},Xg={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Qc={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Zg=Gg(e=>{if(e.length>2)if(Qc[e])e=Qc[e];else return[e];const[t,n]=e.split(""),r=Yg[t],o=Xg[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),da=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],pa=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...da,...pa];function fo(e,t,n,r){var o;const i=(o=dl(e,t,!1))!=null?o:n;return typeof i=="number"?l=>typeof l=="string"?l:i*l:Array.isArray(i)?l=>typeof l=="string"?l:i[l]:typeof i=="function"?i:()=>{}}function n0(e){return fo(e,"spacing",8)}function po(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function qg(e,t){return n=>e.reduce((r,o)=>(r[o]=po(t,n),r),{})}function Jg(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=Zg(n),i=qg(o,r),l=e[n];return At(e,l,i)}function r0(e,t){const n=n0(e.theme);return Object.keys(e).map(r=>Jg(e,t,r,n)).reduce(Ar,{})}function J(e){return r0(e,da)}J.propTypes={};J.filterProps=da;function ee(e){return r0(e,pa)}ee.propTypes={};ee.filterProps=pa;function e1(e=8){if(e.mui)return e;const t=n0({spacing:e}),n=(...r)=>(r.length===0?[1]:r).map(i=>{const l=t(i);return typeof l=="number"?`${l}px`:l}).join(" ");return n.mui=!0,n}function pl(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(i=>{r[i]=o}),r),{}),n=r=>Object.keys(r).reduce((o,i)=>t[i]?Ar(o,t[i](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function Xe(e){return typeof e!="number"?e:`${e}px solid`}function rt(e,t){return oe({prop:e,themeKey:"borders",transform:t})}const t1=rt("border",Xe),n1=rt("borderTop",Xe),r1=rt("borderRight",Xe),o1=rt("borderBottom",Xe),i1=rt("borderLeft",Xe),l1=rt("borderColor"),u1=rt("borderTopColor"),s1=rt("borderRightColor"),a1=rt("borderBottomColor"),c1=rt("borderLeftColor"),f1=rt("outline",Xe),d1=rt("outlineColor"),ml=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=fo(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:po(t,r)});return At(e,e.borderRadius,n)}return null};ml.propTypes={};ml.filterProps=["borderRadius"];pl(t1,n1,r1,o1,i1,l1,u1,s1,a1,c1,ml,f1,d1);const hl=e=>{if(e.gap!==void 0&&e.gap!==null){const t=fo(e.theme,"spacing",8),n=r=>({gap:po(t,r)});return At(e,e.gap,n)}return null};hl.propTypes={};hl.filterProps=["gap"];const yl=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=fo(e.theme,"spacing",8),n=r=>({columnGap:po(t,r)});return At(e,e.columnGap,n)}return null};yl.propTypes={};yl.filterProps=["columnGap"];const gl=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=fo(e.theme,"spacing",8),n=r=>({rowGap:po(t,r)});return At(e,e.rowGap,n)}return null};gl.propTypes={};gl.filterProps=["rowGap"];const p1=oe({prop:"gridColumn"}),m1=oe({prop:"gridRow"}),h1=oe({prop:"gridAutoFlow"}),y1=oe({prop:"gridAutoColumns"}),g1=oe({prop:"gridAutoRows"}),v1=oe({prop:"gridTemplateColumns"}),w1=oe({prop:"gridTemplateRows"}),S1=oe({prop:"gridTemplateAreas"}),k1=oe({prop:"gridArea"});pl(hl,yl,gl,p1,m1,h1,y1,g1,v1,w1,S1,k1);function Xn(e,t){return t==="grey"?t:e}const x1=oe({prop:"color",themeKey:"palette",transform:Xn}),E1=oe({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Xn}),_1=oe({prop:"backgroundColor",themeKey:"palette",transform:Xn});pl(x1,E1,_1);function Ie(e){return e<=1&&e!==0?`${e*100}%`:e}const C1=oe({prop:"width",transform:Ie}),ma=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,o;const i=((r=e.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[n])||fa[n];return i?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:Ie(n)}};return At(e,e.maxWidth,t)}return null};ma.filterProps=["maxWidth"];const P1=oe({prop:"minWidth",transform:Ie}),T1=oe({prop:"height",transform:Ie}),R1=oe({prop:"maxHeight",transform:Ie}),O1=oe({prop:"minHeight",transform:Ie});oe({prop:"size",cssProperty:"width",transform:Ie});oe({prop:"size",cssProperty:"height",transform:Ie});const $1=oe({prop:"boxSizing"});pl(C1,ma,P1,T1,R1,O1,$1);const mo={border:{themeKey:"borders",transform:Xe},borderTop:{themeKey:"borders",transform:Xe},borderRight:{themeKey:"borders",transform:Xe},borderBottom:{themeKey:"borders",transform:Xe},borderLeft:{themeKey:"borders",transform:Xe},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Xe},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:ml},color:{themeKey:"palette",transform:Xn},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Xn},backgroundColor:{themeKey:"palette",transform:Xn},p:{style:ee},pt:{style:ee},pr:{style:ee},pb:{style:ee},pl:{style:ee},px:{style:ee},py:{style:ee},padding:{style:ee},paddingTop:{style:ee},paddingRight:{style:ee},paddingBottom:{style:ee},paddingLeft:{style:ee},paddingX:{style:ee},paddingY:{style:ee},paddingInline:{style:ee},paddingInlineStart:{style:ee},paddingInlineEnd:{style:ee},paddingBlock:{style:ee},paddingBlockStart:{style:ee},paddingBlockEnd:{style:ee},m:{style:J},mt:{style:J},mr:{style:J},mb:{style:J},ml:{style:J},mx:{style:J},my:{style:J},margin:{style:J},marginTop:{style:J},marginRight:{style:J},marginBottom:{style:J},marginLeft:{style:J},marginX:{style:J},marginY:{style:J},marginInline:{style:J},marginInlineStart:{style:J},marginInlineEnd:{style:J},marginBlock:{style:J},marginBlockStart:{style:J},marginBlockEnd:{style:J},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:hl},rowGap:{style:gl},columnGap:{style:yl},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Ie},maxWidth:{style:ma},minWidth:{transform:Ie},height:{transform:Ie},maxHeight:{transform:Ie},minHeight:{transform:Ie},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function M1(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function N1(e,t){return typeof e=="function"?e(t):e}function o0(){function e(n,r,o,i){const l={[n]:r,theme:o},u=i[n];if(!u)return{[n]:r};const{cssProperty:s=n,themeKey:a,transform:m,style:h}=u;if(r==null)return null;if(a==="typography"&&r==="inherit")return{[n]:r};const d=dl(o,a)||{};return h?h(l):At(l,r,g=>{let y=Ci(d,m,g);return g===y&&typeof g=="string"&&(y=Ci(d,m,`${n}${g==="default"?"":sa(g)}`,g)),s===!1?y:{[s]:y}})}function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const l=(r=i.unstable_sxConfig)!=null?r:mo;function u(s){let a=s;if(typeof s=="function")a=s(i);else if(typeof s!="object")return s;if(!a)return null;const m=bg(i.breakpoints),h=Object.keys(m);let d=m;return Object.keys(a).forEach(w=>{const g=N1(a[w],i);if(g!=null)if(typeof g=="object")if(l[w])d=Ar(d,e(w,g,i,l));else{const y=At({theme:i},g,T=>({[w]:T}));M1(y,g)?d[w]=t({sx:g,theme:i}):d=Ar(d,y)}else d=Ar(d,e(w,g,i,l))}),Qg(h,d)}return Array.isArray(o)?o.map(u):u(o)}return t}const vl=o0();vl.filterProps=["sx"];function i0(e,t){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:n.palette.mode===e?t:{}}const z1=["breakpoints","palette","spacing","shape"];function l0(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,l=pt(e,z1),u=t0(n),s=e1(o);let a=xt({breakpoints:u,direction:"ltr",components:{},palette:z({mode:"light"},r),spacing:s,shape:z({},Kg,i)},l);return a.applyStyles=i0,a=t.reduce((m,h)=>xt(m,h),a),a.unstable_sxConfig=z({},mo,l==null?void 0:l.unstable_sxConfig),a.unstable_sx=function(h){return vl({sx:h,theme:this})},a}const L1=Object.freeze(Object.defineProperty({__proto__:null,default:l0,private_createBreakpoints:t0,unstable_applyStyles:i0},Symbol.toStringTag,{value:"Module"})),A1=nn(L1),j1=["sx"],I1=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:mo;return Object.keys(e).forEach(i=>{o[i]?r.systemProps[i]=e[i]:r.otherProps[i]=e[i]}),r};function F1(e){const{sx:t}=e,n=pt(e,j1),{systemProps:r,otherProps:o}=I1(n);let i;return Array.isArray(t)?i=[r,...t]:typeof t=="function"?i=(...l)=>{const u=t(...l);return Vt(u)?z({},r,u):r}:i=z({},r,t),z({},o,{sx:i})}const D1=Object.freeze(Object.defineProperty({__proto__:null,default:vl,extendSxProp:F1,unstable_createStyleFunctionSx:o0,unstable_defaultSxConfig:mo},Symbol.toStringTag,{value:"Module"})),B1=nn(D1);var cr=Ep;Object.defineProperty(ao,"__esModule",{value:!0});var U1=ao.default=ev;ao.shouldForwardProp=Zo;ao.systemDefaultTheme=void 0;var Ke=cr(Sy()),qu=cr(ky()),Gc=G1(Ng),W1=Lg;cr(jg);cr(Wg);var V1=cr(A1),H1=cr(B1);const K1=["ownerState"],b1=["variants"],Q1=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function u0(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(u0=function(r){return r?n:t})(e)}function G1(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=u0(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}function Y1(e){return Object.keys(e).length===0}function X1(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Zo(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Z1=ao.systemDefaultTheme=(0,V1.default)(),q1=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Lo({defaultTheme:e,theme:t,themeId:n}){return Y1(t)?e:t[n]||t}function J1(e){return e?(t,n)=>n[e]:null}function qo(e,t){let{ownerState:n}=t,r=(0,qu.default)(t,K1);const o=typeof e=="function"?e((0,Ke.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(i=>qo(i,(0,Ke.default)({ownerState:n},r)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:i=[]}=o;let u=(0,qu.default)(o,b1);return i.forEach(s=>{let a=!0;typeof s.props=="function"?a=s.props((0,Ke.default)({ownerState:n},r,n)):Object.keys(s.props).forEach(m=>{(n==null?void 0:n[m])!==s.props[m]&&r[m]!==s.props[m]&&(a=!1)}),a&&(Array.isArray(u)||(u=[u]),u.push(typeof s.style=="function"?s.style((0,Ke.default)({ownerState:n},r,n)):s.style))}),u}return o}function ev(e={}){const{themeId:t,defaultTheme:n=Z1,rootShouldForwardProp:r=Zo,slotShouldForwardProp:o=Zo}=e,i=l=>(0,H1.default)((0,Ke.default)({},l,{theme:Lo((0,Ke.default)({},l,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(l,u={})=>{(0,Gc.internal_processStyles)(l,S=>S.filter(E=>!(E!=null&&E.__mui_systemSx)));const{name:s,slot:a,skipVariantsResolver:m,skipSx:h,overridesResolver:d=J1(q1(a))}=u,w=(0,qu.default)(u,Q1),g=m!==void 0?m:a&&a!=="Root"&&a!=="root"||!1,y=h||!1;let T,f=Zo;a==="Root"||a==="root"?f=r:a?f=o:X1(l)&&(f=void 0);const c=(0,Gc.default)(l,(0,Ke.default)({shouldForwardProp:f,label:T},w)),p=S=>typeof S=="function"&&S.__emotion_real!==S||(0,W1.isPlainObject)(S)?E=>qo(S,(0,Ke.default)({},E,{theme:Lo({theme:E.theme,defaultTheme:n,themeId:t})})):S,v=(S,...E)=>{let k=p(S);const C=E?E.map(p):[];s&&d&&C.push(D=>{const V=Lo((0,Ke.default)({},D,{defaultTheme:n,themeId:t}));if(!V.components||!V.components[s]||!V.components[s].styleOverrides)return null;const ie=V.components[s].styleOverrides,ve={};return Object.entries(ie).forEach(([ot,_e])=>{ve[ot]=qo(_e,(0,Ke.default)({},D,{theme:V}))}),d(D,ve)}),s&&!g&&C.push(D=>{var V;const ie=Lo((0,Ke.default)({},D,{defaultTheme:n,themeId:t})),ve=ie==null||(V=ie.components)==null||(V=V[s])==null?void 0:V.variants;return qo({variants:ve},(0,Ke.default)({},D,{theme:ie}))}),y||C.push(i);const A=C.length-E.length;if(Array.isArray(S)&&A>0){const D=new Array(A).fill("");k=[...S,...D],k.raw=[...S.raw,...D]}const O=c(k,...C);return l.muiName&&(O.muiName=l.muiName),O};return c.withConfig&&(v.withConfig=c.withConfig),v}}const Yc=e=>e,tv=()=>{let e=Yc;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Yc}}},nv=tv(),rv={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function s0(e,t,n="Mui"){const r=rv[t];return r?`${n}-${r}`:`${nv.generate(e)}-${t}`}function ov(e,t){return z({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const ro={black:"#000",white:"#fff"},iv={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},Cn={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Pn={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},kr={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Tn={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Rn={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},On={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},lv=["mode","contrastThreshold","tonalOffset"],Xc={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:ro.white,default:ro.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Jl={text:{primary:ro.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:ro.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Zc(e,t,n,r){const o=r.light||r,i=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=ay(e.main,o):t==="dark"&&(e.dark=uy(e.main,i)))}function uv(e="light"){return e==="dark"?{main:Tn[200],light:Tn[50],dark:Tn[400]}:{main:Tn[700],light:Tn[400],dark:Tn[800]}}function sv(e="light"){return e==="dark"?{main:Cn[200],light:Cn[50],dark:Cn[400]}:{main:Cn[500],light:Cn[300],dark:Cn[700]}}function av(e="light"){return e==="dark"?{main:Pn[500],light:Pn[300],dark:Pn[700]}:{main:Pn[700],light:Pn[400],dark:Pn[800]}}function cv(e="light"){return e==="dark"?{main:Rn[400],light:Rn[300],dark:Rn[700]}:{main:Rn[700],light:Rn[500],dark:Rn[900]}}function fv(e="light"){return e==="dark"?{main:On[400],light:On[300],dark:On[700]}:{main:On[800],light:On[500],dark:On[900]}}function dv(e="light"){return e==="dark"?{main:kr[400],light:kr[300],dark:kr[700]}:{main:"#ed6c02",light:kr[500],dark:kr[900]}}function pv(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=pt(e,lv),i=e.primary||uv(t),l=e.secondary||sv(t),u=e.error||av(t),s=e.info||cv(t),a=e.success||fv(t),m=e.warning||dv(t);function h(y){return sy(y,Jl.text.primary)>=n?Jl.text.primary:Xc.text.primary}const d=({color:y,name:T,mainShade:f=500,lightShade:c=300,darkShade:p=700})=>{if(y=z({},y),!y.main&&y[f]&&(y.main=y[f]),!y.hasOwnProperty("main"))throw new Error(Jr(11,T?` (${T})`:"",f));if(typeof y.main!="string")throw new Error(Jr(12,T?` (${T})`:"",JSON.stringify(y.main)));return Zc(y,"light",c,r),Zc(y,"dark",p,r),y.contrastText||(y.contrastText=h(y.main)),y},w={dark:Jl,light:Xc};return xt(z({common:z({},ro),mode:t,primary:d({color:i,name:"primary"}),secondary:d({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:d({color:u,name:"error"}),warning:d({color:m,name:"warning"}),info:d({color:s,name:"info"}),success:d({color:a,name:"success"}),grey:iv,contrastThreshold:n,getContrastText:h,augmentColor:d,tonalOffset:r},w[t]),o)}const mv=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function hv(e){return Math.round(e*1e5)/1e5}const qc={textTransform:"uppercase"},Jc='"Roboto", "Helvetica", "Arial", sans-serif';function yv(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=Jc,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:l=400,fontWeightMedium:u=500,fontWeightBold:s=700,htmlFontSize:a=16,allVariants:m,pxToRem:h}=n,d=pt(n,mv),w=o/14,g=h||(f=>`${f/a*w}rem`),y=(f,c,p,v,S)=>z({fontFamily:r,fontWeight:f,fontSize:g(c),lineHeight:p},r===Jc?{letterSpacing:`${hv(v/c)}em`}:{},S,m),T={h1:y(i,96,1.167,-1.5),h2:y(i,60,1.2,-.5),h3:y(l,48,1.167,0),h4:y(l,34,1.235,.25),h5:y(l,24,1.334,0),h6:y(u,20,1.6,.15),subtitle1:y(l,16,1.75,.15),subtitle2:y(u,14,1.57,.1),body1:y(l,16,1.5,.15),body2:y(l,14,1.43,.15),button:y(u,14,1.75,.4,qc),caption:y(l,12,1.66,.4),overline:y(l,12,2.66,1,qc),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return xt(z({htmlFontSize:a,pxToRem:g,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:l,fontWeightMedium:u,fontWeightBold:s},T),d,{clone:!1})}const gv=.2,vv=.14,wv=.12;function Q(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${gv})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${vv})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${wv})`].join(",")}const Sv=["none",Q(0,2,1,-1,0,1,1,0,0,1,3,0),Q(0,3,1,-2,0,2,2,0,0,1,5,0),Q(0,3,3,-2,0,3,4,0,0,1,8,0),Q(0,2,4,-1,0,4,5,0,0,1,10,0),Q(0,3,5,-1,0,5,8,0,0,1,14,0),Q(0,3,5,-1,0,6,10,0,0,1,18,0),Q(0,4,5,-2,0,7,10,1,0,2,16,1),Q(0,5,5,-3,0,8,10,1,0,3,14,2),Q(0,5,6,-3,0,9,12,1,0,3,16,2),Q(0,6,6,-3,0,10,14,1,0,4,18,3),Q(0,6,7,-4,0,11,15,1,0,4,20,3),Q(0,7,8,-4,0,12,17,2,0,5,22,4),Q(0,7,8,-4,0,13,19,2,0,5,24,4),Q(0,7,9,-4,0,14,21,2,0,5,26,4),Q(0,8,9,-5,0,15,22,2,0,6,28,5),Q(0,8,10,-5,0,16,24,2,0,6,30,5),Q(0,8,11,-5,0,17,26,2,0,6,32,5),Q(0,9,11,-5,0,18,28,2,0,7,34,6),Q(0,9,12,-6,0,19,29,2,0,7,36,6),Q(0,10,13,-6,0,20,31,3,0,8,38,7),Q(0,10,13,-6,0,21,33,3,0,8,40,7),Q(0,10,14,-6,0,22,35,3,0,8,42,7),Q(0,11,14,-7,0,23,36,3,0,9,44,8),Q(0,11,15,-7,0,24,38,3,0,9,46,8)],kv=["duration","easing","delay"],xv={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Ev={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function ef(e){return`${Math.round(e)}ms`}function _v(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function Cv(e){const t=z({},xv,e.easing),n=z({},Ev,e.duration);return z({getAutoHeightDuration:_v,create:(o=["all"],i={})=>{const{duration:l=n.standard,easing:u=t.easeInOut,delay:s=0}=i;return pt(i,kv),(Array.isArray(o)?o:[o]).map(a=>`${a} ${typeof l=="string"?l:ef(l)} ${u} ${typeof s=="string"?s:ef(s)}`).join(",")}},e,{easing:t,duration:n})}const Pv={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Tv=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Rv(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,l=pt(e,Tv);if(e.vars)throw new Error(Jr(18));const u=pv(r),s=l0(e);let a=xt(s,{mixins:ov(s.breakpoints,n),palette:u,shadows:Sv.slice(),typography:yv(u,i),transitions:Cv(o),zIndex:z({},Pv)});return a=xt(a,l),a=t.reduce((m,h)=>xt(m,h),a),a.unstable_sxConfig=z({},mo,l==null?void 0:l.unstable_sxConfig),a.unstable_sx=function(h){return vl({sx:h,theme:this})},a}const Ov=Rv(),$v="$$material";function Mv(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Nv=e=>Mv(e)&&e!=="classes",ha=U1({themeId:$v,defaultTheme:Ov,rootShouldForwardProp:Nv}),zv=R.createContext(void 0);function Lv(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?Qu(o.defaultProps,r):!o.styleOverrides&&!o.variants?Qu(o,r):r}function Av({props:e,name:t}){const n=R.useContext(zv);return Lv({props:e,name:t,theme:{components:n}})}function a0(e){return Av(e)}function jv(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function Ju(...e){return R.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{jv(n,t)})},e)}const Iv=typeof window<"u"?R.useLayoutEffect:R.useEffect;function Ao(e){const t=R.useRef(e);return Iv(()=>{t.current=e}),R.useRef((...n)=>(0,t.current)(...n)).current}const tf={};function Fv(e,t){const n=R.useRef(tf);return n.current===tf&&(n.current=e(t)),n}const Dv=[];function Bv(e){R.useEffect(e,Dv)}class wl{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new wl}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function Uv(){const e=Fv(wl.create).current;return Bv(e.disposeEffect),e}let Sl=!0,es=!1;const Wv=new wl,Vv={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function Hv(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&Vv[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function Kv(e){e.metaKey||e.altKey||e.ctrlKey||(Sl=!0)}function eu(){Sl=!1}function bv(){this.visibilityState==="hidden"&&es&&(Sl=!0)}function Qv(e){e.addEventListener("keydown",Kv,!0),e.addEventListener("mousedown",eu,!0),e.addEventListener("pointerdown",eu,!0),e.addEventListener("touchstart",eu,!0),e.addEventListener("visibilitychange",bv,!0)}function Gv(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Sl||Hv(t)}function Yv(){const e=R.useCallback(o=>{o!=null&&Qv(o.ownerDocument)},[]),t=R.useRef(!1);function n(){return t.current?(es=!0,Wv.start(100,()=>{es=!1}),t.current=!1,!0):!1}function r(o){return Gv(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function ts(e,t){return ts=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},ts(e,t)}function Xv(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ts(e,t)}const nf=$n.createContext(null);function Zv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ya(e,t){var n=function(i){return t&&R.isValidElement(i)?t(i):i},r=Object.create(null);return e&&R.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function qv(e,t){e=e||{},t=t||{};function n(m){return m in t?t[m]:e[m]}var r=Object.create(null),o=[];for(var i in e)i in t?o.length&&(r[i]=o,o=[]):o.push(i);var l,u={};for(var s in t){if(r[s])for(l=0;l{r[o]=s0(e,o,n)}),r}function Pw(e){return e&&e.ownerDocument||document}function rw(e){return typeof e=="string"}function ow(e,t,n){return e===void 0||rw(e)?t:z({},t,{ownerState:z({},t.ownerState,n)})}function iw(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function rf(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function lw(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const w=be(n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),g=z({},n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),y=z({},n,o,r);return w.length>0&&(y.className=w),Object.keys(g).length>0&&(y.style=g),{props:y,internalRef:void 0}}const l=iw(z({},o,r)),u=rf(r),s=rf(o),a=t(l),m=be(a==null?void 0:a.className,n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),h=z({},a==null?void 0:a.style,n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),d=z({},a,n,s,u);return m.length>0&&(d.className=m),Object.keys(h).length>0&&(d.style=h),{props:d,internalRef:a.ref}}function uw(e,t,n){return typeof e=="function"?e(t,n):e}const sw=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Tw(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:i=!1}=e,l=pt(e,sw),u=i?{}:uw(r,o),{props:s,internalRef:a}=lw(z({},l,{externalSlotProps:u})),m=Ju(a,u==null?void 0:u.ref,(t=e.additionalProps)==null?void 0:t.ref);return ow(n,z({},s,{ref:m}),o)}const aw=R.createContext(),Rw=()=>{const e=R.useContext(aw);return e??!1};function cw(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:i,rippleSize:l,in:u,onExited:s,timeout:a}=e,[m,h]=R.useState(!1),d=be(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),w={width:l,height:l,top:-(l/2)+i,left:-(l/2)+o},g=be(n.child,m&&n.childLeaving,r&&n.childPulsate);return!u&&!m&&h(!0),R.useEffect(()=>{if(!u&&s!=null){const y=setTimeout(s,a);return()=>{clearTimeout(y)}}},[s,u,a]),Ot.jsx("span",{className:d,style:w,children:Ot.jsx("span",{className:g})})}const Qe=c0("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),fw=["center","classes","className"];let kl=e=>e,of,lf,uf,sf;const ns=550,dw=80,pw=tl(of||(of=kl` + 0% { + transform: scale(0); + opacity: 0.1; + } + + 100% { + transform: scale(1); + opacity: 0.3; + } +`)),mw=tl(lf||(lf=kl` + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + } +`)),hw=tl(uf||(uf=kl` + 0% { + transform: scale(1); + } + + 50% { + transform: scale(0.92); + } + + 100% { + transform: scale(1); + } +`)),yw=ha("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),gw=ha(cw,{name:"MuiTouchRipple",slot:"Ripple"})(sf||(sf=kl` + opacity: 0; + position: absolute; + + &.${0} { + opacity: 0.3; + transform: scale(1); + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + &.${0} { + animation-duration: ${0}ms; + } + + & .${0} { + opacity: 1; + display: block; + width: 100%; + height: 100%; + border-radius: 50%; + background-color: currentColor; + } + + & .${0} { + opacity: 0; + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + & .${0} { + position: absolute; + /* @noflip */ + left: 0px; + top: 0; + animation-name: ${0}; + animation-duration: 2500ms; + animation-timing-function: ${0}; + animation-iteration-count: infinite; + animation-delay: 200ms; + } +`),Qe.rippleVisible,pw,ns,({theme:e})=>e.transitions.easing.easeInOut,Qe.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,Qe.child,Qe.childLeaving,mw,ns,({theme:e})=>e.transitions.easing.easeInOut,Qe.childPulsate,hw,({theme:e})=>e.transitions.easing.easeInOut),vw=R.forwardRef(function(t,n){const r=a0({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:l}=r,u=pt(r,fw),[s,a]=R.useState([]),m=R.useRef(0),h=R.useRef(null);R.useEffect(()=>{h.current&&(h.current(),h.current=null)},[s]);const d=R.useRef(!1),w=Uv(),g=R.useRef(null),y=R.useRef(null),T=R.useCallback(v=>{const{pulsate:S,rippleX:E,rippleY:k,rippleSize:C,cb:A}=v;a(O=>[...O,Ot.jsx(gw,{classes:{ripple:be(i.ripple,Qe.ripple),rippleVisible:be(i.rippleVisible,Qe.rippleVisible),ripplePulsate:be(i.ripplePulsate,Qe.ripplePulsate),child:be(i.child,Qe.child),childLeaving:be(i.childLeaving,Qe.childLeaving),childPulsate:be(i.childPulsate,Qe.childPulsate)},timeout:ns,pulsate:S,rippleX:E,rippleY:k,rippleSize:C},m.current)]),m.current+=1,h.current=A},[i]),f=R.useCallback((v={},S={},E=()=>{})=>{const{pulsate:k=!1,center:C=o||S.pulsate,fakeElement:A=!1}=S;if((v==null?void 0:v.type)==="mousedown"&&d.current){d.current=!1;return}(v==null?void 0:v.type)==="touchstart"&&(d.current=!0);const O=A?null:y.current,D=O?O.getBoundingClientRect():{width:0,height:0,left:0,top:0};let V,ie,ve;if(C||v===void 0||v.clientX===0&&v.clientY===0||!v.clientX&&!v.touches)V=Math.round(D.width/2),ie=Math.round(D.height/2);else{const{clientX:ot,clientY:_e}=v.touches&&v.touches.length>0?v.touches[0]:v;V=Math.round(ot-D.left),ie=Math.round(_e-D.top)}if(C)ve=Math.sqrt((2*D.width**2+D.height**2)/3),ve%2===0&&(ve+=1);else{const ot=Math.max(Math.abs((O?O.clientWidth:0)-V),V)*2+2,_e=Math.max(Math.abs((O?O.clientHeight:0)-ie),ie)*2+2;ve=Math.sqrt(ot**2+_e**2)}v!=null&&v.touches?g.current===null&&(g.current=()=>{T({pulsate:k,rippleX:V,rippleY:ie,rippleSize:ve,cb:E})},w.start(dw,()=>{g.current&&(g.current(),g.current=null)})):T({pulsate:k,rippleX:V,rippleY:ie,rippleSize:ve,cb:E})},[o,T,w]),c=R.useCallback(()=>{f({},{pulsate:!0})},[f]),p=R.useCallback((v,S)=>{if(w.clear(),(v==null?void 0:v.type)==="touchend"&&g.current){g.current(),g.current=null,w.start(0,()=>{p(v,S)});return}g.current=null,a(E=>E.length>0?E.slice(1):E),h.current=S},[w]);return R.useImperativeHandle(n,()=>({pulsate:c,start:f,stop:p}),[c,f,p]),Ot.jsx(yw,z({className:be(Qe.root,i.root,l),ref:y},u,{children:Ot.jsx(ga,{component:null,exit:!0,children:s})}))});function ww(e){return s0("MuiButtonBase",e)}const Sw=c0("MuiButtonBase",["root","disabled","focusVisible"]),kw=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],xw=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,l=ty({root:["root",t&&"disabled",n&&"focusVisible"]},ww,o);return n&&r&&(l.root+=` ${r}`),l},Ew=ha("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Sw.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Ow=R.forwardRef(function(t,n){const r=a0({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:l,className:u,component:s="button",disabled:a=!1,disableRipple:m=!1,disableTouchRipple:h=!1,focusRipple:d=!1,LinkComponent:w="a",onBlur:g,onClick:y,onContextMenu:T,onDragLeave:f,onFocus:c,onFocusVisible:p,onKeyDown:v,onKeyUp:S,onMouseDown:E,onMouseLeave:k,onMouseUp:C,onTouchEnd:A,onTouchMove:O,onTouchStart:D,tabIndex:V=0,TouchRippleProps:ie,touchRippleRef:ve,type:ot}=r,_e=pt(r,kw),Et=R.useRef(null),_=R.useRef(null),$=Ju(_,ve),{isFocusVisibleRef:M,onFocus:Y,onBlur:le,ref:xn}=Yv(),[Ce,It]=R.useState(!1);a&&Ce&&It(!1),R.useImperativeHandle(o,()=>({focusVisible:()=>{It(!0),Et.current.focus()}}),[]);const[it,En]=R.useState(!1);R.useEffect(()=>{En(!0)},[]);const f0=it&&!m&&!a;R.useEffect(()=>{Ce&&d&&!m&&it&&_.current.pulsate()},[m,d,Ce,it]);function _t(N,wa,P0=h){return Ao(Sa=>(wa&&wa(Sa),!P0&&_.current&&_.current[N](Sa),!0))}const d0=_t("start",E),p0=_t("stop",T),m0=_t("stop",f),h0=_t("stop",C),y0=_t("stop",N=>{Ce&&N.preventDefault(),k&&k(N)}),g0=_t("start",D),v0=_t("stop",A),w0=_t("stop",O),S0=_t("stop",N=>{le(N),M.current===!1&&It(!1),g&&g(N)},!1),k0=Ao(N=>{Et.current||(Et.current=N.currentTarget),Y(N),M.current===!0&&(It(!0),p&&p(N)),c&&c(N)}),xl=()=>{const N=Et.current;return s&&s!=="button"&&!(N.tagName==="A"&&N.href)},El=R.useRef(!1),x0=Ao(N=>{d&&!El.current&&Ce&&_.current&&N.key===" "&&(El.current=!0,_.current.stop(N,()=>{_.current.start(N)})),N.target===N.currentTarget&&xl()&&N.key===" "&&N.preventDefault(),v&&v(N),N.target===N.currentTarget&&xl()&&N.key==="Enter"&&!a&&(N.preventDefault(),y&&y(N))}),E0=Ao(N=>{d&&N.key===" "&&_.current&&Ce&&!N.defaultPrevented&&(El.current=!1,_.current.stop(N,()=>{_.current.pulsate(N)})),S&&S(N),y&&N.target===N.currentTarget&&xl()&&N.key===" "&&!N.defaultPrevented&&y(N)});let ho=s;ho==="button"&&(_e.href||_e.to)&&(ho=w);const fr={};ho==="button"?(fr.type=ot===void 0?"button":ot,fr.disabled=a):(!_e.href&&!_e.to&&(fr.role="button"),a&&(fr["aria-disabled"]=a));const _0=Ju(n,xn,Et),va=z({},r,{centerRipple:i,component:s,disabled:a,disableRipple:m,disableTouchRipple:h,focusRipple:d,tabIndex:V,focusVisible:Ce}),C0=xw(va);return Ot.jsxs(Ew,z({as:ho,className:be(C0.root,u),ownerState:va,onBlur:S0,onClick:y,onContextMenu:p0,onFocus:k0,onKeyDown:x0,onKeyUp:E0,onMouseDown:d0,onMouseLeave:y0,onMouseUp:h0,onDragLeave:m0,onTouchEnd:v0,onTouchMove:w0,onTouchStart:g0,ref:_0,tabIndex:a?-1:V,type:ot},fr,_e,{children:[l,f0?Ot.jsx(vw,z({ref:$,center:i},ie)):null]}))});export{Ca as A,Ow as B,l0 as C,Og as D,vl as E,F1 as F,Rg as G,$v as H,Ov as I,Jr as J,Rv as K,nv as L,xt as M,R0 as N,ua as T,z as _,s0 as a,Nv as b,sa as c,Cw as d,Qu as e,pt as f,c0 as g,be as h,ty as i,Ot as j,oy as k,Yv as l,Ju as m,Iv as n,Ao as o,Pw as p,iw as q,R as r,ha as s,rw as t,a0 as u,ay as v,uy as w,Mv as x,Rw as y,Tw as z}; diff --git a/dist/popup/index.html b/dist/popup/index.html index be50158..a9dcb1e 100644 --- a/dist/popup/index.html +++ b/dist/popup/index.html @@ -9,6 +9,7 @@ +
diff --git a/dist/popup/popup.js b/dist/popup/popup.js index b878cba..4545a86 100644 --- a/dist/popup/popup.js +++ b/dist/popup/popup.js @@ -1 +1 @@ -import{r as m,g as vt,a as bt,s as D,B as Tt,b as wt,c as S,_ as s,d as be,e as Mt,u as ft,f as mt,j as b,h as Z,i as gt,k as ge,l as _t,m as nt,n as Et,o as Qe,p as Re,q as Ze,t as Te,v as lt,w as st,x as ht,y as Nt,z as Q,A as At}from"../js/ButtonBase-8la9PwCJ.js";function Vt({controlled:e,default:t,name:o,state:n="value"}){const{current:i}=m.useRef(e!==void 0),[g,x]=m.useState(t),f=i?e:g,v=m.useCallback(R=>{i||x(R)},[]);return[f,v]}const jt={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};function Bt(e){return bt("MuiButton",e)}const $e=vt("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),Ft=m.createContext({}),Ot=m.createContext(void 0),Ht=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Dt=e=>{const{color:t,disableElevation:o,fullWidth:n,size:i,variant:g,classes:x}=e,f={root:["root",g,`${g}${S(t)}`,`size${S(i)}`,`${g}Size${S(i)}`,`color${S(t)}`,o&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${S(i)}`],endIcon:["icon","endIcon",`iconSize${S(i)}`]},v=gt(f,Bt,x);return s({},x,v)},xt=e=>s({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),Wt=D(Tt,{shouldForwardProp:e=>wt(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.variant],t[`${o.variant}${S(o.color)}`],t[`size${S(o.size)}`],t[`${o.variant}Size${S(o.size)}`],o.color==="inherit"&&t.colorInherit,o.disableElevation&&t.disableElevation,o.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var o,n;const i=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],g=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return s({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":s({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:be(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="text"&&t.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:be(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="outlined"&&t.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:be(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:g,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},t.variant==="contained"&&t.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":s({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${$e.focusVisible}`]:s({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${$e.disabled}`]:s({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant==="text"&&{padding:"6px 8px"},t.variant==="text"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main},t.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},t.variant==="outlined"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${be(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(o=(n=e.palette).getContrastText)==null?void 0:o.call(n,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:i,boxShadow:(e.vars||e).shadows[2]},t.variant==="contained"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},t.size==="small"&&t.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${$e.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${$e.disabled}`]:{boxShadow:"none"}}),Ut=D("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.startIcon,t[`iconSize${S(o.size)}`]]}})(({ownerState:e})=>s({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},xt(e))),Yt=D("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.endIcon,t[`iconSize${S(o.size)}`]]}})(({ownerState:e})=>s({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},xt(e))),it=m.forwardRef(function(t,o){const n=m.useContext(Ft),i=m.useContext(Ot),g=Mt(n,t),x=ft({props:g,name:"MuiButton"}),{children:f,color:v="primary",component:R="button",className:ee,disabled:B=!1,disableElevation:X=!1,disableFocusRipple:te=!1,endIcon:G,focusVisibleClassName:T,fullWidth:oe=!1,size:ie="medium",startIcon:ae,type:w,variant:W="text"}=x,F=mt(x,Ht),U=s({},x,{color:v,component:R,disabled:B,disableElevation:X,disableFocusRipple:te,fullWidth:oe,size:ie,type:w,variant:W}),P=Dt(U),re=ae&&b.jsx(Ut,{className:P.startIcon,ownerState:U,children:ae}),ne=G&&b.jsx(Yt,{className:P.endIcon,ownerState:U,children:G}),Y=i||"";return b.jsxs(Wt,s({ownerState:U,className:Z(n.className,P.root,ee,Y),component:R,disabled:B,focusRipple:!te,focusVisibleClassName:Z(P.focusVisible,T),ref:o,type:w},F,{classes:P,children:[re,f,ne]}))});function qt(e,t,o=(n,i)=>n===i){return e.length===t.length&&e.every((n,i)=>o(n,t[i]))}const Kt=2;function yt(e,t){return e-t}function ct(e,t){var o;const{index:n}=(o=e.reduce((i,g,x)=>{const f=Math.abs(t-g);return i===null||f({left:`${e}%`}),leap:e=>({width:`${e}%`})},"horizontal-reverse":{offset:e=>({right:`${e}%`}),leap:e=>({width:`${e}%`})},vertical:{offset:e=>({bottom:`${e}%`}),leap:e=>({height:`${e}%`})}},Zt=e=>e;let Ie;function dt(){return Ie===void 0&&(typeof CSS<"u"&&typeof CSS.supports=="function"?Ie=CSS.supports("touch-action","none"):Ie=!0),Ie}function eo(e){const{"aria-labelledby":t,defaultValue:o,disabled:n=!1,disableSwap:i=!1,isRtl:g=!1,marks:x=!1,max:f=100,min:v=0,name:R,onChange:ee,onChangeCommitted:B,orientation:X="horizontal",rootRef:te,scale:G=Zt,step:T=1,shiftStep:oe=10,tabIndex:ie,value:ae}=e,w=m.useRef(),[W,F]=m.useState(-1),[U,P]=m.useState(-1),[re,ne]=m.useState(!1),Y=m.useRef(0),[E,ce]=Vt({controlled:ae,default:o??v,name:"Slider"}),O=ee&&((a,r,l)=>{const u=a.nativeEvent||a,d=new u.constructor(u.type,u);Object.defineProperty(d,"target",{writable:!0,value:{value:r,name:R}}),ee(d,r,l)}),le=Array.isArray(E);let $=le?E.slice().sort(yt):[E];$=$.map(a=>a==null?v:ge(a,v,f));const fe=x===!0&&T!==null?[...Array(Math.floor((f-v)/T)+1)].map((a,r)=>({value:v+T*r})):x||[],C=fe.map(a=>a.value),{isFocusVisibleRef:N,onBlur:Me,onFocus:_e,ref:Ee}=_t(),[he,se]=m.useState(-1),I=m.useRef(),xe=nt(Ee,I),ye=nt(te,xe),ue=a=>r=>{var l;const u=Number(r.currentTarget.getAttribute("data-index"));_e(r),N.current===!0&&se(u),P(u),a==null||(l=a.onFocus)==null||l.call(a,r)},de=a=>r=>{var l;Me(r),N.current===!1&&se(-1),P(-1),a==null||(l=a.onBlur)==null||l.call(a,r)},ke=(a,r)=>{const l=Number(a.currentTarget.getAttribute("data-index")),u=$[l],d=C.indexOf(u);let c=r;if(fe&&T==null){const j=C[C.length-1];c>j?c=j:cr=>{var l;if(T!==null){const u=Number(r.currentTarget.getAttribute("data-index")),d=$[u];let c=null;(r.key==="ArrowLeft"||r.key==="ArrowDown")&&r.shiftKey||r.key==="PageDown"?c=Math.max(d-oe,v):((r.key==="ArrowRight"||r.key==="ArrowUp")&&r.shiftKey||r.key==="PageUp")&&(c=Math.min(d+oe,f)),c!==null&&(ke(r,c),r.preventDefault())}a==null||(l=a.onKeyDown)==null||l.call(a,r)};Et(()=>{if(n&&I.current.contains(document.activeElement)){var a;(a=document.activeElement)==null||a.blur()}},[n]),n&&W!==-1&&F(-1),n&&he!==-1&&se(-1);const Ae=a=>r=>{var l;(l=a.onChange)==null||l.call(a,r),ke(r,r.target.valueAsNumber)},Se=m.useRef();let q=X;g&&X==="horizontal"&&(q+="-reverse");const y=({finger:a,move:r=!1})=>{const{current:l}=I,{width:u,height:d,bottom:c,left:j}=l.getBoundingClientRect();let H;q.indexOf("vertical")===0?H=(c-a.y)/d:H=(a.x-j)/u,q.indexOf("-reverse")!==-1&&(H=1-H);let p;if(p=Xt(H,v,f),T)p=Jt(p,T,v);else{const ve=ct(C,p);p=C[ve]}p=ge(p,v,f);let M=0;if(le){r?M=Se.current:M=ct($,p),i&&(p=ge(p,$[M-1]||-1/0,$[M+1]||1/0));const ve=p;p=ut({values:$,newValue:p,index:M}),i&&r||(M=p.indexOf(ve),Se.current=M)}return{newValue:p,activeIndex:M}},h=Qe(a=>{const r=Le(a,w);if(!r)return;if(Y.current+=1,a.type==="mousemove"&&a.buttons===0){A(a);return}const{newValue:l,activeIndex:u}=y({finger:r,move:!0});ze({sliderRef:I,activeIndex:u,setActive:F}),ce(l),!re&&Y.current>Kt&&ne(!0),O&&!Pe(l,E)&&O(a,l,u)}),A=Qe(a=>{const r=Le(a,w);if(ne(!1),!r)return;const{newValue:l}=y({finger:r,move:!0});F(-1),a.type==="touchend"&&P(-1),B&&B(a,l),w.current=void 0,V()}),J=Qe(a=>{if(n)return;dt()||a.preventDefault();const r=a.changedTouches[0];r!=null&&(w.current=r.identifier);const l=Le(a,w);if(l!==!1){const{newValue:d,activeIndex:c}=y({finger:l});ze({sliderRef:I,activeIndex:c,setActive:F}),ce(d),O&&!Pe(d,E)&&O(a,d,c)}Y.current=0;const u=Re(I.current);u.addEventListener("touchmove",h,{passive:!0}),u.addEventListener("touchend",A,{passive:!0})}),V=m.useCallback(()=>{const a=Re(I.current);a.removeEventListener("mousemove",h),a.removeEventListener("mouseup",A),a.removeEventListener("touchmove",h),a.removeEventListener("touchend",A)},[A,h]);m.useEffect(()=>{const{current:a}=I;return a.addEventListener("touchstart",J,{passive:dt()}),()=>{a.removeEventListener("touchstart",J),V()}},[V,J]),m.useEffect(()=>{n&&V()},[n,V]);const Ve=a=>r=>{var l;if((l=a.onMouseDown)==null||l.call(a,r),n||r.defaultPrevented||r.button!==0)return;r.preventDefault();const u=Le(r,w);if(u!==!1){const{newValue:c,activeIndex:j}=y({finger:u});ze({sliderRef:I,activeIndex:j,setActive:F}),ce(c),O&&!Pe(c,E)&&O(r,c,j)}Y.current=0;const d=Re(I.current);d.addEventListener("mousemove",h,{passive:!0}),d.addEventListener("mouseup",A)},z=we(le?$[0]:v,v,f),pe=we($[$.length-1],v,f)-z,je=(a={})=>{const r=Ze(a),l={onMouseDown:Ve(r||{})},u=s({},r,l);return s({},a,{ref:ye},u)},Be=a=>r=>{var l;(l=a.onMouseOver)==null||l.call(a,r);const u=Number(r.currentTarget.getAttribute("data-index"));P(u)},Fe=a=>r=>{var l;(l=a.onMouseLeave)==null||l.call(a,r),P(-1)};return{active:W,axis:q,axisProps:Qt,dragging:re,focusedThumbIndex:he,getHiddenInputProps:(a={})=>{var r;const l=Ze(a),u={onChange:Ae(l||{}),onFocus:ue(l||{}),onBlur:de(l||{}),onKeyDown:Ne(l||{})},d=s({},l,u);return s({tabIndex:ie,"aria-labelledby":t,"aria-orientation":X,"aria-valuemax":G(f),"aria-valuemin":G(v),name:R,type:"range",min:e.min,max:e.max,step:e.step===null&&e.marks?"any":(r=e.step)!=null?r:void 0,disabled:n},a,d,{style:s({},jt,{direction:g?"rtl":"ltr",width:"100%",height:"100%"})})},getRootProps:je,getThumbProps:(a={})=>{const r=Ze(a),l={onMouseOver:Be(r||{}),onMouseLeave:Fe(r||{})};return s({},a,r,l)},marks:fe,open:U,range:le,rootRef:ye,trackLeap:pe,trackOffset:z,values:$,getThumbStyle:a=>({pointerEvents:W!==-1&&W!==a?"none":void 0})}}const to=e=>!e||!Te(e);function oo(e){return bt("MuiSlider",e)}const _=vt("MuiSlider",["root","active","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","thumbColorError","thumbColorSuccess","thumbColorInfo","thumbColorWarning","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]),ao=e=>{const{open:t}=e;return{offset:Z(t&&_.valueLabelOpen),circle:_.valueLabelCircle,label:_.valueLabelLabel}};function ro(e){const{children:t,className:o,value:n}=e,i=ao(e);return t?m.cloneElement(t,{className:Z(t.props.className)},b.jsxs(m.Fragment,{children:[t.props.children,b.jsx("span",{className:Z(i.offset,o),"aria-hidden":!0,children:b.jsx("span",{className:i.circle,children:b.jsx("span",{className:i.label,children:n})})})]})):null}const no=["aria-label","aria-valuetext","aria-labelledby","component","components","componentsProps","color","classes","className","disableSwap","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","orientation","shiftStep","size","step","scale","slotProps","slots","tabIndex","track","value","valueLabelDisplay","valueLabelFormat"];function pt(e){return e}const lo=D("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[`color${S(o.color)}`],o.size!=="medium"&&t[`size${S(o.size)}`],o.marked&&t.marked,o.orientation==="vertical"&&t.vertical,o.track==="inverted"&&t.trackInverted,o.track===!1&&t.trackFalse]}})(({theme:e})=>{var t;return{borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",WebkitTapHighlightColor:"transparent","@media print":{colorAdjust:"exact"},[`&.${_.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${_.dragging}`]:{[`& .${_.thumb}, & .${_.track}`]:{transition:"none"}},variants:[...Object.keys(((t=e.vars)!=null?t:e).palette).filter(o=>{var n;return((n=e.vars)!=null?n:e).palette[o].main}).map(o=>({props:{color:o},style:{color:(e.vars||e).palette[o].main}})),{props:{orientation:"horizontal"},style:{height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}}},{props:{orientation:"horizontal",size:"small"},style:{height:2}},{props:{orientation:"horizontal",marked:!0},style:{marginBottom:20}},{props:{orientation:"vertical"},style:{height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}}},{props:{orientation:"vertical",size:"small"},style:{width:2}},{props:{orientation:"vertical",marked:!0},style:{marginRight:44}}]}}),so=D("span",{name:"MuiSlider",slot:"Rail",overridesResolver:(e,t)=>t.rail})({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38,variants:[{props:{orientation:"horizontal"},style:{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:"inverted"},style:{opacity:1}}]}),io=D("span",{name:"MuiSlider",slot:"Track",overridesResolver:(e,t)=>t.track})(({theme:e})=>{var t;return{display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:e.transitions.create(["left","width","bottom","height"],{duration:e.transitions.duration.shortest}),variants:[{props:{size:"small"},style:{border:"none"}},{props:{orientation:"horizontal"},style:{height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:!1},style:{display:"none"}},...Object.keys(((t=e.vars)!=null?t:e).palette).filter(o=>{var n;return((n=e.vars)!=null?n:e).palette[o].main}).map(o=>({props:{color:o,track:"inverted"},style:s({},e.vars?{backgroundColor:e.vars.palette.Slider[`${o}Track`],borderColor:e.vars.palette.Slider[`${o}Track`]}:s({backgroundColor:lt(e.palette[o].main,.62),borderColor:lt(e.palette[o].main,.62)},e.applyStyles("dark",{backgroundColor:st(e.palette[o].main,.5)}),e.applyStyles("dark",{borderColor:st(e.palette[o].main,.5)})))}))]}}),co=D("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.thumb,t[`thumbColor${S(o.color)}`],o.size!=="medium"&&t[`thumbSize${S(o.size)}`]]}})(({theme:e})=>{var t;return{position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow","left","bottom"],{duration:e.transitions.duration.shortest}),"&::before":{position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(e.vars||e).shadows[2]},"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},[`&.${_.disabled}`]:{"&:hover":{boxShadow:"none"}},variants:[{props:{size:"small"},style:{width:12,height:12,"&::before":{boxShadow:"none"}}},{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-50%, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 50%)"}},...Object.keys(((t=e.vars)!=null?t:e).palette).filter(o=>{var n;return((n=e.vars)!=null?n:e).palette[o].main}).map(o=>({props:{color:o},style:{[`&:hover, &.${_.focusVisible}`]:s({},e.vars?{boxShadow:`0px 0px 0px 8px rgba(${e.vars.palette[o].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 8px ${be(e.palette[o].main,.16)}`},{"@media (hover: none)":{boxShadow:"none"}}),[`&.${_.active}`]:s({},e.vars?{boxShadow:`0px 0px 0px 14px rgba(${e.vars.palette[o].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 14px ${be(e.palette[o].main,.16)}`})}}))]}}),uo=D(ro,{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(e,t)=>t.valueLabel})(({theme:e})=>s({zIndex:1,whiteSpace:"nowrap"},e.typography.body2,{fontWeight:500,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),position:"absolute",backgroundColor:(e.vars||e).palette.grey[600],borderRadius:2,color:(e.vars||e).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem",variants:[{props:{orientation:"horizontal"},style:{transform:"translateY(-100%) scale(0)",top:"-10px",transformOrigin:"bottom center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"},[`&.${_.valueLabelOpen}`]:{transform:"translateY(-100%) scale(1)"}}},{props:{orientation:"vertical"},style:{transform:"translateY(-50%) scale(0)",right:"30px",top:"50%",transformOrigin:"right center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, -50%) rotate(45deg)",backgroundColor:"inherit",right:-8,top:"50%"},[`&.${_.valueLabelOpen}`]:{transform:"translateY(-50%) scale(1)"}}},{props:{size:"small"},style:{fontSize:e.typography.pxToRem(12),padding:"0.25rem 0.5rem"}},{props:{orientation:"vertical",size:"small"},style:{right:"20px"}}]})),po=D("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>ht(e)&&e!=="markActive",overridesResolver:(e,t)=>{const{markActive:o}=e;return[t.mark,o&&t.markActive]}})(({theme:e})=>({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor",variants:[{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-1px, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 1px)"}},{props:{markActive:!0},style:{backgroundColor:(e.vars||e).palette.background.paper,opacity:.8}}]})),vo=D("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>ht(e)&&e!=="markLabelActive",overridesResolver:(e,t)=>t.markLabel})(({theme:e})=>s({},e.typography.body2,{color:(e.vars||e).palette.text.secondary,position:"absolute",whiteSpace:"nowrap",variants:[{props:{orientation:"horizontal"},style:{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}}},{props:{orientation:"vertical"},style:{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}}},{props:{markLabelActive:!0},style:{color:(e.vars||e).palette.text.primary}}]})),bo=e=>{const{disabled:t,dragging:o,marked:n,orientation:i,track:g,classes:x,color:f,size:v}=e,R={root:["root",t&&"disabled",o&&"dragging",n&&"marked",i==="vertical"&&"vertical",g==="inverted"&&"trackInverted",g===!1&&"trackFalse",f&&`color${S(f)}`,v&&`size${S(v)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled",v&&`thumbSize${S(v)}`,f&&`thumbColor${S(f)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return gt(R,oo,x)},fo=({children:e})=>e,mo=m.forwardRef(function(t,o){var n,i,g,x,f,v,R,ee,B,X,te,G,T,oe,ie,ae,w,W,F,U,P,re,ne,Y;const E=ft({props:t,name:"MuiSlider"}),ce=Nt(),{"aria-label":O,"aria-valuetext":le,"aria-labelledby":$,component:fe="span",components:C={},componentsProps:N={},color:Me="primary",classes:_e,className:Ee,disableSwap:he=!1,disabled:se=!1,getAriaLabel:I,getAriaValueText:xe,marks:ye=!1,max:ue=100,min:de=0,orientation:ke="horizontal",shiftStep:Ne=10,size:Ae="medium",step:Se=1,scale:q=pt,slotProps:y,slots:h,track:A="normal",valueLabelDisplay:J="off",valueLabelFormat:V=pt}=E,Ve=mt(E,no),z=s({},E,{isRtl:ce,max:ue,min:de,classes:_e,disabled:se,disableSwap:he,orientation:ke,marks:ye,color:Me,size:Ae,step:Se,shiftStep:Ne,scale:q,track:A,valueLabelDisplay:J,valueLabelFormat:V}),{axisProps:pe,getRootProps:je,getHiddenInputProps:Be,getThumbProps:Fe,open:et,active:Oe,axis:me,focusedThumbIndex:a,range:r,dragging:l,marks:u,values:d,trackOffset:c,trackLeap:j,getThumbStyle:H}=eo(s({},z,{rootRef:o}));z.marked=u.length>0&&u.some(k=>k.label),z.dragging=l,z.focusedThumbIndex=a;const p=bo(z),M=(n=(i=h==null?void 0:h.root)!=null?i:C.Root)!=null?n:lo,ve=(g=(x=h==null?void 0:h.rail)!=null?x:C.Rail)!=null?g:so,tt=(f=(v=h==null?void 0:h.track)!=null?v:C.Track)!=null?f:io,ot=(R=(ee=h==null?void 0:h.thumb)!=null?ee:C.Thumb)!=null?R:co,at=(B=(X=h==null?void 0:h.valueLabel)!=null?X:C.ValueLabel)!=null?B:uo,He=(te=(G=h==null?void 0:h.mark)!=null?G:C.Mark)!=null?te:po,De=(T=(oe=h==null?void 0:h.markLabel)!=null?oe:C.MarkLabel)!=null?T:vo,rt=(ie=(ae=h==null?void 0:h.input)!=null?ae:C.Input)!=null?ie:"input",We=(w=y==null?void 0:y.root)!=null?w:N.root,kt=(W=y==null?void 0:y.rail)!=null?W:N.rail,Ue=(F=y==null?void 0:y.track)!=null?F:N.track,Ye=(U=y==null?void 0:y.thumb)!=null?U:N.thumb,qe=(P=y==null?void 0:y.valueLabel)!=null?P:N.valueLabel,St=(re=y==null?void 0:y.mark)!=null?re:N.mark,Ct=(ne=y==null?void 0:y.markLabel)!=null?ne:N.markLabel,$t=(Y=y==null?void 0:y.input)!=null?Y:N.input,Lt=Q({elementType:M,getSlotProps:je,externalSlotProps:We,externalForwardedProps:Ve,additionalProps:s({},to(M)&&{as:fe}),ownerState:s({},z,We==null?void 0:We.ownerState),className:[p.root,Ee]}),zt=Q({elementType:ve,externalSlotProps:kt,ownerState:z,className:p.rail}),Pt=Q({elementType:tt,externalSlotProps:Ue,additionalProps:{style:s({},pe[me].offset(c),pe[me].leap(j))},ownerState:s({},z,Ue==null?void 0:Ue.ownerState),className:p.track}),Ke=Q({elementType:ot,getSlotProps:Fe,externalSlotProps:Ye,ownerState:s({},z,Ye==null?void 0:Ye.ownerState),className:p.thumb}),It=Q({elementType:at,externalSlotProps:qe,ownerState:s({},z,qe==null?void 0:qe.ownerState),className:p.valueLabel}),Xe=Q({elementType:He,externalSlotProps:St,ownerState:z,className:p.mark}),Ge=Q({elementType:De,externalSlotProps:Ct,ownerState:z,className:p.markLabel}),Rt=Q({elementType:rt,getSlotProps:Be,externalSlotProps:$t,ownerState:z});return b.jsxs(M,s({},Lt,{children:[b.jsx(ve,s({},zt)),b.jsx(tt,s({},Pt)),u.filter(k=>k.value>=de&&k.value<=ue).map((k,L)=>{const Je=we(k.value,de,ue),Ce=pe[me].offset(Je);let K;return A===!1?K=d.indexOf(k.value)!==-1:K=A==="normal"&&(r?k.value>=d[0]&&k.value<=d[d.length-1]:k.value<=d[0])||A==="inverted"&&(r?k.value<=d[0]||k.value>=d[d.length-1]:k.value>=d[0]),b.jsxs(m.Fragment,{children:[b.jsx(He,s({"data-index":L},Xe,!Te(He)&&{markActive:K},{style:s({},Ce,Xe.style),className:Z(Xe.className,K&&p.markActive)})),k.label!=null?b.jsx(De,s({"aria-hidden":!0,"data-index":L},Ge,!Te(De)&&{markLabelActive:K},{style:s({},Ce,Ge.style),className:Z(p.markLabel,Ge.className,K&&p.markLabelActive),children:k.label})):null]},L)}),d.map((k,L)=>{const Je=we(k,de,ue),Ce=pe[me].offset(Je),K=J==="off"?fo:at;return b.jsx(K,s({},!Te(K)&&{valueLabelFormat:V,valueLabelDisplay:J,value:typeof V=="function"?V(q(k),L):V,index:L,open:et===L||Oe===L||J==="on",disabled:se},It,{children:b.jsx(ot,s({"data-index":L},Ke,{className:Z(p.thumb,Ke.className,Oe===L&&p.active,a===L&&p.focusVisible),style:s({},Ce,H(L),Ke.style),children:b.jsx(rt,s({"data-index":L,"aria-label":I?I(L):O,"aria-valuenow":q(k),"aria-labelledby":$,"aria-valuetext":xe?xe(q(k),L):le,value:d[L]},Rt))}))}),L)})]}))});function go(e,t){let o;return function(){o&&clearTimeout(o),o=setTimeout(e,t)}}function ho(e){return new Promise(t=>{chrome.storage.local.get(e,o=>{t(o[e])})})}function xo(e){chrome.storage.local.set(e)}const yo=go(xo,100),ko=e=>{chrome.tabs.query({active:!0,currentWindow:!0},t=>{let o={info:e.toString(),type:"number"};t[0]&&t[0].id&&chrome.tabs.sendMessage(t[0].id,o,void 0,n=>{console.log(n)})}),yo("value",e)};function So(){const[e,t]=m.useState(100);return m.useEffect(()=>{ho("value").then(o=>{o&&t(o)})},[e]),b.jsx(b.Fragment,{children:b.jsxs("div",{id:"control",children:[b.jsx("div",{id:"text",children:"透明度"}),b.jsx(mo,{onChange:(o,n)=>{ko(n)},defaultValue:e,"aria-label":"Default",valueLabelDisplay:"auto"})]})})}const Co=()=>{chrome.tabs.query({active:!0,currentWindow:!0},e=>{let t={info:"openMeasureTool",type:"string"};e[0]&&e[0].id&&chrome.tabs.sendMessage(e[0].id,t,void 0,o=>{console.log(o)})})},$o=()=>{chrome.tabs.query({active:!0,currentWindow:!0},e=>{let t={info:"closeMeasureTool",type:"string"};e[0]&&e[0].id&&chrome.tabs.sendMessage(e[0].id,t,void 0,o=>{console.log(o)})})};function Lo(){return console.log(chrome),b.jsx(b.Fragment,{children:b.jsxs("div",{id:"app",children:[b.jsx(it,{variant:"outlined",onClick:Co,children:"开启"}),b.jsx(it,{onClick:$o,variant:"outlined",color:"error",style:{marginLeft:"10px"},children:"关闭"}),b.jsx(So,{})]})})}At.createRoot(document.getElementById("root")).render(b.jsx(Lo,{})); +import{r as g,g as vt,a as bt,s as D,B as Tt,b as wt,c as S,_ as s,d as be,e as Mt,u as ft,f as gt,j as b,h as Z,i as mt,k as me,l as _t,m as nt,n as Et,o as Qe,p as Re,q as Ze,t as Te,v as lt,w as st,x as ht,y as Nt,z as Q,A as At}from"../js/ButtonBase-8la9PwCJ.js";function Vt({controlled:e,default:t,name:o,state:n="value"}){const{current:i}=g.useRef(e!==void 0),[m,x]=g.useState(t),f=i?e:m,v=g.useCallback(R=>{i||x(R)},[]);return[f,v]}const jt={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};function Bt(e){return bt("MuiButton",e)}const $e=vt("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),Ft=g.createContext({}),Ot=g.createContext(void 0),Ht=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Dt=e=>{const{color:t,disableElevation:o,fullWidth:n,size:i,variant:m,classes:x}=e,f={root:["root",m,`${m}${S(t)}`,`size${S(i)}`,`${m}Size${S(i)}`,`color${S(t)}`,o&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${S(i)}`],endIcon:["icon","endIcon",`iconSize${S(i)}`]},v=mt(f,Bt,x);return s({},x,v)},xt=e=>s({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),Wt=D(Tt,{shouldForwardProp:e=>wt(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.variant],t[`${o.variant}${S(o.color)}`],t[`size${S(o.size)}`],t[`${o.variant}Size${S(o.size)}`],o.color==="inherit"&&t.colorInherit,o.disableElevation&&t.disableElevation,o.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var o,n;const i=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],m=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return s({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":s({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:be(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="text"&&t.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:be(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="outlined"&&t.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:be(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:m,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},t.variant==="contained"&&t.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":s({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${$e.focusVisible}`]:s({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${$e.disabled}`]:s({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant==="text"&&{padding:"6px 8px"},t.variant==="text"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main},t.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},t.variant==="outlined"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${be(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(o=(n=e.palette).getContrastText)==null?void 0:o.call(n,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:i,boxShadow:(e.vars||e).shadows[2]},t.variant==="contained"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},t.size==="small"&&t.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${$e.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${$e.disabled}`]:{boxShadow:"none"}}),Ut=D("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.startIcon,t[`iconSize${S(o.size)}`]]}})(({ownerState:e})=>s({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},xt(e))),Yt=D("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.endIcon,t[`iconSize${S(o.size)}`]]}})(({ownerState:e})=>s({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},xt(e))),it=g.forwardRef(function(t,o){const n=g.useContext(Ft),i=g.useContext(Ot),m=Mt(n,t),x=ft({props:m,name:"MuiButton"}),{children:f,color:v="primary",component:R="button",className:ee,disabled:B=!1,disableElevation:X=!1,disableFocusRipple:te=!1,endIcon:G,focusVisibleClassName:T,fullWidth:oe=!1,size:ie="medium",startIcon:ae,type:w,variant:W="text"}=x,F=gt(x,Ht),U=s({},x,{color:v,component:R,disabled:B,disableElevation:X,disableFocusRipple:te,fullWidth:oe,size:ie,type:w,variant:W}),P=Dt(U),re=ae&&b.jsx(Ut,{className:P.startIcon,ownerState:U,children:ae}),ne=G&&b.jsx(Yt,{className:P.endIcon,ownerState:U,children:G}),Y=i||"";return b.jsxs(Wt,s({ownerState:U,className:Z(n.className,P.root,ee,Y),component:R,disabled:B,focusRipple:!te,focusVisibleClassName:Z(P.focusVisible,T),ref:o,type:w},F,{classes:P,children:[re,f,ne]}))});function qt(e,t,o=(n,i)=>n===i){return e.length===t.length&&e.every((n,i)=>o(n,t[i]))}const Kt=2;function yt(e,t){return e-t}function ct(e,t){var o;const{index:n}=(o=e.reduce((i,m,x)=>{const f=Math.abs(t-m);return i===null||f({left:`${e}%`}),leap:e=>({width:`${e}%`})},"horizontal-reverse":{offset:e=>({right:`${e}%`}),leap:e=>({width:`${e}%`})},vertical:{offset:e=>({bottom:`${e}%`}),leap:e=>({height:`${e}%`})}},Zt=e=>e;let Ie;function dt(){return Ie===void 0&&(typeof CSS<"u"&&typeof CSS.supports=="function"?Ie=CSS.supports("touch-action","none"):Ie=!0),Ie}function eo(e){const{"aria-labelledby":t,defaultValue:o,disabled:n=!1,disableSwap:i=!1,isRtl:m=!1,marks:x=!1,max:f=100,min:v=0,name:R,onChange:ee,onChangeCommitted:B,orientation:X="horizontal",rootRef:te,scale:G=Zt,step:T=1,shiftStep:oe=10,tabIndex:ie,value:ae}=e,w=g.useRef(),[W,F]=g.useState(-1),[U,P]=g.useState(-1),[re,ne]=g.useState(!1),Y=g.useRef(0),[E,ce]=Vt({controlled:ae,default:o??v,name:"Slider"}),O=ee&&((a,r,l)=>{const u=a.nativeEvent||a,d=new u.constructor(u.type,u);Object.defineProperty(d,"target",{writable:!0,value:{value:r,name:R}}),ee(d,r,l)}),le=Array.isArray(E);let $=le?E.slice().sort(yt):[E];$=$.map(a=>a==null?v:me(a,v,f));const fe=x===!0&&T!==null?[...Array(Math.floor((f-v)/T)+1)].map((a,r)=>({value:v+T*r})):x||[],C=fe.map(a=>a.value),{isFocusVisibleRef:N,onBlur:Me,onFocus:_e,ref:Ee}=_t(),[he,se]=g.useState(-1),I=g.useRef(),xe=nt(Ee,I),ye=nt(te,xe),ue=a=>r=>{var l;const u=Number(r.currentTarget.getAttribute("data-index"));_e(r),N.current===!0&&se(u),P(u),a==null||(l=a.onFocus)==null||l.call(a,r)},de=a=>r=>{var l;Me(r),N.current===!1&&se(-1),P(-1),a==null||(l=a.onBlur)==null||l.call(a,r)},ke=(a,r)=>{const l=Number(a.currentTarget.getAttribute("data-index")),u=$[l],d=C.indexOf(u);let c=r;if(fe&&T==null){const j=C[C.length-1];c>j?c=j:cr=>{var l;if(T!==null){const u=Number(r.currentTarget.getAttribute("data-index")),d=$[u];let c=null;(r.key==="ArrowLeft"||r.key==="ArrowDown")&&r.shiftKey||r.key==="PageDown"?c=Math.max(d-oe,v):((r.key==="ArrowRight"||r.key==="ArrowUp")&&r.shiftKey||r.key==="PageUp")&&(c=Math.min(d+oe,f)),c!==null&&(ke(r,c),r.preventDefault())}a==null||(l=a.onKeyDown)==null||l.call(a,r)};Et(()=>{if(n&&I.current.contains(document.activeElement)){var a;(a=document.activeElement)==null||a.blur()}},[n]),n&&W!==-1&&F(-1),n&&he!==-1&&se(-1);const Ae=a=>r=>{var l;(l=a.onChange)==null||l.call(a,r),ke(r,r.target.valueAsNumber)},Se=g.useRef();let q=X;m&&X==="horizontal"&&(q+="-reverse");const y=({finger:a,move:r=!1})=>{const{current:l}=I,{width:u,height:d,bottom:c,left:j}=l.getBoundingClientRect();let H;q.indexOf("vertical")===0?H=(c-a.y)/d:H=(a.x-j)/u,q.indexOf("-reverse")!==-1&&(H=1-H);let p;if(p=Xt(H,v,f),T)p=Jt(p,T,v);else{const ve=ct(C,p);p=C[ve]}p=me(p,v,f);let M=0;if(le){r?M=Se.current:M=ct($,p),i&&(p=me(p,$[M-1]||-1/0,$[M+1]||1/0));const ve=p;p=ut({values:$,newValue:p,index:M}),i&&r||(M=p.indexOf(ve),Se.current=M)}return{newValue:p,activeIndex:M}},h=Qe(a=>{const r=Le(a,w);if(!r)return;if(Y.current+=1,a.type==="mousemove"&&a.buttons===0){A(a);return}const{newValue:l,activeIndex:u}=y({finger:r,move:!0});ze({sliderRef:I,activeIndex:u,setActive:F}),ce(l),!re&&Y.current>Kt&&ne(!0),O&&!Pe(l,E)&&O(a,l,u)}),A=Qe(a=>{const r=Le(a,w);if(ne(!1),!r)return;const{newValue:l}=y({finger:r,move:!0});F(-1),a.type==="touchend"&&P(-1),B&&B(a,l),w.current=void 0,V()}),J=Qe(a=>{if(n)return;dt()||a.preventDefault();const r=a.changedTouches[0];r!=null&&(w.current=r.identifier);const l=Le(a,w);if(l!==!1){const{newValue:d,activeIndex:c}=y({finger:l});ze({sliderRef:I,activeIndex:c,setActive:F}),ce(d),O&&!Pe(d,E)&&O(a,d,c)}Y.current=0;const u=Re(I.current);u.addEventListener("touchmove",h,{passive:!0}),u.addEventListener("touchend",A,{passive:!0})}),V=g.useCallback(()=>{const a=Re(I.current);a.removeEventListener("mousemove",h),a.removeEventListener("mouseup",A),a.removeEventListener("touchmove",h),a.removeEventListener("touchend",A)},[A,h]);g.useEffect(()=>{const{current:a}=I;return a.addEventListener("touchstart",J,{passive:dt()}),()=>{a.removeEventListener("touchstart",J),V()}},[V,J]),g.useEffect(()=>{n&&V()},[n,V]);const Ve=a=>r=>{var l;if((l=a.onMouseDown)==null||l.call(a,r),n||r.defaultPrevented||r.button!==0)return;r.preventDefault();const u=Le(r,w);if(u!==!1){const{newValue:c,activeIndex:j}=y({finger:u});ze({sliderRef:I,activeIndex:j,setActive:F}),ce(c),O&&!Pe(c,E)&&O(r,c,j)}Y.current=0;const d=Re(I.current);d.addEventListener("mousemove",h,{passive:!0}),d.addEventListener("mouseup",A)},z=we(le?$[0]:v,v,f),pe=we($[$.length-1],v,f)-z,je=(a={})=>{const r=Ze(a),l={onMouseDown:Ve(r||{})},u=s({},r,l);return s({},a,{ref:ye},u)},Be=a=>r=>{var l;(l=a.onMouseOver)==null||l.call(a,r);const u=Number(r.currentTarget.getAttribute("data-index"));P(u)},Fe=a=>r=>{var l;(l=a.onMouseLeave)==null||l.call(a,r),P(-1)};return{active:W,axis:q,axisProps:Qt,dragging:re,focusedThumbIndex:he,getHiddenInputProps:(a={})=>{var r;const l=Ze(a),u={onChange:Ae(l||{}),onFocus:ue(l||{}),onBlur:de(l||{}),onKeyDown:Ne(l||{})},d=s({},l,u);return s({tabIndex:ie,"aria-labelledby":t,"aria-orientation":X,"aria-valuemax":G(f),"aria-valuemin":G(v),name:R,type:"range",min:e.min,max:e.max,step:e.step===null&&e.marks?"any":(r=e.step)!=null?r:void 0,disabled:n},a,d,{style:s({},jt,{direction:m?"rtl":"ltr",width:"100%",height:"100%"})})},getRootProps:je,getThumbProps:(a={})=>{const r=Ze(a),l={onMouseOver:Be(r||{}),onMouseLeave:Fe(r||{})};return s({},a,r,l)},marks:fe,open:U,range:le,rootRef:ye,trackLeap:pe,trackOffset:z,values:$,getThumbStyle:a=>({pointerEvents:W!==-1&&W!==a?"none":void 0})}}const to=e=>!e||!Te(e);function oo(e){return bt("MuiSlider",e)}const _=vt("MuiSlider",["root","active","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","thumbColorError","thumbColorSuccess","thumbColorInfo","thumbColorWarning","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]),ao=e=>{const{open:t}=e;return{offset:Z(t&&_.valueLabelOpen),circle:_.valueLabelCircle,label:_.valueLabelLabel}};function ro(e){const{children:t,className:o,value:n}=e,i=ao(e);return t?g.cloneElement(t,{className:Z(t.props.className)},b.jsxs(g.Fragment,{children:[t.props.children,b.jsx("span",{className:Z(i.offset,o),"aria-hidden":!0,children:b.jsx("span",{className:i.circle,children:b.jsx("span",{className:i.label,children:n})})})]})):null}const no=["aria-label","aria-valuetext","aria-labelledby","component","components","componentsProps","color","classes","className","disableSwap","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","orientation","shiftStep","size","step","scale","slotProps","slots","tabIndex","track","value","valueLabelDisplay","valueLabelFormat"];function pt(e){return e}const lo=D("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[`color${S(o.color)}`],o.size!=="medium"&&t[`size${S(o.size)}`],o.marked&&t.marked,o.orientation==="vertical"&&t.vertical,o.track==="inverted"&&t.trackInverted,o.track===!1&&t.trackFalse]}})(({theme:e})=>{var t;return{borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",WebkitTapHighlightColor:"transparent","@media print":{colorAdjust:"exact"},[`&.${_.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${_.dragging}`]:{[`& .${_.thumb}, & .${_.track}`]:{transition:"none"}},variants:[...Object.keys(((t=e.vars)!=null?t:e).palette).filter(o=>{var n;return((n=e.vars)!=null?n:e).palette[o].main}).map(o=>({props:{color:o},style:{color:(e.vars||e).palette[o].main}})),{props:{orientation:"horizontal"},style:{height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}}},{props:{orientation:"horizontal",size:"small"},style:{height:2}},{props:{orientation:"horizontal",marked:!0},style:{marginBottom:20}},{props:{orientation:"vertical"},style:{height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}}},{props:{orientation:"vertical",size:"small"},style:{width:2}},{props:{orientation:"vertical",marked:!0},style:{marginRight:44}}]}}),so=D("span",{name:"MuiSlider",slot:"Rail",overridesResolver:(e,t)=>t.rail})({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38,variants:[{props:{orientation:"horizontal"},style:{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:"inverted"},style:{opacity:1}}]}),io=D("span",{name:"MuiSlider",slot:"Track",overridesResolver:(e,t)=>t.track})(({theme:e})=>{var t;return{display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:e.transitions.create(["left","width","bottom","height"],{duration:e.transitions.duration.shortest}),variants:[{props:{size:"small"},style:{border:"none"}},{props:{orientation:"horizontal"},style:{height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:!1},style:{display:"none"}},...Object.keys(((t=e.vars)!=null?t:e).palette).filter(o=>{var n;return((n=e.vars)!=null?n:e).palette[o].main}).map(o=>({props:{color:o,track:"inverted"},style:s({},e.vars?{backgroundColor:e.vars.palette.Slider[`${o}Track`],borderColor:e.vars.palette.Slider[`${o}Track`]}:s({backgroundColor:lt(e.palette[o].main,.62),borderColor:lt(e.palette[o].main,.62)},e.applyStyles("dark",{backgroundColor:st(e.palette[o].main,.5)}),e.applyStyles("dark",{borderColor:st(e.palette[o].main,.5)})))}))]}}),co=D("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.thumb,t[`thumbColor${S(o.color)}`],o.size!=="medium"&&t[`thumbSize${S(o.size)}`]]}})(({theme:e})=>{var t;return{position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow","left","bottom"],{duration:e.transitions.duration.shortest}),"&::before":{position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(e.vars||e).shadows[2]},"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},[`&.${_.disabled}`]:{"&:hover":{boxShadow:"none"}},variants:[{props:{size:"small"},style:{width:12,height:12,"&::before":{boxShadow:"none"}}},{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-50%, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 50%)"}},...Object.keys(((t=e.vars)!=null?t:e).palette).filter(o=>{var n;return((n=e.vars)!=null?n:e).palette[o].main}).map(o=>({props:{color:o},style:{[`&:hover, &.${_.focusVisible}`]:s({},e.vars?{boxShadow:`0px 0px 0px 8px rgba(${e.vars.palette[o].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 8px ${be(e.palette[o].main,.16)}`},{"@media (hover: none)":{boxShadow:"none"}}),[`&.${_.active}`]:s({},e.vars?{boxShadow:`0px 0px 0px 14px rgba(${e.vars.palette[o].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 14px ${be(e.palette[o].main,.16)}`})}}))]}}),uo=D(ro,{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(e,t)=>t.valueLabel})(({theme:e})=>s({zIndex:1,whiteSpace:"nowrap"},e.typography.body2,{fontWeight:500,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),position:"absolute",backgroundColor:(e.vars||e).palette.grey[600],borderRadius:2,color:(e.vars||e).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem",variants:[{props:{orientation:"horizontal"},style:{transform:"translateY(-100%) scale(0)",top:"-10px",transformOrigin:"bottom center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"},[`&.${_.valueLabelOpen}`]:{transform:"translateY(-100%) scale(1)"}}},{props:{orientation:"vertical"},style:{transform:"translateY(-50%) scale(0)",right:"30px",top:"50%",transformOrigin:"right center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, -50%) rotate(45deg)",backgroundColor:"inherit",right:-8,top:"50%"},[`&.${_.valueLabelOpen}`]:{transform:"translateY(-50%) scale(1)"}}},{props:{size:"small"},style:{fontSize:e.typography.pxToRem(12),padding:"0.25rem 0.5rem"}},{props:{orientation:"vertical",size:"small"},style:{right:"20px"}}]})),po=D("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>ht(e)&&e!=="markActive",overridesResolver:(e,t)=>{const{markActive:o}=e;return[t.mark,o&&t.markActive]}})(({theme:e})=>({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor",variants:[{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-1px, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 1px)"}},{props:{markActive:!0},style:{backgroundColor:(e.vars||e).palette.background.paper,opacity:.8}}]})),vo=D("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>ht(e)&&e!=="markLabelActive",overridesResolver:(e,t)=>t.markLabel})(({theme:e})=>s({},e.typography.body2,{color:(e.vars||e).palette.text.secondary,position:"absolute",whiteSpace:"nowrap",variants:[{props:{orientation:"horizontal"},style:{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}}},{props:{orientation:"vertical"},style:{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}}},{props:{markLabelActive:!0},style:{color:(e.vars||e).palette.text.primary}}]})),bo=e=>{const{disabled:t,dragging:o,marked:n,orientation:i,track:m,classes:x,color:f,size:v}=e,R={root:["root",t&&"disabled",o&&"dragging",n&&"marked",i==="vertical"&&"vertical",m==="inverted"&&"trackInverted",m===!1&&"trackFalse",f&&`color${S(f)}`,v&&`size${S(v)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled",v&&`thumbSize${S(v)}`,f&&`thumbColor${S(f)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return mt(R,oo,x)},fo=({children:e})=>e,go=g.forwardRef(function(t,o){var n,i,m,x,f,v,R,ee,B,X,te,G,T,oe,ie,ae,w,W,F,U,P,re,ne,Y;const E=ft({props:t,name:"MuiSlider"}),ce=Nt(),{"aria-label":O,"aria-valuetext":le,"aria-labelledby":$,component:fe="span",components:C={},componentsProps:N={},color:Me="primary",classes:_e,className:Ee,disableSwap:he=!1,disabled:se=!1,getAriaLabel:I,getAriaValueText:xe,marks:ye=!1,max:ue=100,min:de=0,orientation:ke="horizontal",shiftStep:Ne=10,size:Ae="medium",step:Se=1,scale:q=pt,slotProps:y,slots:h,track:A="normal",valueLabelDisplay:J="off",valueLabelFormat:V=pt}=E,Ve=gt(E,no),z=s({},E,{isRtl:ce,max:ue,min:de,classes:_e,disabled:se,disableSwap:he,orientation:ke,marks:ye,color:Me,size:Ae,step:Se,shiftStep:Ne,scale:q,track:A,valueLabelDisplay:J,valueLabelFormat:V}),{axisProps:pe,getRootProps:je,getHiddenInputProps:Be,getThumbProps:Fe,open:et,active:Oe,axis:ge,focusedThumbIndex:a,range:r,dragging:l,marks:u,values:d,trackOffset:c,trackLeap:j,getThumbStyle:H}=eo(s({},z,{rootRef:o}));z.marked=u.length>0&&u.some(k=>k.label),z.dragging=l,z.focusedThumbIndex=a;const p=bo(z),M=(n=(i=h==null?void 0:h.root)!=null?i:C.Root)!=null?n:lo,ve=(m=(x=h==null?void 0:h.rail)!=null?x:C.Rail)!=null?m:so,tt=(f=(v=h==null?void 0:h.track)!=null?v:C.Track)!=null?f:io,ot=(R=(ee=h==null?void 0:h.thumb)!=null?ee:C.Thumb)!=null?R:co,at=(B=(X=h==null?void 0:h.valueLabel)!=null?X:C.ValueLabel)!=null?B:uo,He=(te=(G=h==null?void 0:h.mark)!=null?G:C.Mark)!=null?te:po,De=(T=(oe=h==null?void 0:h.markLabel)!=null?oe:C.MarkLabel)!=null?T:vo,rt=(ie=(ae=h==null?void 0:h.input)!=null?ae:C.Input)!=null?ie:"input",We=(w=y==null?void 0:y.root)!=null?w:N.root,kt=(W=y==null?void 0:y.rail)!=null?W:N.rail,Ue=(F=y==null?void 0:y.track)!=null?F:N.track,Ye=(U=y==null?void 0:y.thumb)!=null?U:N.thumb,qe=(P=y==null?void 0:y.valueLabel)!=null?P:N.valueLabel,St=(re=y==null?void 0:y.mark)!=null?re:N.mark,Ct=(ne=y==null?void 0:y.markLabel)!=null?ne:N.markLabel,$t=(Y=y==null?void 0:y.input)!=null?Y:N.input,Lt=Q({elementType:M,getSlotProps:je,externalSlotProps:We,externalForwardedProps:Ve,additionalProps:s({},to(M)&&{as:fe}),ownerState:s({},z,We==null?void 0:We.ownerState),className:[p.root,Ee]}),zt=Q({elementType:ve,externalSlotProps:kt,ownerState:z,className:p.rail}),Pt=Q({elementType:tt,externalSlotProps:Ue,additionalProps:{style:s({},pe[ge].offset(c),pe[ge].leap(j))},ownerState:s({},z,Ue==null?void 0:Ue.ownerState),className:p.track}),Ke=Q({elementType:ot,getSlotProps:Fe,externalSlotProps:Ye,ownerState:s({},z,Ye==null?void 0:Ye.ownerState),className:p.thumb}),It=Q({elementType:at,externalSlotProps:qe,ownerState:s({},z,qe==null?void 0:qe.ownerState),className:p.valueLabel}),Xe=Q({elementType:He,externalSlotProps:St,ownerState:z,className:p.mark}),Ge=Q({elementType:De,externalSlotProps:Ct,ownerState:z,className:p.markLabel}),Rt=Q({elementType:rt,getSlotProps:Be,externalSlotProps:$t,ownerState:z});return b.jsxs(M,s({},Lt,{children:[b.jsx(ve,s({},zt)),b.jsx(tt,s({},Pt)),u.filter(k=>k.value>=de&&k.value<=ue).map((k,L)=>{const Je=we(k.value,de,ue),Ce=pe[ge].offset(Je);let K;return A===!1?K=d.indexOf(k.value)!==-1:K=A==="normal"&&(r?k.value>=d[0]&&k.value<=d[d.length-1]:k.value<=d[0])||A==="inverted"&&(r?k.value<=d[0]||k.value>=d[d.length-1]:k.value>=d[0]),b.jsxs(g.Fragment,{children:[b.jsx(He,s({"data-index":L},Xe,!Te(He)&&{markActive:K},{style:s({},Ce,Xe.style),className:Z(Xe.className,K&&p.markActive)})),k.label!=null?b.jsx(De,s({"aria-hidden":!0,"data-index":L},Ge,!Te(De)&&{markLabelActive:K},{style:s({},Ce,Ge.style),className:Z(p.markLabel,Ge.className,K&&p.markLabelActive),children:k.label})):null]},L)}),d.map((k,L)=>{const Je=we(k,de,ue),Ce=pe[ge].offset(Je),K=J==="off"?fo:at;return b.jsx(K,s({},!Te(K)&&{valueLabelFormat:V,valueLabelDisplay:J,value:typeof V=="function"?V(q(k),L):V,index:L,open:et===L||Oe===L||J==="on",disabled:se},It,{children:b.jsx(ot,s({"data-index":L},Ke,{className:Z(p.thumb,Ke.className,Oe===L&&p.active,a===L&&p.focusVisible),style:s({},Ce,H(L),Ke.style),children:b.jsx(rt,s({"data-index":L,"aria-label":I?I(L):O,"aria-valuenow":q(k),"aria-labelledby":$,"aria-valuetext":xe?xe(q(k),L):le,value:d[L]},Rt))}))}),L)})]}))});function mo(e){return new Promise(t=>{chrome.storage.local.get(e,o=>{t(o[e])})})}function ho(e){console.log("set",e),chrome.storage.local.set(e).then(t=>{console.log("set success",t)},t=>{console.log("Error in set",t)})}const xo=e=>{chrome.tabs.query({active:!0,currentWindow:!0},t=>{let o={info:e.toString(),type:"number"};if(t[0]&&t[0].id)try{chrome.tabs.sendMessage(t[0].id,o,void 0,n=>{console.log(n)})}catch(n){console.error(n)}}),ho({value:e})};function yo(){const[e,t]=g.useState(100);return g.useEffect(()=>{mo("value").then(o=>{o&&t(o)})},[e]),b.jsx(b.Fragment,{children:b.jsxs("div",{id:"control",children:[b.jsx("div",{id:"text",children:"透明度"}),b.jsx(go,{onChange:(o,n)=>{xo(n)},defaultValue:e,"aria-label":"Default",valueLabelDisplay:"auto"})]})})}const ko=()=>{chrome.tabs.query({active:!0,currentWindow:!0},e=>{let t={info:"openMeasureTool",type:"string"};try{e[0]&&e[0].id&&chrome.tabs.sendMessage(e[0].id,t,void 0,o=>{console.log(o)})}catch(o){console.log(o)}})},So=()=>{chrome.tabs.query({active:!0,currentWindow:!0},e=>{let t={info:"closeMeasureTool",type:"string"};e[0]&&e[0].id&&chrome.tabs.sendMessage(e[0].id,t,void 0,o=>{console.log(o)})})};function Co(){return console.log(chrome),b.jsx(b.Fragment,{children:b.jsxs("div",{id:"app",children:[b.jsx(it,{variant:"outlined",onClick:ko,children:"开启"}),b.jsx(it,{onClick:So,variant:"outlined",color:"error",style:{marginLeft:"10px"},children:"关闭"}),b.jsx(yo,{})]})})}At.createRoot(document.getElementById("root")).render(b.jsx(Co,{})); diff --git a/src/content/content.ts b/src/content/content.ts index d597a74..a4ca873 100644 --- a/src/content/content.ts +++ b/src/content/content.ts @@ -9,6 +9,18 @@ const style = ` outline: 1px solid red; } ` +const attrs=[ + "top", + "left", + "width", + "height", + "border", + "color", + "backgroundColor", + "opacity", + "border-radius", + "box-shadow", +] let postMessage: any; let preEl: Element | null = null let dragOpen = false; @@ -16,6 +28,20 @@ let dragTarget: HTMLElement | null = null; //@ts-ignore let centralEl: HTMLElement | null = null; let onCneter = false; +const handleMessage = (e: HTMLElement) => { + const ElementMessage={tagName:''} as CSSStyleDeclaration&{tagName:string} + ElementMessage.tagName = e.tagName.toLowerCase() + attrs.forEach((attr) => { + //@ts-ignore + ElementMessage[attr] = getComputedStyle(e)[attr] + }) + //非正常手段 + ElementMessage.width=e.getClientRects()[0].width.toFixed(0)+'px' + ElementMessage.top=e.getClientRects()[0].top.toFixed(0)+"px" + ElementMessage.height=e.getClientRects()[0].height.toFixed(0)+'px' + ElementMessage.left=e.getClientRects()[0].left.toFixed(0)+'px' + return ElementMessage +} const MeasureTools = (event: MouseEvent) => { if (dragOpen) { @@ -41,9 +67,7 @@ const centralElClick = (e: KeyboardEvent) => { if (!onCneter) { centralEl = null } - else { - postMessage.send("hello") - } + else if(centralEl){ postMessage.send(handleMessage(centralEl))} } } //@ts-ignore @@ -74,8 +98,6 @@ const handlePage = (e: string) => { if (e == eventTypes.open) { const contentIframe = document.querySelector("#" + timeS) as HTMLIFrameElement || document.createElement("iframe"); contentIframe.id = timeS; - console.log(iframe.width, iframe.height); - contentIframe.style.cssText = `width: ${iframe.width}; height: ${iframe.height}; border: none; diff --git a/src/contentPage/App.tsx b/src/contentPage/App.tsx index 6a3b953..1d0d514 100644 --- a/src/contentPage/App.tsx +++ b/src/contentPage/App.tsx @@ -1,14 +1,9 @@ -import { useEffect } from 'react'; + import './App.css' import Text from './components/TestContent' export default function App() { - useEffect(() => { - window.addEventListener('message', (e) => { - console.log(e); - top?.postMessage('ok',"*") - }, false) - }) + return <>
diff --git a/src/contentPage/components/ElemenetMessage.tsx b/src/contentPage/components/ElemenetMessage.tsx new file mode 100644 index 0000000..41c7de3 --- /dev/null +++ b/src/contentPage/components/ElemenetMessage.tsx @@ -0,0 +1,30 @@ +// import { Button, Input } from "@mui/material"; + +import { Fab } from "@mui/material"; +import { useEffect, useState } from "react"; + +export const ElementMessage = () => { + const [obj, setObj] = useState(); + useEffect(() => { + window.addEventListener('message', (e) => { + console.log(e.data); + setObj(e.data) + }, false) + }) + + let e=obj?Object.keys(obj!):[]; + let i=e.map((item,index)=>{ + return

{item}:{obj![item]}

+ }) + return <> +
+ + 复制 + + + {i} + +
+ + ; +} \ No newline at end of file diff --git a/src/contentPage/components/TestContent.tsx b/src/contentPage/components/TestContent.tsx index 8f50f99..a46cc09 100644 --- a/src/contentPage/components/TestContent.tsx +++ b/src/contentPage/components/TestContent.tsx @@ -6,7 +6,7 @@ import Tabs from '@mui/material/Tabs'; import Tab from '@mui/material/Tab'; import Typography from '@mui/material/Typography'; import Box from '@mui/material/Box'; - +import { ElementMessage } from './ElemenetMessage'; interface TabPanelProps { children?: React.ReactNode; @@ -17,7 +17,6 @@ interface TabPanelProps { function TabPanel(props: TabPanelProps) { const { children, value, index, ...other } = props; - return ( - {value === index && {children}} + {value === index && {children}} ); } @@ -61,7 +60,7 @@ export default function FloatingActionButtonZoom() { maxHeight: 200, }} > - + - - Item One + + Item Two diff --git a/src/contentPage/index.html b/src/contentPage/index.html index 4516028..6373dd6 100644 --- a/src/contentPage/index.html +++ b/src/contentPage/index.html @@ -5,6 +5,17 @@ Measuring Tools +
diff --git a/src/popup/App.css b/src/popup/App.css index 419b18e..2930de2 100644 --- a/src/popup/App.css +++ b/src/popup/App.css @@ -12,4 +12,4 @@ font-size: small; display: flex; align-items: center; -} \ No newline at end of file +} diff --git a/src/popup/App.tsx b/src/popup/App.tsx index 4473d7f..94cfabc 100644 --- a/src/popup/App.tsx +++ b/src/popup/App.tsx @@ -12,10 +12,15 @@ const openMeasureTool = () => { info: 'openMeasureTool', type: 'string' } as Message - if (tabs[0] && tabs[0].id) chrome.tabs.sendMessage(tabs[0].id, message, undefined, (response) => { - console.log(response); - }) + try { + if (tabs[0] && tabs[0].id) chrome.tabs.sendMessage(tabs[0].id, message, undefined, (response) => { + console.log(response); + }) + } catch (e) { + console.log(e); + } }) + } const closeMeasureTool = () => { chrome.tabs.query({ @@ -32,12 +37,12 @@ const closeMeasureTool = () => { }) } -export default function App() { +export default function App() { console.log(chrome); return <>
- +
; diff --git a/src/popup/components/Control.tsx b/src/popup/components/Control.tsx index b6c8ccb..501c352 100644 --- a/src/popup/components/Control.tsx +++ b/src/popup/components/Control.tsx @@ -1,30 +1,37 @@ import { Slider } from '@mui/material'; -import { debouncedSet ,get } from '../../utils/chormeStorage'; +import { set, get } from '../../utils/chormeStorage'; import type { Message } from '../../types/message'; import { useEffect, useState } from 'react'; -const opacityChange = (value:number) => { +const opacityChange = (value: number) => { chrome.tabs.query({ active: true, currentWindow: true }, (tabs) => { let message = { info: value.toString(), - type:'number' + type: 'number' } as Message - if (tabs[0] && tabs[0].id) chrome.tabs.sendMessage(tabs[0].id, message, undefined, (response) => { - console.log(response); - }) + if (tabs[0] && tabs[0].id) { + try { + chrome.tabs.sendMessage(tabs[0].id, message, undefined, (response) => { + console.log(response); + }) + }catch (error) { + console.error(error); + } + + } }) - debouncedSet('value', value); + set({ value }); } -export default function Control() { - const [value, setValue]=useState(100); +export default function Control() { + const [value, setValue] = useState(100); useEffect(() => { - get('value').then((value) => { - if (value) setValue(value as number); - }); - - },[value]) + get('value').then((value) => { + if (value) setValue(value as number); + }); + + }, [value]) return <>
diff --git a/src/popup/index.html b/src/popup/index.html index 4c9d3b3..d096c0b 100644 --- a/src/popup/index.html +++ b/src/popup/index.html @@ -6,6 +6,7 @@ Measuring Tools +
diff --git a/src/utils/chormeStorage.ts b/src/utils/chormeStorage.ts index 76de4c8..8eccf53 100644 --- a/src/utils/chormeStorage.ts +++ b/src/utils/chormeStorage.ts @@ -7,7 +7,15 @@ function get(key:any){ }); } function set(Object:any){ - chrome.storage.local.set(Object); + console.log('set',Object); + + chrome.storage.local.set(Object).then((e)=>{ + console.log("set success",e); + + }, (e)=>{ + console.log("Error in set",e); + + });; } const debouncedSet = debounce(set, 100); export {