diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/.nojekyll @@ -0,0 +1 @@ + diff --git a/404.html b/404.html new file mode 100644 index 0000000..4b315ef --- /dev/null +++ b/404.html @@ -0,0 +1,79 @@ + + + + + + Arkreen Network + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + \ No newline at end of file diff --git a/CNAME b/CNAME new file mode 100644 index 0000000..2a98376 --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +home.aigc.it diff --git a/CSP-Plant-Miner.PNG b/CSP-Plant-Miner.PNG new file mode 100644 index 0000000..2caf065 Binary files /dev/null and b/CSP-Plant-Miner.PNG differ diff --git a/Cases_1_x4.png b/Cases_1_x4.png new file mode 100644 index 0000000..6ac3853 Binary files /dev/null and b/Cases_1_x4.png differ diff --git a/Cases_2_x4.png b/Cases_2_x4.png new file mode 100644 index 0000000..44a315c Binary files /dev/null and b/Cases_2_x4.png differ diff --git a/Cases_3_x4.png b/Cases_3_x4.png new file mode 100644 index 0000000..5333d4f Binary files /dev/null and b/Cases_3_x4.png differ diff --git a/Cases_4_x4.png b/Cases_4_x4.png new file mode 100644 index 0000000..1d2b54c Binary files /dev/null and b/Cases_4_x4.png differ diff --git a/Cases_5_x4.png b/Cases_5_x4.png new file mode 100644 index 0000000..bc0cf71 Binary files /dev/null and b/Cases_5_x4.png differ diff --git a/Cases_6_x4.png b/Cases_6_x4.png new file mode 100644 index 0000000..5497b1d Binary files /dev/null and b/Cases_6_x4.png differ diff --git a/Cases_7_x4.png b/Cases_7_x4.png new file mode 100644 index 0000000..3b43269 Binary files /dev/null and b/Cases_7_x4.png differ diff --git a/Cases_8_x4.png b/Cases_8_x4.png new file mode 100644 index 0000000..c2e5106 Binary files /dev/null and b/Cases_8_x4.png differ diff --git a/Coin_x1.png b/Coin_x1.png new file mode 100644 index 0000000..d623481 Binary files /dev/null and b/Coin_x1.png differ diff --git a/Com_1_x4.png b/Com_1_x4.png new file mode 100644 index 0000000..051e85b Binary files /dev/null and b/Com_1_x4.png differ diff --git a/Com_2_x4.png b/Com_2_x4.png new file mode 100644 index 0000000..058f407 Binary files /dev/null and b/Com_2_x4.png differ diff --git a/Com_3_x4.png b/Com_3_x4.png new file mode 100644 index 0000000..9c938db Binary files /dev/null and b/Com_3_x4.png differ diff --git a/Com_4_x4.png b/Com_4_x4.png new file mode 100644 index 0000000..aeb117c Binary files /dev/null and b/Com_4_x4.png differ diff --git a/Cube_x2.png b/Cube_x2.png new file mode 100644 index 0000000..43e7591 Binary files /dev/null and b/Cube_x2.png differ diff --git a/Discord.png b/Discord.png new file mode 100644 index 0000000..8f8e295 Binary files /dev/null and b/Discord.png differ diff --git a/EarthLine_x1.png b/EarthLine_x1.png new file mode 100644 index 0000000..56cdaa3 Binary files /dev/null and b/EarthLine_x1.png differ diff --git a/Earth_x1.png b/Earth_x1.png new file mode 100644 index 0000000..4b1772a Binary files /dev/null and b/Earth_x1.png differ diff --git a/Facebook.png b/Facebook.png new file mode 100644 index 0000000..977c590 Binary files /dev/null and b/Facebook.png differ diff --git a/FlyWheel_App_x4.png b/FlyWheel_App_x4.png new file mode 100644 index 0000000..780309f Binary files /dev/null and b/FlyWheel_App_x4.png differ diff --git a/FlyWheel_Energy_x4.png b/FlyWheel_Energy_x4.png new file mode 100644 index 0000000..95cd321 Binary files /dev/null and b/FlyWheel_Energy_x4.png differ diff --git a/FlyWheel_Miner_x4.png b/FlyWheel_Miner_x4.png new file mode 100644 index 0000000..d66df90 Binary files /dev/null and b/FlyWheel_Miner_x4.png differ diff --git a/FlyWheel_User_x4.png b/FlyWheel_User_x4.png new file mode 100644 index 0000000..52abee3 Binary files /dev/null and b/FlyWheel_User_x4.png differ diff --git a/Git.png b/Git.png new file mode 100644 index 0000000..94c5d2d Binary files /dev/null and b/Git.png differ diff --git a/GreenArrow2_x4.png b/GreenArrow2_x4.png new file mode 100644 index 0000000..b7d181d Binary files /dev/null and b/GreenArrow2_x4.png differ diff --git a/GreenArrowLeft_x4.png b/GreenArrowLeft_x4.png new file mode 100644 index 0000000..cc8d758 Binary files /dev/null and b/GreenArrowLeft_x4.png differ diff --git a/GreenArrowRight_x4.png b/GreenArrowRight_x4.png new file mode 100644 index 0000000..7496a75 Binary files /dev/null and b/GreenArrowRight_x4.png differ diff --git a/Green_select_x1.png b/Green_select_x1.png new file mode 100644 index 0000000..a5ae841 Binary files /dev/null and b/Green_select_x1.png differ diff --git a/Lightning_x4.png b/Lightning_x4.png new file mode 100644 index 0000000..deab9a3 Binary files /dev/null and b/Lightning_x4.png differ diff --git a/Linkedin.png b/Linkedin.png new file mode 100644 index 0000000..7d4a3dc Binary files /dev/null and b/Linkedin.png differ diff --git a/LittleArrow_dark_x4.png b/LittleArrow_dark_x4.png new file mode 100644 index 0000000..149630f Binary files /dev/null and b/LittleArrow_dark_x4.png differ diff --git a/LittleArrow_light_x4.png b/LittleArrow_light_x4.png new file mode 100644 index 0000000..d4aca29 Binary files /dev/null and b/LittleArrow_light_x4.png differ diff --git a/Medium.png b/Medium.png new file mode 100644 index 0000000..5bc4cdc Binary files /dev/null and b/Medium.png differ diff --git a/Miners_pricebg_x1.png b/Miners_pricebg_x1.png new file mode 100644 index 0000000..6983f6f Binary files /dev/null and b/Miners_pricebg_x1.png differ diff --git a/Roadmap_1_x4.png b/Roadmap_1_x4.png new file mode 100644 index 0000000..d84b96b Binary files /dev/null and b/Roadmap_1_x4.png differ diff --git a/Roadmap_2_x4.png b/Roadmap_2_x4.png new file mode 100644 index 0000000..f840299 Binary files /dev/null and b/Roadmap_2_x4.png differ diff --git a/Roadmap_3_x4.png b/Roadmap_3_x4.png new file mode 100644 index 0000000..5b61bf6 Binary files /dev/null and b/Roadmap_3_x4.png differ diff --git a/Roadmap_4_x4.png b/Roadmap_4_x4.png new file mode 100644 index 0000000..6ceeadc Binary files /dev/null and b/Roadmap_4_x4.png differ diff --git a/Smart-Meter.jpg b/Smart-Meter.jpg new file mode 100644 index 0000000..8c24e88 Binary files /dev/null and b/Smart-Meter.jpg differ diff --git a/Telegram.png b/Telegram.png new file mode 100644 index 0000000..35db65f Binary files /dev/null and b/Telegram.png differ diff --git a/Tumbler.png b/Tumbler.png new file mode 100644 index 0000000..2c25ead Binary files /dev/null and b/Tumbler.png differ diff --git a/Twitter.png b/Twitter.png new file mode 100644 index 0000000..fad13c8 Binary files /dev/null and b/Twitter.png differ diff --git a/White_select_x1.png b/White_select_x1.png new file mode 100644 index 0000000..8073b33 Binary files /dev/null and b/White_select_x1.png differ diff --git a/WorldMap_x1.png b/WorldMap_x1.png new file mode 100644 index 0000000..4cdf575 Binary files /dev/null and b/WorldMap_x1.png differ diff --git a/Youtube.png b/Youtube.png new file mode 100644 index 0000000..948b903 Binary files /dev/null and b/Youtube.png differ diff --git a/api-miner2.jpg b/api-miner2.jpg new file mode 100644 index 0000000..3c2e2bd Binary files /dev/null and b/api-miner2.jpg differ diff --git a/arkreen_logo.png b/arkreen_logo.png new file mode 100644 index 0000000..65a4b4c Binary files /dev/null and b/arkreen_logo.png differ diff --git a/assets/CSP-d5a6d37f.js b/assets/CSP-d5a6d37f.js new file mode 100644 index 0000000..521718c --- /dev/null +++ b/assets/CSP-d5a6d37f.js @@ -0,0 +1 @@ +import{a as e}from"./react-fc05cb64.js";import{C as n,a as o,b as m,c as i,S as a}from"./SecondaryButton-140b20c0.js";import{C as s,T as t,L as r,S as c,B as l}from"./index-224d0bcc.js";const g=()=>e.createElement(s,{sx:{mt:4,marginBottom:{xs:"40vh",sm:"20vh",md:"20vh",lg:"20vh",sx:"20vh"},marginTop:{xs:"15vh",sm:"15vh",md:"15vh",lg:"15vh",sx:"15vh"}}},e.createElement(t,{variant:"h2",sx:{textAlign:"center",marginTop:"100px",marginBottom:"100px"}},"Community Solar Program"),e.createElement(t,{variant:"h3",sx:{mt:2,mb:2}},"Introduction"),e.createElement(t,{variant:"body1",component:"p",sx:{mt:2}},"The"," ",e.createElement(r,{target:"_blank",href:"https://docs.arkreen.com/programs/community-solar-program"},"Community Solar Program (CSP)")," ","aims to record the renewable energy generation data from your rooftop solar PV system immutably on the blockchain."),e.createElement(t,{variant:"body1",component:"p",sx:{mt:2}},"This data is used to create your Plant Miner, which then feeds several Remote Miners. Arkreen facilitates the feeding and selling of these Remote Miners to community members, digitizing, tokenizing, and trading them as green assets on the blockchain."),e.createElement(t,{variant:"body1",component:"p",sx:{mt:2}},'This initiative supports the "Impact to Earn" mechanism, promoting sustainable energy use and community involvement in green asset trading.'),e.createElement(t,{variant:"h3",sx:{mt:2,mb:2}},"Miner Pricing"),e.createElement(c,{direction:{xs:"column",sm:"row"},spacing:{xs:1,sm:2,md:4},justifyContent:"center",alignItems:"center",sx:{mt:5,mb:5}},e.createElement(n,{sx:{width:400}},e.createElement(o,{component:"img",height:"400",width:"400",image:"/meter3.jpg",alt:"Paella dish"}),e.createElement(m,null,e.createElement(t,{gutterBottom:!0,variant:"h4",component:"div"},"Connect thru Smart Meter"),e.createElement(t,{variant:"body2",color:"text.secondary"},"$199u")),e.createElement(i,null,e.createElement(a,{sx:{height:"44px",zIndex:10,margin:"20px auto"},target:"_blank",href:"https://console.arkreen.com/#/shop?type=csp-order"},"BUY"))),e.createElement(n,{sx:{width:400}},e.createElement(o,{component:"img",height:"400",width:"400",image:"/api-miner2.jpg"}),e.createElement(m,null,e.createElement(t,{gutterBottom:!0,variant:"h4",component:"div"},"Connect thru API"),e.createElement(t,{variant:"body2",color:"text.secondary"},"$50u per year subscription")),e.createElement(i,null,e.createElement(a,{sx:{height:"44px",zIndex:10,margin:"20px auto"},target:"_blank",href:"https://console.arkreen.com/#/shop?type=csp-order"},"BUY")))),e.createElement(t,{variant:"h3",sx:{mt:2,mb:2}},"CSP Onboarding Process"),e.createElement(t,{variant:"body1",component:"p",sx:{mt:2}},"Once payment is completed, submit the CSP application form, and our support team will contact you via"," ",e.createElement(r,{target:"_blank",href:"https://t.me/Arkreen_Network"},"Telegram")," ","or"," ",e.createElement(r,{target:"_blank",href:"https://discord.gg/cST5ysuKsw"},"Discord")," ","for hardware delivery, API setup, and marketing plans."),e.createElement(l,{sx:{display:"flex",mt:2,mb:2}},e.createElement(a,{sx:{height:"44px",zIndex:10,margin:"20px auto"},target:"_blank",href:"https://docs.google.com/forms/d/e/1FAIpQLSdxTbpbWF0fvTo6D8kOix1-i3JemSNBMwKa-hgnzfPWJ9c6bQ/viewform"},"CSP application form")));export{g as default}; diff --git a/assets/Home-4c739980.js b/assets/Home-4c739980.js new file mode 100644 index 0000000..14b3eb4 --- /dev/null +++ b/assets/Home-4c739980.js @@ -0,0 +1 @@ +import{a as _,u as oe,b as e}from"./react-fc05cb64.js";import{g as ie,a as ae,s as X,_ as C,u as le,b as se,e as ce,c as me,j as G,d as xe,r as B,h as M,f as pe,i as de,B as n,k as $,C as v,S as s,T as l,L as h}from"./index-224d0bcc.js";const ge=_.createContext(),N=ge;function he(t){return ie("MuiGrid",t)}const ue=[0,1,2,3,4,5,6,7,8,9,10],be=["column-reverse","column","row-reverse","row"],fe=["nowrap","wrap-reverse","wrap"],k=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],Ee=ae("MuiGrid",["root","container","item","zeroMinWidth",...ue.map(t=>`spacing-xs-${t}`),...be.map(t=>`direction-xs-${t}`),...fe.map(t=>`wrap-xs-${t}`),...k.map(t=>`grid-xs-${t}`),...k.map(t=>`grid-sm-${t}`),...k.map(t=>`grid-md-${t}`),...k.map(t=>`grid-lg-${t}`),...k.map(t=>`grid-xl-${t}`)]),I=Ee,we=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function y(t){const r=parseFloat(t);return`${r}${String(t).replace(String(r),"")||"px"}`}function ve({theme:t,ownerState:r}){let o;return t.breakpoints.keys.reduce((i,a)=>{let c={};if(r[a]&&(o=r[a]),!o)return i;if(o===!0)c={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(o==="auto")c={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const x=B({values:r.columns,breakpoints:t.breakpoints.values}),g=typeof x=="object"?x[a]:x;if(g==null)return i;const d=`${Math.round(o/g*1e8)/1e6}%`;let p={};if(r.container&&r.item&&r.columnSpacing!==0){const m=t.spacing(r.columnSpacing);if(m!=="0px"){const u=`calc(${d} + ${y(m)})`;p={flexBasis:u,maxWidth:u}}}c=C({flexBasis:d,flexGrow:0,maxWidth:d},p)}return t.breakpoints.values[a]===0?Object.assign(i,c):i[t.breakpoints.up(a)]=c,i},{})}function ye({theme:t,ownerState:r}){const o=B({values:r.direction,breakpoints:t.breakpoints.values});return M({theme:t},o,i=>{const a={flexDirection:i};return i.indexOf("column")===0&&(a[`& > .${I.item}`]={maxWidth:"none"}),a})}function q({breakpoints:t,values:r}){let o="";Object.keys(r).forEach(a=>{o===""&&r[a]!==0&&(o=a)});const i=Object.keys(t).sort((a,c)=>t[a]-t[c]);return i.slice(0,i.indexOf(o))}function ke({theme:t,ownerState:r}){const{container:o,rowSpacing:i}=r;let a={};if(o&&i!==0){const c=B({values:i,breakpoints:t.breakpoints.values});let x;typeof c=="object"&&(x=q({breakpoints:t.breakpoints.values,values:c})),a=M({theme:t},c,(g,d)=>{var p;const m=t.spacing(g);return m!=="0px"?{marginTop:`-${y(m)}`,[`& > .${I.item}`]:{paddingTop:y(m)}}:(p=x)!=null&&p.includes(d)?{}:{marginTop:0,[`& > .${I.item}`]:{paddingTop:0}}})}return a}function Ce({theme:t,ownerState:r}){const{container:o,columnSpacing:i}=r;let a={};if(o&&i!==0){const c=B({values:i,breakpoints:t.breakpoints.values});let x;typeof c=="object"&&(x=q({breakpoints:t.breakpoints.values,values:c})),a=M({theme:t},c,(g,d)=>{var p;const m=t.spacing(g);return m!=="0px"?{width:`calc(100% + ${y(m)})`,marginLeft:`-${y(m)}`,[`& > .${I.item}`]:{paddingLeft:y(m)}}:(p=x)!=null&&p.includes(d)?{}:{width:"100%",marginLeft:0,[`& > .${I.item}`]:{paddingLeft:0}}})}return a}function _e(t,r,o={}){if(!t||t<=0)return[];if(typeof t=="string"&&!Number.isNaN(Number(t))||typeof t=="number")return[o[`spacing-xs-${String(t)}`]];const i=[];return r.forEach(a=>{const c=t[a];Number(c)>0&&i.push(o[`spacing-${a}-${String(c)}`])}),i}const Ie=X("div",{name:"MuiGrid",slot:"Root",overridesResolver:(t,r)=>{const{ownerState:o}=t,{container:i,direction:a,item:c,spacing:x,wrap:g,zeroMinWidth:d,breakpoints:p}=o;let m=[];i&&(m=_e(x,p,r));const u=[];return p.forEach(E=>{const w=o[E];w&&u.push(r[`grid-${E}-${String(w)}`])}),[r.root,i&&r.container,c&&r.item,d&&r.zeroMinWidth,...m,a!=="row"&&r[`direction-xs-${String(a)}`],g!=="wrap"&&r[`wrap-xs-${String(g)}`],...u]}})(({ownerState:t})=>C({boxSizing:"border-box"},t.container&&{display:"flex",flexWrap:"wrap",width:"100%"},t.item&&{margin:0},t.zeroMinWidth&&{minWidth:0},t.wrap!=="wrap"&&{flexWrap:t.wrap}),ye,ke,Ce,ve);function ze(t,r){if(!t||t<=0)return[];if(typeof t=="string"&&!Number.isNaN(Number(t))||typeof t=="number")return[`spacing-xs-${String(t)}`];const o=[];return r.forEach(i=>{const a=t[i];if(Number(a)>0){const c=`spacing-${i}-${String(a)}`;o.push(c)}}),o}const Se=t=>{const{classes:r,container:o,direction:i,item:a,spacing:c,wrap:x,zeroMinWidth:g,breakpoints:d}=t;let p=[];o&&(p=ze(c,d));const m=[];d.forEach(E=>{const w=t[E];w&&m.push(`grid-${E}-${String(w)}`)});const u={root:["root",o&&"container",a&&"item",g&&"zeroMinWidth",...p,i!=="row"&&`direction-xs-${String(i)}`,x!=="wrap"&&`wrap-xs-${String(x)}`,...m]};return pe(u,he,r)},Ae=_.forwardRef(function(r,o){const i=le({props:r,name:"MuiGrid"}),{breakpoints:a}=se(),c=ce(i),{className:x,columns:g,columnSpacing:d,component:p="div",container:m=!1,direction:u="row",item:E=!1,rowSpacing:w,spacing:R=0,wrap:Q="wrap",zeroMinWidth:Y=!1}=c,W=me(c,we),ee=w||R,te=d||R,ne=_.useContext(N),D=m?g||12:ne,T={},F=C({},W);a.keys.forEach(z=>{W[z]!=null&&(T[z]=W[z],delete F[z])});const P=C({},c,{columns:D,container:m,direction:u,item:E,rowSpacing:ee,columnSpacing:te,wrap:Q,zeroMinWidth:Y,spacing:R},T,{breakpoints:a.keys}),re=Se(P);return G.jsx(N.Provider,{value:D,children:G.jsx(Ie,C({ownerState:P,className:xe(re.root,x),as:p,ref:o},F))})}),b=Ae,Be=de(G.jsx("path",{d:"M6 7c0 .55.45 1 1 1h7.59l-8.88 8.88c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0L16 9.41V17c0 .55.45 1 1 1s1-.45 1-1V7c0-.55-.45-1-1-1H7c-.55 0-1 .45-1 1z"}),"ArrowOutwardRounded");function Re(t,r){const o=oe();_.useEffect(()=>{const i=document.title;return document.title=o.pathname==="/"?(t==null?void 0:t.title)??"React App":t!=null&&t.title?`${t.title} - React App`:"React App",function(){document.title=i}},r??[]),_.useEffect(()=>{},[o])}function We(){return e.createElement(n,{sx:{position:"absolute",width:"100vw",overflow:"hidden"}},e.createElement(n,{component:"img",src:"/Coin_x1.png",sx:{maxHeight:"224px",maxWidth:"224px",height:"20vw",width:"20vw",position:"absolute",top:"100vh",left:"85vw",opacity:1}}),e.createElement(n,{component:"img",src:"/Coin_x1.png",sx:{maxHeight:"114px",maxWidth:"114px",height:"20vw",width:"20vw",position:"absolute",top:"130vh",left:"16vw",opacity:1,transform:"matrix(-1, 0, 0, 1, 0, 0)"}}),e.createElement(n,{component:"img",src:"/Coin_x1.png",sx:{maxHeight:"224px",maxWidth:"224px",height:"20vw",width:"20vw",position:"absolute",top:"300vh",left:"85vw",opacity:1,transform:"matrix(-1, 0, 0, 1, 0, 0)"}}),e.createElement(n,{component:"img",src:"/Coin_x1.png",sx:{maxHeight:"114px",maxWidth:"114px",height:"20vw",width:"20vw",position:"absolute",top:"420vh",left:"10vw",opacity:1}}),e.createElement(n,{sx:{position:"absolute",width:"20vh",height:"20vh",left:"60vh",top:"90vh",background:"#35FAFF",opacity:"0.3",boxShadow:"0px 4px 40px #00ECDE",filter:"blur(120px)",borderRadius:"50%",zIndex:"-1"}}),e.createElement(n,{sx:{position:"absolute",width:"20vh",height:"20vh",right:"50vh",top:"120vh",background:"#62E833;",opacity:"0.3",boxShadow:"0px 4px 40px #35EA72",filter:"blur(120px)",borderRadius:"50%",zIndex:"-1"}}),e.createElement(n,{sx:{position:"absolute",width:"20vh",height:"20vh",right:"60vh",top:"170vh",background:"#35FAFF",opacity:"0.3",boxShadow:"0px 4px 40px #00ECDE",filter:"blur(120px)",borderRadius:"50%",zIndex:"-1"}}),e.createElement(n,{sx:{position:"absolute",width:"20vh",height:"20vh",right:"40vh",top:"190vh",background:"#62E833",opacity:"0.3",boxShadow:"0px 4px 40px #35EA72",filter:"blur(120px)",borderRadius:"50%",zIndex:"-1"}}),e.createElement(n,{sx:{position:"absolute",width:"20vh",height:"20vh",left:"40vh",top:"230vh",background:"#62E833",opacity:"0.3",boxShadow:"0px 4px 40px #35EA72",filter:"blur(120px)",borderRadius:"50%",zIndex:"-1"}}),e.createElement(n,{sx:{position:"absolute",width:"20vh",height:"20vh",left:"60vh",top:"290vh",background:"#33E8C7",opacity:"0.3",boxShadow:"0px 4px 40px #33E8C7",filter:"blur(120px)",borderRadius:"50%",zIndex:"-1"}}))}const je=X($)({color:"#FFF",boxSizing:"border-box",display:"flex",flexDirection:"row",justifyContent:"center",alignItems:"center",padding:"14px 31px",gap:"8px",fontSize:"16px",lineHeight:"24px",backgroundColor:"#00913A",fontFamily:["Montserrat"].join(","),borderRadius:32,boxShadow:"none",textTransform:"none","&:hover":{backgroundColor:"#33A761",boxShadow:"none"},"&:active":{boxShadow:"none",borderColor:"#00742E"}});function L(t){return e.createElement(je,{endIcon:e.createElement(Be,null),...t},t.children)}function Ge(){return e.createElement(n,{sx:{position:"absolute",width:"99.99%",height:"150%",overflow:"hidden",display:{xs:"none",sm:"none",md:"block",lg:"block",xl:"block"},top:0,zIndex:1}},e.createElement(n,{sx:{position:"absolute",width:"20vh",height:"20vh",left:"0vh",top:"10vh",background:"#00913A",opacity:"0.3",boxShadow:"0px 40px 40px #21D96A",filter:"blur(80px)",borderRadius:"50%",zIndex:"-1"}}),e.createElement(n,{sx:{position:"absolute",width:"50vh",height:"50vh",left:"-25vh",top:"65vh",border:"100px solid #EDF5EF",borderRadius:"50%",zIndex:-2}}),e.createElement(n,{sx:{position:"absolute",right:"-20vw",top:"-20vw",border:"10vw solid #00913A",width:"60vw",height:"60vw",borderRadius:"50%",zIndex:-2}}),e.createElement(n,{component:"img",src:"/Earth_x1.png",sx:{maxHeight:640,maxWidth:640,height:"30vw",width:"30vw",position:"absolute",top:"10vw",right:"10vw",zIndex:-1}}))}function Me(){return e.createElement(n,{sx:{position:"absolute",width:"99.99%",height:"150%",overflow:"hidden",display:{xs:"block",sm:"block",md:"none",lg:"none",xl:"none"},top:0,zIndex:1}},e.createElement(n,{sx:{position:"absolute",right:"-480px",top:"-350px",border:"130px solid #00913A",width:"700px",height:"700px",borderRadius:"50%",zIndex:-2,"@media (min-width: 0px)":{display:"none"},"@media (min-width: 360px)":{display:"block"}}}),e.createElement(n,{component:"img",src:"/Earth_x1.png",sx:{height:"300px",width:"300px",maxWidth:"90vw",maxHeight:"90vw",position:"absolute",top:"150px",right:"calc((100vw - min(300px, 90vw)) / 2)",zIndex:-1}}))}function $e(){return e.createElement(n,{sx:{border:"0px solid #000"}},e.createElement(Ge,null),e.createElement(Me,null),e.createElement(v,{maxWidth:"lg",disableGutters:!0,sx:{display:{xs:"none",sm:"none",md:"block",lg:"block",xl:"block"},marginBottom:{xs:"20vh",sm:"20vh",md:"40vh",lg:"40vh",sx:"40vh"}}},e.createElement(s,{direction:"column",sx:{marginTop:"10vw",marginLeft:{sm:0,md:2,lg:0,sl:0}}},e.createElement(l,{variant:"h1",sx:{zIndex:10}},"Net Zero DeEnergy"),e.createElement(l,{variant:"h1",sx:{zIndex:10}},"Data Network"),e.createElement(l,{variant:"h4",sx:{width:"60%",marginTop:2,zIndex:10}},"Arkreen is a Web3-powered digital infrastructure for global distributed renewable energy resources."),e.createElement(l,{variant:"h4",sx:{width:"60%",marginTop:2,zIndex:10}},e.createElement("span",{style:{color:"#000000",fontWeight:600}},"Mainnet launched on Feb.28,2024")),e.createElement(n,{sx:{marginTop:2}},e.createElement(h,{href:"https://console.arkreen.com/",target:"_blank",underline:"none",sx:{zIndex:10}},e.createElement(L,{sx:{zIndex:10}},"START"))),e.createElement(s,{direction:"row",spacing:1,sx:{marginTop:2}},e.createElement(h,{href:"https://github.com/arkreen",target:"_blank",sx:{zIndex:10}},e.createElement(n,{component:"img",src:"/Git.png",sx:{height:40,width:40,border:"1px solid #eee",borderRadius:2,zIndex:10}})),e.createElement(h,{href:"https://discord.gg/j5fSNRKGme",target:"_blank",sx:{zIndex:10}},e.createElement(n,{component:"img",src:"/Discord.png",sx:{height:40,width:40,border:"1px solid #eee",borderRadius:2,zIndex:10}})),e.createElement(h,{href:"https://twitter.com/arkreen_network",target:"_blank",sx:{zIndex:10}},e.createElement(n,{component:"img",src:"/Twitter.png",sx:{height:40,width:40,border:"1px solid #eee",borderRadius:2,zIndex:10}})),e.createElement(h,{href:"https://t.me/arkreen_network",target:"_blank",sx:{zIndex:10}},e.createElement(n,{component:"img",src:"/Telegram.png",sx:{height:40,width:40,border:"1px solid #eee",borderRadius:2,zIndex:10}}))))),e.createElement(v,{maxWidth:"lg",disableGutters:!0,sx:{borderTop:"1px solid #fff",marginBottom:{xs:"20vh",sm:"20vh",md:"40vh",lg:"40vh",sx:"40vh"},display:{xs:"block",sm:"block",md:"none",lg:"none",xl:"none"},zIndex:10}},e.createElement(s,{direction:"column",sx:{marginTop:{xs:"85vw",sm:"50vw"},zIndex:10},justifyContent:"center",alignItems:"center",spacing:0},e.createElement(s,null,e.createElement(l,{variant:"h1",align:"center",sx:{zIndex:10}},"Net Zero DeEnergy"),e.createElement(l,{variant:"h1",align:"center",sx:{zIndex:10}},"Data Network")),e.createElement(l,{variant:"h4",align:"center",sx:{zIndex:10}},"Arkreen is a Web3-powered digital infrastructure for global distributed renewable energy resources."),e.createElement(l,{variant:"h4",align:"center",sx:{zIndex:10}},e.createElement("span",{style:{color:"#000000",fontWeight:600,cursor:"pointer"}},"Mainnet launched on Feb.28,2024")),e.createElement(n,{sx:{marginTop:2}},e.createElement(h,{href:"https://console.arkreen.com/",target:"_blank",underline:"none",sx:{zIndex:10}},e.createElement(L,{sx:{zIndex:10}},"START"))),e.createElement(s,{direction:"row",spacing:2,sx:{marginTop:2}},e.createElement(h,{href:"https://github.com/arkreen",target:"_blank",sx:{zIndex:10}},e.createElement(n,{component:"img",src:"/Git.png",sx:{height:40,width:40,border:"1px solid #eee",borderRadius:2,zIndex:10}})),e.createElement(h,{href:"https://discord.gg/j5fSNRKGme",target:"_blank",sx:{zIndex:10}},e.createElement(n,{component:"img",src:"/Discord.png",sx:{height:40,width:40,border:"1px solid #eee",borderRadius:2,zIndex:10}})),e.createElement(h,{href:"https://twitter.com/arkreen_network",target:"_blank",sx:{zIndex:10}},e.createElement(n,{component:"img",src:"/Twitter.png",sx:{height:40,width:40,border:"1px solid #eee",borderRadius:2,zIndex:10}})),e.createElement(h,{href:"https://t.me/arkreen_network",target:"_blank",sx:{zIndex:10}},e.createElement(n,{component:"img",src:"/Telegram.png",sx:{height:40,width:40,border:"1px solid #eee",borderRadius:2,zIndex:10}}))))))}function f(t){const r={xs:"330px",sm:"330px",md:"472px",lg:"472px",xl:"472px"},o={xs:"247.45px",sm:"247.45px",md:"292px",lg:"292px",xl:"292px"};return e.createElement(n,{sx:{width:r,height:o}},e.createElement(s,{justifyContent:"center",alignItems:"center",sx:{width:r,height:o,background:"rgba(228, 255, 241, 0.4)",border:"1px solid rgba(102, 189, 137, 0.2)",borderRadius:"12px",position:"relative",overflow:"hidden"},...t},e.createElement(n,{sx:{position:"absolute",width:"120px",height:"120px",left:"280px",top:"-20px",background:"#4BF4FF",opacity:.2,filter:"blur(30px)"}}),e.createElement(n,{sx:{position:"absolute",width:"120px",height:"120px",left:"228px",top:"40px",background:"#5D43FF",opacity:.1,filter:"blur(36px)"}}),e.createElement(n,{sx:{position:"absolute",width:"200px",height:"200px",left:"-60px",top:"110px",background:"#28EC77",opacity:.2,filter:"blur(50px)"}}),e.createElement(n,{component:"img",src:t.icon,sx:{width:"160px",height:"160px"}}),e.createElement(l,{variant:"h3"},t.title1),e.createElement(l,{variant:"h3"},t.title2)))}function De(){return e.createElement(s,{sx:{}},e.createElement(n,{sx:{background:"linear-gradient(90deg, rgba(0, 145, 58, 0.1) 0%, rgba(255, 255, 255, 0) 100%)",borderRadius:"12px",boxSizing:"border-box",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",padding:"12px 24px",gap:"8px",isolation:"isolate",marginLeft:2,marginRight:2}},e.createElement(n,{component:"img",src:"/GreenArrowRight_x4.png",sx:{width:"48px",height:"20px"}}),e.createElement(l,{variant:"h4",sx:{color:"#00913A"}},"Proof of Physical Work Rewards for Arkreen Builders")))}function Te(){return e.createElement(s,{direction:"row",justifyContent:"flex-end",alignItems:"center"},e.createElement(s,{sx:{background:"linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(0, 145, 58, 0.1) 100%)",borderRadius:"12px",boxSizing:"border-box",padding:"12px 24px",gap:"8px",isolation:"isolate",marginLeft:2,marginRight:2},justifyContent:"flex-end",alignItems:"flex-end"},e.createElement(n,{component:"img",src:"/GreenArrowLeft_x4.png",sx:{width:"48px",height:"20px"}}),e.createElement(l,{variant:"h4",sx:{color:"#00913A"}},"Grants for Applications Built On Arkreen")))}function Fe(){return e.createElement(n,{sx:{margin:2}},e.createElement(s,{direction:"row",justifyContent:"space-between",alignItems:"center"},e.createElement(f,{title1:"More Miners",title2:"Connected",icon:"/Com_1_x4.png"}),e.createElement(n,{component:"img",src:"/GreenArrow2_x4.png",sx:{width:"104px",height:"20px"}}),e.createElement(f,{title1:"More Renewable Energy",title2:"Resources",icon:"/Com_2_x4.png"})),e.createElement(s,{direction:"row",justifyContent:"space-between",alignItems:"center",sx:{height:"15vh"}},e.createElement(s,{direction:"row",justifyContent:"center",alignItems:"center",sx:{width:"20vw"}},e.createElement(n,{component:"img",src:"/GreenArrow2_x4.png",sx:{width:"104px",height:"20px",transform:"rotate(-90deg)"}})),e.createElement(s,{direction:"row",justifyContent:"center",alignItems:"center",sx:{width:"20vw"}},e.createElement(n,{component:"img",src:"/GreenArrow2_x4.png",sx:{width:"104px",height:"20px",transform:"rotate(90deg)"}}))),e.createElement(s,{direction:"row",justifyContent:"space-between",alignItems:"center",sx:{}},e.createElement(f,{title1:"More",title2:"Users",icon:"/Com_3_x4.png"}),e.createElement(n,{component:"img",src:"/GreenArrow2_x4.png",sx:{width:"104px",height:"20px",transform:"rotate(180deg)"}}),e.createElement(f,{title1:"More",title2:"Applications",icon:"/Com_4_x4.png"})))}function Pe(){return e.createElement(n,null,e.createElement(s,{direction:"row",justifyContent:"space-between",alignItems:"center",spacing:1,sx:{overflowX:"scroll",marginTop:2,marginBottom:2,marginLeft:2,marginRight:2,"&::-webkit-scrollbar":{display:"none"},"-ms-overflow-style":"none","scrollbar-width":"none"}},e.createElement(f,{title1:"More Miners",title2:"Connected",icon:"/Com_1_x4.png"}),e.createElement(n,{component:"img",src:"/GreenArrow2_x4.png",sx:{width:"104px",height:"20px"}}),e.createElement(f,{title1:"More Renewable Energy",title2:"Resourses",icon:"/Com_2_x4.png"}),e.createElement(n,{component:"img",src:"/GreenArrow2_x4.png",sx:{width:"104px",height:"20px"}}),e.createElement(f,{title1:"More",title2:"Users",icon:"/Com_3_x4.png"}),e.createElement(n,{component:"img",src:"/GreenArrow2_x4.png",sx:{width:"104px",height:"20px"}}),e.createElement(f,{title1:"More",title2:"Applications",icon:"/Com_4_x4.png"}),e.createElement(n,{component:"img",src:"/GreenArrow2_x4.png",sx:{width:"104px",height:"20px"}}),e.createElement(f,{title1:"More Miners",title2:"Connected",icon:"/Com_1_x4.png"})))}function Ne(){return e.createElement(v,{sx:{marginBottom:{xs:"20vh",sm:"20vh",md:"40vh",lg:"40vh",sx:"40vh"}},maxWidth:"lg",disableGutters:!0},e.createElement(l,{variant:"h2",align:"center",sx:{marginBottom:{xs:2,sm:10}}},"Arkreen Flywheel"),e.createElement(De,null),e.createElement(n,{sx:{display:{xs:"none",sm:"none",md:"none",lg:"block",xl:"block"}}},e.createElement(Fe,null)),e.createElement(n,{sx:{display:{xs:"block",sm:"block",md:"block",lg:"none",xl:"none"}}},e.createElement(Pe,null)),e.createElement(Te,null))}function H(t){return e.createElement($,{...t,sx:{boxSizing:"border-box",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",padding:"0px",gap:"10px",color:"#00913A",width:"200px",height:"48px",border:"1px solid #00913A",borderRadius:"24px",zIndex:10}},t.children)}function U(t){return e.createElement($,{...t,sx:{boxSizing:"border-box",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",padding:"0px",gap:"10px",color:"#fff",width:"200px",height:"48px",background:"#1D1D20",borderRadius:"24px","&:hover":{background:"#393940",boxShadow:"none"},"&:active":{boxShadow:"none",background:"#1D1D20"}}},t.children)}function j(t){const r={xs:"350px",sm:"384px",md:"384px",lg:"384px",xl:"384px"},o={xs:"550px",sm:"570px",md:"570px",lg:"570px",xl:"570px"};let i="#393940",a="#1D1D20",c="#FFF",x="#585862",g="",d="#585862",p="/Green_select_x1.png",m="#1D1D20",u=1;return t.selected&&(i="rgba(255, 255, 255, 0.8)",a="#fff",c="#00913A",x="#fff",g="0px 4px 4px rgba(0, 145, 58, 0.3)",d="rgba(255, 255, 255, 0.6)",p="/White_select_x1.png",m="#fff",u=.1),e.createElement(n,{sx:{width:r,height:o,position:"relative"}},e.createElement(n,{sx:{width:r,height:o,background:c,borderRadius:"8px",padding:"24px 16px 56px",border:"1px solid #E5E5EB",boxShadow:g}},e.createElement(l,{sx:{color:i,marginBottom:1,fontStyle:"normal",fontWeight:"600",fontSize:"32px",lineHeight:"48px"},variant:"h5"},t.title),e.createElement(n,{sx:{display:"flex",flexDirection:"row",alignItems:"baseline"}},e.createElement(l,{sx:{marginBottom:1,fontStyle:"normal",fontWeight:"700",fontSize:"50px",lineHeight:"72px",color:a,mr:1},variant:"h5"},t.price),e.createElement(l,{sx:{marginBottom:1,fontStyle:"normal",fontWeight:"700",fontSize:"17px",lineHeight:"40px",color:d,bottom:"-8px",right:"100px"},variant:"h5"},t.price2),e.createElement(l,{sx:{marginBottom:1,fontStyle:"normal",fontWeight:"700",fontSize:"16px",lineHeight:"16px",color:d,bottom:"-8px",right:"100px",ml:1},variant:"h5"},t.price3)),e.createElement(l,{sx:{color:x,display:{xs:"none",sm:"none",md:"block",lg:"block",xl:"block"},fontStyle:"normal",fontWeight:500,fontSize:"24px",lineHeight:"40px"},variant:"h6"},t.body),e.createElement(l,{sx:{color:x,display:{xs:"block",sm:"block",md:"none",lg:"none",xl:"none"},fontStyle:"normal",fontWeight:500,fontSize:"20px",lineHeight:"30px"},variant:"h6"},t.body),e.createElement(n,{sx:{display:"flex",flexDirection:"row",my:4}},e.createElement(n,{component:"img",src:p,sx:{width:"24px",height:"24px",mr:"12px"}}),e.createElement(l,{sx:{fontStyle:"normal",fontWeight:500,fontSize:"16px",lineHeight:"20px",color:m},variant:"h6"},t.item1)),e.createElement(n,{sx:{display:"flex",flexDirection:"row",my:4}},e.createElement(n,{component:"img",src:p,sx:{width:"24px",height:"24px",mr:"12px"}}),e.createElement(l,{sx:{fontStyle:"normal",fontWeight:500,fontSize:"16px",lineHeight:"20px",color:m},variant:"h6"},t.item2)),e.createElement(n,{sx:{position:"absolute",right:"10px",bottom:"10px"}},e.createElement(h,{href:t.moreUrl,target:"_blank",underline:"none",sx:{zIndex:10}},e.createElement(l,{sx:{color:i,marginBottom:1,fontStyle:"normal",fontWeight:"500",fontSize:"16px",lineHeight:"24px"},variant:"h5"},"learn more"))),e.createElement(n,{sx:{display:"flex",justifyContent:"center",marginTop:5}},t.button1&&(t.noLink?e.createElement(H,null,t.buttonString):e.createElement(h,{href:t.buttonUrl,target:"_blank",underline:"none",sx:{zIndex:10}},e.createElement(H,null,t.buttonString))),t.button2&&(t.noLink?e.createElement(U,null,t.buttonString):e.createElement(h,{href:t.buttonUrl,target:"_blank",underline:"none",sx:{zIndex:10}},e.createElement(U,null,t.buttonString)))),e.createElement(n,{component:"img",src:"/Miners_pricebg_x1.png",sx:{position:"absolute",left:"0px",bottom:"0px",width:"224px",height:"192px",opacity:u}})))}function Le(){return e.createElement(v,{sx:{position:"relative",marginBottom:{xs:"20vh",sm:"20vh",md:"40vh",lg:"40vh",sx:"40vh"},px:{xl:0,lg:0,md:0,sm:2,xs:2}},maxWidth:"lg",disableGutters:!0},e.createElement(l,{variant:"h2",align:"center",sx:{marginBottom:{xs:2,sm:2}}},"Miner"),e.createElement(l,{variant:"body1",align:"center",sx:{marginBottom:{xs:2,sm:10}}},"Choose the one that best fits you."),e.createElement(s,{direction:"row",justifyContent:"space-between",alignItems:"center",spacing:{xs:1,sm:1,md:3,lg:3,xl:3},sx:{marginBottom:5,overflowX:"scroll",marginLeft:{xs:0,sm:0,md:0,lg:0,xl:0},"&::-webkit-scrollbar":{display:"none"},"-ms-overflow-style":"none","scrollbar-width":"none"}},e.createElement(j,{title:"CSP",price:"$199",price2:"U",price3:"",body:"Integrate your solar PV panels into Arkreen Network.",item1:"Capacity: 2~40kW",item2:"Connect your own PV panels",button1:!0,buttonString:"Order",buttonUrl:"/csp-order",moreUrl:"https://docs.arkreen.com/programs/community-solar-program"}),e.createElement(j,{selected:"true",title:"Remote Miner",price:"$9.9",price2:"U",price3:"per year",body:"Miner running remotely without having your own PV panel on roof top.",item1:"Capacity: 100W",item2:"Running remotely",button2:!0,buttonString:"Buy",buttonUrl:"https://console.arkreen.com/#/shop",moreUrl:"https://docs.arkreen.com/overview/miner/generation/remote-miner"}),e.createElement(j,{title:"PGP",price:"$99",price2:"U",price3:"",body:"Track your consumed energy and offset it for carbon neutrality.",item1:"Current: < 10Amp (AC)",item2:"Measure and offset energy consumption",button1:!0,buttonString:"Order",buttonUrl:"/pgp-order",moreUrl:"https://docs.arkreen.com/programs/plug-for-green-program"})))}function V(t){return e.createElement(l,{variant:"h4",sx:{mx:2}},t.children)}function O(){return e.createElement(l,{variant:"h2",sx:{marginBottom:2},align:"center"},"Arkreen Mission")}function He(){return e.createElement(v,{sx:{marginBottom:{xs:"20vh",sm:"20vh",md:"40vh",lg:"40vh",sx:"40vh"}},maxWidth:"lg",disableGutters:!0},e.createElement(s,{justifyContent:"center",alignItems:"center",sx:{},direction:{sm:"column",md:"row"}},e.createElement(s,{sx:{position:"relative"},justifyContent:"space-between",alignItems:"center"},e.createElement(n,{component:"img",src:"/Cube_x2.png",sx:{maxWidth:"90vw",maxHeight:"90vw",width:"368px",height:"368px",zIndex:10}}),e.createElement(n,{component:"img",src:"/Lightning_x4.png",sx:{width:"96px",height:"96px",position:"absolute",left:"calc(50% - 96px/2)",top:"48px",zIndex:10}})),e.createElement(n,{sx:{display:{xs:"none",sm:"none",md:"block",lg:"block",xl:"block"}}},e.createElement(O,null),e.createElement(V,null,"Arkreen Network aims to build up this digital infrastructure in a decentralized way from bottom-up by incentivizing renewable energy prosumers, and then monetizes their flexibility and demand response for carbon-neutrality applications.")),e.createElement(n,{sx:{display:{xs:"block",sm:"block",md:"none",lg:"none",xl:"none"}}},e.createElement(O,null),e.createElement(V,null,"Arkreen Network aims to build up this digital infrastructure in a decentralized way from bottom-up by incentivizing renewable energy prosumers, and then monetizes their flexibility and demand response for carbon-neutrality applications."))))}const K={xs:"264px",sm:"264px",md:"264px",lg:"264px",xl:"264px"},Z={xs:"264px",sm:"264px",md:"264px",lg:"336px",xl:"336px"};function S(t){let r="#80808B",o="#EDF5EF",i="#1D1D20",a="/LittleArrow_dark_x4.png";return t.selected&&(r="rgba(255, 255, 255, 0.45)",o="#00913A",i="#fff",a="/LittleArrow_light_x4.png"),e.createElement(n,{sx:{width:K,height:Z,position:"relative"}},e.createElement(n,{sx:{width:K,height:Z,background:o,borderRadius:"8px",padding:"24px 16px 56px"}},e.createElement(n,{component:"img",src:t.src,sx:{width:"64px",height:"64px"}}),e.createElement(l,{sx:{color:r,display:{xs:"none",sm:"none",md:"block",lg:"block",xl:"block"},marginBottom:1},variant:"h5"},t.title),e.createElement(l,{sx:{color:r,display:{xs:"block",sm:"block",md:"none",lg:"none",xl:"none"},marginBottom:1},variant:"h6"},t.title),e.createElement(l,{sx:{color:i,display:{xs:"none",sm:"none",md:"block",lg:"block",xl:"block"}},variant:"h6"},t.body),e.createElement(l,{sx:{color:i,display:{xs:"block",sm:"block",md:"none",lg:"none",xl:"none"}},variant:"h6"},t.body),e.createElement(n,{component:"img",src:a,sx:{position:"absolute",right:"10px",bottom:"10px",width:"24px",height:"24px"}})))}function Ue(){return e.createElement(v,{sx:{position:"relative",marginBottom:{xs:"20vh",sm:"20vh",md:"40vh",lg:"40vh",sx:"40vh"},px:{xl:0,lg:0,md:0,sm:2,xs:2}},maxWidth:"lg",disableGutters:!0},e.createElement(n,{component:"img",src:"/WorldMap_x1.png",sx:{position:"absolute",width:"100%",height:"100%",left:0,right:0,marginLeft:"auto",marginRight:"auto",zIndex:-1}}),e.createElement(l,{variant:"h2",align:"center",sx:{marginBottom:{xs:2,sm:10}}},"Roadmap"),e.createElement(s,{direction:"row",justifyContent:"space-between",alignItems:"center",spacing:{xs:5,sm:5,md:1,lg:1,xl:1},sx:{marginBottom:5,overflowX:"scroll",marginLeft:{xs:0,sm:0,md:0,lg:0,xl:0},"&::-webkit-scrollbar":{display:"none"},"-ms-overflow-style":"none","scrollbar-width":"none"}},e.createElement(S,{src:"/Roadmap_1_x4.png",title:"Phase 0",body:"Testnet with MVP for prototype trial."}),e.createElement(S,{selected:"true",src:"/Roadmap_2_x4.png",title:"Phase 1",body:"Mainnet starting from solar PV panels, uplink only."}),e.createElement(S,{src:"/Roadmap_3_x4.png",title:"Phase 2",body:"Bi-directional energy data network for global DERs."}),e.createElement(S,{src:"/Roadmap_4_x4.png",title:"Phase 3",body:"SubDAO driven climate+crypto solutions."})))}const A={xs:"400px",sm:"400px",md:"400px",lg:"400px",xl:"400px"},J={xs:"350px",sm:"350px",md:"350px",lg:"350px",xl:"350px"};function Ve(){return e.createElement(s,{sx:{background:"linear-gradient(90deg, rgba(0, 145, 58, 0.1) 0%, rgba(255, 255, 255, 0) 100%);",borderRadius:"12px",boxSizing:"border-box",padding:"12px 24px",isolation:"isolate",marginLeft:2,marginRight:2,width:"40vw"},direction:"row",justifyContent:"flex-start",alignItems:"center",spacing:2},e.createElement(l,{variant:"h3",sx:{color:"#00913A"}},"DATA"),e.createElement(n,{component:"img",src:"/GreenArrowRight_x4.png",sx:{width:"48px",height:"20px"}}))}function Oe(){return e.createElement(n,{sx:{width:A,height:J}},e.createElement(b,{container:!0,spacing:0,direction:"row",justifyContent:"space-between",alignItems:"flex-end",sx:{width:A}},e.createElement(b,{item:!0,xs:12,sx:{marginBottom:5}},e.createElement(l,{variant:"h3",sx:{color:"#00913A"},align:"center"},"Producers&Consumers")),e.createElement(b,{item:!0,xs:6,sx:{}},e.createElement(s,{direction:"row",justifyContent:"center",alignItems:"center"},e.createElement(n,{component:"img",src:"/Cases_1_x4.png",sx:{width:"88px",height:"88px"}}))),e.createElement(b,{item:!0,xs:6,sx:{}},e.createElement(s,{direction:"row",justifyContent:"center",alignItems:"center"},e.createElement(n,{component:"img",src:"/Cases_2_x4.png",sx:{width:"88px",height:"88px"}}))),e.createElement(b,{item:!0,xs:6,sx:{}},e.createElement(s,{direction:"row",justifyContent:"center",alignItems:"center"},e.createElement(n,{component:"img",src:"/Cases_3_x4.png",sx:{width:"88px",height:"88px"}}))),e.createElement(b,{item:!0,xs:6,sx:{}},e.createElement(s,{direction:"row",justifyContent:"center",alignItems:"center"},e.createElement(n,{component:"img",src:"/Cases_4_x4.png",sx:{width:"88px",height:"88px"}})))))}function Ke(){return e.createElement(n,{sx:{}},e.createElement(s,{sx:{position:"relative",border:"1px solid #eee",borderRadius:"16px"},justifyContent:"space-between",alignItems:"center"},e.createElement(n,{component:"img",src:"/Cube_x2.png",sx:{width:"368px",height:"368px"}}),e.createElement(n,{component:"img",src:"/Lightning_x4.png",sx:{width:"96px",height:"96px",position:"absolute",left:"calc(50% - 96px/2)",top:"48px"}}),e.createElement(n,{component:"img",src:"/arkreen_logo.png",sx:{height:32,width:120}}),e.createElement(l,{variant:"h4",sx:{}},"Net Zero DeEnergy"),e.createElement(l,{variant:"h4",sx:{marginBottom:"8px"}},"Data Network")))}function Ze(){return e.createElement(n,{sx:{width:A,height:J}},e.createElement(b,{container:!0,spacing:0,alignItems:"center",justifyContent:"center",sx:{width:A}},e.createElement(b,{item:!0,xs:12},e.createElement(l,{variant:"h3",sx:{color:"#00913A",marginBottom:5},align:"center"},"Use cases")),e.createElement(b,{item:!0,xs:6},e.createElement(s,{direction:"row",justifyContent:"center",alignItems:"center"},e.createElement(n,{component:"img",src:"/Cases_5_x4.png",sx:{width:"88px",height:"88px"}}))),e.createElement(b,{item:!0,xs:6},e.createElement(s,{direction:"row",justifyContent:"center",alignItems:"center"},e.createElement(n,{component:"img",src:"/Cases_6_x4.png",sx:{width:"88px",height:"88px"}}))),e.createElement(b,{item:!0,xs:6},e.createElement(s,{direction:"row",justifyContent:"center",alignItems:"center"},e.createElement(n,{component:"img",src:"/Cases_7_x4.png",sx:{width:"88px",height:"88px"}}))),e.createElement(b,{item:!0,xs:6},e.createElement(s,{direction:"row",justifyContent:"center",alignItems:"center"},e.createElement(n,{component:"img",src:"/Cases_8_x4.png",sx:{width:"88px",height:"88px"}})))))}function Xe(){return e.createElement(s,{direction:"row",justifyContent:"space-between",alignItems:"center",sx:{marginTop:2,marginBottom:2,mx:2,overflowX:"scroll","&::-webkit-scrollbar":{display:"none"},"-ms-overflow-style":"none","scrollbar-width":"none"}},e.createElement(Oe,null),e.createElement(Ke,null),e.createElement(Ze,null))}function qe(){return e.createElement(s,{direction:"row",justifyContent:"flex-end",alignItems:"center"},e.createElement(s,{sx:{background:"linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(0, 145, 58, 0.1) 100%)",borderRadius:"12px",boxSizing:"border-box",padding:"12px 24px",gap:"8px",isolation:"isolate",marginLeft:2,marginRight:2,width:"40vw"},direction:"row",justifyContent:"flex-end",alignItems:"center",spacing:2},e.createElement(n,{component:"img",src:"/GreenArrowLeft_x4.png",sx:{width:"48px",height:"20px"}}),e.createElement(l,{variant:"h3",sx:{color:"#00913A"}},"INCENTIVE")))}function Je(){return e.createElement(e.Fragment,null,e.createElement(v,{sx:{marginBottom:{xs:"20vh",sm:"20vh",md:"40vh",lg:"40vh",sx:"40vh"}},maxWidth:"lg",disableGutters:!0},e.createElement(l,{variant:"h2",align:"center",sx:{marginBottom:{xs:2,sm:10}}},"Arkreen Use Cases"),e.createElement(Ve,null),e.createElement(Xe,null),e.createElement(qe,null)))}function et(){return Re({title:"Arkreen Network"}),e.createElement(n,null,e.createElement(We,null),e.createElement($e,null),e.createElement(He,null),e.createElement(Le,null),e.createElement(Ne,null),e.createElement(Je,null),e.createElement(Ue,null))}export{et as default}; diff --git a/assets/PGP-dcf1d044.js b/assets/PGP-dcf1d044.js new file mode 100644 index 0000000..83883a1 --- /dev/null +++ b/assets/PGP-dcf1d044.js @@ -0,0 +1 @@ +import{a as e}from"./react-fc05cb64.js";import{C as n,a,b as o,c as m,S as r}from"./SecondaryButton-140b20c0.js";import{C as i,T as t,L as s,S as c,B as l}from"./index-224d0bcc.js";const d=()=>e.createElement(i,{sx:{mt:4,marginBottom:{xs:"40vh",sm:"20vh",md:"20vh",lg:"20vh",sx:"20vh"},marginTop:{xs:"15vh",sm:"15vh",md:"15vh",lg:"15vh",sx:"15vh"}}},e.createElement(t,{variant:"h2",sx:{textAlign:"center",marginTop:"100px",marginBottom:"100px"}},"Plug for Green Program"),e.createElement(t,{variant:"h3",sx:{mt:2,mb:2}},"Introduction"),e.createElement(t,{variant:"body1",component:"p",sx:{mt:2}},e.createElement(s,{target:"_blank",href:"https://docs.arkreen.com/programs/plug-for-green-program"},"Plug for Green Program")," ","is to encourage individuals to offset their daily electricity usage tracked by the Smart Plug miner with on-chain tokenized RECs."),e.createElement(t,{variant:"body1",component:"p",sx:{mt:2}},"Simply connect the smart plug to your home WiFi network and plug your appliance into it. The smart plug will periodically report the appliance's energy consumption to Arkreen."),e.createElement(t,{variant:"body1",component:"p",sx:{mt:2}},"Users who consistently report energy consumption data and on-chain offset their recorded energy usage will be rewarded."),e.createElement(t,{variant:"h3",sx:{mt:2,mb:2}},"Miner pricing"),e.createElement(c,{direction:{xs:"column",sm:"row"},spacing:{xs:1,sm:2,md:4},justifyContent:"center",alignItems:"center",sx:{mt:5,mb:5}},e.createElement(n,{sx:{width:400}},e.createElement(a,{component:"img",height:"400",width:"400",image:"/plug2.jpeg",alt:"plug"}),e.createElement(o,null,e.createElement(t,{gutterBottom:!0,variant:"h4",component:"div"},"Smart Plug"),e.createElement(t,{variant:"body2",color:"text.secondary"},"$99u")),e.createElement(m,null,e.createElement(r,{sx:{height:"44px",zIndex:10,margin:"20px auto"},target:"_blank",href:"https://console.arkreen.com/#/shop?type=smart-plug"},"BUY NOW")))),e.createElement(t,{variant:"h3",sx:{mt:2}},"Advantages of Owning Smart Plug Miner for PGP"),e.createElement(t,{variant:"body1",component:"p",sx:{mt:2}},"1. Report electricity consumption data to earn AKRE."),e.createElement(t,{variant:"body1",component:"p",sx:{mt:1}},"2. Monitoring electricity consumption of home appliances."),e.createElement(t,{variant:"body1",component:"p",sx:{mt:1}},"3. Offset electricity consumption to earn AKRE."),e.createElement(t,{variant:"h3",sx:{mt:2,mb:2}},"Application Form"),e.createElement(t,{variant:"body1",component:"p",sx:{mt:2}},"If you are interested in participating in the trial of Plug for Green Program. Please submit below form to apply for the whitelist."),e.createElement(l,{sx:{display:"flex",mt:2,mb:2}},e.createElement(r,{sx:{height:"44px",zIndex:10,margin:"20px auto"},target:"_blank",href:"https://forms.gle/y7BZwN7qWVFARZUc6"},"Application Form")));export{d as default}; diff --git a/assets/SecondaryButton-140b20c0.js b/assets/SecondaryButton-140b20c0.js new file mode 100644 index 0000000..38bd968 --- /dev/null +++ b/assets/SecondaryButton-140b20c0.js @@ -0,0 +1 @@ +import{g as C,a as p,s as l,P as h,u as m,c as g,_ as a,j as f,d as M,f as x,k as N}from"./index-224d0bcc.js";import{a as S,b as A}from"./react-fc05cb64.js";function $(o){return C("MuiCard",o)}p("MuiCard",["root"]);const j=["className","raised"],I=o=>{const{classes:t}=o;return x({root:["root"]},$,t)},U=l(h,{name:"MuiCard",slot:"Root",overridesResolver:(o,t)=>t.root})(()=>({overflow:"hidden"})),_=S.forwardRef(function(t,s){const e=m({props:t,name:"MuiCard"}),{className:r,raised:c=!1}=e,i=g(e,j),n=a({},e,{raised:c}),d=I(n);return f.jsx(U,a({className:M(d.root,r),elevation:c?8:void 0,ref:s,ownerState:n},i))}),Z=_;function k(o){return C("MuiCardActions",o)}p("MuiCardActions",["root","spacing"]);const E=["disableSpacing","className"],P=o=>{const{classes:t,disableSpacing:s}=o;return x({root:["root",!s&&"spacing"]},k,t)},O=l("div",{name:"MuiCardActions",slot:"Root",overridesResolver:(o,t)=>{const{ownerState:s}=o;return[t.root,!s.disableSpacing&&t.spacing]}})(({ownerState:o})=>a({display:"flex",alignItems:"center",padding:8},!o.disableSpacing&&{"& > :not(:first-of-type)":{marginLeft:8}})),F=S.forwardRef(function(t,s){const e=m({props:t,name:"MuiCardActions"}),{disableSpacing:r=!1,className:c}=e,i=g(e,E),n=a({},e,{disableSpacing:r}),d=P(n);return f.jsx(O,a({className:M(d.root,c),ownerState:n,ref:s},i))}),oo=F;function B(o){return C("MuiCardContent",o)}p("MuiCardContent",["root"]);const D=["className","component"],T=o=>{const{classes:t}=o;return x({root:["root"]},B,t)},z=l("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(o,t)=>t.root})(()=>({padding:16,"&:last-child":{paddingBottom:24}})),L=S.forwardRef(function(t,s){const e=m({props:t,name:"MuiCardContent"}),{className:r,component:c="div"}=e,i=g(e,D),n=a({},e,{component:c}),d=T(n);return f.jsx(z,a({as:c,className:M(d.root,r),ownerState:n,ref:s},i))}),to=L;function G(o){return C("MuiCardMedia",o)}p("MuiCardMedia",["root","media","img"]);const H=["children","className","component","image","src","style"],W=o=>{const{classes:t,isMediaComponent:s,isImageComponent:e}=o;return x({root:["root",s&&"media",e&&"img"]},G,t)},q=l("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(o,t)=>{const{ownerState:s}=o,{isMediaComponent:e,isImageComponent:r}=s;return[t.root,e&&t.media,r&&t.img]}})(({ownerState:o})=>a({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},o.isMediaComponent&&{width:"100%"},o.isImageComponent&&{objectFit:"cover"})),J=["video","audio","picture","iframe","img"],K=["picture","img"],Q=S.forwardRef(function(t,s){const e=m({props:t,name:"MuiCardMedia"}),{children:r,className:c,component:i="div",image:n,src:d,style:b}=e,y=g(e,H),u=J.indexOf(i)!==-1,R=!u&&n?a({backgroundImage:`url("${n}")`},b):b,v=a({},e,{component:i,isMediaComponent:u,isImageComponent:K.indexOf(i)!==-1}),w=W(v);return f.jsx(q,a({className:M(w.root,c),as:i,role:!u&&n?"img":void 0,ref:s,style:R,ownerState:v,src:u?n||d:void 0},y,{children:r}))}),eo=Q,V=l(N)({color:"#FFF",boxSizing:"border-box",display:"flex",flexDirection:"row",justifyContent:"center",alignItems:"center",padding:"14px 31px",gap:"8px",fontSize:"16px",lineHeight:"24px",backgroundColor:"#1D1D20",fontFamily:["Montserrat"].join(","),borderRadius:32,boxShadow:"none",textTransform:"none","&:hover":{backgroundColor:"#393940",boxShadow:"none"},"&:active":{boxShadow:"none",borderColor:"#000000"}});function so(o){return A.createElement(V,{...o},o.children)}export{Z as C,so as S,eo as a,to as b,oo as c}; diff --git a/assets/Web3Policy-05afc31d.js b/assets/Web3Policy-05afc31d.js new file mode 100644 index 0000000..dcb434e --- /dev/null +++ b/assets/Web3Policy-05afc31d.js @@ -0,0 +1 @@ +import{b as e}from"./react-fc05cb64.js";import{C as o,S as r,T as t}from"./index-224d0bcc.js";function i(){return e.createElement(o,{sx:{marginBottom:{xs:"20vh",sm:"20vh",md:"40vh",lg:"40vh",sx:"40vh"}},maxWidth:"lg",disableGutters:!0},e.createElement(r,{spacing:2,sx:{m:2}},e.createElement(t,{variant:"h2",sx:{textAlign:"center"}},"Privacy Policy"),e.createElement(t,{variant:"h6",sx:{fontWeight:100}},'At "DePIN&ReFi: Web3 for Real World", we take your privacy seriously. We only collect personal information that is necessary for the purpose of event registration and ensuring that you have a seamless and enjoyable experience at our event. We will not disclose, sell, rent or exchange your personal information to any third parties without your consent.',e.createElement("br",null),e.createElement("br",null),'By registering for "DePIN&ReFi: Web3 for Real World", you agree to receive email communications from us regarding the event. We will only use your email address to communicate essential information regarding the event, such as changes in schedule or location, news about the event or related activities.',e.createElement("br",null),e.createElement("br",null),'We may use photos, videos or other media taken during "DePIN&ReFi: Web3 for Real World" for promotional purposes, which might be displayed on our website, social media pages or other channels. By attending "DePIN&ReFi: Web3 for Real World", you grant us permission to use your image in such promotional materials.',e.createElement("br",null),e.createElement("br",null),'If you have any questions or concerns about how we are using your information, please do not hesitate to contact us at info@arkreen.com. We appreciate your trust and look forward to seeing you at "DePIN&ReFi: Web3 for Real World".',e.createElement("br",null),e.createElement("br",null),'Thank you for choosing "DePIN&ReFi: Web3 for Real World"!')))}export{i as default}; diff --git a/assets/firebase-4ed993c7.js b/assets/firebase-4ed993c7.js new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/assets/firebase-4ed993c7.js @@ -0,0 +1 @@ + diff --git a/assets/index-224d0bcc.js b/assets/index-224d0bcc.js new file mode 100644 index 0000000..e03c727 --- /dev/null +++ b/assets/index-224d0bcc.js @@ -0,0 +1,103 @@ +var ma=Object.defineProperty;var ha=(e,t,n)=>t in e?ma(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Lo=(e,t,n)=>(ha(e,typeof t!="symbol"?t+"":t,n),n);import{r as Wi,a as u,R as Mr,b as S,c as Zt,d as ga,e as ya,f as zo,g as ba,h as xa,i as br,j as va,B as Ea}from"./react-fc05cb64.js";(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 s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).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)}})();var Hi,Fo=Wi;Hi=Fo.createRoot,Fo.hydrateRoot;const Ca={black:"#000",white:"#fff"},Dt=Ca,Sa={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"},st=Sa,Ra={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"},at=Ra,ka={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"},lt=ka,wa={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"},ct=wa,$a={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"},ut=$a,Ta={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"},Tt=Ta,Pa={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"},Aa=Pa;function h(){return h=Object.assign?Object.assign.bind():function(e){for(var t=1;t{t[n]=Vi(e[n])}),t}function _e(e,t,n={clone:!0}){const r=n.clone?h({},e):e;return et(e)&&et(t)&&Object.keys(t).forEach(o=>{o!=="__proto__"&&(et(t[o])&&o in e&&et(e[o])?r[o]=_e(e[o],t[o],n):n.clone?r[o]=et(t[o])?Vi(t[o]):t[o]:r[o]=t[o])}),r}function yt(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;nn==null?t:function(...o){t.apply(this,o),n.apply(this,o)},()=>{})}function Jr(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 _a(e,t){return()=>null}function Ki(e,t){return u.isValidElement(e)&&t.indexOf(e.type.muiName)!==-1}function Te(e){return e&&e.ownerDocument||document}function Xe(e){return Te(e).defaultView||window}function Ba(e,t){return()=>null}function pn(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const Na=typeof window<"u"?u.useLayoutEffect:u.useEffect,rt=Na;let Uo=0;function Da(e){const[t,n]=u.useState(e),r=e||t;return u.useEffect(()=>{t==null&&(Uo+=1,n(`mui-${Uo}`))},[t]),r}const Wo=Mr["useId"];function La(e){if(Wo!==void 0){const t=Wo();return e??t}return Da(e)}function za(e,t,n,r,o){return null}function qi({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=u.useRef(e!==void 0),[i,s]=u.useState(t),a=o?e:i,c=u.useCallback(l=>{o||s(l)},[]);return[a,c]}function tt(e){const t=u.useRef(e);return rt(()=>{t.current=e}),u.useCallback((...n)=>(0,t.current)(...n),[])}function Se(...e){return u.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{pn(n,t)})},e)}let On=!0,_r=!1,Ho;const Fa={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 ja(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&Fa[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function Ua(e){e.metaKey||e.altKey||e.ctrlKey||(On=!0)}function xr(){On=!1}function Wa(){this.visibilityState==="hidden"&&_r&&(On=!0)}function Ha(e){e.addEventListener("keydown",Ua,!0),e.addEventListener("mousedown",xr,!0),e.addEventListener("pointerdown",xr,!0),e.addEventListener("touchstart",xr,!0),e.addEventListener("visibilitychange",Wa,!0)}function Va(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return On||ja(t)}function Zr(){const e=u.useCallback(o=>{o!=null&&Ha(o.ownerDocument)},[]),t=u.useRef(!1);function n(){return t.current?(_r=!0,window.clearTimeout(Ho),Ho=window.setTimeout(()=>{_r=!1},100),t.current=!1,!0):!1}function r(o){return Va(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function Xi(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function Qr(e,t){const n=h({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=h({},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]=h({},i),Object.keys(o).forEach(s=>{n[r][s]=Qr(o[s],i[s])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function ie(e,t,n){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((i,s)=>(s&&(i.push(t(s)),n&&n[s]&&i.push(n[s])),i),[]).join(" ")}),r}const Vo=e=>e,Ga=()=>{let e=Vo;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Vo}}},Ka=Ga(),eo=Ka,qa={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function re(e,t,n="Mui"){const r=qa[t];return r?`${n}-${r}`:`${eo.generate(e)}-${t}`}function te(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=re(e,o,n)}),r}function B(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i=0)&&(n[o]=e[o]);return n}function Yi(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Xa=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Ya=Yi(function(e){return Xa.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function Ja(e){if(e.sheet)return e.sheet;for(var t=0;t0?be(Ct,--ke):0,bt--,pe===10&&(bt=1,In--),pe}function Pe(){return pe=ke2||zt(pe)>3?"":" "}function cl(e,t){for(;--t&&Pe()&&!(pe<48||pe>102||pe>57&&pe<65||pe>70&&pe<97););return Wt(e,on()+(t<6&&Fe()==32&&Pe()==32))}function Nr(e){for(;Pe();)switch(pe){case e:return ke;case 34:case 39:e!==34&&e!==39&&Nr(pe);break;case 40:e===41&&Nr(e);break;case 92:Pe();break}return ke}function ul(e,t){for(;Pe()&&e+pe!==47+10;)if(e+pe===42+42&&Fe()===47)break;return"/*"+Wt(t,ke-1)+"*"+Mn(e===47?e:Pe())}function dl(e){for(;!zt(Fe());)Pe();return Wt(e,ke)}function fl(e){return ns(an("",null,null,null,[""],e=ts(e),0,[0],e))}function an(e,t,n,r,o,i,s,a,c){for(var l=0,d=0,p=s,g=0,y=0,m=0,f=1,x=1,E=1,k=0,b="",C=o,w=i,$=r,R=b;x;)switch(m=k,k=Pe()){case 40:if(m!=108&&be(R,p-1)==58){Br(R+=J(sn(k),"&","&\f"),"&\f")!=-1&&(E=-1);break}case 34:case 39:case 91:R+=sn(k);break;case 9:case 10:case 13:case 32:R+=ll(m);break;case 92:R+=cl(on()-1,7);continue;case 47:switch(Fe()){case 42:case 47:Qt(pl(ul(Pe(),on()),t,n),c);break;default:R+="/"}break;case 123*f:a[l++]=Ne(R)*E;case 125*f:case 59:case 0:switch(k){case 0:case 125:x=0;case 59+d:y>0&&Ne(R)-p&&Qt(y>32?Ko(R+";",r,n,p-1):Ko(J(R," ","")+";",r,n,p-2),c);break;case 59:R+=";";default:if(Qt($=Go(R,t,n,l,d,o,a,b,C=[],w=[],p),i),k===123)if(d===0)an(R,t,$,$,C,i,p,a,w);else switch(g===99&&be(R,3)===110?100:g){case 100:case 109:case 115:an(e,$,$,r&&Qt(Go(e,$,$,0,0,o,a,b,o,C=[],p),w),o,w,p,a,r?C:w);break;default:an(R,$,$,$,[""],w,0,a,w)}}l=d=y=0,f=E=1,b=R="",p=s;break;case 58:p=1+Ne(R),y=m;default:if(f<1){if(k==123)--f;else if(k==125&&f++==0&&al()==125)continue}switch(R+=Mn(k),k*f){case 38:E=d>0?1:(R+="\f",-1);break;case 44:a[l++]=(Ne(R)-1)*E,E=1;break;case 64:Fe()===45&&(R+=sn(Pe())),g=Fe(),d=p=Ne(b=R+=dl(on())),k++;break;case 45:m===45&&Ne(R)==2&&(f=0)}}return i}function Go(e,t,n,r,o,i,s,a,c,l,d){for(var p=o-1,g=o===0?i:[""],y=ro(g),m=0,f=0,x=0;m0?g[E]+" "+k:J(k,/&\f/g,g[E])))&&(c[x++]=b);return _n(e,t,n,o===0?to:a,c,l,d)}function pl(e,t,n){return _n(e,t,n,Ji,Mn(sl()),Lt(e,2,-2),0)}function Ko(e,t,n,r){return _n(e,t,n,no,Lt(e,0,r),Lt(e,r+1,-1),r)}function ht(e,t){for(var n="",r=ro(e),o=0;o6)switch(be(e,t+1)){case 109:if(be(e,t+4)!==45)break;case 102:return J(e,/(.+:)(.+)-([^]+)/,"$1"+Y+"$2-$3$1"+mn+(be(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Br(e,"stretch")?rs(J(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(be(e,t+1)!==115)break;case 6444:switch(be(e,Ne(e)-3-(~Br(e,"!important")&&10))){case 107:return J(e,":",":"+Y)+e;case 101:return J(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Y+(be(e,14)===45?"inline-":"")+"box$3$1"+Y+"$2$3$1"+Ee+"$2box$3")+e}break;case 5936:switch(be(e,t+11)){case 114:return Y+e+Ee+J(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Y+e+Ee+J(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Y+e+Ee+J(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Y+e+Ee+e+e}return e}var Cl=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case no:t.return=rs(t.value,t.length);break;case Zi:return ht([Pt(t,{value:J(t.value,"@","@"+Y)})],o);case to:if(t.length)return il(t.props,function(i){switch(ol(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ht([Pt(t,{props:[J(i,/:(read-\w+)/,":"+mn+"$1")]})],o);case"::placeholder":return ht([Pt(t,{props:[J(i,/:(plac\w+)/,":"+Y+"input-$1")]}),Pt(t,{props:[J(i,/:(plac\w+)/,":"+mn+"$1")]}),Pt(t,{props:[J(i,/:(plac\w+)/,Ee+"input-$1")]})],o)}return""})}},Sl=[Cl],Rl=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(f){var x=f.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(f),f.setAttribute("data-s",""))})}var o=t.stylisPlugins||Sl,i={},s,a=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(f){for(var x=f.getAttribute("data-emotion").split(" "),E=1;E=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 Nl={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Dl=/[A-Z]|^ms/g,Ll=/_EMO_([^_]+?)_([^]*?)_EMO_/g,cs=function(t){return t.charCodeAt(1)===45},Xo=function(t){return t!=null&&typeof t!="boolean"},vr=Yi(function(e){return cs(e)?e:e.replace(Dl,"-$&").toLowerCase()}),Yo=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Ll,function(r,o,i){return De={name:o,styles:i,next:De},o})}return Nl[t]!==1&&!cs(t)&&typeof n=="number"&&n!==0?n+"px":n};function Ft(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return De={name:n.name,styles:n.styles,next:De},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)De={name:r.name,styles:r.styles,next:De},r=r.next;var o=n.styles+";";return o}return zl(e,t,n)}case"function":{if(e!==void 0){var i=De,s=n(e);return De=i,Ft(e,t,s)}break}}if(t==null)return n;var a=t[n];return a!==void 0?a:n}function zl(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o96?Hl:Vl},ei=function(t,n,r){var o;if(n){var i=n.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(s){return t.__emotion_forwardProp(s)&&i(s)}:i}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},Gl=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return as(n,r,o),jl(function(){return ls(n,r,o)}),null},Kl=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,i,s;n!==void 0&&(i=n.label,s=n.target);var a=ei(t,n,r),c=a||Qo(o),l=!c("as");return function(){var d=arguments,p=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&p.push("label:"+i+";"),d[0]==null||d[0].raw===void 0)p.push.apply(p,d);else{p.push(d[0][0]);for(var g=d.length,y=1;yt(rc(o)?n:o):t;return T.jsx(Ul,{styles:r})}/** @license MUI v5.11.0 + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */function ms(e,t){return Xl(e,t)}const ic=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))};function Bt(e,t){return t?_e(e,t,{clone:!1}):e}const uo={xs:0,sm:600,md:900,lg:1200,xl:1536},ti={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${uo[e]}px)`};function Be(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||ti;return t.reduce((s,a,c)=>(s[i.up(i.keys[c])]=n(t[c]),s),{})}if(typeof t=="object"){const i=r.breakpoints||ti;return Object.keys(t).reduce((s,a)=>{if(Object.keys(i.values||uo).indexOf(a)!==-1){const c=i.up(a);s[c]=n(t[a],a)}else{const c=a;s[c]=t[c]}return s},{})}return n(t)}function hs(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function gs(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function sc(e,...t){const n=hs(e),r=[n,...t].reduce((o,i)=>_e(o,i),{});return gs(Object.keys(n),r)}function ac(e,t){if(typeof e!="object")return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((o,i)=>{i{e[o]!=null&&(n[o]=!0)}),n}function Er({values:e,breakpoints:t,base:n}){const r=n||ac(e,t),o=Object.keys(r);if(o.length===0)return e;let i;return o.reduce((s,a,c)=>(Array.isArray(e)?(s[a]=e[c]!=null?e[c]:e[i],i=c):typeof e=="object"?(s[a]=e[a]!=null?e[a]:e[i],i=a):s[a]=e,s),{})}function xt(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 hn(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=xt(e,n)||r,t&&(o=t(o,r,e)),o}function Z(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=s=>{if(s[t]==null)return null;const a=s[t],c=s.theme,l=xt(c,r)||{};return Be(s,a,p=>{let g=hn(l,o,p);return p===g&&typeof p=="string"&&(g=hn(l,o,`${t}${p==="default"?"":W(p)}`,p)),n===!1?g:{[n]:g}})};return i.propTypes={},i.filterProps=[t],i}function Gn(...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]?Bt(o,t[i](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function lc(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const cc={m:"margin",p:"padding"},uc={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},ni={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},dc=lc(e=>{if(e.length>2)if(ni[e])e=ni[e];else return[e];const[t,n]=e.split(""),r=cc[t],o=uc[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),fo=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],po=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...fo,...po];function Ht(e,t,n,r){var o;const i=(o=xt(e,t,!1))!=null?o:n;return typeof i=="number"?s=>typeof s=="string"?s:i*s:Array.isArray(i)?s=>typeof s=="string"?s:i[s]:typeof i=="function"?i:()=>{}}function mo(e){return Ht(e,"spacing",8)}function St(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 fc(e,t){return n=>e.reduce((r,o)=>(r[o]=St(t,n),r),{})}function pc(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=dc(n),i=fc(o,r),s=e[n];return Be(e,s,i)}function ys(e,t){const n=mo(e.theme);return Object.keys(e).map(r=>pc(e,t,r,n)).reduce(Bt,{})}function se(e){return ys(e,fo)}se.propTypes={};se.filterProps=fo;function ae(e){return ys(e,po)}ae.propTypes={};ae.filterProps=po;function Le(e){return typeof e!="number"?e:`${e}px solid`}const mc=Z({prop:"border",themeKey:"borders",transform:Le}),hc=Z({prop:"borderTop",themeKey:"borders",transform:Le}),gc=Z({prop:"borderRight",themeKey:"borders",transform:Le}),yc=Z({prop:"borderBottom",themeKey:"borders",transform:Le}),bc=Z({prop:"borderLeft",themeKey:"borders",transform:Le}),xc=Z({prop:"borderColor",themeKey:"palette"}),vc=Z({prop:"borderTopColor",themeKey:"palette"}),Ec=Z({prop:"borderRightColor",themeKey:"palette"}),Cc=Z({prop:"borderBottomColor",themeKey:"palette"}),Sc=Z({prop:"borderLeftColor",themeKey:"palette"}),Kn=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Ht(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:St(t,r)});return Be(e,e.borderRadius,n)}return null};Kn.propTypes={};Kn.filterProps=["borderRadius"];Gn(mc,hc,gc,yc,bc,xc,vc,Ec,Cc,Sc,Kn);const qn=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Ht(e.theme,"spacing",8),n=r=>({gap:St(t,r)});return Be(e,e.gap,n)}return null};qn.propTypes={};qn.filterProps=["gap"];const Xn=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Ht(e.theme,"spacing",8),n=r=>({columnGap:St(t,r)});return Be(e,e.columnGap,n)}return null};Xn.propTypes={};Xn.filterProps=["columnGap"];const Yn=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Ht(e.theme,"spacing",8),n=r=>({rowGap:St(t,r)});return Be(e,e.rowGap,n)}return null};Yn.propTypes={};Yn.filterProps=["rowGap"];const Rc=Z({prop:"gridColumn"}),kc=Z({prop:"gridRow"}),wc=Z({prop:"gridAutoFlow"}),$c=Z({prop:"gridAutoColumns"}),Tc=Z({prop:"gridAutoRows"}),Pc=Z({prop:"gridTemplateColumns"}),Ac=Z({prop:"gridTemplateRows"}),Oc=Z({prop:"gridTemplateAreas"}),Mc=Z({prop:"gridArea"});Gn(qn,Xn,Yn,Rc,kc,wc,$c,Tc,Pc,Ac,Oc,Mc);function gt(e,t){return t==="grey"?t:e}const Ic=Z({prop:"color",themeKey:"palette",transform:gt}),_c=Z({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:gt}),Bc=Z({prop:"backgroundColor",themeKey:"palette",transform:gt});Gn(Ic,_c,Bc);function $e(e){return e<=1&&e!==0?`${e*100}%`:e}const Nc=Z({prop:"width",transform:$e}),ho=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,o,i;return{maxWidth:((r=e.theme)==null||(o=r.breakpoints)==null||(i=o.values)==null?void 0:i[n])||uo[n]||$e(n)}};return Be(e,e.maxWidth,t)}return null};ho.filterProps=["maxWidth"];const Dc=Z({prop:"minWidth",transform:$e}),Lc=Z({prop:"height",transform:$e}),zc=Z({prop:"maxHeight",transform:$e}),Fc=Z({prop:"minHeight",transform:$e});Z({prop:"size",cssProperty:"width",transform:$e});Z({prop:"size",cssProperty:"height",transform:$e});const jc=Z({prop:"boxSizing"});Gn(Nc,ho,Dc,Lc,zc,Fc,jc);const Uc={border:{themeKey:"borders",transform:Le},borderTop:{themeKey:"borders",transform:Le},borderRight:{themeKey:"borders",transform:Le},borderBottom:{themeKey:"borders",transform:Le},borderLeft:{themeKey:"borders",transform:Le},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Kn},color:{themeKey:"palette",transform:gt},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:gt},backgroundColor:{themeKey:"palette",transform:gt},p:{style:ae},pt:{style:ae},pr:{style:ae},pb:{style:ae},pl:{style:ae},px:{style:ae},py:{style:ae},padding:{style:ae},paddingTop:{style:ae},paddingRight:{style:ae},paddingBottom:{style:ae},paddingLeft:{style:ae},paddingX:{style:ae},paddingY:{style:ae},paddingInline:{style:ae},paddingInlineStart:{style:ae},paddingInlineEnd:{style:ae},paddingBlock:{style:ae},paddingBlockStart:{style:ae},paddingBlockEnd:{style:ae},m:{style:se},mt:{style:se},mr:{style:se},mb:{style:se},ml:{style:se},mx:{style:se},my:{style:se},margin:{style:se},marginTop:{style:se},marginRight:{style:se},marginBottom:{style:se},marginLeft:{style:se},marginX:{style:se},marginY:{style:se},marginInline:{style:se},marginInlineStart:{style:se},marginInlineEnd:{style:se},marginBlock:{style:se},marginBlockStart:{style:se},marginBlockEnd:{style:se},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:qn},rowGap:{style:Yn},columnGap:{style:Xn},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:$e},maxWidth:{style:ho},minWidth:{transform:$e},height:{transform:$e},maxHeight:{transform:$e},minHeight:{transform:$e},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},Jn=Uc;function Wc(...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 Hc(e,t){return typeof e=="function"?e(t):e}function Vc(){function e(n,r,o,i){const s={[n]:r,theme:o},a=i[n];if(!a)return{[n]:r};const{cssProperty:c=n,themeKey:l,transform:d,style:p}=a;if(r==null)return null;const g=xt(o,l)||{};return p?p(s):Be(s,r,m=>{let f=hn(g,d,m);return m===f&&typeof m=="string"&&(f=hn(g,d,`${n}${m==="default"?"":W(m)}`,m)),c===!1?f:{[c]:f}})}function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const s=(r=i.unstable_sxConfig)!=null?r:Jn;function a(c){let l=c;if(typeof c=="function")l=c(i);else if(typeof c!="object")return c;if(!l)return null;const d=hs(i.breakpoints),p=Object.keys(d);let g=d;return Object.keys(l).forEach(y=>{const m=Hc(l[y],i);if(m!=null)if(typeof m=="object")if(s[y])g=Bt(g,e(y,m,i,s));else{const f=Be({theme:i},m,x=>({[y]:x}));Wc(f,m)?g[y]=t({sx:m,theme:i}):g=Bt(g,f)}else g=Bt(g,e(y,m,i,s))}),gs(p,g)}return Array.isArray(o)?o.map(a):a(o)}return t}const bs=Vc();bs.filterProps=["sx"];const Zn=bs,Gc=["sx"],Kc=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:Jn;return Object.keys(e).forEach(i=>{o[i]?r.systemProps[i]=e[i]:r.otherProps[i]=e[i]}),r};function go(e){const{sx:t}=e,n=B(e,Gc),{systemProps:r,otherProps:o}=Kc(n);let i;return Array.isArray(t)?i=[r,...t]:typeof t=="function"?i=(...s)=>{const a=t(...s);return et(a)?h({},r,a):r}:i=h({},r,t),h({},o,{sx:i})}function xs(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t{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)=>h({},n,{[r.key]:r.val}),{})};function Yc(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=B(e,qc),i=Xc(t),s=Object.keys(i);function a(g){return`@media (min-width:${typeof t[g]=="number"?t[g]:g}${n})`}function c(g){return`@media (max-width:${(typeof t[g]=="number"?t[g]:g)-r/100}${n})`}function l(g,y){const m=s.indexOf(y);return`@media (min-width:${typeof t[g]=="number"?t[g]:g}${n}) and (max-width:${(m!==-1&&typeof t[s[m]]=="number"?t[s[m]]:y)-r/100}${n})`}function d(g){return s.indexOf(g)+1(r.length===0?[1]:r).map(i=>{const s=t(i);return typeof s=="number"?`${s}px`:s}).join(" ");return n.mui=!0,n}const eu=["breakpoints","palette","spacing","shape"];function Qn(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,s=B(e,eu),a=Yc(n),c=Qc(o);let l=_e({breakpoints:a,direction:"ltr",components:{},palette:h({mode:"light"},r),spacing:c,shape:h({},Zc,i)},s);return l=t.reduce((d,p)=>_e(d,p),l),l.unstable_sxConfig=h({},Jn,s==null?void 0:s.unstable_sxConfig),l.unstable_sx=function(p){return Zn({sx:p,theme:this})},l}const tu=u.createContext(null),vs=tu;function Es(){return u.useContext(vs)}const nu=typeof Symbol=="function"&&Symbol.for,ru=nu?Symbol.for("mui.nested"):"__THEME_NESTED__";function ou(e,t){return typeof t=="function"?t(e):h({},e,t)}function iu(e){const{children:t,theme:n}=e,r=Es(),o=u.useMemo(()=>{const i=r===null?n:ou(r,n);return i!=null&&(i[ru]=r!==null),i},[n,r]);return T.jsx(vs.Provider,{value:o,children:t})}function su(e){return Object.keys(e).length===0}function au(e=null){const t=Es();return!t||su(t)?e:t}const lu=Qn();function er(e=lu){return au(e)}const cu=["className","component"];function uu(e={}){const{defaultTheme:t,defaultClassName:n="MuiBox-root",generateClassName:r}=e,o=ms("div",{shouldForwardProp:s=>s!=="theme"&&s!=="sx"&&s!=="as"})(Zn);return u.forwardRef(function(a,c){const l=er(t),d=go(a),{className:p,component:g="div"}=d,y=B(d,cu);return T.jsx(o,h({as:g,ref:c,className:z(p,r?r(n):n),theme:l},y))})}const du=["variant"];function ri(e){return e.length===0}function Cs(e){const{variant:t}=e,n=B(e,du);let r=t||"";return Object.keys(n).sort().forEach(o=>{o==="color"?r+=ri(r)?e[o]:W(e[o]):r+=`${ri(r)?o:W(o)}${W(e[o].toString())}`}),r}const fu=["name","slot","skipVariantsResolver","skipSx","overridesResolver"],pu=["theme"],mu=["theme"];function At(e){return Object.keys(e).length===0}function hu(e){return typeof e=="string"&&e.charCodeAt(0)>96}const gu=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,yu=(e,t)=>{let n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);const r={};return n.forEach(o=>{const i=Cs(o.props);r[i]=o.style}),r},bu=(e,t,n,r)=>{var o,i;const{ownerState:s={}}=e,a=[],c=n==null||(o=n.components)==null||(i=o[r])==null?void 0:i.variants;return c&&c.forEach(l=>{let d=!0;Object.keys(l.props).forEach(p=>{s[p]!==l.props[p]&&e[p]!==l.props[p]&&(d=!1)}),d&&a.push(t[Cs(l.props)])}),a};function ln(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const xu=Qn();function Ss(e={}){const{defaultTheme:t=xu,rootShouldForwardProp:n=ln,slotShouldForwardProp:r=ln}=e,o=i=>{const s=At(i.theme)?t:i.theme;return Zn(h({},i,{theme:s}))};return o.__mui_systemSx=!0,(i,s={})=>{ic(i,b=>b.filter(C=>!(C!=null&&C.__mui_systemSx)));const{name:a,slot:c,skipVariantsResolver:l,skipSx:d,overridesResolver:p}=s,g=B(s,fu),y=l!==void 0?l:c&&c!=="Root"||!1,m=d||!1;let f,x=ln;c==="Root"?x=n:c?x=r:hu(i)&&(x=void 0);const E=ms(i,h({shouldForwardProp:x,label:f},g)),k=(b,...C)=>{const w=C?C.map(P=>typeof P=="function"&&P.__emotion_real!==P?A=>{let{theme:_}=A,j=B(A,pu);return P(h({theme:At(_)?t:_},j))}:P):[];let $=b;a&&p&&w.push(P=>{const A=At(P.theme)?t:P.theme,_=gu(a,A);if(_){const j={};return Object.entries(_).forEach(([G,I])=>{j[G]=typeof I=="function"?I(h({},P,{theme:A})):I}),p(P,j)}return null}),a&&!y&&w.push(P=>{const A=At(P.theme)?t:P.theme;return bu(P,yu(a,A),A,a)}),m||w.push(o);const R=w.length-C.length;if(Array.isArray(b)&&R>0){const P=new Array(R).fill("");$=[...b,...P],$.raw=[...b.raw,...P]}else typeof b=="function"&&b.__emotion_real!==b&&($=P=>{let{theme:A}=P,_=B(P,mu);return b(h({theme:At(A)?t:A},_))});return E($,...w)};return E.withConfig&&(k.withConfig=E.withConfig),k}}const vu=Ss(),Eu=vu;function Cu(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:Qr(t.components[n].defaultProps,r)}function Rs({props:e,name:t,defaultTheme:n}){const r=er(n);return Cu({theme:r,name:t,props:e})}function yo(e,t=0,n=1){return Math.min(Math.max(t,e),n)}function Su(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=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 ot(e){if(e.type)return e;if(e.charAt(0)==="#")return ot(Su(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(yt(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(yt(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}function tr(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 Ru(e){e=ot(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),s=(l,d=(l+n/30)%12)=>o-i*Math.max(Math.min(d-3,9-d,1),-1);let a="rgb";const c=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(a+="a",c.push(t[3])),tr({type:a,values:c})}function oi(e){e=ot(e);let t=e.type==="hsl"||e.type==="hsla"?ot(Ru(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 ku(e,t){const n=oi(e),r=oi(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function xe(e,t){return e=ot(e),t=yo(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,tr(e)}function wu(e,t){if(e=ot(e),t=yo(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 tr(e)}function $u(e,t){if(e=ot(e),t=yo(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 tr(e)}const Tu={};function Pu(e){const t=er();return T.jsx(lo.Provider,{value:typeof t=="object"?t:Tu,children:e.children})}function Au(e){const{children:t,theme:n}=e;return T.jsx(iu,{theme:n,children:T.jsx(Pu,{children:t})})}const Ou=["className","component","disableGutters","fixed","maxWidth","classes"],Mu=Qn(),Iu=Eu("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${W(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),_u=e=>Rs({props:e,name:"MuiContainer",defaultTheme:Mu}),Bu=(e,t)=>{const n=c=>re(t,c),{classes:r,fixed:o,disableGutters:i,maxWidth:s}=e,a={root:["root",s&&`maxWidth${W(String(s))}`,o&&"fixed",i&&"disableGutters"]};return ie(a,n,r)};function Nu(e={}){const{createStyledComponent:t=Iu,useThemeProps:n=_u,componentName:r="MuiContainer"}=e,o=t(({theme:s,ownerState:a})=>h({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!a.disableGutters&&{paddingLeft:s.spacing(2),paddingRight:s.spacing(2),[s.breakpoints.up("sm")]:{paddingLeft:s.spacing(3),paddingRight:s.spacing(3)}}),({theme:s,ownerState:a})=>a.fixed&&Object.keys(s.breakpoints.values).reduce((c,l)=>{const d=l,p=s.breakpoints.values[d];return p!==0&&(c[s.breakpoints.up(d)]={maxWidth:`${p}${s.breakpoints.unit}`}),c},{}),({theme:s,ownerState:a})=>h({},a.maxWidth==="xs"&&{[s.breakpoints.up("xs")]:{maxWidth:Math.max(s.breakpoints.values.xs,444)}},a.maxWidth&&a.maxWidth!=="xs"&&{[s.breakpoints.up(a.maxWidth)]:{maxWidth:`${s.breakpoints.values[a.maxWidth]}${s.breakpoints.unit}`}}));return u.forwardRef(function(a,c){const l=n(a),{className:d,component:p="div",disableGutters:g=!1,fixed:y=!1,maxWidth:m="lg"}=l,f=B(l,Ou),x=h({},l,{component:p,disableGutters:g,fixed:y,maxWidth:m}),E=Bu(x,r);return T.jsx(o,h({as:p,ownerState:x,className:z(E.root,d),ref:c},f))})}function Du(e,t){return h({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const Lu=["mode","contrastThreshold","tonalOffset"],ii={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:Dt.white,default:Dt.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}},Cr={text:{primary:Dt.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:Dt.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 si(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=$u(e.main,o):t==="dark"&&(e.dark=wu(e.main,i)))}function zu(e="light"){return e==="dark"?{main:lt[200],light:lt[50],dark:lt[400]}:{main:lt[700],light:lt[400],dark:lt[800]}}function Fu(e="light"){return e==="dark"?{main:at[200],light:at[50],dark:at[400]}:{main:at[500],light:at[300],dark:at[700]}}function ju(e="light"){return e==="dark"?{main:st[500],light:st[300],dark:st[700]}:{main:st[700],light:st[400],dark:st[800]}}function Uu(e="light"){return e==="dark"?{main:ct[400],light:ct[300],dark:ct[700]}:{main:ct[700],light:ct[500],dark:ct[900]}}function Wu(e="light"){return e==="dark"?{main:ut[400],light:ut[300],dark:ut[700]}:{main:ut[800],light:ut[500],dark:ut[900]}}function Hu(e="light"){return e==="dark"?{main:Tt[400],light:Tt[300],dark:Tt[700]}:{main:"#ed6c02",light:Tt[500],dark:Tt[900]}}function Vu(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=B(e,Lu),i=e.primary||zu(t),s=e.secondary||Fu(t),a=e.error||ju(t),c=e.info||Uu(t),l=e.success||Wu(t),d=e.warning||Hu(t);function p(f){return ku(f,Cr.text.primary)>=n?Cr.text.primary:ii.text.primary}const g=({color:f,name:x,mainShade:E=500,lightShade:k=300,darkShade:b=700})=>{if(f=h({},f),!f.main&&f[E]&&(f.main=f[E]),!f.hasOwnProperty("main"))throw new Error(yt(11,x?` (${x})`:"",E));if(typeof f.main!="string")throw new Error(yt(12,x?` (${x})`:"",JSON.stringify(f.main)));return si(f,"light",k,r),si(f,"dark",b,r),f.contrastText||(f.contrastText=p(f.main)),f},y={dark:Cr,light:ii};return _e(h({common:h({},Dt),mode:t,primary:g({color:i,name:"primary"}),secondary:g({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:g({color:a,name:"error"}),warning:g({color:d,name:"warning"}),info:g({color:c,name:"info"}),success:g({color:l,name:"success"}),grey:Aa,contrastThreshold:n,getContrastText:p,augmentColor:g,tonalOffset:r},y[t]),o)}const Gu=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Ku(e){return Math.round(e*1e5)/1e5}const ai={textTransform:"uppercase"},li='"Roboto", "Helvetica", "Arial", sans-serif';function qu(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=li,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:s=400,fontWeightMedium:a=500,fontWeightBold:c=700,htmlFontSize:l=16,allVariants:d,pxToRem:p}=n,g=B(n,Gu),y=o/14,m=p||(E=>`${E/l*y}rem`),f=(E,k,b,C,w)=>h({fontFamily:r,fontWeight:E,fontSize:m(k),lineHeight:b},r===li?{letterSpacing:`${Ku(C/k)}em`}:{},w,d),x={h1:f(i,96,1.167,-1.5),h2:f(i,60,1.2,-.5),h3:f(s,48,1.167,0),h4:f(s,34,1.235,.25),h5:f(s,24,1.334,0),h6:f(a,20,1.6,.15),subtitle1:f(s,16,1.75,.15),subtitle2:f(a,14,1.57,.1),body1:f(s,16,1.5,.15),body2:f(s,14,1.43,.15),button:f(a,14,1.75,.4,ai),caption:f(s,12,1.66,.4),overline:f(s,12,2.66,1,ai)};return _e(h({htmlFontSize:l,pxToRem:m,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:s,fontWeightMedium:a,fontWeightBold:c},x),g,{clone:!1})}const Xu=.2,Yu=.14,Ju=.12;function oe(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Xu})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Yu})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Ju})`].join(",")}const Zu=["none",oe(0,2,1,-1,0,1,1,0,0,1,3,0),oe(0,3,1,-2,0,2,2,0,0,1,5,0),oe(0,3,3,-2,0,3,4,0,0,1,8,0),oe(0,2,4,-1,0,4,5,0,0,1,10,0),oe(0,3,5,-1,0,5,8,0,0,1,14,0),oe(0,3,5,-1,0,6,10,0,0,1,18,0),oe(0,4,5,-2,0,7,10,1,0,2,16,1),oe(0,5,5,-3,0,8,10,1,0,3,14,2),oe(0,5,6,-3,0,9,12,1,0,3,16,2),oe(0,6,6,-3,0,10,14,1,0,4,18,3),oe(0,6,7,-4,0,11,15,1,0,4,20,3),oe(0,7,8,-4,0,12,17,2,0,5,22,4),oe(0,7,8,-4,0,13,19,2,0,5,24,4),oe(0,7,9,-4,0,14,21,2,0,5,26,4),oe(0,8,9,-5,0,15,22,2,0,6,28,5),oe(0,8,10,-5,0,16,24,2,0,6,30,5),oe(0,8,11,-5,0,17,26,2,0,6,32,5),oe(0,9,11,-5,0,18,28,2,0,7,34,6),oe(0,9,12,-6,0,19,29,2,0,7,36,6),oe(0,10,13,-6,0,20,31,3,0,8,38,7),oe(0,10,13,-6,0,21,33,3,0,8,40,7),oe(0,10,14,-6,0,22,35,3,0,8,42,7),oe(0,11,14,-7,0,23,36,3,0,9,44,8),oe(0,11,15,-7,0,24,38,3,0,9,46,8)],Qu=Zu,ed=["duration","easing","delay"],td={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)"},ks={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function ci(e){return`${Math.round(e)}ms`}function nd(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function rd(e){const t=h({},td,e.easing),n=h({},ks,e.duration);return h({getAutoHeightDuration:nd,create:(o=["all"],i={})=>{const{duration:s=n.standard,easing:a=t.easeInOut,delay:c=0}=i;return B(i,ed),(Array.isArray(o)?o:[o]).map(l=>`${l} ${typeof s=="string"?s:ci(s)} ${a} ${typeof c=="string"?c:ci(c)}`).join(",")}},e,{easing:t,duration:n})}const od={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},id=od,sd=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function gn(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,s=B(e,sd);if(e.vars)throw new Error(yt(18));const a=Vu(r),c=Qn(e);let l=_e(c,{mixins:Du(c.breakpoints,n),palette:a,shadows:Qu.slice(),typography:qu(a,i),transitions:rd(o),zIndex:h({},id)});return l=_e(l,s),l=t.reduce((d,p)=>_e(d,p),l),l.unstable_sxConfig=h({},Jn,s==null?void 0:s.unstable_sxConfig),l.unstable_sx=function(p){return Zn({sx:p,theme:this})},l}const ad=gn(),nr=ad;function Rt(){return er(nr)}function ne({props:e,name:t}){return Rs({props:e,name:t,defaultTheme:nr})}const Vt=e=>ln(e)&&e!=="classes",ld=Ss({defaultTheme:nr,rootShouldForwardProp:Vt}),H=ld,cd=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)},ui=cd;function yn(e){return typeof e=="string"}function ud(e,t,n){return e===void 0||yn(e)?t:h({},t,{ownerState:h({},t.ownerState,n)})}function dd(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 zr(e,t){return typeof e=="function"?e(t):e}function di(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 fd(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const y=z(o==null?void 0:o.className,r==null?void 0:r.className,i,n==null?void 0:n.className),m=h({},n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),f=h({},n,o,r);return y.length>0&&(f.className=y),Object.keys(m).length>0&&(f.style=m),{props:f,internalRef:void 0}}const s=dd(h({},o,r)),a=di(r),c=di(o),l=t(s),d=z(l==null?void 0:l.className,n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),p=h({},l==null?void 0:l.style,n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),g=h({},l,n,c,a);return d.length>0&&(g.className=d),Object.keys(p).length>0&&(g.style=p),{props:g,internalRef:l.ref}}const pd=["elementType","externalSlotProps","ownerState"];function fi(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o}=e,i=B(e,pd),s=zr(r,o),{props:a,internalRef:c}=fd(h({},i,{externalSlotProps:s})),l=Se(c,s==null?void 0:s.ref,(t=e.additionalProps)==null?void 0:t.ref);return ud(n,h({},a,{ref:l}),o)}const md=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function hd(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function gd(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function yd(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||gd(e))}function bd(e){const t=[],n=[];return Array.from(e.querySelectorAll(md)).forEach((r,o)=>{const i=hd(r);i===-1||!yd(r)||(i===0?t.push(r):n.push({documentOrder:o,tabIndex:i,node:r}))}),n.sort((r,o)=>r.tabIndex===o.tabIndex?r.documentOrder-o.documentOrder:r.tabIndex-o.tabIndex).map(r=>r.node).concat(t)}function xd(){return!0}function vd(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=bd,isEnabled:s=xd,open:a}=e,c=u.useRef(!1),l=u.useRef(null),d=u.useRef(null),p=u.useRef(null),g=u.useRef(null),y=u.useRef(!1),m=u.useRef(null),f=Se(t.ref,m),x=u.useRef(null);u.useEffect(()=>{!a||!m.current||(y.current=!n)},[n,a]),u.useEffect(()=>{if(!a||!m.current)return;const b=Te(m.current);return m.current.contains(b.activeElement)||(m.current.hasAttribute("tabIndex")||m.current.setAttribute("tabIndex","-1"),y.current&&m.current.focus()),()=>{o||(p.current&&p.current.focus&&(c.current=!0,p.current.focus()),p.current=null)}},[a]),u.useEffect(()=>{if(!a||!m.current)return;const b=Te(m.current),C=R=>{const{current:F}=m;if(F!==null){if(!b.hasFocus()||r||!s()||c.current){c.current=!1;return}if(!F.contains(b.activeElement)){if(R&&g.current!==R.target||b.activeElement!==g.current)g.current=null;else if(g.current!==null)return;if(!y.current)return;let _=[];if((b.activeElement===l.current||b.activeElement===d.current)&&(_=i(m.current)),_.length>0){var P,A;const j=Boolean(((P=x.current)==null?void 0:P.shiftKey)&&((A=x.current)==null?void 0:A.key)==="Tab"),G=_[0],I=_[_.length-1];typeof G!="string"&&typeof I!="string"&&(j?I.focus():G.focus())}else F.focus()}}},w=R=>{x.current=R,!(r||!s()||R.key!=="Tab")&&b.activeElement===m.current&&R.shiftKey&&(c.current=!0,d.current&&d.current.focus())};b.addEventListener("focusin",C),b.addEventListener("keydown",w,!0);const $=setInterval(()=>{b.activeElement&&b.activeElement.tagName==="BODY"&&C(null)},50);return()=>{clearInterval($),b.removeEventListener("focusin",C),b.removeEventListener("keydown",w,!0)}},[n,r,o,s,a,i]);const E=b=>{p.current===null&&(p.current=b.relatedTarget),y.current=!0,g.current=b.target;const C=t.props.onFocus;C&&C(b)},k=b=>{p.current===null&&(p.current=b.relatedTarget),y.current=!0};return T.jsxs(u.Fragment,{children:[T.jsx("div",{tabIndex:a?0:-1,onFocus:k,ref:l,"data-testid":"sentinelStart"}),u.cloneElement(t,{ref:f,onFocus:E}),T.jsx("div",{tabIndex:a?0:-1,onFocus:k,ref:d,"data-testid":"sentinelEnd"})]})}function Ed(e){return typeof e=="function"?e():e}const Cd=u.forwardRef(function(t,n){const{children:r,container:o,disablePortal:i=!1}=t,[s,a]=u.useState(null),c=Se(u.isValidElement(r)?r.ref:null,n);return rt(()=>{i||a(Ed(o)||document.body)},[o,i]),rt(()=>{if(s&&!i)return pn(n,s),()=>{pn(n,null)}},[n,s,i]),i?u.isValidElement(r)?u.cloneElement(r,{ref:c}):r:T.jsx(u.Fragment,{children:s&&Wi.createPortal(r,s)})}),Sd=Cd;function Rd(e){const t=Te(e);return t.body===e?Xe(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function Nt(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function pi(e){return parseInt(Xe(e).getComputedStyle(e).paddingRight,10)||0}function kd(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function mi(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,s=>{const a=i.indexOf(s)===-1,c=!kd(s);a&&c&&Nt(s,o)})}function Sr(e,t){let n=-1;return e.some((r,o)=>t(r)?(n=o,!0):!1),n}function wd(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(Rd(r)){const s=Xi(Te(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${pi(r)+s}px`;const a=Te(r).querySelectorAll(".mui-fixed");[].forEach.call(a,c=>{n.push({value:c.style.paddingRight,property:"padding-right",el:c}),c.style.paddingRight=`${pi(c)+s}px`})}let i;if(r.parentNode instanceof DocumentFragment)i=Te(r).body;else{const s=r.parentElement,a=Xe(r);i=(s==null?void 0:s.nodeName)==="HTML"&&a.getComputedStyle(s).overflowY==="scroll"?s:r}n.push({value:i.style.overflow,property:"overflow",el:i},{value:i.style.overflowX,property:"overflow-x",el:i},{value:i.style.overflowY,property:"overflow-y",el:i}),i.style.overflow="hidden"}return()=>{n.forEach(({value:i,el:s,property:a})=>{i?s.style.setProperty(a,i):s.style.removeProperty(a)})}}function $d(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class Td{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,n){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&Nt(t.modalRef,!1);const o=$d(n);mi(n,t.mount,t.modalRef,o,!0);const i=Sr(this.containers,s=>s.container===n);return i!==-1?(this.containers[i].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:o}),r)}mount(t,n){const r=Sr(this.containers,i=>i.modals.indexOf(t)!==-1),o=this.containers[r];o.restore||(o.restore=wd(o,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const o=Sr(this.containers,s=>s.modals.indexOf(t)!==-1),i=this.containers[o];if(i.modals.splice(i.modals.indexOf(t),1),this.modals.splice(r,1),i.modals.length===0)i.restore&&i.restore(),t.modalRef&&Nt(t.modalRef,n),mi(i.container,t.mount,t.modalRef,i.hiddenSiblings,!1),this.containers.splice(o,1);else{const s=i.modals[i.modals.length-1];s.modalRef&&Nt(s.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}function Pd(e){return re("MuiModal",e)}te("MuiModal",["root","hidden"]);const Ad=["children","classes","closeAfterTransition","component","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited","slotProps","slots"],Od=e=>{const{open:t,exited:n,classes:r}=e;return ie({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},Pd,r)};function Md(e){return typeof e=="function"?e():e}function Id(e){return e?e.props.hasOwnProperty("in"):!1}const _d=new Td,Bd=u.forwardRef(function(t,n){var r,o;const{children:i,classes:s,closeAfterTransition:a=!1,component:c,container:l,disableAutoFocus:d=!1,disableEnforceFocus:p=!1,disableEscapeKeyDown:g=!1,disablePortal:y=!1,disableRestoreFocus:m=!1,disableScrollLock:f=!1,hideBackdrop:x=!1,keepMounted:E=!1,manager:k=_d,onBackdropClick:b,onClose:C,onKeyDown:w,open:$,onTransitionEnter:R,onTransitionExited:F,slotProps:P={},slots:A={}}=t,_=B(t,Ad),[j,G]=u.useState(!$),I=u.useRef({}),M=u.useRef(null),D=u.useRef(null),q=Se(D,n),O=Id(i),U=(r=t["aria-hidden"])!=null?r:!0,N=()=>Te(M.current),K=()=>(I.current.modalRef=D.current,I.current.mountNode=M.current,I.current),ce=()=>{k.mount(K(),{disableScrollLock:f}),D.current&&(D.current.scrollTop=0)},je=tt(()=>{const ve=Md(l)||N().body;k.add(K(),ve),D.current&&ce()}),ue=u.useCallback(()=>k.isTopModal(K()),[k]),Re=tt(ve=>{M.current=ve,!(!ve||!D.current)&&($&&ue()?ce():Nt(D.current,U))}),L=u.useCallback(()=>{k.remove(K(),U)},[k,U]);u.useEffect(()=>()=>{L()},[L]),u.useEffect(()=>{$?je():(!O||!a)&&L()},[$,L,O,a,je]);const le=h({},t,{classes:s,closeAfterTransition:a,disableAutoFocus:d,disableEnforceFocus:p,disableEscapeKeyDown:g,disablePortal:y,disableRestoreFocus:m,disableScrollLock:f,exited:j,hideBackdrop:x,keepMounted:E}),ye=Od(le),de=()=>{G(!1),R&&R()},Ie=()=>{G(!0),F&&F(),a&&L()},he=ve=>{ve.target===ve.currentTarget&&(b&&b(ve),C&&C(ve,"backdropClick"))},pr=ve=>{w&&w(ve),!(ve.key!=="Escape"||!ue())&&(g||(ve.stopPropagation(),C&&C(ve,"escapeKeyDown")))},it={};i.props.tabIndex===void 0&&(it.tabIndex="-1"),O&&(it.onEnter=Ir(de,i.props.onEnter),it.onExited=Ir(Ie,i.props.onExited));const Yt=(o=c??A.root)!=null?o:"div",mr=fi({elementType:Yt,externalSlotProps:P.root,externalForwardedProps:_,additionalProps:{ref:q,role:"presentation",onKeyDown:pr},className:ye.root,ownerState:le}),wt=A.backdrop,hr=fi({elementType:wt,externalSlotProps:P.backdrop,additionalProps:{"aria-hidden":!0,onClick:he,open:$},className:ye.backdrop,ownerState:le});return!E&&!$&&(!O||j)?null:T.jsx(Sd,{ref:Re,container:l,disablePortal:y,children:T.jsxs(Yt,h({},mr,{children:[!x&&wt?T.jsx(wt,h({},hr)):null,T.jsx(vd,{disableEnforceFocus:p,disableAutoFocus:d,disableRestoreFocus:m,isEnabled:ue,open:$,children:u.cloneElement(i,it)})]}))})}),Nd=Bd;function Dd(e){return re("MuiSvgIcon",e)}te("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Ld=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],zd=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${W(t)}`,`fontSize${W(n)}`]};return ie(o,Dd,r)},Fd=H("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${W(n.color)}`],t[`fontSize${W(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,o,i,s,a,c,l,d,p,g,y,m,f,x,E,k;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,transition:(n=e.transitions)==null||(r=n.create)==null?void 0:r.call(n,"fill",{duration:(o=e.transitions)==null||(i=o.duration)==null?void 0:i.shorter}),fontSize:{inherit:"inherit",small:((s=e.typography)==null||(a=s.pxToRem)==null?void 0:a.call(s,20))||"1.25rem",medium:((c=e.typography)==null||(l=c.pxToRem)==null?void 0:l.call(c,24))||"1.5rem",large:((d=e.typography)==null||(p=d.pxToRem)==null?void 0:p.call(d,35))||"2.1875rem"}[t.fontSize],color:(g=(y=(e.vars||e).palette)==null||(m=y[t.color])==null?void 0:m.main)!=null?g:{action:(f=(e.vars||e).palette)==null||(x=f.action)==null?void 0:x.active,disabled:(E=(e.vars||e).palette)==null||(k=E.action)==null?void 0:k.disabled,inherit:void 0}[t.color]}}),ws=u.forwardRef(function(t,n){const r=ne({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:s="inherit",component:a="svg",fontSize:c="medium",htmlColor:l,inheritViewBox:d=!1,titleAccess:p,viewBox:g="0 0 24 24"}=r,y=B(r,Ld),m=h({},r,{color:s,component:a,fontSize:c,instanceFontSize:t.fontSize,inheritViewBox:d,viewBox:g}),f={};d||(f.viewBox=g);const x=zd(m);return T.jsxs(Fd,h({as:a,className:z(x.root,i),focusable:"false",color:l,"aria-hidden":p?void 0:!0,role:p?"img":void 0,ref:n},f,y,{ownerState:m,children:[o,p?T.jsx("title",{children:p}):null]}))});ws.muiName="SvgIcon";const Fr=ws;function $s(e,t){function n(r,o){return T.jsx(Fr,h({"data-testid":`${t}Icon`,ref:o},r,{children:e}))}return n.muiName=Fr.muiName,u.memo(u.forwardRef(n))}const jd={configure:e=>{eo.configure(e)}},Ud=Object.freeze(Object.defineProperty({__proto__:null,unstable_ClassNameGenerator:jd,capitalize:W,createChainedFunction:Ir,createSvgIcon:$s,debounce:Jr,deprecatedPropType:_a,isMuiElement:Ki,ownerDocument:Te,ownerWindow:Xe,requirePropFactory:Ba,setRef:pn,unstable_useEnhancedEffect:rt,unstable_useId:La,unsupportedProp:za,useControlled:qi,useEventCallback:tt,useForkRef:Se,useIsFocusVisible:Zr},Symbol.toStringTag,{value:"Module"}));function jr(e,t){return jr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},jr(e,t)}function Ts(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,jr(e,t)}const hi={disabled:!1},bn=S.createContext(null);var Wd=function(t){return t.scrollTop},_t="unmounted",Ze="exited",Qe="entering",ft="entered",Ur="exiting",He=function(e){Ts(t,e);function t(r,o){var i;i=e.call(this,r,o)||this;var s=o,a=s&&!s.isMounting?r.enter:r.appear,c;return i.appearStatus=null,r.in?a?(c=Ze,i.appearStatus=Qe):c=ft:r.unmountOnExit||r.mountOnEnter?c=_t:c=Ze,i.state={status:c},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var s=o.in;return s&&i.status===_t?{status:Ze}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(o){var i=null;if(o!==this.props){var s=this.state.status;this.props.in?s!==Qe&&s!==ft&&(i=Qe):(s===Qe||s===ft)&&(i=Ur)}this.updateStatus(!1,i)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var o=this.props.timeout,i,s,a;return i=s=a=o,o!=null&&typeof o!="number"&&(i=o.exit,s=o.enter,a=o.appear!==void 0?o.appear:s),{exit:i,enter:s,appear:a}},n.updateStatus=function(o,i){if(o===void 0&&(o=!1),i!==null)if(this.cancelNextCallback(),i===Qe){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:Zt.findDOMNode(this);s&&Wd(s)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Ze&&this.setState({status:_t})},n.performEnter=function(o){var i=this,s=this.props.enter,a=this.context?this.context.isMounting:o,c=this.props.nodeRef?[a]:[Zt.findDOMNode(this),a],l=c[0],d=c[1],p=this.getTimeouts(),g=a?p.appear:p.enter;if(!o&&!s||hi.disabled){this.safeSetState({status:ft},function(){i.props.onEntered(l)});return}this.props.onEnter(l,d),this.safeSetState({status:Qe},function(){i.props.onEntering(l,d),i.onTransitionEnd(g,function(){i.safeSetState({status:ft},function(){i.props.onEntered(l,d)})})})},n.performExit=function(){var o=this,i=this.props.exit,s=this.getTimeouts(),a=this.props.nodeRef?void 0:Zt.findDOMNode(this);if(!i||hi.disabled){this.safeSetState({status:Ze},function(){o.props.onExited(a)});return}this.props.onExit(a),this.safeSetState({status:Ur},function(){o.props.onExiting(a),o.onTransitionEnd(s.exit,function(){o.safeSetState({status:Ze},function(){o.props.onExited(a)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(o,i){i=this.setNextCallback(i),this.setState(o,i)},n.setNextCallback=function(o){var i=this,s=!0;return this.nextCallback=function(a){s&&(s=!1,i.nextCallback=null,o(a))},this.nextCallback.cancel=function(){s=!1},this.nextCallback},n.onTransitionEnd=function(o,i){this.setNextCallback(i);var s=this.props.nodeRef?this.props.nodeRef.current:Zt.findDOMNode(this),a=o==null&&!this.props.addEndListener;if(!s||a){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var c=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],l=c[0],d=c[1];this.props.addEndListener(l,d)}o!=null&&setTimeout(this.nextCallback,o)},n.render=function(){var o=this.state.status;if(o===_t)return null;var i=this.props,s=i.children;i.in,i.mountOnEnter,i.unmountOnExit,i.appear,i.enter,i.exit,i.timeout,i.addEndListener,i.onEnter,i.onEntering,i.onEntered,i.onExit,i.onExiting,i.onExited,i.nodeRef;var a=B(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return S.createElement(bn.Provider,{value:null},typeof s=="function"?s(o,a):S.cloneElement(S.Children.only(s),a))},t}(S.Component);He.contextType=bn;He.propTypes={};function dt(){}He.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:dt,onEntering:dt,onEntered:dt,onExit:dt,onExiting:dt,onExited:dt};He.UNMOUNTED=_t;He.EXITED=Ze;He.ENTERING=Qe;He.ENTERED=ft;He.EXITING=Ur;const rr=He;function Hd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bo(e,t){var n=function(i){return t&&u.isValidElement(i)?t(i):i},r=Object.create(null);return e&&u.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function Vd(e,t){e=e||{},t=t||{};function n(d){return d in t?t[d]:e[d]}var r=Object.create(null),o=[];for(var i in e)i in t?o.length&&(r[i]=o,o=[]):o.push(i);var s,a={};for(var c in t){if(r[c])for(s=0;se.scrollTop;function Ye(e,t){var n,r;const{timeout:o,easing:i,style:s={}}=e;return{duration:(n=s.transitionDuration)!=null?n:typeof o=="number"?o:o[t.mode]||0,easing:(r=s.transitionTimingFunction)!=null?r:typeof i=="object"?i[t.mode]:i,delay:s.transitionDelay}}function Jd(e){return re("MuiCollapse",e)}te("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const Zd=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],Qd=e=>{const{orientation:t,classes:n}=e,r={root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]};return ie(r,Jd,n)},ef=H("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.state==="entered"&&t.entered,n.state==="exited"&&!n.in&&n.collapsedSize==="0px"&&t.hidden]}})(({theme:e,ownerState:t})=>h({height:0,overflow:"hidden",transition:e.transitions.create("height")},t.orientation==="horizontal"&&{height:"auto",width:0,transition:e.transitions.create("width")},t.state==="entered"&&h({height:"auto",overflow:"visible"},t.orientation==="horizontal"&&{width:"auto"}),t.state==="exited"&&!t.in&&t.collapsedSize==="0px"&&{visibility:"hidden"})),tf=H("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})(({ownerState:e})=>h({display:"flex",width:"100%"},e.orientation==="horizontal"&&{width:"auto",height:"100%"})),nf=H("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})(({ownerState:e})=>h({width:"100%"},e.orientation==="horizontal"&&{width:"auto",height:"100%"})),Ps=u.forwardRef(function(t,n){const r=ne({props:t,name:"MuiCollapse"}),{addEndListener:o,children:i,className:s,collapsedSize:a="0px",component:c,easing:l,in:d,onEnter:p,onEntered:g,onEntering:y,onExit:m,onExited:f,onExiting:x,orientation:E="vertical",style:k,timeout:b=ks.standard,TransitionComponent:C=rr}=r,w=B(r,Zd),$=h({},r,{orientation:E,collapsedSize:a}),R=Qd($),F=Rt(),P=u.useRef(),A=u.useRef(null),_=u.useRef(),j=typeof a=="number"?`${a}px`:a,G=E==="horizontal",I=G?"width":"height";u.useEffect(()=>()=>{clearTimeout(P.current)},[]);const M=u.useRef(null),D=Se(n,M),q=L=>le=>{if(L){const ye=M.current;le===void 0?L(ye):L(ye,le)}},O=()=>A.current?A.current[G?"clientWidth":"clientHeight"]:0,U=q((L,le)=>{A.current&&G&&(A.current.style.position="absolute"),L.style[I]=j,p&&p(L,le)}),N=q((L,le)=>{const ye=O();A.current&&G&&(A.current.style.position="");const{duration:de,easing:Ie}=Ye({style:k,timeout:b,easing:l},{mode:"enter"});if(b==="auto"){const he=F.transitions.getAutoHeightDuration(ye);L.style.transitionDuration=`${he}ms`,_.current=he}else L.style.transitionDuration=typeof de=="string"?de:`${de}ms`;L.style[I]=`${ye}px`,L.style.transitionTimingFunction=Ie,y&&y(L,le)}),K=q((L,le)=>{L.style[I]="auto",g&&g(L,le)}),ce=q(L=>{L.style[I]=`${O()}px`,m&&m(L)}),je=q(f),ue=q(L=>{const le=O(),{duration:ye,easing:de}=Ye({style:k,timeout:b,easing:l},{mode:"exit"});if(b==="auto"){const Ie=F.transitions.getAutoHeightDuration(le);L.style.transitionDuration=`${Ie}ms`,_.current=Ie}else L.style.transitionDuration=typeof ye=="string"?ye:`${ye}ms`;L.style[I]=j,L.style.transitionTimingFunction=de,x&&x(L)}),Re=L=>{b==="auto"&&(P.current=setTimeout(L,_.current||0)),o&&o(M.current,L)};return T.jsx(C,h({in:d,onEnter:U,onEntered:K,onEntering:N,onExit:ce,onExited:je,onExiting:ue,addEndListener:Re,nodeRef:M,timeout:b==="auto"?null:b},w,{children:(L,le)=>T.jsx(ef,h({as:c,className:z(R.root,s,{entered:R.entered,exited:!d&&j==="0px"&&R.hidden}[L]),style:h({[G?"minWidth":"minHeight"]:j},k),ownerState:h({},$,{state:L}),ref:D},le,{children:T.jsx(tf,{ownerState:h({},$,{state:L}),className:R.wrapper,ref:A,children:T.jsx(nf,{ownerState:h({},$,{state:L}),className:R.wrapperInner,children:i})})}))}))});Ps.muiSupportAuto=!0;const rf=Ps;function of(e){return re("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 sf=["className","component","elevation","square","variant"],af=e=>{const{square:t,elevation:n,variant:r,classes:o}=e,i={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return ie(i,of,o)},lf=H("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(({theme:e,ownerState:t})=>{var n;return h({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"&&h({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${xe("#fff",ui(t.elevation))}, ${xe("#fff",ui(t.elevation))})`},e.vars&&{backgroundImage:(n=e.vars.overlays)==null?void 0:n[t.elevation]}))}),cf=u.forwardRef(function(t,n){const r=ne({props:t,name:"MuiPaper"}),{className:o,component:i="div",elevation:s=1,square:a=!1,variant:c="elevation"}=r,l=B(r,sf),d=h({},r,{component:i,elevation:s,square:a,variant:c}),p=af(d);return T.jsx(lf,h({as:i,ownerState:d,className:z(p.root,o),ref:n},l))}),Gt=cf,uf=u.createContext({}),As=uf;function df(e){return re("MuiAccordion",e)}const ff=te("MuiAccordion",["root","rounded","expanded","disabled","gutters","region"]),en=ff,pf=["children","className","defaultExpanded","disabled","disableGutters","expanded","onChange","square","TransitionComponent","TransitionProps"],mf=e=>{const{classes:t,square:n,expanded:r,disabled:o,disableGutters:i}=e;return ie({root:["root",!n&&"rounded",r&&"expanded",o&&"disabled",!i&&"gutters"],region:["region"]},df,t)},hf=H(Gt,{name:"MuiAccordion",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${en.region}`]:t.region},t.root,!n.square&&t.rounded,!n.disableGutters&&t.gutters]}})(({theme:e})=>{const t={duration:e.transitions.duration.shortest};return{position:"relative",transition:e.transitions.create(["margin"],t),overflowAnchor:"none","&:before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:(e.vars||e).palette.divider,transition:e.transitions.create(["opacity","background-color"],t)},"&:first-of-type":{"&:before":{display:"none"}},[`&.${en.expanded}`]:{"&:before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&:before":{display:"none"}}},[`&.${en.disabled}`]:{backgroundColor:(e.vars||e).palette.action.disabledBackground}}},({theme:e,ownerState:t})=>h({},!t.square&&{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:(e.vars||e).shape.borderRadius,borderBottomRightRadius:(e.vars||e).shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}},!t.disableGutters&&{[`&.${en.expanded}`]:{margin:"16px 0"}})),gf=u.forwardRef(function(t,n){const r=ne({props:t,name:"MuiAccordion"}),{children:o,className:i,defaultExpanded:s=!1,disabled:a=!1,disableGutters:c=!1,expanded:l,onChange:d,square:p=!1,TransitionComponent:g=rf,TransitionProps:y}=r,m=B(r,pf),[f,x]=qi({controlled:l,default:s,name:"Accordion",state:"expanded"}),E=u.useCallback(R=>{x(!f),d&&d(R,!f)},[f,d,x]),[k,...b]=u.Children.toArray(o),C=u.useMemo(()=>({expanded:f,disabled:a,disableGutters:c,toggle:E}),[f,a,c,E]),w=h({},r,{square:p,disabled:a,disableGutters:c,expanded:f}),$=mf(w);return T.jsxs(hf,h({className:z($.root,i),ref:n,ownerState:w,square:p},m,{children:[T.jsx(As.Provider,{value:C,children:k}),T.jsx(g,h({in:f,timeout:"auto"},y,{children:T.jsx("div",{"aria-labelledby":k.props.id,id:k.props["aria-controls"],role:"region",className:$.region,children:b})}))]}))}),yf=gf;function bf(e){return re("MuiAccordionDetails",e)}te("MuiAccordionDetails",["root"]);const xf=["className"],vf=e=>{const{classes:t}=e;return ie({root:["root"]},bf,t)},Ef=H("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({padding:e.spacing(1,2,2)})),Cf=u.forwardRef(function(t,n){const r=ne({props:t,name:"MuiAccordionDetails"}),{className:o}=r,i=B(r,xf),s=r,a=vf(s);return T.jsx(Ef,h({className:z(a.root,o),ref:n,ownerState:s},i))}),Sf=Cf;function Rf(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:i,rippleSize:s,in:a,onExited:c,timeout:l}=e,[d,p]=u.useState(!1),g=z(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),y={width:s,height:s,top:-(s/2)+i,left:-(s/2)+o},m=z(n.child,d&&n.childLeaving,r&&n.childPulsate);return!a&&!d&&p(!0),u.useEffect(()=>{if(!a&&c!=null){const f=setTimeout(c,l);return()=>{clearTimeout(f)}}},[c,a,l]),T.jsx("span",{className:g,style:y,children:T.jsx("span",{className:m})})}const kf=te("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Oe=kf,wf=["center","classes","className"];let or=e=>e,gi,yi,bi,xi;const Wr=550,$f=80,Tf=co(gi||(gi=or` + 0% { + transform: scale(0); + opacity: 0.1; + } + + 100% { + transform: scale(1); + opacity: 0.3; + } +`)),Pf=co(yi||(yi=or` + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + } +`)),Af=co(bi||(bi=or` + 0% { + transform: scale(1); + } + + 50% { + transform: scale(0.92); + } + + 100% { + transform: scale(1); + } +`)),Of=H("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Mf=H(Rf,{name:"MuiTouchRipple",slot:"Ripple"})(xi||(xi=or` + 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; + } +`),Oe.rippleVisible,Tf,Wr,({theme:e})=>e.transitions.easing.easeInOut,Oe.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,Oe.child,Oe.childLeaving,Pf,Wr,({theme:e})=>e.transitions.easing.easeInOut,Oe.childPulsate,Af,({theme:e})=>e.transitions.easing.easeInOut),If=u.forwardRef(function(t,n){const r=ne({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:s}=r,a=B(r,wf),[c,l]=u.useState([]),d=u.useRef(0),p=u.useRef(null);u.useEffect(()=>{p.current&&(p.current(),p.current=null)},[c]);const g=u.useRef(!1),y=u.useRef(null),m=u.useRef(null),f=u.useRef(null);u.useEffect(()=>()=>{clearTimeout(y.current)},[]);const x=u.useCallback(C=>{const{pulsate:w,rippleX:$,rippleY:R,rippleSize:F,cb:P}=C;l(A=>[...A,T.jsx(Mf,{classes:{ripple:z(i.ripple,Oe.ripple),rippleVisible:z(i.rippleVisible,Oe.rippleVisible),ripplePulsate:z(i.ripplePulsate,Oe.ripplePulsate),child:z(i.child,Oe.child),childLeaving:z(i.childLeaving,Oe.childLeaving),childPulsate:z(i.childPulsate,Oe.childPulsate)},timeout:Wr,pulsate:w,rippleX:$,rippleY:R,rippleSize:F},d.current)]),d.current+=1,p.current=P},[i]),E=u.useCallback((C={},w={},$=()=>{})=>{const{pulsate:R=!1,center:F=o||w.pulsate,fakeElement:P=!1}=w;if((C==null?void 0:C.type)==="mousedown"&&g.current){g.current=!1;return}(C==null?void 0:C.type)==="touchstart"&&(g.current=!0);const A=P?null:f.current,_=A?A.getBoundingClientRect():{width:0,height:0,left:0,top:0};let j,G,I;if(F||C===void 0||C.clientX===0&&C.clientY===0||!C.clientX&&!C.touches)j=Math.round(_.width/2),G=Math.round(_.height/2);else{const{clientX:M,clientY:D}=C.touches&&C.touches.length>0?C.touches[0]:C;j=Math.round(M-_.left),G=Math.round(D-_.top)}if(F)I=Math.sqrt((2*_.width**2+_.height**2)/3),I%2===0&&(I+=1);else{const M=Math.max(Math.abs((A?A.clientWidth:0)-j),j)*2+2,D=Math.max(Math.abs((A?A.clientHeight:0)-G),G)*2+2;I=Math.sqrt(M**2+D**2)}C!=null&&C.touches?m.current===null&&(m.current=()=>{x({pulsate:R,rippleX:j,rippleY:G,rippleSize:I,cb:$})},y.current=setTimeout(()=>{m.current&&(m.current(),m.current=null)},$f)):x({pulsate:R,rippleX:j,rippleY:G,rippleSize:I,cb:$})},[o,x]),k=u.useCallback(()=>{E({},{pulsate:!0})},[E]),b=u.useCallback((C,w)=>{if(clearTimeout(y.current),(C==null?void 0:C.type)==="touchend"&&m.current){m.current(),m.current=null,y.current=setTimeout(()=>{b(C,w)});return}m.current=null,l($=>$.length>0?$.slice(1):$),p.current=w},[]);return u.useImperativeHandle(n,()=>({pulsate:k,start:E,stop:b}),[k,E,b]),T.jsx(Of,h({className:z(Oe.root,i.root,s),ref:f},a,{children:T.jsx(Yd,{component:null,exit:!0,children:c})}))}),_f=If;function Bf(e){return re("MuiButtonBase",e)}const Nf=te("MuiButtonBase",["root","disabled","focusVisible"]),Df=Nf,Lf=["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"],zf=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,s=ie({root:["root",t&&"disabled",n&&"focusVisible"]},Bf,o);return n&&r&&(s.root+=` ${r}`),s},Ff=H("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"},[`&.${Df.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),jf=u.forwardRef(function(t,n){const r=ne({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:s,className:a,component:c="button",disabled:l=!1,disableRipple:d=!1,disableTouchRipple:p=!1,focusRipple:g=!1,LinkComponent:y="a",onBlur:m,onClick:f,onContextMenu:x,onDragLeave:E,onFocus:k,onFocusVisible:b,onKeyDown:C,onKeyUp:w,onMouseDown:$,onMouseLeave:R,onMouseUp:F,onTouchEnd:P,onTouchMove:A,onTouchStart:_,tabIndex:j=0,TouchRippleProps:G,touchRippleRef:I,type:M}=r,D=B(r,Lf),q=u.useRef(null),O=u.useRef(null),U=Se(O,I),{isFocusVisibleRef:N,onFocus:K,onBlur:ce,ref:je}=Zr(),[ue,Re]=u.useState(!1);l&&ue&&Re(!1),u.useImperativeHandle(o,()=>({focusVisible:()=>{Re(!0),q.current.focus()}}),[]);const[L,le]=u.useState(!1);u.useEffect(()=>{le(!0)},[]);const ye=L&&!d&&!l;u.useEffect(()=>{ue&&g&&!d&&L&&O.current.pulsate()},[d,g,ue,L]);function de(V,No,pa=p){return tt(Do=>(No&&No(Do),!pa&&O.current&&O.current[V](Do),!0))}const Ie=de("start",$),he=de("stop",x),pr=de("stop",E),it=de("stop",F),Yt=de("stop",V=>{ue&&V.preventDefault(),R&&R(V)}),mr=de("start",_),wt=de("stop",P),hr=de("stop",A),ve=de("stop",V=>{ce(V),N.current===!1&&Re(!1),m&&m(V)},!1),la=tt(V=>{q.current||(q.current=V.currentTarget),K(V),N.current===!0&&(Re(!0),b&&b(V)),k&&k(V)}),gr=()=>{const V=q.current;return c&&c!=="button"&&!(V.tagName==="A"&&V.href)},yr=u.useRef(!1),ca=tt(V=>{g&&!yr.current&&ue&&O.current&&V.key===" "&&(yr.current=!0,O.current.stop(V,()=>{O.current.start(V)})),V.target===V.currentTarget&&gr()&&V.key===" "&&V.preventDefault(),C&&C(V),V.target===V.currentTarget&&gr()&&V.key==="Enter"&&!l&&(V.preventDefault(),f&&f(V))}),ua=tt(V=>{g&&V.key===" "&&O.current&&ue&&!V.defaultPrevented&&(yr.current=!1,O.current.stop(V,()=>{O.current.pulsate(V)})),w&&w(V),f&&V.target===V.currentTarget&&gr()&&V.key===" "&&!V.defaultPrevented&&f(V)});let Jt=c;Jt==="button"&&(D.href||D.to)&&(Jt=y);const $t={};Jt==="button"?($t.type=M===void 0?"button":M,$t.disabled=l):(!D.href&&!D.to&&($t.role="button"),l&&($t["aria-disabled"]=l));const da=Se(n,je,q),Bo=h({},r,{centerRipple:i,component:c,disabled:l,disableRipple:d,disableTouchRipple:p,focusRipple:g,tabIndex:j,focusVisible:ue}),fa=zf(Bo);return T.jsxs(Ff,h({as:Jt,className:z(fa.root,a),ownerState:Bo,onBlur:ve,onClick:f,onContextMenu:he,onFocus:la,onKeyDown:ca,onKeyUp:ua,onMouseDown:Ie,onMouseLeave:Yt,onMouseUp:it,onDragLeave:pr,onTouchEnd:wt,onTouchMove:hr,onTouchStart:mr,ref:da,tabIndex:l?-1:j,type:M},$t,D,{children:[s,ye?T.jsx(_f,h({ref:U,center:i},G)):null]}))}),Kt=jf;function Uf(e){return re("MuiAccordionSummary",e)}const Wf=te("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]),mt=Wf,Hf=["children","className","expandIcon","focusVisibleClassName","onClick"],Vf=e=>{const{classes:t,expanded:n,disabled:r,disableGutters:o}=e;return ie({root:["root",n&&"expanded",r&&"disabled",!o&&"gutters"],focusVisible:["focusVisible"],content:["content",n&&"expanded",!o&&"contentGutters"],expandIconWrapper:["expandIconWrapper",n&&"expanded"]},Uf,t)},Gf=H(Kt,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{const n={duration:e.transitions.duration.shortest};return h({display:"flex",minHeight:48,padding:e.spacing(0,2),transition:e.transitions.create(["min-height","background-color"],n),[`&.${mt.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${mt.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`&:hover:not(.${mt.disabled})`]:{cursor:"pointer"}},!t.disableGutters&&{[`&.${mt.expanded}`]:{minHeight:64}})}),Kf=H("div",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:(e,t)=>t.content})(({theme:e,ownerState:t})=>h({display:"flex",flexGrow:1,margin:"12px 0"},!t.disableGutters&&{transition:e.transitions.create(["margin"],{duration:e.transitions.duration.shortest}),[`&.${mt.expanded}`]:{margin:"20px 0"}})),qf=H("div",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:(e,t)=>t.expandIconWrapper})(({theme:e})=>({display:"flex",color:(e.vars||e).palette.action.active,transform:"rotate(0deg)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),[`&.${mt.expanded}`]:{transform:"rotate(180deg)"}})),Xf=u.forwardRef(function(t,n){const r=ne({props:t,name:"MuiAccordionSummary"}),{children:o,className:i,expandIcon:s,focusVisibleClassName:a,onClick:c}=r,l=B(r,Hf),{disabled:d=!1,disableGutters:p,expanded:g,toggle:y}=u.useContext(As),m=E=>{y&&y(E),c&&c(E)},f=h({},r,{expanded:g,disabled:d,disableGutters:p}),x=Vf(f);return T.jsxs(Gf,h({focusRipple:!1,disableRipple:!0,disabled:d,component:"div","aria-expanded":g,className:z(x.root,i),focusVisibleClassName:z(x.focusVisible,a),onClick:m,ref:n,ownerState:f},l,{children:[T.jsx(Kf,{className:x.content,ownerState:f,children:o}),s&&T.jsx(qf,{className:x.expandIconWrapper,ownerState:f,children:s})]}))}),Yf=Xf;function Jf(e){return re("MuiIconButton",e)}const Zf=te("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),Qf=Zf,ep=["edge","children","className","color","disabled","disableFocusRipple","size"],tp=e=>{const{classes:t,disabled:n,color:r,edge:o,size:i}=e,s={root:["root",n&&"disabled",r!=="default"&&`color${W(r)}`,o&&`edge${W(o)}`,`size${W(i)}`]};return ie(s,Jf,t)},np=H(Kt,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${W(n.color)}`],n.edge&&t[`edge${W(n.edge)}`],t[`size${W(n.size)}`]]}})(({theme:e,ownerState:t})=>h({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:xe(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.edge==="start"&&{marginLeft:t.size==="small"?-3:-12},t.edge==="end"&&{marginRight:t.size==="small"?-3:-12}),({theme:e,ownerState:t})=>{var n;const r=(n=(e.vars||e).palette)==null?void 0:n[t.color];return h({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&h({color:r==null?void 0:r.main},!t.disableRipple&&{"&:hover":h({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:xe(r.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),t.size==="small"&&{padding:5,fontSize:e.typography.pxToRem(18)},t.size==="large"&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${Qf.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),rp=u.forwardRef(function(t,n){const r=ne({props:t,name:"MuiIconButton"}),{edge:o=!1,children:i,className:s,color:a="default",disabled:c=!1,disableFocusRipple:l=!1,size:d="medium"}=r,p=B(r,ep),g=h({},r,{edge:o,color:a,disabled:c,disableFocusRipple:l,size:d}),y=tp(g);return T.jsx(np,h({className:z(y.root,s),centerRipple:!0,focusRipple:!l,disabled:c,ref:n,ownerState:g},p,{children:i}))}),op=rp;function ip(e){return re("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 sp=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],ap=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:s}=e,a={root:["root",i,e.align!=="inherit"&&`align${W(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return ie(a,ip,s)},lp=H("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${W(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>h({margin:0},t.variant&&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})),vi={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},cp={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},up=e=>cp[e]||e,dp=u.forwardRef(function(t,n){const r=ne({props:t,name:"MuiTypography"}),o=up(r.color),i=go(h({},r,{color:o})),{align:s="inherit",className:a,component:c,gutterBottom:l=!1,noWrap:d=!1,paragraph:p=!1,variant:g="body1",variantMapping:y=vi}=i,m=B(i,sp),f=h({},i,{align:s,color:o,className:a,component:c,gutterBottom:l,noWrap:d,paragraph:p,variant:g,variantMapping:y}),x=c||(p?"p":y[g]||vi[g])||"span",E=ap(f);return T.jsx(lp,h({as:x,ref:n,ownerState:f,className:z(E.root,a)},m))}),Ue=dp;function fp(e){return re("MuiAppBar",e)}te("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent"]);const pp=["className","color","enableColorOnDark","position"],mp=e=>{const{color:t,position:n,classes:r}=e,o={root:["root",`color${W(t)}`,`position${W(n)}`]};return ie(o,fp,r)},tn=(e,t)=>`${e==null?void 0:e.replace(")","")}, ${t})`,hp=H(Gt,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${W(n.position)}`],t[`color${W(n.color)}`]]}})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[900];return h({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&&h({},t.color==="default"&&{backgroundColor:n,color:e.palette.getContrastText(n)},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"&&h({backgroundColor:"transparent",color:"inherit"},e.palette.mode==="dark"&&{backgroundImage:"none"})),e.vars&&h({},t.color==="default"&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette.AppBar.defaultBg:tn(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":t.enableColorOnDark?e.vars.palette.text.primary:tn(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:tn(e.vars.palette.AppBar.darkBg,e.vars.palette[t.color].main),"--AppBar-color":t.enableColorOnDark?e.vars.palette[t.color].contrastText:tn(e.vars.palette.AppBar.darkColor,e.vars.palette[t.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:t.color==="inherit"?"inherit":"var(--AppBar-color)"},t.color==="transparent"&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),gp=u.forwardRef(function(t,n){const r=ne({props:t,name:"MuiAppBar"}),{className:o,color:i="primary",enableColorOnDark:s=!1,position:a="fixed"}=r,c=B(r,pp),l=h({},r,{color:i,position:a,enableColorOnDark:s}),d=mp(l);return T.jsx(hp,h({square:!0,component:"header",ownerState:l,elevation:4,className:z(d.root,o,a==="fixed"&&"mui-fixed"),ref:n},c))}),yp=gp;function bp(e){return T.jsx(oc,h({},e,{defaultTheme:nr}))}const xp=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],vp={entering:{opacity:1},entered:{opacity:1}},Ep=u.forwardRef(function(t,n){const r=Rt(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:i,appear:s=!0,children:a,easing:c,in:l,onEnter:d,onEntered:p,onEntering:g,onExit:y,onExited:m,onExiting:f,style:x,timeout:E=o,TransitionComponent:k=rr}=t,b=B(t,xp),C=u.useRef(null),w=Se(C,a.ref,n),$=I=>M=>{if(I){const D=C.current;M===void 0?I(D):I(D,M)}},R=$(g),F=$((I,M)=>{vo(I);const D=Ye({style:x,timeout:E,easing:c},{mode:"enter"});I.style.webkitTransition=r.transitions.create("opacity",D),I.style.transition=r.transitions.create("opacity",D),d&&d(I,M)}),P=$(p),A=$(f),_=$(I=>{const M=Ye({style:x,timeout:E,easing:c},{mode:"exit"});I.style.webkitTransition=r.transitions.create("opacity",M),I.style.transition=r.transitions.create("opacity",M),y&&y(I)}),j=$(m),G=I=>{i&&i(C.current,I)};return T.jsx(k,h({appear:s,in:l,nodeRef:C,onEnter:F,onEntered:P,onEntering:R,onExit:_,onExited:j,onExiting:A,addEndListener:G,timeout:E},b,{children:(I,M)=>u.cloneElement(a,h({style:h({opacity:0,visibility:I==="exited"&&!l?"hidden":void 0},vp[I],x,a.props.style),ref:w},M))}))}),Cp=Ep;function Sp(e){return re("MuiBackdrop",e)}te("MuiBackdrop",["root","invisible"]);const Rp=["children","component","components","componentsProps","className","invisible","open","slotProps","slots","transitionDuration","TransitionComponent"],kp=e=>{const{classes:t,invisible:n}=e;return ie({root:["root",n&&"invisible"]},Sp,t)},wp=H("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})(({ownerState:e})=>h({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})),$p=u.forwardRef(function(t,n){var r,o,i;const s=ne({props:t,name:"MuiBackdrop"}),{children:a,component:c="div",components:l={},componentsProps:d={},className:p,invisible:g=!1,open:y,slotProps:m={},slots:f={},transitionDuration:x,TransitionComponent:E=Cp}=s,k=B(s,Rp),b=h({},s,{component:c,invisible:g}),C=kp(b),w=(r=m.root)!=null?r:d.root;return T.jsx(E,h({in:y,timeout:x},k,{children:T.jsx(wp,h({"aria-hidden":!0},w,{as:(o=(i=f.root)!=null?i:l.Root)!=null?o:c,className:z(C.root,p,w==null?void 0:w.className),ownerState:h({},b,w==null?void 0:w.ownerState),classes:C,ref:n,children:a}))}))}),Tp=$p,Pp=gn(),Ap=uu({defaultTheme:Pp,defaultClassName:"MuiBox-root",generateClassName:eo.generate}),fe=Ap;function Op(e){return re("MuiButton",e)}const Mp=te("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","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),nn=Mp,Ip=u.createContext({}),_p=Ip,Bp=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Np=e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,classes:s}=e,a={root:["root",i,`${i}${W(t)}`,`size${W(o)}`,`${i}Size${W(o)}`,t==="inherit"&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${W(o)}`],endIcon:["endIcon",`iconSize${W(o)}`]},c=ie(a,Op,s);return h({},s,c)},Os=e=>h({},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}}),Dp=H(Kt,{shouldForwardProp:e=>Vt(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${W(n.color)}`],t[`size${W(n.size)}`],t[`${n.variant}Size${W(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var n,r;return h({},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":h({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:xe(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})`:xe(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})`:xe(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:(e.vars||e).palette.grey.A100,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":h({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${nn.focusVisible}`]:h({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${nn.disabled}`]:h({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="outlined"&&t.color==="secondary"&&{border:`1px solid ${(e.vars||e).palette.action.disabled}`},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 ${xe(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).palette.grey[300],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"},[`&.${nn.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${nn.disabled}`]:{boxShadow:"none"}}),Lp=H("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${W(n.size)}`]]}})(({ownerState:e})=>h({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},Os(e))),zp=H("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${W(n.size)}`]]}})(({ownerState:e})=>h({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},Os(e))),Fp=u.forwardRef(function(t,n){const r=u.useContext(_p),o=Qr(r,t),i=ne({props:o,name:"MuiButton"}),{children:s,color:a="primary",component:c="button",className:l,disabled:d=!1,disableElevation:p=!1,disableFocusRipple:g=!1,endIcon:y,focusVisibleClassName:m,fullWidth:f=!1,size:x="medium",startIcon:E,type:k,variant:b="text"}=i,C=B(i,Bp),w=h({},i,{color:a,component:c,disabled:d,disableElevation:p,disableFocusRipple:g,fullWidth:f,size:x,type:k,variant:b}),$=Np(w),R=E&&T.jsx(Lp,{className:$.startIcon,ownerState:w,children:E}),F=y&&T.jsx(zp,{className:$.endIcon,ownerState:w,children:y});return T.jsxs(Dp,h({ownerState:w,className:z(r.className,$.root,l),component:c,disabled:d,focusRipple:!g,focusVisibleClassName:z($.focusVisible,m),ref:n,type:k},C,{classes:$,children:[R,s,F]}))}),Eo=Fp,jp=Nu({createStyledComponent:H("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${W(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),useThemeProps:e=>ne({props:e,name:"MuiContainer"})}),jt=jp,Up=(e,t)=>h({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&!e.vars&&{colorScheme:e.palette.mode}),Wp=e=>h({color:(e.vars||e).palette.text.primary},e.typography.body1,{backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),Hp=(e,t=!1)=>{var n,r;const o={};t&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([a,c])=>{var l;o[e.getColorSchemeSelector(a).replace(/\s*&/,"")]={colorScheme:(l=c.palette)==null?void 0:l.mode}});let i=h({html:Up(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:h({margin:0},Wp(e),{"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}})},o);const s=(n=e.components)==null||(r=n.MuiCssBaseline)==null?void 0:r.styleOverrides;return s&&(i=[i,s]),i};function Vp(e){const t=ne({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=t;return T.jsxs(u.Fragment,{children:[T.jsx(bp,{styles:o=>Hp(o,r)}),n]})}const Gp=["BackdropComponent","BackdropProps","closeAfterTransition","children","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","slotProps","slots","theme"],Kp=e=>e.classes,qp=H("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(({theme:e,ownerState:t})=>h({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),Xp=H(Tp,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),Yp=u.forwardRef(function(t,n){var r,o,i,s,a,c;const l=ne({name:"MuiModal",props:t}),{BackdropComponent:d=Xp,BackdropProps:p,closeAfterTransition:g=!1,children:y,component:m,components:f={},componentsProps:x={},disableAutoFocus:E=!1,disableEnforceFocus:k=!1,disableEscapeKeyDown:b=!1,disablePortal:C=!1,disableRestoreFocus:w=!1,disableScrollLock:$=!1,hideBackdrop:R=!1,keepMounted:F=!1,slotProps:P,slots:A,theme:_}=l,j=B(l,Gp),[G,I]=u.useState(!0),M={closeAfterTransition:g,disableAutoFocus:E,disableEnforceFocus:k,disableEscapeKeyDown:b,disablePortal:C,disableRestoreFocus:w,disableScrollLock:$,hideBackdrop:R,keepMounted:F},D=h({},l,M,{exited:G}),q=Kp(D),O=(r=(o=A==null?void 0:A.root)!=null?o:f.Root)!=null?r:qp,U=(i=(s=A==null?void 0:A.backdrop)!=null?s:f.Backdrop)!=null?i:d,N=(a=P==null?void 0:P.root)!=null?a:x.root,K=(c=P==null?void 0:P.backdrop)!=null?c:x.backdrop;return T.jsx(Nd,h({slots:{root:O,backdrop:U},slotProps:{root:()=>h({},zr(N,D),!yn(O)&&{as:m,theme:_}),backdrop:()=>h({},p,zr(K,D))},onTransitionEnter:()=>I(!1),onTransitionExited:()=>I(!0),ref:n},j,{classes:q},M,{children:y}))}),Ms=Yp,Jp=te("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),Ei=Jp,Zp=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Qp(e,t,n){const r=t.getBoundingClientRect(),o=n&&n.getBoundingClientRect(),i=Xe(t);let s;if(t.fakeTransform)s=t.fakeTransform;else{const l=i.getComputedStyle(t);s=l.getPropertyValue("-webkit-transform")||l.getPropertyValue("transform")}let a=0,c=0;if(s&&s!=="none"&&typeof s=="string"){const l=s.split("(")[1].split(")")[0].split(",");a=parseInt(l[4],10),c=parseInt(l[5],10)}return e==="left"?o?`translateX(${o.right+a-r.left}px)`:`translateX(${i.innerWidth+a-r.left}px)`:e==="right"?o?`translateX(-${r.right-o.left-a}px)`:`translateX(-${r.left+r.width-a}px)`:e==="up"?o?`translateY(${o.bottom+c-r.top}px)`:`translateY(${i.innerHeight+c-r.top}px)`:o?`translateY(-${r.top-o.top+r.height-c}px)`:`translateY(-${r.top+r.height-c}px)`}function em(e){return typeof e=="function"?e():e}function rn(e,t,n){const r=em(n),o=Qp(e,t,r);o&&(t.style.webkitTransform=o,t.style.transform=o)}const tm=u.forwardRef(function(t,n){const r=Rt(),o={enter:r.transitions.easing.easeOut,exit:r.transitions.easing.sharp},i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:s,appear:a=!0,children:c,container:l,direction:d="down",easing:p=o,in:g,onEnter:y,onEntered:m,onEntering:f,onExit:x,onExited:E,onExiting:k,style:b,timeout:C=i,TransitionComponent:w=rr}=t,$=B(t,Zp),R=u.useRef(null),F=Se(c.ref,R,n),P=O=>U=>{O&&(U===void 0?O(R.current):O(R.current,U))},A=P((O,U)=>{rn(d,O,l),vo(O),y&&y(O,U)}),_=P((O,U)=>{const N=Ye({timeout:C,style:b,easing:p},{mode:"enter"});O.style.webkitTransition=r.transitions.create("-webkit-transform",h({},N)),O.style.transition=r.transitions.create("transform",h({},N)),O.style.webkitTransform="none",O.style.transform="none",f&&f(O,U)}),j=P(m),G=P(k),I=P(O=>{const U=Ye({timeout:C,style:b,easing:p},{mode:"exit"});O.style.webkitTransition=r.transitions.create("-webkit-transform",U),O.style.transition=r.transitions.create("transform",U),rn(d,O,l),x&&x(O)}),M=P(O=>{O.style.webkitTransition="",O.style.transition="",E&&E(O)}),D=O=>{s&&s(R.current,O)},q=u.useCallback(()=>{R.current&&rn(d,R.current,l)},[d,l]);return u.useEffect(()=>{if(g||d==="down"||d==="right")return;const O=Jr(()=>{R.current&&rn(d,R.current,l)}),U=Xe(R.current);return U.addEventListener("resize",O),()=>{O.clear(),U.removeEventListener("resize",O)}},[d,g,l]),u.useEffect(()=>{g||q()},[g,q]),T.jsx(w,h({nodeRef:R,onEnter:A,onEntered:j,onEntering:_,onExit:I,onExited:M,onExiting:G,addEndListener:D,appear:a,in:g,timeout:C},$,{children:(O,U)=>u.cloneElement(c,h({ref:F,style:h({visibility:O==="exited"&&!g?"hidden":void 0},b,c.props.style)},U))}))}),nm=tm;function rm(e){return re("MuiDrawer",e)}te("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const om=["BackdropProps"],im=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],Is=(e,t)=>{const{ownerState:n}=e;return[t.root,(n.variant==="permanent"||n.variant==="persistent")&&t.docked,t.modal]},sm=e=>{const{classes:t,anchor:n,variant:r}=e,o={root:["root"],docked:[(r==="permanent"||r==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${W(n)}`,r!=="temporary"&&`paperAnchorDocked${W(n)}`]};return ie(o,rm,t)},am=H(Ms,{name:"MuiDrawer",slot:"Root",overridesResolver:Is})(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer})),Ci=H("div",{shouldForwardProp:Vt,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:Is})({flex:"0 0 auto"}),lm=H(Gt,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`paperAnchor${W(n.anchor)}`],n.variant!=="temporary"&&t[`paperAnchorDocked${W(n.anchor)}`]]}})(({theme:e,ownerState:t})=>h({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},t.anchor==="left"&&{left:0},t.anchor==="top"&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},t.anchor==="right"&&{right:0},t.anchor==="bottom"&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},t.anchor==="left"&&t.variant!=="temporary"&&{borderRight:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="top"&&t.variant!=="temporary"&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="right"&&t.variant!=="temporary"&&{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="bottom"&&t.variant!=="temporary"&&{borderTop:`1px solid ${(e.vars||e).palette.divider}`})),_s={left:"right",right:"left",top:"down",bottom:"up"};function cm(e){return["left","right"].indexOf(e)!==-1}function um(e,t){return e.direction==="rtl"&&cm(t)?_s[t]:t}const dm=u.forwardRef(function(t,n){const r=ne({props:t,name:"MuiDrawer"}),o=Rt(),i={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{anchor:s="left",BackdropProps:a,children:c,className:l,elevation:d=16,hideBackdrop:p=!1,ModalProps:{BackdropProps:g}={},onClose:y,open:m=!1,PaperProps:f={},SlideProps:x,TransitionComponent:E=nm,transitionDuration:k=i,variant:b="temporary"}=r,C=B(r.ModalProps,om),w=B(r,im),$=u.useRef(!1);u.useEffect(()=>{$.current=!0},[]);const R=um(o,s),P=h({},r,{anchor:s,elevation:d,open:m,variant:b},w),A=sm(P),_=T.jsx(lm,h({elevation:b==="temporary"?d:0,square:!0},f,{className:z(A.paper,f.className),ownerState:P,children:c}));if(b==="permanent")return T.jsx(Ci,h({className:z(A.root,A.docked,l),ownerState:P,ref:n},w,{children:_}));const j=T.jsx(E,h({in:m,direction:_s[R],timeout:k,appear:$.current},x,{children:_}));return b==="persistent"?T.jsx(Ci,h({className:z(A.root,A.docked,l),ownerState:P,ref:n},w,{children:j})):T.jsx(am,h({BackdropProps:h({},a,g,{transitionDuration:k}),className:z(A.root,A.modal,l),open:m,ownerState:P,onClose:y,hideBackdrop:p,ref:n},w,C,{children:j}))}),fm=dm,pm=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Hr(e){return`scale(${e}, ${e**2})`}const mm={entering:{opacity:1,transform:Hr(1)},entered:{opacity:1,transform:"none"}},Rr=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Bs=u.forwardRef(function(t,n){const{addEndListener:r,appear:o=!0,children:i,easing:s,in:a,onEnter:c,onEntered:l,onEntering:d,onExit:p,onExited:g,onExiting:y,style:m,timeout:f="auto",TransitionComponent:x=rr}=t,E=B(t,pm),k=u.useRef(),b=u.useRef(),C=Rt(),w=u.useRef(null),$=Se(w,i.ref,n),R=M=>D=>{if(M){const q=w.current;D===void 0?M(q):M(q,D)}},F=R(d),P=R((M,D)=>{vo(M);const{duration:q,delay:O,easing:U}=Ye({style:m,timeout:f,easing:s},{mode:"enter"});let N;f==="auto"?(N=C.transitions.getAutoHeightDuration(M.clientHeight),b.current=N):N=q,M.style.transition=[C.transitions.create("opacity",{duration:N,delay:O}),C.transitions.create("transform",{duration:Rr?N:N*.666,delay:O,easing:U})].join(","),c&&c(M,D)}),A=R(l),_=R(y),j=R(M=>{const{duration:D,delay:q,easing:O}=Ye({style:m,timeout:f,easing:s},{mode:"exit"});let U;f==="auto"?(U=C.transitions.getAutoHeightDuration(M.clientHeight),b.current=U):U=D,M.style.transition=[C.transitions.create("opacity",{duration:U,delay:q}),C.transitions.create("transform",{duration:Rr?U:U*.666,delay:Rr?q:q||U*.333,easing:O})].join(","),M.style.opacity=0,M.style.transform=Hr(.75),p&&p(M)}),G=R(g),I=M=>{f==="auto"&&(k.current=setTimeout(M,b.current||0)),r&&r(w.current,M)};return u.useEffect(()=>()=>{clearTimeout(k.current)},[]),T.jsx(x,h({appear:o,in:a,nodeRef:w,onEnter:P,onEntered:A,onEntering:F,onExit:j,onExited:G,onExiting:_,addEndListener:I,timeout:f==="auto"?null:f},E,{children:(M,D)=>u.cloneElement(i,h({style:h({opacity:0,transform:Hr(.75),visibility:M==="exited"&&!a?"hidden":void 0},mm[M],m,i.props.style),ref:$},D))}))});Bs.muiSupportAuto=!0;const hm=Bs;function gm(e){return re("MuiLink",e)}const ym=te("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),bm=ym,Ns={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},xm=e=>Ns[e]||e,vm=({theme:e,ownerState:t})=>{const n=xm(t.color),r=xt(e,`palette.${n}`,!1)||t.color,o=xt(e,`palette.${n}Channel`);return"vars"in e&&o?`rgba(${o} / 0.4)`:xe(r,.4)},Em=vm,Cm=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],Sm=e=>{const{classes:t,component:n,focusVisible:r,underline:o}=e,i={root:["root",`underline${W(o)}`,n==="button"&&"button",r&&"focusVisible"]};return ie(i,gm,t)},Rm=H(Ue,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${W(n.underline)}`],n.component==="button"&&t.button]}})(({theme:e,ownerState:t})=>h({},t.underline==="none"&&{textDecoration:"none"},t.underline==="hover"&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},t.underline==="always"&&h({textDecoration:"underline"},t.color!=="inherit"&&{textDecorationColor:Em({theme:e,ownerState:t})},{"&:hover":{textDecorationColor:"inherit"}}),t.component==="button"&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${bm.focusVisible}`]:{outline:"auto"}})),km=u.forwardRef(function(t,n){const r=ne({props:t,name:"MuiLink"}),{className:o,color:i="primary",component:s="a",onBlur:a,onFocus:c,TypographyClasses:l,underline:d="always",variant:p="inherit",sx:g}=r,y=B(r,Cm),{isFocusVisibleRef:m,onBlur:f,onFocus:x,ref:E}=Zr(),[k,b]=u.useState(!1),C=Se(n,E),w=P=>{f(P),m.current===!1&&b(!1),a&&a(P)},$=P=>{x(P),m.current===!0&&b(!0),c&&c(P)},R=h({},r,{color:i,component:s,focusVisible:k,underline:d,variant:p}),F=Sm(R);return T.jsx(Rm,h({color:i,className:z(F.root,o),classes:l,component:s,onBlur:w,onFocus:$,ref:C,ownerState:R,variant:p,sx:[...Object.keys(Ns).includes(i)?[]:[{color:i}],...Array.isArray(g)?g:[g]]},y))}),Ce=km,wm=u.createContext({}),qe=wm;function $m(e){return re("MuiList",e)}te("MuiList",["root","padding","dense","subheader"]);const Tm=["children","className","component","dense","disablePadding","subheader"],Pm=e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return ie({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},$m,t)},Am=H("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})(({ownerState:e})=>h({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),Om=u.forwardRef(function(t,n){const r=ne({props:t,name:"MuiList"}),{children:o,className:i,component:s="ul",dense:a=!1,disablePadding:c=!1,subheader:l}=r,d=B(r,Tm),p=u.useMemo(()=>({dense:a}),[a]),g=h({},r,{component:s,dense:a,disablePadding:c}),y=Pm(g);return T.jsx(qe.Provider,{value:p,children:T.jsxs(Am,h({as:s,className:z(y.root,i),ref:n,ownerState:g},d,{children:[l,o]}))})}),Ds=Om;function Mm(e){return re("MuiListItem",e)}const Im=te("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]),pt=Im,_m=te("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),Bm=_m;function Nm(e){return re("MuiListItemSecondaryAction",e)}te("MuiListItemSecondaryAction",["root","disableGutters"]);const Dm=["className"],Lm=e=>{const{disableGutters:t,classes:n}=e;return ie({root:["root",t&&"disableGutters"]},Nm,n)},zm=H("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})(({ownerState:e})=>h({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0})),Ls=u.forwardRef(function(t,n){const r=ne({props:t,name:"MuiListItemSecondaryAction"}),{className:o}=r,i=B(r,Dm),s=u.useContext(qe),a=h({},r,{disableGutters:s.disableGutters}),c=Lm(a);return T.jsx(zm,h({className:z(c.root,o),ownerState:a,ref:n},i))});Ls.muiName="ListItemSecondaryAction";const Fm=Ls,jm=["className"],Um=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],Wm=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.button&&t.button,n.hasSecondaryAction&&t.secondaryAction]},Hm=e=>{const{alignItems:t,button:n,classes:r,dense:o,disabled:i,disableGutters:s,disablePadding:a,divider:c,hasSecondaryAction:l,selected:d}=e;return ie({root:["root",o&&"dense",!s&&"gutters",!a&&"padding",c&&"divider",i&&"disabled",n&&"button",t==="flex-start"&&"alignItemsFlexStart",l&&"secondaryAction",d&&"selected"],container:["container"]},Mm,r)},Vm=H("div",{name:"MuiListItem",slot:"Root",overridesResolver:Wm})(({theme:e,ownerState:t})=>h({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&h({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${Bm.root}`]:{paddingRight:48}},{[`&.${pt.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${pt.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:xe(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${pt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:xe(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${pt.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.alignItems==="flex-start"&&{alignItems:"flex-start"},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.button&&{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${pt.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:xe(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:xe(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48})),Gm=H("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),Km=u.forwardRef(function(t,n){const r=ne({props:t,name:"MuiListItem"}),{alignItems:o="center",autoFocus:i=!1,button:s=!1,children:a,className:c,component:l,components:d={},componentsProps:p={},ContainerComponent:g="li",ContainerProps:{className:y}={},dense:m=!1,disabled:f=!1,disableGutters:x=!1,disablePadding:E=!1,divider:k=!1,focusVisibleClassName:b,secondaryAction:C,selected:w=!1,slotProps:$={},slots:R={}}=r,F=B(r.ContainerProps,jm),P=B(r,Um),A=u.useContext(qe),_=u.useMemo(()=>({dense:m||A.dense||!1,alignItems:o,disableGutters:x}),[o,A.dense,m,x]),j=u.useRef(null);rt(()=>{i&&j.current&&j.current.focus()},[i]);const G=u.Children.toArray(a),I=G.length&&Ki(G[G.length-1],["ListItemSecondaryAction"]),M=h({},r,{alignItems:o,autoFocus:i,button:s,dense:_.dense,disabled:f,disableGutters:x,disablePadding:E,divider:k,hasSecondaryAction:I,selected:w}),D=Hm(M),q=Se(j,n),O=R.root||d.Root||Vm,U=$.root||p.root||{},N=h({className:z(D.root,U.className,c),disabled:f},P);let K=l||"li";return s&&(N.component=l||"div",N.focusVisibleClassName=z(pt.focusVisible,b),K=Kt),I?(K=!N.component&&!l?"div":K,g==="li"&&(K==="li"?K="div":N.component==="li"&&(N.component="div")),T.jsx(qe.Provider,{value:_,children:T.jsxs(Gm,h({as:g,className:z(D.container,y),ref:q,ownerState:M},F,{children:[T.jsx(O,h({},U,!yn(O)&&{as:K,ownerState:h({},M,U.ownerState)},N,{children:G})),G.pop()]}))})):T.jsx(qe.Provider,{value:_,children:T.jsxs(O,h({},U,{as:K,ref:q},!yn(O)&&{ownerState:h({},M,U.ownerState)},N,{children:[G,C&&T.jsx(Fm,{children:C})]}))})}),Si=Km,qm=te("MuiListItemIcon",["root","alignItemsFlexStart"]),Ri=qm;function Xm(e){return re("MuiListItemText",e)}const Ym=te("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),xn=Ym,Jm=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],Zm=e=>{const{classes:t,inset:n,primary:r,secondary:o,dense:i}=e;return ie({root:["root",n&&"inset",i&&"dense",r&&o&&"multiline"],primary:["primary"],secondary:["secondary"]},Xm,t)},Qm=H("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${xn.primary}`]:t.primary},{[`& .${xn.secondary}`]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})(({ownerState:e})=>h({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},e.primary&&e.secondary&&{marginTop:6,marginBottom:6},e.inset&&{paddingLeft:56})),eh=u.forwardRef(function(t,n){const r=ne({props:t,name:"MuiListItemText"}),{children:o,className:i,disableTypography:s=!1,inset:a=!1,primary:c,primaryTypographyProps:l,secondary:d,secondaryTypographyProps:p}=r,g=B(r,Jm),{dense:y}=u.useContext(qe);let m=c??o,f=d;const x=h({},r,{disableTypography:s,inset:a,primary:!!m,secondary:!!f,dense:y}),E=Zm(x);return m!=null&&m.type!==Ue&&!s&&(m=T.jsx(Ue,h({variant:y?"body2":"body1",className:E.primary,component:l!=null&&l.variant?void 0:"span",display:"block"},l,{children:m}))),f!=null&&f.type!==Ue&&!s&&(f=T.jsx(Ue,h({variant:"body2",className:E.secondary,color:"text.secondary",display:"block"},p,{children:f}))),T.jsxs(Qm,h({className:z(E.root,i),ownerState:x,ref:n},g,{children:[m,f]}))}),ki=eh,th=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function kr(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function wi(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function zs(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.indexOf(t.keys.join(""))===0}function Ot(e,t,n,r,o,i){let s=!1,a=o(e,t,t?n:!1);for(;a;){if(a===e.firstChild){if(s)return!1;s=!0}const c=r?!1:a.disabled||a.getAttribute("aria-disabled")==="true";if(!a.hasAttribute("tabindex")||!zs(a,i)||c)a=o(e,a,n);else return a.focus(),!0}return!1}const nh=u.forwardRef(function(t,n){const{actions:r,autoFocus:o=!1,autoFocusItem:i=!1,children:s,className:a,disabledItemsFocusable:c=!1,disableListWrap:l=!1,onKeyDown:d,variant:p="selectedMenu"}=t,g=B(t,th),y=u.useRef(null),m=u.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});rt(()=>{o&&y.current.focus()},[o]),u.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(b,C)=>{const w=!y.current.style.width;if(b.clientHeight{const C=y.current,w=b.key,$=Te(C).activeElement;if(w==="ArrowDown")b.preventDefault(),Ot(C,$,l,c,kr);else if(w==="ArrowUp")b.preventDefault(),Ot(C,$,l,c,wi);else if(w==="Home")b.preventDefault(),Ot(C,null,l,c,kr);else if(w==="End")b.preventDefault(),Ot(C,null,l,c,wi);else if(w.length===1){const R=m.current,F=w.toLowerCase(),P=performance.now();R.keys.length>0&&(P-R.lastTime>500?(R.keys=[],R.repeating=!0,R.previousKeyMatched=!0):R.repeating&&F!==R.keys[0]&&(R.repeating=!1)),R.lastTime=P,R.keys.push(F);const A=$&&!R.repeating&&zs($,R);R.previousKeyMatched&&(A||Ot(C,$,!1,c,kr,R))?b.preventDefault():R.previousKeyMatched=!1}d&&d(b)},x=Se(y,n);let E=-1;u.Children.forEach(s,(b,C)=>{u.isValidElement(b)&&(b.props.disabled||(p==="selectedMenu"&&b.props.selected||E===-1)&&(E=C))});const k=u.Children.map(s,(b,C)=>{if(C===E){const w={};return i&&(w.autoFocus=!0),b.props.tabIndex===void 0&&p==="selectedMenu"&&(w.tabIndex=0),u.cloneElement(b,w)}return b});return T.jsx(Ds,h({role:"menu",ref:x,className:a,onKeyDown:f,tabIndex:o?0:-1},g,{children:k}))}),rh=nh;function oh(e){return re("MuiPopover",e)}te("MuiPopover",["root","paper"]);const ih=["onEntering"],sh=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"];function $i(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function Ti(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function Pi(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function wr(e){return typeof e=="function"?e():e}const ah=e=>{const{classes:t}=e;return ie({root:["root"],paper:["paper"]},oh,t)},lh=H(Ms,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),ch=H(Gt,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),uh=u.forwardRef(function(t,n){const r=ne({props:t,name:"MuiPopover"}),{action:o,anchorEl:i,anchorOrigin:s={vertical:"top",horizontal:"left"},anchorPosition:a,anchorReference:c="anchorEl",children:l,className:d,container:p,elevation:g=8,marginThreshold:y=16,open:m,PaperProps:f={},transformOrigin:x={vertical:"top",horizontal:"left"},TransitionComponent:E=hm,transitionDuration:k="auto",TransitionProps:{onEntering:b}={}}=r,C=B(r.TransitionProps,ih),w=B(r,sh),$=u.useRef(),R=Se($,f.ref),F=h({},r,{anchorOrigin:s,anchorReference:c,elevation:g,marginThreshold:y,PaperProps:f,transformOrigin:x,TransitionComponent:E,transitionDuration:k,TransitionProps:C}),P=ah(F),A=u.useCallback(()=>{if(c==="anchorPosition")return a;const N=wr(i),ce=(N&&N.nodeType===1?N:Te($.current).body).getBoundingClientRect();return{top:ce.top+$i(ce,s.vertical),left:ce.left+Ti(ce,s.horizontal)}},[i,s.horizontal,s.vertical,a,c]),_=u.useCallback(N=>({vertical:$i(N,x.vertical),horizontal:Ti(N,x.horizontal)}),[x.horizontal,x.vertical]),j=u.useCallback(N=>{const K={width:N.offsetWidth,height:N.offsetHeight},ce=_(K);if(c==="none")return{top:null,left:null,transformOrigin:Pi(ce)};const je=A();let ue=je.top-ce.vertical,Re=je.left-ce.horizontal;const L=ue+K.height,le=Re+K.width,ye=Xe(wr(i)),de=ye.innerHeight-y,Ie=ye.innerWidth-y;if(uede){const he=L-de;ue-=he,ce.vertical+=he}if(ReIe){const he=le-Ie;Re-=he,ce.horizontal+=he}return{top:`${Math.round(ue)}px`,left:`${Math.round(Re)}px`,transformOrigin:Pi(ce)}},[i,c,A,_,y]),[G,I]=u.useState(m),M=u.useCallback(()=>{const N=$.current;if(!N)return;const K=j(N);K.top!==null&&(N.style.top=K.top),K.left!==null&&(N.style.left=K.left),N.style.transformOrigin=K.transformOrigin,I(!0)},[j]),D=(N,K)=>{b&&b(N,K),M()},q=()=>{I(!1)};u.useEffect(()=>{m&&M()}),u.useImperativeHandle(o,()=>m?{updatePosition:()=>{M()}}:null,[m,M]),u.useEffect(()=>{if(!m)return;const N=Jr(()=>{M()}),K=Xe(i);return K.addEventListener("resize",N),()=>{N.clear(),K.removeEventListener("resize",N)}},[i,m,M]);let O=k;k==="auto"&&!E.muiSupportAuto&&(O=void 0);const U=p||(i?Te(wr(i)).body:void 0);return T.jsx(lh,h({BackdropProps:{invisible:!0},className:z(P.root,d),container:U,open:m,ref:n,ownerState:F},w,{children:T.jsx(E,h({appear:!0,in:m,onEntering:D,onExited:q,timeout:O},C,{children:T.jsx(ch,h({elevation:g},f,{ref:R,className:z(P.paper,f.className)},G?void 0:{style:h({},f.style,{opacity:0})},{ownerState:F,children:l}))}))}))}),dh=uh;function fh(e){return re("MuiMenu",e)}te("MuiMenu",["root","paper","list"]);const ph=["onEntering"],mh=["autoFocus","children","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"],hh={vertical:"top",horizontal:"right"},gh={vertical:"top",horizontal:"left"},yh=e=>{const{classes:t}=e;return ie({root:["root"],paper:["paper"],list:["list"]},fh,t)},bh=H(dh,{shouldForwardProp:e=>Vt(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),xh=H(Gt,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),vh=H(rh,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),Eh=u.forwardRef(function(t,n){const r=ne({props:t,name:"MuiMenu"}),{autoFocus:o=!0,children:i,disableAutoFocusItem:s=!1,MenuListProps:a={},onClose:c,open:l,PaperProps:d={},PopoverClasses:p,transitionDuration:g="auto",TransitionProps:{onEntering:y}={},variant:m="selectedMenu"}=r,f=B(r.TransitionProps,ph),x=B(r,mh),E=Rt(),k=E.direction==="rtl",b=h({},r,{autoFocus:o,disableAutoFocusItem:s,MenuListProps:a,onEntering:y,PaperProps:d,transitionDuration:g,TransitionProps:f,variant:m}),C=yh(b),w=o&&!s&&l,$=u.useRef(null),R=(A,_)=>{$.current&&$.current.adjustStyleForScrollbar(A,E),y&&y(A,_)},F=A=>{A.key==="Tab"&&(A.preventDefault(),c&&c(A,"tabKeyDown"))};let P=-1;return u.Children.map(i,(A,_)=>{u.isValidElement(A)&&(A.props.disabled||(m==="selectedMenu"&&A.props.selected||P===-1)&&(P=_))}),T.jsx(bh,h({onClose:c,anchorOrigin:{vertical:"bottom",horizontal:k?"right":"left"},transformOrigin:k?hh:gh,PaperProps:h({component:xh},d,{classes:h({},d.classes,{root:C.paper})}),className:C.root,open:l,ref:n,transitionDuration:g,TransitionProps:h({onEntering:R},f),ownerState:b},x,{classes:p,children:T.jsx(vh,h({onKeyDown:F,actions:$,autoFocus:o&&(P===-1||s),autoFocusItem:w,variant:m},a,{className:z(C.list,a.className),children:i}))}))}),Co=Eh;function Ch(e){return re("MuiMenuItem",e)}const Sh=te("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),Mt=Sh,Rh=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],kh=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},wh=e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:i,classes:s}=e,c=ie({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",i&&"selected"]},Ch,s);return h({},s,c)},$h=H(Kt,{shouldForwardProp:e=>Vt(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:kh})(({theme:e,ownerState:t})=>h({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Mt.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:xe(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Mt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:xe(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Mt.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:xe(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:xe(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Mt.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Mt.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${Ei.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Ei.inset}`]:{marginLeft:52},[`& .${xn.root}`]:{marginTop:0,marginBottom:0},[`& .${xn.inset}`]:{paddingLeft:36},[`& .${Ri.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&h({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${Ri.root} svg`]:{fontSize:"1.25rem"}}))),Th=u.forwardRef(function(t,n){const r=ne({props:t,name:"MuiMenuItem"}),{autoFocus:o=!1,component:i="li",dense:s=!1,divider:a=!1,disableGutters:c=!1,focusVisibleClassName:l,role:d="menuitem",tabIndex:p,className:g}=r,y=B(r,Rh),m=u.useContext(qe),f=u.useMemo(()=>({dense:s||m.dense||!1,disableGutters:c}),[m.dense,s,c]),x=u.useRef(null);rt(()=>{o&&x.current&&x.current.focus()},[o]);const E=h({},r,{dense:f.dense,divider:a,disableGutters:c}),k=wh(r),b=Se(x,n);let C;return r.disabled||(C=p!==void 0?p:-1),T.jsx(qe.Provider,{value:f,children:T.jsx($h,h({ref:b,role:d,tabIndex:C,component:i,focusVisibleClassName:z(k.focusVisible,l),className:z(k.root,g)},y,{ownerState:E,classes:k}))})}),So=Th,Ph=["component","direction","spacing","divider","children"];function Ah(e,t){const n=u.Children.toArray(e).filter(Boolean);return n.reduce((r,o,i)=>(r.push(o),i({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],Mh=({ownerState:e,theme:t})=>{let n=h({display:"flex",flexDirection:"column"},Be({theme:t},Er({values:e.direction,breakpoints:t.breakpoints.values}),r=>({flexDirection:r})));if(e.spacing){const r=mo(t),o=Object.keys(t.breakpoints.values).reduce((c,l)=>((typeof e.spacing=="object"&&e.spacing[l]!=null||typeof e.direction=="object"&&e.direction[l]!=null)&&(c[l]=!0),c),{}),i=Er({values:e.direction,base:o}),s=Er({values:e.spacing,base:o});typeof i=="object"&&Object.keys(i).forEach((c,l,d)=>{if(!i[c]){const g=l>0?i[d[l-1]]:"column";i[c]=g}}),n=_e(n,Be({theme:t},s,(c,l)=>({"& > :not(style) + :not(style)":{margin:0,[`margin${Oh(l?i[l]:e.direction)}`]:St(r,c)}})))}return n=sc(t.breakpoints,n),n},Ih=H("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>[t.root]})(Mh),_h=u.forwardRef(function(t,n){const r=ne({props:t,name:"MuiStack"}),o=go(r),{component:i="div",direction:s="column",spacing:a=0,divider:c,children:l}=o,d=B(o,Ph),p={direction:s,spacing:a};return T.jsx(Ih,h({as:i,ownerState:p,ref:n},d,{children:c?Ah(l,c):l}))}),Ge=_h;function Bh(e){return re("MuiToolbar",e)}te("MuiToolbar",["root","gutters","regular","dense"]);const Nh=["className","component","disableGutters","variant"],Dh=e=>{const{classes:t,disableGutters:n,variant:r}=e;return ie({root:["root",!n&&"gutters",r]},Bh,t)},Lh=H("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(({theme:e,ownerState:t})=>h({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},t.variant==="dense"&&{minHeight:48}),({theme:e,ownerState:t})=>t.variant==="regular"&&e.mixins.toolbar),zh=u.forwardRef(function(t,n){const r=ne({props:t,name:"MuiToolbar"}),{className:o,component:i="div",disableGutters:s=!1,variant:a="regular"}=r,c=B(r,Nh),l=h({},r,{component:i,disableGutters:s,variant:a}),d=Dh(l);return T.jsx(Lh,h({as:i,className:z(d.root,o),ref:n,ownerState:l},c))}),Fh=zh,jh=e=>({MuiButton:{styleOverrides:{root:{textTransform:"unset"},contained:{boxShadow:"none","&:hover":{boxShadow:"none"}}}},MuiButtonGroup:{styleOverrides:{root:{boxShadow:"none"}}}}),Uh={mode:"light",primary:{main:"rgb(24,119,242)"},background:{default:"#FFF"},example:{primary:"#49b4ff",secondary:"#ef3054"}},Wh={mode:"dark",primary:{main:"rgb(24,119,242)"},background:{default:"#FFF"},example:{primary:"#49b4ff",secondary:"#ef3054"}},Hh={light:Uh,dark:Wh},Vh={fontFamily:["Montserrat","-apple-system"].join(",")},Gh={h1:{fontFamily:"Montserrat",fontStyle:"normal",fontWeight:"700",color:"#1D1D20","@media (min-width:0px)":{fontSize:"40px",lineHeight:"50px"},"@media (min-width:600px)":{fontSize:"64px",lineHeight:"72px"},"@media (min-width:900px)":{fontSize:"64px",lineHeight:"72px"},"@media (min-width:1200px)":{fontSize:"70px",lineHeight:"77px"},"@media (min-width:1536px)":{fontSize:"70px",lineHeight:"77px"}},h2:{fontFamily:"Montserrat",fontStyle:"normal",fontWeight:700,color:"#1D1D20","@media (min-width:0px)":{fontSize:"32px",lineHeight:"40px"},"@media (min-width:600px)":{fontSize:"48px",lineHeight:"60px"},"@media (min-width:900px)":{fontSize:"48px",lineHeight:"60px"},"@media (min-width:1200px)":{fontSize:"64px",lineHeight:"72px"},"@media (min-width:1536px)":{fontSize:"64px",lineHeight:"72px"}},h3:{fontFamily:"Montserrat",fontStyle:"normal",fontWeight:"600",color:"#1D1D20","@media (min-width:0px)":{fontSize:"20px",lineHeight:"28px"},"@media (min-width:600px)":{fontSize:"20px",lineHeight:"28px"},"@media (min-width:900px)":{fontSize:"32px",lineHeight:"48px"},"@media (min-width:1200px)":{fontSize:"32px",lineHeight:"48px"},"@media (min-width:1536px)":{fontSize:"32px",lineHeight:"48px"}},h4:{fontFamily:"Montserrat",fontStyle:"normal",fontWeight:"500",color:"#393940","@media (min-width:0px)":{fontSize:"16px",lineHeight:"24px"},"@media (min-width:600px)":{fontSize:"24px",lineHeight:"40px"},"@media (min-width:900px)":{fontSize:"24px",lineHeight:"40px"},"@media (min-width:1200px)":{fontSize:"24px",lineHeight:"40px"},"@media (min-width:1536px)":{fontSize:"24px",lineHeight:"40px"}},h5:{fontFamily:"Montserrat",fontStyle:"normal",fontWeight:"500",fontSize:"20px",lineHeight:"32px",color:"#1D1D20"},h6:{fontFamily:"Montserrat",fontStyle:"normal",fontWeight:"600",fontSize:"16px",lineHeight:"24px",color:"#1D1D20"},button:{fontFamily:"Montserrat",fontStyle:"normal",fontWeight:"600",fontSize:"16px",lineHeight:"24px",color:"#1D1D20"},body1:{fontFamily:"Montserrat",fontStyle:"normal",fontWeight:"500",fontSize:"20px",lineHeight:"32px",color:"#1D1D20"},body2:{fontFamily:"Montserrat",fontStyle:"normal",fontWeight:"500",fontSize:"24px",lineHeight:"40px",color:"#393940"},subtitle1:{fontFamily:"Montserrat",fontStyle:"normal",fontWeight:"600",fontSize:"32px",lineHeight:"48px",color:"#1D1D20"}},Kh=ga({key:"ThemeName",effects:[e=>{const t="theme";if(e.trigger==="get"){const n=(localStorage==null?void 0:localStorage.getItem(t))==="dark"?"dark":(localStorage==null?void 0:localStorage.getItem(t))==="light"?"light":matchMedia!=null&&matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";e.setSelf(n)}e.onSet(n=>{localStorage==null||localStorage.setItem(t,n)})}]}),qh=ya({key:"Theme",dangerouslyAllowMutability:!0,get(e){return function(){const{palette:t}=gn({palette:Hh[e]});return gn({palette:t,typography:Vh,components:jh()},{typography:Gh})}}});function Xh(e){const t=zo(Kh);return zo(qh(e??t))}const Yh="modulepreload",Jh=function(e){return"/"+e},Ai={},ir=function(t,n,r){if(!n||n.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map(i=>{if(i=Jh(i),i in Ai)return;Ai[i]=!0;const s=i.endsWith(".css"),a=s?'[rel="stylesheet"]':"";if(!!r)for(let d=o.length-1;d>=0;d--){const p=o[d];if(p.href===i&&(!s||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${a}`))return;const l=document.createElement("link");if(l.rel=s?"stylesheet":Yh,s||(l.as="script",l.crossOrigin=""),l.href=i,document.head.appendChild(l),s)return new Promise((d,p)=>{l.addEventListener("load",d),l.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t())},Zh=u.lazy(()=>ir(()=>import("./Home-4c739980.js"),["assets/Home-4c739980.js","assets/react-fc05cb64.js"]));u.lazy(()=>ir(()=>import("./Web3Policy-05afc31d.js"),["assets/Web3Policy-05afc31d.js","assets/react-fc05cb64.js"]));const Qh=u.lazy(()=>ir(()=>import("./CSP-d5a6d37f.js"),["assets/CSP-d5a6d37f.js","assets/react-fc05cb64.js","assets/SecondaryButton-140b20c0.js"])),eg=u.lazy(()=>ir(()=>import("./PGP-dcf1d044.js"),["assets/PGP-dcf1d044.js","assets/react-fc05cb64.js","assets/SecondaryButton-140b20c0.js"])),tg=H(Ce)({color:"#1D1D20","&:hover":{color:"#33A761"}});function we(e){return S.createElement(tg,{underline:"none",className:"MuiTypography--heading",gutterBottom:!0,align:"center",...e},e.children)}function ng(e){return S.createElement(fe,{sx:{marginBottom:5},...e},S.createElement(jt,{maxWidth:"lg",disableGutters:!0,sx:{px:{xl:0,lg:0,md:2,sm:2,xs:2},display:{xs:"none",sm:"none",md:"block",lg:"block",xl:"block"}}},S.createElement(Ge,{direction:"row",justifyContent:"end",sx:{marginBottom:2}},S.createElement(Ce,{href:"/",style:{zIndex:1e3}},S.createElement(fe,{component:"img",src:"/arkreen_logo.png",sx:{height:32,width:120}}))),S.createElement(fe,{sx:{height:0,width:"100%",borderTop:"1px solid #CBCBD2",opacity:.5,marginBottom:2}}),S.createElement(Ge,{direction:"row",justifyContent:"space-between",alignItems:"center",sx:{marginBottom:5}},S.createElement(Ge,{direction:"row",alignItems:"center"},S.createElement(we,{variant:"h6",target:"_blank",sx:{marginRight:"46px",marginBottom:0},href:"https://explorer.arkreen.com/"},"Explorer"),S.createElement(we,{variant:"h6",target:"_blank",sx:{marginRight:"46px",marginBottom:0},href:"https://console.arkreen.com/"},"Console"),S.createElement(we,{variant:"h6",target:"_blank",sx:{marginRight:"46px",marginBottom:0},href:"https://arec.arkreen.com/"},"AREC"),S.createElement(we,{variant:"h6",target:"_blank",sx:{marginRight:"46px",marginBottom:0},href:"https://docs.arkreen.com/"},"Docs"),S.createElement(we,{variant:"h6",target:"_blank",href:"https://medium.com/@arkreen",sx:{marginRight:"46px",marginBottom:0}},"Blog"),S.createElement(we,{variant:"h6",target:"_blank",sx:{marginRight:"46px",marginBottom:0},href:"https://marketing.arkreen.com"},"Brand kit")),S.createElement(Ge,{direction:"row",spacing:1},S.createElement(Ce,{href:"https://github.com/arkreen",target:"_blank"},S.createElement(fe,{component:"img",src:"/Git.png",sx:{height:40,width:40,border:"1px solid #eee",borderRadius:2}})),S.createElement(Ce,{href:"https://discord.gg/j5fSNRKGme",target:"_blank"},S.createElement(fe,{component:"img",src:"/Discord.png",sx:{height:40,width:40,border:"1px solid #eee",borderRadius:2}})),S.createElement(Ce,{href:"https://twitter.com/arkreen_network",target:"_blank"},S.createElement(fe,{component:"img",src:"/Twitter.png",sx:{height:40,width:40,border:"1px solid #eee",borderRadius:2}})),S.createElement(Ce,{href:"https://t.me/arkreen_network",target:"_blank"},S.createElement(fe,{component:"img",src:"/Telegram.png",sx:{height:40,width:40,border:"1px solid #eee",borderRadius:2}})),S.createElement(Ce,{href:"https://www.youtube.com/@arkreen",target:"_blank"},S.createElement(fe,{component:"img",src:"/Youtube.png",sx:{height:40,width:40,border:"1px solid #eee",borderRadius:2}})),S.createElement(Ce,{href:"https://www.linkedin.com/company/arkreen/",target:"_blank"},S.createElement(fe,{component:"img",src:"/Linkedin.png",sx:{height:40,width:40,border:"1px solid #eee",borderRadius:2}})))),S.createElement(Ue,{sx:{fontWeight:400,fontSize:"12px",lineHeight:"16px"},align:"center"},"2022-2023 Arkreen Network. All Rights Reserved. info@arkreen.com")),S.createElement(jt,{maxWidth:"lg",disableGutters:!0,sx:{px:{xl:0,lg:0,md:2,sm:2,xs:2},display:{xs:"block",sm:"block",md:"none",lg:"none",xl:"none"}}},S.createElement(Ge,{direction:"row",justifyContent:"center",sx:{marginBottom:2}},S.createElement(Ce,{href:"/",style:{zIndex:1e3}},S.createElement(fe,{component:"img",src:"/arkreen_logo.png",sx:{height:32,width:120}}))),S.createElement(fe,{sx:{height:0,width:"100%",borderTop:"1px solid #CBCBD2",opacity:.5,marginBottom:2}}),S.createElement(Ge,{direction:"column",alignItems:"center",sx:{marginBottom:5},spacing:2},S.createElement(Ge,{direction:"row",spacing:1},S.createElement(Ce,{href:"https://github.com/arkreen",target:"_blank"},S.createElement(fe,{component:"img",src:"/Git.png",sx:{height:40,width:40,border:"1px solid #eee",borderRadius:2}})),S.createElement(Ce,{href:"https://discord.gg/j5fSNRKGme",target:"_blank"},S.createElement(fe,{component:"img",src:"/Discord.png",sx:{height:40,width:40,border:"1px solid #eee",borderRadius:2}})),S.createElement(Ce,{href:"https://twitter.com/arkreen_network",target:"_blank"},S.createElement(fe,{component:"img",src:"/Twitter.png",sx:{height:40,width:40,border:"1px solid #eee",borderRadius:2}})),S.createElement(Ce,{href:"https://t.me/arkreen_network",target:"_blank"},S.createElement(fe,{component:"img",src:"/Telegram.png",sx:{height:40,width:40,border:"1px solid #eee",borderRadius:2}})),S.createElement(Ce,{href:"https://www.youtube.com/@arkreen",target:"_blank"},S.createElement(fe,{component:"img",src:"/Youtube.png",sx:{height:40,width:40,border:"1px solid #eee",borderRadius:2}})),S.createElement(Ce,{href:"https://www.linkedin.com/company/arkreen/",target:"_blank"},S.createElement(fe,{component:"img",src:"/Linkedin.png",sx:{height:40,width:40,border:"1px solid #eee",borderRadius:2}}))),S.createElement(Ge,{direction:"column",alignItems:"center",spacing:2},S.createElement(we,{variant:"h6",target:"_blank",sx:{marginBottom:0},href:"https://explorer.arkreen.com/"},"Explorer"),S.createElement(we,{variant:"h6",target:"_blank",sx:{marginBottom:0},href:"https://console.arkreen.com/"},"Console"),S.createElement(we,{variant:"h6",target:"_blank",sx:{marginBottom:0},href:"https://arec.arkreen.com/"},"AREC"),S.createElement(we,{variant:"h6",target:"_blank",sx:{marginBottom:0},href:"https://docs.arkreen.com/"},"Docs"),S.createElement(we,{variant:"h6",target:"_blank",href:"https://medium.com/@arkreen",sx:{marginBottom:0}},"Blog"),S.createElement(we,{variant:"h6",target:"_blank",sx:{marginBottom:0},href:"https://marketing.arkreen.com"},"Brand kit")),S.createElement(Ue,{sx:{fontWeight:400,fontSize:"12px",lineHeight:"16px"},align:"center"},"2022-2023 Arkreen Network. All Rights Reserved. info@arkreen.com"))))}const rg=$s(T.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");function Fs(e,t){return function(){return e.apply(t,arguments)}}const{toString:js}=Object.prototype,{getPrototypeOf:Ro}=Object,ko=(e=>t=>{const n=js.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Ve=e=>(e=e.toLowerCase(),t=>ko(t)===e),sr=e=>t=>typeof t===e,{isArray:kt}=Array,Ut=sr("undefined");function og(e){return e!==null&&!Ut(e)&&e.constructor!==null&&!Ut(e.constructor)&&Je(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Us=Ve("ArrayBuffer");function ig(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Us(e.buffer),t}const sg=sr("string"),Je=sr("function"),Ws=sr("number"),wo=e=>e!==null&&typeof e=="object",ag=e=>e===!0||e===!1,cn=e=>{if(ko(e)!=="object")return!1;const t=Ro(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},lg=Ve("Date"),cg=Ve("File"),ug=Ve("Blob"),dg=Ve("FileList"),fg=e=>wo(e)&&Je(e.pipe),pg=e=>{const t="[object FormData]";return e&&(typeof FormData=="function"&&e instanceof FormData||js.call(e)===t||Je(e.toString)&&e.toString()===t)},mg=Ve("URLSearchParams"),hg=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function qt(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),kt(e))for(r=0,o=e.length;r0;)if(o=n[r],t===o.toLowerCase())return o;return null}const Vs=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Gs=e=>!Ut(e)&&e!==Vs;function Vr(){const{caseless:e}=Gs(this)&&this||{},t={},n=(r,o)=>{const i=e&&Hs(t,o)||o;cn(t[i])&&cn(r)?t[i]=Vr(t[i],r):cn(r)?t[i]=Vr({},r):kt(r)?t[i]=r.slice():t[i]=r};for(let r=0,o=arguments.length;r(qt(t,(o,i)=>{n&&Je(o)?e[i]=Fs(o,n):e[i]=o},{allOwnKeys:r}),e),yg=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),bg=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},xg=(e,t,n,r)=>{let o,i,s;const a={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)s=o[i],(!r||r(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=n!==!1&&Ro(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},vg=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},Eg=e=>{if(!e)return null;if(kt(e))return e;let t=e.length;if(!Ws(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Cg=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Ro(Uint8Array)),Sg=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=r.next())&&!o.done;){const i=o.value;t.call(e,i[0],i[1])}},Rg=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},kg=Ve("HTMLFormElement"),wg=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),Oi=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),$g=Ve("RegExp"),Ks=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};qt(n,(o,i)=>{t(o,i,e)!==!1&&(r[i]=o)}),Object.defineProperties(e,r)},Tg=e=>{Ks(e,(t,n)=>{if(Je(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Je(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Pg=(e,t)=>{const n={},r=o=>{o.forEach(i=>{n[i]=!0})};return kt(e)?r(e):r(String(e).split(t)),n},Ag=()=>{},Og=(e,t)=>(e=+e,Number.isFinite(e)?e:t),$r="abcdefghijklmnopqrstuvwxyz",Mi="0123456789",qs={DIGIT:Mi,ALPHA:$r,ALPHA_DIGIT:$r+$r.toUpperCase()+Mi},Mg=(e=16,t=qs.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Ig(e){return!!(e&&Je(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const _g=e=>{const t=new Array(10),n=(r,o)=>{if(wo(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[o]=r;const i=kt(r)?[]:{};return qt(r,(s,a)=>{const c=n(s,o+1);!Ut(c)&&(i[a]=c)}),t[o]=void 0,i}}return r};return n(e,0)},v={isArray:kt,isArrayBuffer:Us,isBuffer:og,isFormData:pg,isArrayBufferView:ig,isString:sg,isNumber:Ws,isBoolean:ag,isObject:wo,isPlainObject:cn,isUndefined:Ut,isDate:lg,isFile:cg,isBlob:ug,isRegExp:$g,isFunction:Je,isStream:fg,isURLSearchParams:mg,isTypedArray:Cg,isFileList:dg,forEach:qt,merge:Vr,extend:gg,trim:hg,stripBOM:yg,inherits:bg,toFlatObject:xg,kindOf:ko,kindOfTest:Ve,endsWith:vg,toArray:Eg,forEachEntry:Sg,matchAll:Rg,isHTMLForm:kg,hasOwnProperty:Oi,hasOwnProp:Oi,reduceDescriptors:Ks,freezeMethods:Tg,toObjectSet:Pg,toCamelCase:wg,noop:Ag,toFiniteNumber:Og,findKey:Hs,global:Vs,isContextDefined:Gs,ALPHABET:qs,generateString:Mg,isSpecCompliantForm:Ig,toJSONObject:_g};function X(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}v.inherits(X,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:v.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Xs=X.prototype,Ys={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Ys[e]={value:e}});Object.defineProperties(X,Ys);Object.defineProperty(Xs,"isAxiosError",{value:!0});X.from=(e,t,n,r,o,i)=>{const s=Object.create(Xs);return v.toFlatObject(e,s,function(c){return c!==Error.prototype},a=>a!=="isAxiosError"),X.call(s,e.message,t,n,r,o),s.cause=e,s.name=e.name,i&&Object.assign(s,i),s};const Bg=null;function Gr(e){return v.isPlainObject(e)||v.isArray(e)}function Js(e){return v.endsWith(e,"[]")?e.slice(0,-2):e}function Ii(e,t,n){return e?e.concat(t).map(function(o,i){return o=Js(o),!n&&i?"["+o+"]":o}).join(n?".":""):t}function Ng(e){return v.isArray(e)&&!e.some(Gr)}const Dg=v.toFlatObject(v,{},null,function(t){return/^is[A-Z]/.test(t)});function ar(e,t,n){if(!v.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=v.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(f,x){return!v.isUndefined(x[f])});const r=n.metaTokens,o=n.visitor||d,i=n.dots,s=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&v.isSpecCompliantForm(t);if(!v.isFunction(o))throw new TypeError("visitor must be a function");function l(m){if(m===null)return"";if(v.isDate(m))return m.toISOString();if(!c&&v.isBlob(m))throw new X("Blob is not supported. Use a Buffer instead.");return v.isArrayBuffer(m)||v.isTypedArray(m)?c&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function d(m,f,x){let E=m;if(m&&!x&&typeof m=="object"){if(v.endsWith(f,"{}"))f=r?f:f.slice(0,-2),m=JSON.stringify(m);else if(v.isArray(m)&&Ng(m)||(v.isFileList(m)||v.endsWith(f,"[]"))&&(E=v.toArray(m)))return f=Js(f),E.forEach(function(b,C){!(v.isUndefined(b)||b===null)&&t.append(s===!0?Ii([f],C,i):s===null?f:f+"[]",l(b))}),!1}return Gr(m)?!0:(t.append(Ii(x,f,i),l(m)),!1)}const p=[],g=Object.assign(Dg,{defaultVisitor:d,convertValue:l,isVisitable:Gr});function y(m,f){if(!v.isUndefined(m)){if(p.indexOf(m)!==-1)throw Error("Circular reference detected in "+f.join("."));p.push(m),v.forEach(m,function(E,k){(!(v.isUndefined(E)||E===null)&&o.call(t,E,v.isString(k)?k.trim():k,f,g))===!0&&y(E,f?f.concat(k):[k])}),p.pop()}}if(!v.isObject(e))throw new TypeError("data must be an object");return y(e),t}function _i(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function $o(e,t){this._pairs=[],e&&ar(e,this,t)}const Zs=$o.prototype;Zs.append=function(t,n){this._pairs.push([t,n])};Zs.toString=function(t){const n=t?function(r){return t.call(this,r,_i)}:_i;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function Lg(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Qs(e,t,n){if(!t)return e;const r=n&&n.encode||Lg,o=n&&n.serialize;let i;if(o?i=o(t,n):i=v.isURLSearchParams(t)?t.toString():new $o(t,n).toString(r),i){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class zg{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){v.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Bi=zg,ea={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Fg=typeof URLSearchParams<"u"?URLSearchParams:$o,jg=typeof FormData<"u"?FormData:null,Ug=typeof Blob<"u"?Blob:null,Wg=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),Hg=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),ze={isBrowser:!0,classes:{URLSearchParams:Fg,FormData:jg,Blob:Ug},isStandardBrowserEnv:Wg,isStandardBrowserWebWorkerEnv:Hg,protocols:["http","https","file","blob","url","data"]};function Vg(e,t){return ar(e,new ze.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,i){return ze.isNode&&v.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function Gg(e){return v.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Kg(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r=n.length;return s=!s&&v.isArray(o)?o.length:s,c?(v.hasOwnProp(o,s)?o[s]=[o[s],r]:o[s]=r,!a):((!o[s]||!v.isObject(o[s]))&&(o[s]=[]),t(n,r,o[s],i)&&v.isArray(o[s])&&(o[s]=Kg(o[s])),!a)}if(v.isFormData(e)&&v.isFunction(e.entries)){const n={};return v.forEachEntry(e,(r,o)=>{t(Gg(r),o,n,0)}),n}return null}const qg={"Content-Type":void 0};function Xg(e,t,n){if(v.isString(e))try{return(t||JSON.parse)(e),v.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const lr={transitional:ea,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,i=v.isObject(t);if(i&&v.isHTMLForm(t)&&(t=new FormData(t)),v.isFormData(t))return o&&o?JSON.stringify(ta(t)):t;if(v.isArrayBuffer(t)||v.isBuffer(t)||v.isStream(t)||v.isFile(t)||v.isBlob(t))return t;if(v.isArrayBufferView(t))return t.buffer;if(v.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Vg(t,this.formSerializer).toString();if((a=v.isFileList(t))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return ar(a?{"files[]":t}:t,c&&new c,this.formSerializer)}}return i||o?(n.setContentType("application/json",!1),Xg(t)):t}],transformResponse:[function(t){const n=this.transitional||lr.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(t&&v.isString(t)&&(r&&!this.responseType||o)){const s=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(a){if(s)throw a.name==="SyntaxError"?X.from(a,X.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ze.classes.FormData,Blob:ze.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};v.forEach(["delete","get","head"],function(t){lr.headers[t]={}});v.forEach(["post","put","patch"],function(t){lr.headers[t]=v.merge(qg)});const To=lr,Yg=v.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Jg=e=>{const t={};let n,r,o;return e&&e.split(` +`).forEach(function(s){o=s.indexOf(":"),n=s.substring(0,o).trim().toLowerCase(),r=s.substring(o+1).trim(),!(!n||t[n]&&Yg[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Ni=Symbol("internals");function It(e){return e&&String(e).trim().toLowerCase()}function un(e){return e===!1||e==null?e:v.isArray(e)?e.map(un):String(e)}function Zg(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const Qg=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Tr(e,t,n,r,o){if(v.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!v.isString(t)){if(v.isString(r))return t.indexOf(r)!==-1;if(v.isRegExp(r))return r.test(t)}}function e0(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function t0(e,t){const n=v.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,i,s){return this[r].call(this,t,o,i,s)},configurable:!0})})}class cr{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function i(a,c,l){const d=It(c);if(!d)throw new Error("header name must be a non-empty string");const p=v.findKey(o,d);(!p||o[p]===void 0||l===!0||l===void 0&&o[p]!==!1)&&(o[p||c]=un(a))}const s=(a,c)=>v.forEach(a,(l,d)=>i(l,d,c));return v.isPlainObject(t)||t instanceof this.constructor?s(t,n):v.isString(t)&&(t=t.trim())&&!Qg(t)?s(Jg(t),n):t!=null&&i(n,t,r),this}get(t,n){if(t=It(t),t){const r=v.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return Zg(o);if(v.isFunction(n))return n.call(this,o,r);if(v.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=It(t),t){const r=v.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Tr(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function i(s){if(s=It(s),s){const a=v.findKey(r,s);a&&(!n||Tr(r,r[a],a,n))&&(delete r[a],o=!0)}}return v.isArray(t)?t.forEach(i):i(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const i=n[r];(!t||Tr(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const n=this,r={};return v.forEach(this,(o,i)=>{const s=v.findKey(r,i);if(s){n[s]=un(o),delete n[i];return}const a=t?e0(i):String(i).trim();a!==i&&delete n[i],n[a]=un(o),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return v.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&v.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[Ni]=this[Ni]={accessors:{}}).accessors,o=this.prototype;function i(s){const a=It(s);r[a]||(t0(o,s),r[a]=!0)}return v.isArray(t)?t.forEach(i):i(t),this}}cr.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);v.freezeMethods(cr.prototype);v.freezeMethods(cr);const We=cr;function Pr(e,t){const n=this||To,r=t||n,o=We.from(r.headers);let i=r.data;return v.forEach(e,function(a){i=a.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function na(e){return!!(e&&e.__CANCEL__)}function Xt(e,t,n){X.call(this,e??"canceled",X.ERR_CANCELED,t,n),this.name="CanceledError"}v.inherits(Xt,X,{__CANCEL__:!0});function n0(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new X("Request failed with status code "+n.status,[X.ERR_BAD_REQUEST,X.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const r0=ze.isStandardBrowserEnv?function(){return{write:function(n,r,o,i,s,a){const c=[];c.push(n+"="+encodeURIComponent(r)),v.isNumber(o)&&c.push("expires="+new Date(o).toGMTString()),v.isString(i)&&c.push("path="+i),v.isString(s)&&c.push("domain="+s),a===!0&&c.push("secure"),document.cookie=c.join("; ")},read:function(n){const r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function o0(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function i0(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function ra(e,t){return e&&!o0(t)?i0(e,t):t}const s0=ze.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function o(i){let s=i;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(s){const a=v.isString(s)?o(s):s;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function a0(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function l0(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,i=0,s;return t=t!==void 0?t:1e3,function(c){const l=Date.now(),d=r[i];s||(s=l),n[o]=c,r[o]=l;let p=i,g=0;for(;p!==o;)g+=n[p++],p=p%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),l-s{const i=o.loaded,s=o.lengthComputable?o.total:void 0,a=i-n,c=r(a),l=i<=s;n=i;const d={loaded:i,total:s,progress:s?i/s:void 0,bytes:a,rate:c||void 0,estimated:c&&s&&l?(s-i)/c:void 0,event:o};d[t?"download":"upload"]=!0,e(d)}}const c0=typeof XMLHttpRequest<"u",u0=c0&&function(e){return new Promise(function(n,r){let o=e.data;const i=We.from(e.headers).normalize(),s=e.responseType;let a;function c(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}v.isFormData(o)&&(ze.isStandardBrowserEnv||ze.isStandardBrowserWebWorkerEnv)&&i.setContentType(!1);let l=new XMLHttpRequest;if(e.auth){const y=e.auth.username||"",m=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(y+":"+m))}const d=ra(e.baseURL,e.url);l.open(e.method.toUpperCase(),Qs(d,e.params,e.paramsSerializer),!0),l.timeout=e.timeout;function p(){if(!l)return;const y=We.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders()),f={data:!s||s==="text"||s==="json"?l.responseText:l.response,status:l.status,statusText:l.statusText,headers:y,config:e,request:l};n0(function(E){n(E),c()},function(E){r(E),c()},f),l=null}if("onloadend"in l?l.onloadend=p:l.onreadystatechange=function(){!l||l.readyState!==4||l.status===0&&!(l.responseURL&&l.responseURL.indexOf("file:")===0)||setTimeout(p)},l.onabort=function(){l&&(r(new X("Request aborted",X.ECONNABORTED,e,l)),l=null)},l.onerror=function(){r(new X("Network Error",X.ERR_NETWORK,e,l)),l=null},l.ontimeout=function(){let m=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const f=e.transitional||ea;e.timeoutErrorMessage&&(m=e.timeoutErrorMessage),r(new X(m,f.clarifyTimeoutError?X.ETIMEDOUT:X.ECONNABORTED,e,l)),l=null},ze.isStandardBrowserEnv){const y=(e.withCredentials||s0(d))&&e.xsrfCookieName&&r0.read(e.xsrfCookieName);y&&i.set(e.xsrfHeaderName,y)}o===void 0&&i.setContentType(null),"setRequestHeader"in l&&v.forEach(i.toJSON(),function(m,f){l.setRequestHeader(f,m)}),v.isUndefined(e.withCredentials)||(l.withCredentials=!!e.withCredentials),s&&s!=="json"&&(l.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&l.addEventListener("progress",Di(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&l.upload&&l.upload.addEventListener("progress",Di(e.onUploadProgress)),(e.cancelToken||e.signal)&&(a=y=>{l&&(r(!y||y.type?new Xt(null,e,l):y),l.abort(),l=null)},e.cancelToken&&e.cancelToken.subscribe(a),e.signal&&(e.signal.aborted?a():e.signal.addEventListener("abort",a)));const g=a0(d);if(g&&ze.protocols.indexOf(g)===-1){r(new X("Unsupported protocol "+g+":",X.ERR_BAD_REQUEST,e));return}l.send(o||null)})},dn={http:Bg,xhr:u0};v.forEach(dn,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const d0={getAdapter:e=>{e=v.isArray(e)?e:[e];const{length:t}=e;let n,r;for(let o=0;oe instanceof We?e.toJSON():e;function vt(e,t){t=t||{};const n={};function r(l,d,p){return v.isPlainObject(l)&&v.isPlainObject(d)?v.merge.call({caseless:p},l,d):v.isPlainObject(d)?v.merge({},d):v.isArray(d)?d.slice():d}function o(l,d,p){if(v.isUndefined(d)){if(!v.isUndefined(l))return r(void 0,l,p)}else return r(l,d,p)}function i(l,d){if(!v.isUndefined(d))return r(void 0,d)}function s(l,d){if(v.isUndefined(d)){if(!v.isUndefined(l))return r(void 0,l)}else return r(void 0,d)}function a(l,d,p){if(p in t)return r(l,d);if(p in e)return r(void 0,l)}const c={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(l,d)=>o(zi(l),zi(d),!0)};return v.forEach(Object.keys(e).concat(Object.keys(t)),function(d){const p=c[d]||o,g=p(e[d],t[d],d);v.isUndefined(g)&&p!==a||(n[d]=g)}),n}const oa="1.3.5",Po={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Po[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Fi={};Po.transitional=function(t,n,r){function o(i,s){return"[Axios v"+oa+"] Transitional option '"+i+"'"+s+(r?". "+r:"")}return(i,s,a)=>{if(t===!1)throw new X(o(s," has been removed"+(n?" in "+n:"")),X.ERR_DEPRECATED);return n&&!Fi[s]&&(Fi[s]=!0,console.warn(o(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,s,a):!0}};function f0(e,t,n){if(typeof e!="object")throw new X("options must be an object",X.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],s=t[i];if(s){const a=e[i],c=a===void 0||s(a,i,e);if(c!==!0)throw new X("option "+i+" must be "+c,X.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new X("Unknown option "+i,X.ERR_BAD_OPTION)}}const Kr={assertOptions:f0,validators:Po},Ke=Kr.validators;class vn{constructor(t){this.defaults=t,this.interceptors={request:new Bi,response:new Bi}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=vt(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:i}=n;r!==void 0&&Kr.assertOptions(r,{silentJSONParsing:Ke.transitional(Ke.boolean),forcedJSONParsing:Ke.transitional(Ke.boolean),clarifyTimeoutError:Ke.transitional(Ke.boolean)},!1),o!=null&&(v.isFunction(o)?n.paramsSerializer={serialize:o}:Kr.assertOptions(o,{encode:Ke.function,serialize:Ke.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s;s=i&&v.merge(i.common,i[n.method]),s&&v.forEach(["delete","get","head","post","put","patch","common"],m=>{delete i[m]}),n.headers=We.concat(s,i);const a=[];let c=!0;this.interceptors.request.forEach(function(f){typeof f.runWhen=="function"&&f.runWhen(n)===!1||(c=c&&f.synchronous,a.unshift(f.fulfilled,f.rejected))});const l=[];this.interceptors.response.forEach(function(f){l.push(f.fulfilled,f.rejected)});let d,p=0,g;if(!c){const m=[Li.bind(this),void 0];for(m.unshift.apply(m,a),m.push.apply(m,l),g=m.length,d=Promise.resolve(n);p{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](o);r._listeners=null}),this.promise.then=o=>{let i;const s=new Promise(a=>{r.subscribe(a),i=a}).then(o);return s.cancel=function(){r.unsubscribe(i)},s},t(function(i,s,a){r.reason||(r.reason=new Xt(i,s,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Ao(function(o){t=o}),cancel:t}}}const p0=Ao;function m0(e){return function(n){return e.apply(null,n)}}function h0(e){return v.isObject(e)&&e.isAxiosError===!0}const qr={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(qr).forEach(([e,t])=>{qr[t]=e});const g0=qr;function ia(e){const t=new fn(e),n=Fs(fn.prototype.request,t);return v.extend(n,fn.prototype,t,{allOwnKeys:!0}),v.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return ia(vt(e,o))},n}const me=ia(To);me.Axios=fn;me.CanceledError=Xt;me.CancelToken=p0;me.isCancel=na;me.VERSION=oa;me.toFormData=ar;me.AxiosError=X;me.Cancel=me.CanceledError;me.all=function(t){return Promise.all(t)};me.spread=m0;me.isAxiosError=h0;me.mergeConfig=vt;me.AxiosHeaders=We;me.formToJSON=e=>ta(v.isHTMLForm(e)?new FormData(e):e);me.HttpStatusCode=g0;me.default=me;const y0=me;var Oo={},Et={},b0={get exports(){return Et},set exports(e){Et=e}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(b0);var Or={};const x0=ba(Ud);var ji;function ur(){return ji||(ji=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=x0}(Or)),Or}var v0=Et;Object.defineProperty(Oo,"__esModule",{value:!0});var dr=Oo.default=void 0,E0=v0(ur()),C0=T,S0=(0,E0.default)((0,C0.jsx)("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z"}),"KeyboardArrowDown");dr=Oo.default=S0;var Mo={},R0=Et;Object.defineProperty(Mo,"__esModule",{value:!0});var fr=Mo.default=void 0,k0=R0(ur()),w0=T,$0=(0,k0.default)((0,w0.jsx)("path",{d:"M7.41 15.41 12 10.83l4.59 4.58L18 14l-6-6-6 6z"}),"KeyboardArrowUp");fr=Mo.default=$0;function Ui(e){const[t,n]=u.useState(null),r=Boolean(t),o=()=>{n(null)},i=s=>{n(s.currentTarget)};return S.createElement("div",{style:e.sx},S.createElement(Eo,{"aria-haspopup":"true","aria-expanded":r?"true":void 0,onMouseEnter:i,disableRipple:!0,sx:{fontSize:"20px",fontWeight:500,color:"#1D1D20","&:hover":{color:"#33A761",backgroundColor:"#ffffff",boxShadow:"none"},"&:active":{backgroundColor:"none"}},endIcon:r?S.createElement(fr,{sx:{width:"24px",height:"24px"}}):S.createElement(dr,{sx:{width:"24px",height:"24px"}})},e.main),S.createElement(Co,{anchorEl:t,open:r,onClose:o,MenuListProps:{sx:{width:"200px",borderRadius:"12px",border:"1px solid #E5E5EB",boxShadow:"none",padding:"8px",gap:"8px"}},PaperProps:{elevation:0,sx:{mt:"10px"}}},e.items.map((s,a)=>S.createElement(So,{component:"a",href:s.url,target:"_blank",sx:{height:"56px",padding:"0px 24px",gap:"10px",borderRadius:"8px",fontSize:"16px",fontWeight:500,lineHeight:"24px",textDecoration:"none",color:"#1D1D20",backgroundColor:"#fff","&:hover":{backgroundColor:"#f0f0f0",color:"#33A761"}}},s.title))))}function T0(e){const[t,n]=u.useState(null),r=Boolean(t),o=()=>{n(null)},i=s=>{n(s.currentTarget)};return S.createElement("div",{style:e.sx},S.createElement(Eo,{"aria-haspopup":"true","aria-expanded":r?"true":void 0,onMouseEnter:i,disableRipple:!0,sx:{height:"44px",color:"#FFF",boxSizing:"border-box",flexDirection:"row",justifyContent:"center",alignItems:"center",padding:"14px 31px",gap:"8px",fontSize:"16px",lineHeight:"24px",backgroundColor:"#1D1D20",fontFamily:["Montserrat"].join(","),borderRadius:32,boxShadow:"none",textTransform:"none","&:hover":{backgroundColor:"#393940",boxShadow:"none"},"&:active":{boxShadow:"none",borderColor:"#000000"},display:{xs:"none",md:"flex"}},endIcon:r?S.createElement(fr,{sx:{width:"24px",height:"24px"}}):S.createElement(dr,{sx:{width:"24px",height:"24px"}})},e.main),S.createElement(Co,{anchorEl:t,open:r,onClose:o,MenuListProps:{sx:{width:"200px",borderRadius:"12px",border:"1px solid #E5E5EB",boxShadow:"none",padding:"8px",gap:"8px",backgroundColor:"#fff"}},PaperProps:{elevation:0,sx:{mt:"10px",backgroundColor:"transparent"}}},e.items.map((s,a)=>S.createElement(So,{key:a,component:"a",href:s.url,target:"_blank",sx:{height:"56px",padding:"0px 24px",gap:"10px",borderRadius:"8px",fontSize:"16px",fontWeight:500,lineHeight:"24px",textDecoration:"none",color:"#1D1D20","&:hover":{backgroundColor:"#f0f0f0",color:"#33A761"}}},s.title))))}function P0(e){return S.createElement(Fr,{role:"img",viewBox:"0 0 1024 1024",...e},S.createElement("path",{d:"M1024 512C1024 794.77 794.77 1024 512 1024C229.23 1024 0 794.77 0 512C0 229.23 229.23 0 512 0C794.77 0 1024 229.23 1024 512Z",fill:"#00913A"}),S.createElement("path",{d:"M504.487 509.052L399.157 677.744C389.041 693.947 400.676 715 419.761 715H793.617C815.087 715 828.18 691.354 816.803 673.121L548.286 243.015C531.623 216.328 492.845 216.328 476.136 243.015L204.733 677.744C194.617 693.947 206.252 715 225.337 715H286.026C289.118 715 292.158 714.212 294.862 712.712C297.565 711.212 299.843 709.048 301.482 706.424L504.487 381.219C505.306 379.905 506.446 378.822 507.798 378.071C509.151 377.32 510.672 376.926 512.219 376.926C513.765 376.926 515.287 377.32 516.639 378.071C517.992 378.822 519.131 379.905 519.95 381.219L658.834 603.689C659.704 605.07 660.188 606.66 660.235 608.292C660.282 609.925 659.89 611.539 659.101 612.969C658.312 614.398 657.154 615.589 655.749 616.417C654.343 617.246 652.741 617.681 651.11 617.679H567.751C566.128 617.671 564.536 617.23 563.14 616.4C561.745 615.57 560.596 614.383 559.812 612.959C559.028 611.536 558.639 609.929 558.683 608.305C558.728 606.68 559.205 605.097 560.065 603.719L566.521 593.349C567.426 591.899 567.906 590.223 567.906 588.513C567.906 586.803 567.426 585.127 566.521 583.677L519.95 509.082C519.134 507.767 517.996 506.681 516.645 505.928C515.294 505.174 513.774 504.777 512.227 504.774C510.68 504.771 509.158 505.162 507.804 505.91C506.45 506.659 505.309 507.74 504.487 509.052Z",fill:"white"}))}function A0(e){const[t,n]=u.useState(null),r=Boolean(t),o=s=>{n(s.currentTarget)},i=()=>{n(null)};return S.createElement("div",{style:e.sx},S.createElement(Eo,{"aria-haspopup":"true","aria-expanded":r?"true":void 0,onMouseEnter:o,sx:{boxShadow:"none",textTransform:"none",height:"44px",display:{xs:"flex",md:"flex"},zIndex:10,mr:2,p:2,border:"1px solid #eee",borderRadius:32,backgroundColor:"#fff",color:"#00913A","&:hover":{backgroundColor:"#fff",boxShadow:"none"},"&:active":{boxShadow:"none",borderColor:"#fff"},cursor:"default"},startIcon:S.createElement(P0,null),endIcon:r?S.createElement(fr,{sx:{width:"24px",height:"24px"}}):S.createElement(dr,{sx:{width:"24px",height:"24px"}})},e.children),S.createElement(Co,{anchorEl:t,open:r,onClose:i,MenuListProps:{sx:{width:"200px",borderRadius:"12px",border:"1px solid #E5E5EB",boxShadow:"none",padding:"8px",gap:"8px",backgroundColor:"#fff"}},PaperProps:{elevation:0,sx:{mt:"10px",backgroundColor:"transparent"}}},e.items.map((s,a)=>S.createElement(So,{key:a,component:"a",href:s.url,target:"_blank",sx:{height:"56px",padding:"0px 24px",gap:"10px",borderRadius:"8px",fontSize:"16px",fontWeight:500,lineHeight:"24px",textDecoration:"none",color:"#1D1D20","&:hover":{backgroundColor:"#f0f0f0",color:"#33A761"}}},s.title))))}var Io={},O0=Et;Object.defineProperty(Io,"__esModule",{value:!0});var sa=Io.default=void 0,M0=O0(ur()),I0=T,_0=(0,M0.default)((0,I0.jsx)("path",{d:"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"}),"Menu");sa=Io.default=_0;function B0(e){return S.createElement(op,{...e},S.createElement(sa,{sx:{color:"rgba(0, 0, 0, 0.54)"}}))}var _o={},N0=Et;Object.defineProperty(_o,"__esModule",{value:!0});var aa=_o.default=void 0,D0=N0(ur()),L0=T,z0=(0,D0.default)((0,L0.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");aa=_o.default=z0;function F0(){const[e,t]=u.useState(!1),n=o=>(i,s)=>{t(s?o:!1)},r=[{title:"Launch APP",items:[{title:"Explorer",url:"https://explorer.arkreen.com/"},{title:"Console",url:"https://console.arkreen.com/"},{title:"AREC",url:"https://arec.arkreen.com/"}]},{title:"GreenBTC",url:"https://greenbtc.club/"},{title:"Learn",items:[{title:"Docs",url:"https://docs.arkreen.com/"},{title:"Blogs",url:"https://medium.com/@arkreen"},{title:"X",url:"https://twitter.com/arkreen_network"}]},{title:"By a miner",items:[{title:"CSP",url:"/csp-order"},{title:"PGP",url:"/pgp-order"},{title:"RM",url:"https://console.arkreen.com/#/shop"}]}];return S.createElement("div",{style:{width:"100%",margin:"0 auto",paddingBottom:80}},r.map((o,i)=>S.createElement("div",{key:i},o.items?S.createElement(yf,{key:i,expanded:e===`panel${i}`,onChange:n(`panel${i}`),sx:{boxShadow:"none","&:before":{display:"none"}}},S.createElement(Yf,{expandIcon:S.createElement(aa,null),"aria-controls":`panel${i}-content`,id:`panel${i}-header`,sx:{boxShadow:"none"}},S.createElement(Ue,null,o.title)),S.createElement(Sf,{sx:{background:"#E5E5EB4D"}},S.createElement(Ds,null,o.items.map((s,a)=>S.createElement(Si,{key:a,target:"_blank",component:"a",href:s.url,sx:{textDecoration:"none","&:hover":{backgroundColor:"#f0f0f0"}}},S.createElement(ki,{primaryTypographyProps:{fontSize:"16px",lineHeight:"24px"},primary:s.title})))))):S.createElement(Si,{target:"_blank",component:"a",href:o.url,sx:{padding:"16px",textDecoration:"none",color:"#1D1D20","&:hover":{backgroundColor:"#f0f0f0"}}},S.createElement(ki,{primary:o.title})))))}function j0(e){const t="top";return S.createElement(fm,{anchor:t,...e},S.createElement(fe,{sx:{}},e.cancel,S.createElement(F0,null)))}function U0(e){const{sx:t,...n}=e,[r,o]=u.useState(!1),[i,s]=u.useState(0);u.useEffect(()=>{(async()=>(await y0.get("https://api.coingecko.com/api/v3/coins/markets?vs_currency=USD&ids=arkreen-token&order=market_cap_desc&per_page=100&page=1&sparkline=false&locale=en")).data)().then(l=>{console.log(l),s(l[0].current_price.toFixed(4))})},[]);const a=c=>l=>{l.type==="keydown"&&(l.key==="Tab"||l.key==="Shift")||o(c)};return u.createElement(yp,{position:"static",sx:{...t,background:"#FFF",backgroundColor:"#FFF",backgroundImage:"none"},elevation:0,...n},u.createElement(jt,{maxWidth:"lg",disableGutters:!0,sx:{px:{xl:0,lg:0,md:2,sm:2,xs:2}}},u.createElement(Fh,{disableGutters:!0,sx:{height:"10vh"}},u.createElement(Ce,{href:"/",style:{zIndex:1e3}},u.createElement(fe,{component:"img",src:"/arkreen_logo.png",sx:{height:32,width:120,zIndex:10}})),u.createElement("span",{style:{flexGrow:1}}),u.createElement(fe,{sx:{flexGrow:1,display:{xs:"none",md:"flex"},alignItems:"center"}},u.createElement(Ui,{sx:{marginRight:"46px",marginBottom:0,zIndex:10},main:"Launch APP",items:[{title:"Explorer",url:"https://explorer.arkreen.com/"},{title:"Console",url:"https://console.arkreen.com/"},{title:"AREC",url:"https://arec.arkreen.com/"}]}),u.createElement(we,{variant:"h5",target:"_blank",sx:{marginRight:"46px",marginBottom:0,zIndex:10},href:"https://greenbtc.club/"},"GreenBTC"),u.createElement(Ui,{sx:{marginRight:"46px",marginBottom:0,zIndex:10},main:"Learn",items:[{title:"Docs",url:"https://docs.arkreen.com/"},{title:"Blogs",url:"https://medium.com/@arkreen"},{title:"X",url:"https://twitter.com/arkreen_network"}]})),u.createElement(A0,{sx:{height:"44px",display:{xs:"none",md:"flex"},zIndex:10},items:[{title:"Uniswap",url:"https://app.uniswap.org/explore/tokens/polygon/0xe9c21de62c5c5d0ceacce2762bf655afdceb7ab3"},{title:"Staking",url:"https://console.arkreen.com/#/stake"},{title:"CEX(coming soon)",url:""}]},"$",i),u.createElement(T0,{sx:{display:{xs:"none",md:"none"},zIndex:10},main:"Buy A Miner",items:[{title:"CSP",url:"/csp-order"},{title:"PGP",url:"/pgp-order"},{title:"RM",url:"https://console.arkreen.com/#/shop"}]}),u.createElement(B0,{sx:{height:"48px",width:"48px",display:{xs:"flex",md:"none"},border:"1px solid #eee",zIndex:10},onClick:a(!0)}),u.createElement(j0,{open:r,onClose:a(!1),cancel:u.createElement(rg,{sx:{color:"rgba(0, 0, 0, 0.54)",marginLeft:2,marginTop:2},onClick:a(!1)}),sx:{background:"#fff",backgroundColor:"#fff",backgroundImage:"none"}}))))}class W0 extends u.Component{constructor(){super(...arguments);Lo(this,"state",{error:void 0})}static getDerivedStateFromError(n){return{error:n}}componentDidCatch(n,r){console.error(n,r)}render(){const{error:n}=this.state;return n?u.createElement(jt,{sx:{marginTop:"43vh"}},u.createElement(jt,{maxWidth:"sm"},u.createElement(Ue,{variant:"h1",align:"center",sx:{fontSize:"2em",fontWeight:300,"& strong":{fontWeight:400}}},u.createElement("strong",null,"Error ",n.status||500),": ",n.message))):this.props.children}}function H0(){return u.createElement(W0,null,u.createElement(U0,null),u.createElement(xa,null,u.createElement(br,{index:!0,element:u.createElement(u.Suspense,{children:u.createElement(Zh,null)})}),u.createElement(br,{path:"/csp-order",element:u.createElement(u.Suspense,{children:u.createElement(Qh,null)})}),u.createElement(br,{path:"/pgp-order",element:u.createElement(eg,null)})),u.createElement(ng,null))}function V0(){const e=Xh();return S.createElement(Au,{theme:e},S.createElement(Vp,null),S.createElement(H0,null))}const G0=document.getElementById("root");document.getElementById("data").text;Hi(G0).render(u.createElement(u.StrictMode,null,u.createElement(va,null,u.createElement(Ea,null,u.createElement(V0,null)))));export{fe as B,jt as C,Ce as L,Gt as P,Ge as S,Ue as T,h as _,te as a,Rt as b,B as c,z as d,go as e,ie as f,re as g,Be as h,$s as i,T as j,Eo as k,Er as r,H as s,ne as u}; diff --git a/assets/react-fc05cb64.js b/assets/react-fc05cb64.js new file mode 100644 index 0000000..625c333 --- /dev/null +++ b/assets/react-fc05cb64.js @@ -0,0 +1,61 @@ +function uv(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}function yf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function cE(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){if(this instanceof r){var o=[null];o.push.apply(o,arguments);var l=Function.bind.apply(t,o);return new l}return 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 j={},sv={get exports(){return j},set exports(e){j=e}},q={};/** + * @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 vo=Symbol.for("react.element"),av=Symbol.for("react.portal"),cv=Symbol.for("react.fragment"),fv=Symbol.for("react.strict_mode"),dv=Symbol.for("react.profiler"),pv=Symbol.for("react.provider"),hv=Symbol.for("react.context"),vv=Symbol.for("react.forward_ref"),mv=Symbol.for("react.suspense"),yv=Symbol.for("react.memo"),gv=Symbol.for("react.lazy"),Ma=Symbol.iterator;function Sv(e){return e===null||typeof e!="object"?null:(e=Ma&&e[Ma]||e["@@iterator"],typeof e=="function"?e:null)}var gf={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Sf=Object.assign,_f={};function vr(e,t,n){this.props=e,this.context=t,this.refs=_f,this.updater=n||gf}vr.prototype.isReactComponent={};vr.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")};vr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function wf(){}wf.prototype=vr.prototype;function hs(e,t,n){this.props=e,this.context=t,this.refs=_f,this.updater=n||gf}var vs=hs.prototype=new wf;vs.constructor=hs;Sf(vs,vr.prototype);vs.isPureReactComponent=!0;var $a=Array.isArray,Rf=Object.prototype.hasOwnProperty,ms={current:null},Ef={key:!0,ref:!0,__self:!0,__source:!0};function kf(e,t,n){var r,o={},l=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(l=""+t.key),t)Rf.call(t,r)&&!Ef.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(u===1)o.children=n;else if(1>>1,y=M[F];if(0>>1;Fo(G,$))Vo(Y,G)?(M[F]=Y,M[V]=$,F=V):(M[F]=G,M[A]=$,F=A);else if(Vo(Y,$))M[F]=Y,M[V]=$,F=V;else break e}}return W}function o(M,W){var $=M.sortIndex-W.sortIndex;return $!==0?$:M.id-W.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var i=Date,u=i.now();e.unstable_now=function(){return i.now()-u}}var s=[],a=[],f=1,d=null,v=3,_=!1,g=!1,w=!1,O=typeof setTimeout=="function"?setTimeout:null,h=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(M){for(var W=n(a);W!==null;){if(W.callback===null)r(a);else if(W.startTime<=M)r(a),W.sortIndex=W.expirationTime,t(s,W);else break;W=n(a)}}function R(M){if(w=!1,p(M),!g)if(n(s)!==null)g=!0,Et(T);else{var W=n(a);W!==null&&Xe(R,W.startTime-M)}}function T(M,W){g=!1,w&&(w=!1,h(I),I=-1),_=!0;var $=v;try{for(p(W),d=n(s);d!==null&&(!(d.expirationTime>W)||M&&!oe());){var F=d.callback;if(typeof F=="function"){d.callback=null,v=d.priorityLevel;var y=F(d.expirationTime<=W);W=e.unstable_now(),typeof y=="function"?d.callback=y:d===n(s)&&r(s),p(W)}else r(s);d=n(s)}if(d!==null)var C=!0;else{var A=n(a);A!==null&&Xe(R,A.startTime-W),C=!1}return C}finally{d=null,v=$,_=!1}}var N=!1,L=null,I=-1,te=5,U=-1;function oe(){return!(e.unstable_now()-UM||125F?(M.sortIndex=$,t(a,M),n(s)===null&&M===n(a)&&(w?(h(I),I=-1):w=!0,Xe(R,$-F))):(M.sortIndex=y,t(s,M),g||_||(g=!0,Et(T))),M},e.unstable_shouldYield=oe,e.unstable_wrapCallback=function(M){var W=v;return function(){var $=v;v=W;try{return M.apply(this,arguments)}finally{v=$}}}})(Tf);(function(e){e.exports=Tf})(Tv);/** + * @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 Cf=j,nt=au;function k(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"),cu=Object.prototype.hasOwnProperty,Cv=/^[: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]*$/,Va={},Da={};function Nv(e){return cu.call(Da,e)?!0:cu.call(Va,e)?!1:Cv.test(e)?Da[e]=!0:(Va[e]=!0,!1)}function Lv(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 Av(e,t,n,r){if(t===null||typeof t>"u"||Lv(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 Fe(e,t,n,r,o,l,i){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=l,this.removeEmptyString=i}var Pe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Pe[e]=new Fe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Pe[t]=new Fe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Pe[e]=new Fe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Pe[e]=new Fe(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){Pe[e]=new Fe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Pe[e]=new Fe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Pe[e]=new Fe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Pe[e]=new Fe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Pe[e]=new Fe(e,5,!1,e.toLowerCase(),null,!1,!1)});var gs=/[\-:]([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(gs,Ss);Pe[t]=new Fe(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(gs,Ss);Pe[t]=new Fe(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(gs,Ss);Pe[t]=new Fe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Pe[e]=new Fe(e,1,!1,e.toLowerCase(),null,!1,!1)});Pe.xlinkHref=new Fe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Pe[e]=new Fe(e,1,!1,e.toLowerCase(),null,!0,!0)});function _s(e,t,n,r){var o=Pe.hasOwnProperty(t)?Pe[t]:null;(o!==null?o.type!==0:r||!(2u||o[i]!==l[u]){var s=` +`+o[i].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=i&&0<=u);break}}}finally{Li=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ir(e):""}function xv(e){switch(e.tag){case 5:return Ir(e.type);case 16:return Ir("Lazy");case 13:return Ir("Suspense");case 19:return Ir("SuspenseList");case 0:case 2:case 15:return e=Ai(e.type,!1),e;case 11:return e=Ai(e.type.render,!1),e;case 1:return e=Ai(e.type,!0),e;default:return""}}function hu(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 zn:return"Fragment";case Un:return"Portal";case fu:return"Profiler";case ws:return"StrictMode";case du:return"Suspense";case pu:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Af:return(e.displayName||"Context")+".Consumer";case Lf:return(e._context.displayName||"Context")+".Provider";case Rs:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Es:return t=e.displayName||null,t!==null?t:hu(e.type)||"Memo";case Ht:t=e._payload,e=e._init;try{return hu(e(t))}catch{}}return null}function Pv(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 hu(t);case 8:return t===ws?"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 un(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Pf(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Mv(e){var t=Pf(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,l=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(i){r=""+i,l.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function xo(e){e._valueTracker||(e._valueTracker=Mv(e))}function Mf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Pf(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function al(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 vu(e,t){var n=t.checked;return Se({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function za(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=un(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&&_s(e,"checked",t,!1)}function mu(e,t){$f(e,t);var n=un(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,un(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Oa(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"||al(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Vr=Array.isArray;function Yn(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=Po.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 Or={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},$v=["Webkit","ms","Moz","O"];Object.keys(Or).forEach(function(e){$v.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Or[t]=Or[e]})});function Uf(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Or.hasOwnProperty(e)&&Or[e]?(""+t).trim():t+"px"}function zf(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Uf(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var Iv=Se({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 _u(e,t){if(t){if(Iv[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(k(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(k(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(k(61))}if(t.style!=null&&typeof t.style!="object")throw Error(k(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 Ru=null;function ks(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Eu=null,Zn=null,Xn=null;function ja(e){if(e=go(e)){if(typeof Eu!="function")throw Error(k(280));var t=e.stateNode;t&&(t=jl(t),Eu(e.stateNode,e.type,t))}}function Of(e){Zn?Xn?Xn.push(e):Xn=[e]:Zn=e}function Ff(){if(Zn){var e=Zn,t=Xn;if(Xn=Zn=null,ja(e),t)for(e=0;e>>=0,e===0?32:31-(Kv(e)/Gv|0)|0}var Mo=64,$o=4194304;function Dr(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 pl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,l=e.pingedLanes,i=n&268435455;if(i!==0){var u=i&~o;u!==0?r=Dr(u):(l&=i,l!==0&&(r=Dr(l)))}else i=n&~o,i!==0?r=Dr(i):l!==0&&(r=Dr(l));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,l=t&-t,o>=l||o===16&&(l&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 mo(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-_t(t),e[t]=n}function Zv(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=Br),Xa=String.fromCharCode(32),Ja=!1;function id(e,t){switch(e){case"keyup":return km.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ud(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var On=!1;function Cm(e,t){switch(e){case"compositionend":return ud(t);case"keypress":return t.which!==32?null:(Ja=!0,Xa);case"textInput":return e=t.data,e===Xa&&Ja?null:e;default:return null}}function Nm(e,t){if(On)return e==="compositionend"||!Ms&&id(e,t)?(e=od(),qo=As=Yt=null,On=!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=nc(n)}}function fd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?fd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function dd(){for(var e=window,t=al();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=al(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 Dm(e){var t=dd(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&fd(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,l=Math.min(r.start,o);r=r.end===void 0?l:Math.min(r.end,o),!e.extend&&l>r&&(o=r,r=l,l=o),o=rc(n,l);var i=rc(n,r);o&&i&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),l>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)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,Fn=null,Au=null,Wr=null,xu=!1;function oc(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;xu||Fn==null||Fn!==al(r)||(r=Fn,"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}),Wr&&oo(Wr,r)||(Wr=r,r=ml(Au,"onSelect"),0Wn||(e.current=Du[Wn],Du[Wn]=null,Wn--)}function ie(e,t){Wn++,Du[Wn]=e.current,e.current=t}var sn={},De=cn(sn),He=cn(!1),En=sn;function or(e,t){var n=e.type.contextTypes;if(!n)return sn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},l;for(l in n)o[l]=t[l];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ke(e){return e=e.childContextTypes,e!=null}function gl(){se(He),se(De)}function fc(e,t,n){if(De.current!==sn)throw Error(k(168));ie(De,t),ie(He,n)}function wd(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(k(108,Pv(e)||"Unknown",o));return Se({},n,r)}function Sl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||sn,En=De.current,ie(De,e),ie(He,He.current),!0}function dc(e,t,n){var r=e.stateNode;if(!r)throw Error(k(169));n?(e=wd(e,t,En),r.__reactInternalMemoizedMergedChildContext=e,se(He),se(De),ie(De,e)):se(He),ie(He,n)}var Mt=null,Wl=!1,Wi=!1;function Rd(e){Mt===null?Mt=[e]:Mt.push(e)}function bm(e){Wl=!0,Rd(e)}function fn(){if(!Wi&&Mt!==null){Wi=!0;var e=0,t=ne;try{var n=Mt;for(ne=1;e>=i,o-=i,$t=1<<32-_t(t)+o|n<I?(te=L,L=null):te=L.sibling;var U=v(h,L,p[I],R);if(U===null){L===null&&(L=te);break}e&&L&&U.alternate===null&&t(h,L),c=l(U,c,I),N===null?T=U:N.sibling=U,N=U,L=te}if(I===p.length)return n(h,L),de&&vn(h,I),T;if(L===null){for(;II?(te=L,L=null):te=L.sibling;var oe=v(h,L,U.value,R);if(oe===null){L===null&&(L=te);break}e&&L&&oe.alternate===null&&t(h,L),c=l(oe,c,I),N===null?T=oe:N.sibling=oe,N=oe,L=te}if(U.done)return n(h,L),de&&vn(h,I),T;if(L===null){for(;!U.done;I++,U=p.next())U=d(h,U.value,R),U!==null&&(c=l(U,c,I),N===null?T=U:N.sibling=U,N=U);return de&&vn(h,I),T}for(L=r(h,L);!U.done;I++,U=p.next())U=_(L,h,I,U.value,R),U!==null&&(e&&U.alternate!==null&&L.delete(U.key===null?I:U.key),c=l(U,c,I),N===null?T=U:N.sibling=U,N=U);return e&&L.forEach(function(Ze){return t(h,Ze)}),de&&vn(h,I),T}function O(h,c,p,R){if(typeof p=="object"&&p!==null&&p.type===zn&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case Ao:e:{for(var T=p.key,N=c;N!==null;){if(N.key===T){if(T=p.type,T===zn){if(N.tag===7){n(h,N.sibling),c=o(N,p.props.children),c.return=h,h=c;break e}}else if(N.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===Ht&&Sc(T)===N.type){n(h,N.sibling),c=o(N,p.props),c.ref=Cr(h,N,p),c.return=h,h=c;break e}n(h,N);break}else t(h,N);N=N.sibling}p.type===zn?(c=Rn(p.props.children,h.mode,R,p.key),c.return=h,h=c):(R=ul(p.type,p.key,p.props,null,h.mode,R),R.ref=Cr(h,c,p),R.return=h,h=R)}return i(h);case Un:e:{for(N=p.key;c!==null;){if(c.key===N)if(c.tag===4&&c.stateNode.containerInfo===p.containerInfo&&c.stateNode.implementation===p.implementation){n(h,c.sibling),c=o(c,p.children||[]),c.return=h,h=c;break e}else{n(h,c);break}else t(h,c);c=c.sibling}c=Xi(p,h.mode,R),c.return=h,h=c}return i(h);case Ht:return N=p._init,O(h,c,N(p._payload),R)}if(Vr(p))return g(h,c,p,R);if(wr(p))return w(h,c,p,R);Fo(h,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,c!==null&&c.tag===6?(n(h,c.sibling),c=o(c,p),c.return=h,h=c):(n(h,c),c=Zi(p,h.mode,R),c.return=h,h=c),i(h)):n(h,c)}return O}var ir=xd(!0),Pd=xd(!1),So={},Lt=cn(So),so=cn(So),ao=cn(So);function _n(e){if(e===So)throw Error(k(174));return e}function js(e,t){switch(ie(ao,t),ie(so,e),ie(Lt,So),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Su(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Su(t,e)}se(Lt),ie(Lt,t)}function ur(){se(Lt),se(so),se(ao)}function Md(e){_n(ao.current);var t=_n(Lt.current),n=Su(t,e.type);t!==n&&(ie(so,e),ie(Lt,n))}function Ws(e){so.current===e&&(se(Lt),se(so))}var ye=cn(0);function Tl(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Hi=[];function Hs(){for(var e=0;en?n:4,e(!0);var r=Ki.transition;Ki.transition={};try{e(!1),t()}finally{ne=n,Ki.transition=r}}function bd(){return dt().memoizedState}function Jm(e,t,n){var r=on(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Yd(e))Zd(t,n);else if(n=Cd(e,t,n,r),n!==null){var o=ze();wt(n,e,r,o),Xd(n,t,r)}}function qm(e,t,n){var r=on(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Yd(e))Zd(t,o);else{var l=e.alternate;if(e.lanes===0&&(l===null||l.lanes===0)&&(l=t.lastRenderedReducer,l!==null))try{var i=t.lastRenderedState,u=l(i,n);if(o.hasEagerState=!0,o.eagerState=u,Rt(u,i)){var s=t.interleaved;s===null?(o.next=o,Fs(t)):(o.next=s.next,s.next=o),t.interleaved=o;return}}catch{}finally{}n=Cd(e,t,o,r),n!==null&&(o=ze(),wt(n,e,r,o),Xd(n,t,r))}}function Yd(e){var t=e.alternate;return e===ge||t!==null&&t===ge}function Zd(e,t){Hr=Cl=!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,Cs(e,n)}}var Nl={readContext:ft,useCallback:$e,useContext:$e,useEffect:$e,useImperativeHandle:$e,useInsertionEffect:$e,useLayoutEffect:$e,useMemo:$e,useReducer:$e,useRef:$e,useState:$e,useDebugValue:$e,useDeferredValue:$e,useTransition:$e,useMutableSource:$e,useSyncExternalStore:$e,useId:$e,unstable_isNewReconciler:!1},ey={readContext:ft,useCallback:function(e,t){return Tt().memoizedState=[e,t===void 0?null:t],e},useContext:ft,useEffect:wc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,rl(4194308,4,Wd.bind(null,t,e),n)},useLayoutEffect:function(e,t){return rl(4194308,4,e,t)},useInsertionEffect:function(e,t){return rl(4,2,e,t)},useMemo:function(e,t){var n=Tt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Tt();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=Jm.bind(null,ge,e),[r.memoizedState,e]},useRef:function(e){var t=Tt();return e={current:e},t.memoizedState=e},useState:_c,useDebugValue:Ys,useDeferredValue:function(e){return Tt().memoizedState=e},useTransition:function(){var e=_c(!1),t=e[0];return e=Xm.bind(null,e[1]),Tt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ge,o=Tt();if(de){if(n===void 0)throw Error(k(407));n=n()}else{if(n=t(),Le===null)throw Error(k(349));Tn&30||Vd(r,t,n)}o.memoizedState=n;var l={value:n,getSnapshot:t};return o.queue=l,wc(Ud.bind(null,r,l,e),[e]),r.flags|=2048,po(9,Dd.bind(null,r,l,n,t),void 0,null),n},useId:function(){var e=Tt(),t=Le.identifierPrefix;if(de){var n=It,r=$t;n=(r&~(1<<32-_t(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=co++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[Ct]=t,e[uo]=r,ip(e,t,!1,!1),t.stateNode=e;e:{switch(i=wu(n,r),n){case"dialog":ue("cancel",e),ue("close",e),o=r;break;case"iframe":case"object":case"embed":ue("load",e),o=r;break;case"video":case"audio":for(o=0;oar&&(t.flags|=128,r=!0,Nr(l,!1),t.lanes=4194304)}else{if(!r)if(e=Tl(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Nr(l,!0),l.tail===null&&l.tailMode==="hidden"&&!i.alternate&&!de)return Ie(t),null}else 2*we()-l.renderingStartTime>ar&&n!==1073741824&&(t.flags|=128,r=!0,Nr(l,!1),t.lanes=4194304);l.isBackwards?(i.sibling=t.child,t.child=i):(n=l.last,n!==null?n.sibling=i:t.child=i,l.last=i)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=we(),t.sibling=null,n=ye.current,ie(ye,r?n&1|2:n&1),t):(Ie(t),null);case 22:case 23:return ta(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?qe&1073741824&&(Ie(t),t.subtreeFlags&6&&(t.flags|=8192)):Ie(t),null;case 24:return null;case 25:return null}throw Error(k(156,t.tag))}function sy(e,t){switch(Vs(t),t.tag){case 1:return Ke(t.type)&&gl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ur(),se(He),se(De),Hs(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Ws(t),null;case 13:if(se(ye),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(k(340));lr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return se(ye),null;case 4:return ur(),null;case 10:return Os(t.type._context),null;case 22:case 23:return ta(),null;case 24:return null;default:return null}}var jo=!1,Ve=!1,ay=typeof WeakSet=="function"?WeakSet:Set,D=null;function Qn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){_e(e,t,r)}else n.current=null}function bu(e,t,n){try{n()}catch(r){_e(e,t,r)}}var xc=!1;function cy(e,t){if(Pu=hl,e=dd(),$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,l=r.focusNode;r=r.focusOffset;try{n.nodeType,l.nodeType}catch{n=null;break e}var i=0,u=-1,s=-1,a=0,f=0,d=e,v=null;t:for(;;){for(var _;d!==n||o!==0&&d.nodeType!==3||(u=i+o),d!==l||r!==0&&d.nodeType!==3||(s=i+r),d.nodeType===3&&(i+=d.nodeValue.length),(_=d.firstChild)!==null;)v=d,d=_;for(;;){if(d===e)break t;if(v===n&&++a===o&&(u=i),v===l&&++f===r&&(s=i),(_=d.nextSibling)!==null)break;d=v,v=d.parentNode}d=_}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(Mu={focusedElem:e,selectionRange:n},hl=!1,D=t;D!==null;)if(t=D,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,D=e;else for(;D!==null;){t=D;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 w=g.memoizedProps,O=g.memoizedState,h=t.stateNode,c=h.getSnapshotBeforeUpdate(t.elementType===t.type?w:yt(t.type,w),O);h.__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(k(163))}}catch(R){_e(t,t.return,R)}if(e=t.sibling,e!==null){e.return=t.return,D=e;break}D=t.return}return g=xc,xc=!1,g}function Kr(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 l=o.destroy;o.destroy=void 0,l!==void 0&&bu(t,n,l)}o=o.next}while(o!==r)}}function Gl(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 Yu(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[Ct],delete t[uo],delete t[Vu],delete t[Gm],delete t[Qm])),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 Pc(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 Zu(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=yl));else if(r!==4&&(e=e.child,e!==null))for(Zu(e,t,n),e=e.sibling;e!==null;)Zu(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 Ae=null,gt=!1;function Wt(e,t,n){for(n=n.child;n!==null;)fp(e,t,n),n=n.sibling}function fp(e,t,n){if(Nt&&typeof Nt.onCommitFiberUnmount=="function")try{Nt.onCommitFiberUnmount(zl,n)}catch{}switch(n.tag){case 5:Ve||Qn(n,t);case 6:var r=Ae,o=gt;Ae=null,Wt(e,t,n),Ae=r,gt=o,Ae!==null&&(gt?(e=Ae,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ae.removeChild(n.stateNode));break;case 18:Ae!==null&&(gt?(e=Ae,n=n.stateNode,e.nodeType===8?ji(e.parentNode,n):e.nodeType===1&&ji(e,n),no(e)):ji(Ae,n.stateNode));break;case 4:r=Ae,o=gt,Ae=n.stateNode.containerInfo,gt=!0,Wt(e,t,n),Ae=r,gt=o;break;case 0:case 11:case 14:case 15:if(!Ve&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var l=o,i=l.destroy;l=l.tag,i!==void 0&&(l&2||l&4)&&bu(n,t,i),o=o.next}while(o!==r)}Wt(e,t,n);break;case 1:if(!Ve&&(Qn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){_e(n,t,u)}Wt(e,t,n);break;case 21:Wt(e,t,n);break;case 22:n.mode&1?(Ve=(r=Ve)||n.memoizedState!==null,Wt(e,t,n),Ve=r):Wt(e,t,n);break;default:Wt(e,t,n)}}function Mc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new ay),t.forEach(function(r){var o=Sy.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function vt(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=i),r&=~l}if(r=o,r=we()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*dy(r/1960))-r,10e?16:e,Zt===null)var r=!1;else{if(e=Zt,Zt=null,xl=0,ee&6)throw Error(k(331));var o=ee;for(ee|=4,D=e.current;D!==null;){var l=D,i=l.child;if(D.flags&16){var u=l.deletions;if(u!==null){for(var s=0;swe()-qs?wn(e,0):Js|=n),Ge(e,t)}function Sp(e,t){t===0&&(e.mode&1?(t=$o,$o<<=1,!($o&130023424)&&($o=4194304)):t=1);var n=ze();e=zt(e,t),e!==null&&(mo(e,t,n),Ge(e,n))}function gy(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Sp(e,n)}function Sy(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(k(314))}r!==null&&r.delete(t),Sp(e,n)}var _p;_p=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||He.current)We=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return We=!1,iy(e,t,n);We=!!(e.flags&131072)}else We=!1,de&&t.flags&1048576&&Ed(t,wl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ol(e,t),e=t.pendingProps;var o=or(t,De.current);qn(t,n),o=Gs(null,t,r,e,o,n);var l=Qs();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,Ke(r)?(l=!0,Sl(t)):l=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Bs(t),o.updater=Hl,t.stateNode=o,o._reactInternals=t,Bu(t,r,e,n),t=Hu(null,t,r,!0,l,n)):(t.tag=0,de&&l&&Is(t),Ue(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ol(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=wy(r),e=yt(r,e),o){case 0:t=Wu(null,t,r,e,n);break e;case 1:t=Nc(null,t,r,e,n);break e;case 11:t=Tc(null,t,r,e,n);break e;case 14:t=Cc(null,t,r,yt(r.type,e),n);break e}throw Error(k(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:yt(r,o),Wu(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:yt(r,o),Nc(e,t,r,o,n);case 3:e:{if(rp(t),e===null)throw Error(k(387));r=t.pendingProps,l=t.memoizedState,o=l.element,Nd(e,t),kl(t,r,null,n);var i=t.memoizedState;if(r=i.element,l.isDehydrated)if(l={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=l,t.memoizedState=l,t.flags&256){o=sr(Error(k(423)),t),t=Lc(e,t,r,n,o);break e}else if(r!==o){o=sr(Error(k(424)),t),t=Lc(e,t,r,n,o);break e}else for(et=tn(t.stateNode.containerInfo.firstChild),tt=t,de=!0,St=null,n=Pd(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(lr(),r===o){t=Ot(e,t,n);break e}Ue(e,t,r,n)}t=t.child}return t;case 5:return Md(t),e===null&&zu(t),r=t.type,o=t.pendingProps,l=e!==null?e.memoizedProps:null,i=o.children,$u(r,o)?i=null:l!==null&&$u(r,l)&&(t.flags|=32),np(e,t),Ue(e,t,i,n),t.child;case 6:return e===null&&zu(t),null;case 13:return op(e,t,n);case 4:return js(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=ir(t,null,r,n):Ue(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:yt(r,o),Tc(e,t,r,o,n);case 7:return Ue(e,t,t.pendingProps,n),t.child;case 8:return Ue(e,t,t.pendingProps.children,n),t.child;case 12:return Ue(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,l=t.memoizedProps,i=o.value,ie(Rl,r._currentValue),r._currentValue=i,l!==null)if(Rt(l.value,i)){if(l.children===o.children&&!He.current){t=Ot(e,t,n);break e}}else for(l=t.child,l!==null&&(l.return=t);l!==null;){var u=l.dependencies;if(u!==null){i=l.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(l.tag===1){s=Vt(-1,n&-n),s.tag=2;var a=l.updateQueue;if(a!==null){a=a.shared;var f=a.pending;f===null?s.next=s:(s.next=f.next,f.next=s),a.pending=s}}l.lanes|=n,s=l.alternate,s!==null&&(s.lanes|=n),Ou(l.return,n,t),u.lanes|=n;break}s=s.next}}else if(l.tag===10)i=l.type===t.type?null:l.child;else if(l.tag===18){if(i=l.return,i===null)throw Error(k(341));i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),Ou(i,n,t),i=l.sibling}else i=l.child;if(i!==null)i.return=l;else for(i=l;i!==null;){if(i===t){i=null;break}if(l=i.sibling,l!==null){l.return=i.return,i=l;break}i=i.return}l=i}Ue(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,qn(t,n),o=ft(o),r=r(o),t.flags|=1,Ue(e,t,r,n),t.child;case 14:return r=t.type,o=yt(r,t.pendingProps),o=yt(r.type,o),Cc(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:yt(r,o),ol(e,t),t.tag=1,Ke(r)?(e=!0,Sl(t)):e=!1,qn(t,n),Ad(t,r,o),Bu(t,r,o,n),Hu(null,t,r,!0,e,n);case 19:return lp(e,t,n);case 22:return tp(e,t,n)}throw Error(k(156,t.tag))};function wp(e,t){return Qf(e,t)}function _y(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 at(e,t,n,r){return new _y(e,t,n,r)}function ra(e){return e=e.prototype,!(!e||!e.isReactComponent)}function wy(e){if(typeof e=="function")return ra(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Rs)return 11;if(e===Es)return 14}return 2}function ln(e,t){var n=e.alternate;return n===null?(n=at(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 ul(e,t,n,r,o,l){var i=2;if(r=e,typeof e=="function")ra(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case zn:return Rn(n.children,o,l,t);case ws:i=8,o|=8;break;case fu:return e=at(12,n,t,o|2),e.elementType=fu,e.lanes=l,e;case du:return e=at(13,n,t,o),e.elementType=du,e.lanes=l,e;case pu:return e=at(19,n,t,o),e.elementType=pu,e.lanes=l,e;case xf:return bl(n,o,l,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Lf:i=10;break e;case Af:i=9;break e;case Rs:i=11;break e;case Es:i=14;break e;case Ht:i=16,r=null;break e}throw Error(k(130,e==null?e:typeof e,""))}return t=at(i,n,t,o),t.elementType=e,t.type=r,t.lanes=l,t}function Rn(e,t,n,r){return e=at(7,e,r,t),e.lanes=n,e}function bl(e,t,n,r){return e=at(22,e,r,t),e.elementType=xf,e.lanes=n,e.stateNode={isHidden:!1},e}function Zi(e,t,n){return e=at(6,e,null,t),e.lanes=n,e}function Xi(e,t,n){return t=at(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ry(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=Pi(0),this.expirationTimes=Pi(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Pi(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function oa(e,t,n,r,o,l,i,u,s){return e=new Ry(e,t,n,u,s),t===1?(t=1,l===!0&&(t|=8)):t=0,l=at(3,null,null,t),e.current=l,l.stateNode=e,l.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Bs(l),e}function Ey(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}t(),e.exports=rt})(kv);const Ly=yf(su);/** + * @remix-run/router v1.2.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function ns(){return ns=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function xy(){return Math.random().toString(36).substr(2,8)}function Bc(e){return{usr:e.state,key:e.key}}function rs(e,t,n,r){return n===void 0&&(n=null),ns({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?ql(t):t,{state:n,key:t&&t.key||r||xy()})}function sa(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function ql(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function Py(e){let t=typeof window<"u"&&typeof window.location<"u"&&window.location.origin!=="null"?window.location.origin:window.location.href,n=typeof e=="string"?e:sa(e);return be(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}function My(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:l=!1}=r,i=o.history,u=Xt.Pop,s=null;function a(){u=Xt.Pop,s&&s({action:u,location:v.location})}function f(_,g){u=Xt.Push;let w=rs(v.location,_,g);n&&n(w,_);let O=Bc(w),h=v.createHref(w);try{i.pushState(O,"",h)}catch{o.location.assign(h)}l&&s&&s({action:u,location:v.location})}function d(_,g){u=Xt.Replace;let w=rs(v.location,_,g);n&&n(w,_);let O=Bc(w),h=v.createHref(w);i.replaceState(O,"",h),l&&s&&s({action:u,location:v.location})}let v={get action(){return u},get location(){return e(o,i)},listen(_){if(s)throw new Error("A history only accepts one active listener");return o.addEventListener(Fc,a),s=_,()=>{o.removeEventListener(Fc,a),s=null}},createHref(_){return t(o,_)},encodeLocation(_){let g=Py(typeof _=="string"?_:sa(_));return{pathname:g.pathname,search:g.search,hash:g.hash}},push:f,replace:d,go(_){return i.go(_)}};return v}var jc;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(jc||(jc={}));function $y(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?ql(t):t,o=Np(r.pathname||"/",n);if(o==null)return null;let l=Tp(e);Iy(l);let i=null;for(let u=0;i==null&&u{let s={relativePath:u===void 0?l.path||"":u,caseSensitive:l.caseSensitive===!0,childrenIndex:i,route:l};s.relativePath.startsWith("/")&&(be(s.relativePath.startsWith(r),'Absolute route path "'+s.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),s.relativePath=s.relativePath.slice(r.length));let a=tr([r,s.relativePath]),f=n.concat(s);l.children&&l.children.length>0&&(be(l.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+a+'".')),Tp(l.children,t,f,a)),!(l.path==null&&!l.index)&&t.push({path:a,score:By(a,l.index),routesMeta:f})};return e.forEach((l,i)=>{var u;if(l.path===""||!((u=l.path)!=null&&u.includes("?")))o(l,i);else for(let s of Cp(l.path))o(l,i,s)}),t}function Cp(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),l=n.replace(/\?$/,"");if(r.length===0)return o?[l,""]:[l];let i=Cp(r.join("/")),u=[];return u.push(...i.map(s=>s===""?l:[l,s].join("/"))),o&&u.push(...i),u.map(s=>e.startsWith("/")&&s===""?"/":s)}function Iy(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:jy(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Vy=/^:\w+$/,Dy=3,Uy=2,zy=1,Oy=10,Fy=-2,Wc=e=>e==="*";function By(e,t){let n=e.split("/"),r=n.length;return n.some(Wc)&&(r+=Fy),t&&(r+=Uy),n.filter(o=>!Wc(o)).reduce((o,l)=>o+(Vy.test(l)?Dy:l===""?zy:Oy),r)}function jy(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function Wy(e,t){let{routesMeta:n}=e,r={},o="/",l=[];for(let i=0;i{if(f==="*"){let v=u[d]||"";i=l.slice(0,l.length-v.length).replace(/(.)\/+$/,"$1")}return a[f]=Qy(u[d]||"",f),a},{}),pathname:l,pathnameBase:i,pattern:e}}function Ky(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),aa(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(i,u)=>(r.push(u),"/([^\\/]+)"));return e.endsWith("*")?(r.push("*"),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function Gy(e){try{return decodeURI(e)}catch(t){return aa(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Qy(e,t){try{return decodeURIComponent(e)}catch(n){return aa(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),e}}function Np(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function aa(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}const tr=e=>e.join("/").replace(/\/\/+/g,"/"),by=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/");class Yy{constructor(t,n,r,o){o===void 0&&(o=!1),this.status=t,this.statusText=n||"",this.internal=o,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function Zy(e){return e instanceof Yy}const Xy=["post","put","patch","delete"];[...Xy];/** + * React Router v6.6.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function os(){return os=Object.assign?Object.assign.bind():function(e){for(var t=1;t{o.value=r,o.getSnapshot=t,Ji(o)&&l({inst:o})},[e,r,t]),tg(()=>(Ji(o)&&l({inst:o}),e(()=>{Ji(o)&&l({inst:o})})),[e]),rg(r),r}function Ji(e){const t=e.getSnapshot,n=e.value;try{const r=t();return!qy(n,r)}catch{return!0}}function lg(e,t,n){return t()}const ig=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",ug=!ig,sg=ug?lg:og;"useSyncExternalStore"in uu&&(e=>e.useSyncExternalStore)(uu);const ag=j.createContext(null),cg=j.createContext(null),Lp=j.createContext(null),Ap=j.createContext(null),ei=j.createContext(null),ti=j.createContext({outlet:null,matches:[]}),xp=j.createContext(null);function ca(){return j.useContext(ei)!=null}function fg(){return ca()||be(!1),j.useContext(ei).location}function dg(e,t){ca()||be(!1);let{navigator:n}=j.useContext(Ap),r=j.useContext(Lp),{matches:o}=j.useContext(ti),l=o[o.length-1],i=l?l.params:{};l&&l.pathname;let u=l?l.pathnameBase:"/";l&&l.route;let s=fg(),a;if(t){var f;let w=typeof t=="string"?ql(t):t;u==="/"||(f=w.pathname)!=null&&f.startsWith(u)||be(!1),a=w}else a=s;let d=a.pathname||"/",v=u==="/"?d:d.slice(u.length)||"/",_=$y(e,{pathname:v}),g=mg(_&&_.map(w=>Object.assign({},w,{params:Object.assign({},i,w.params),pathname:tr([u,n.encodeLocation?n.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?u:tr([u,n.encodeLocation?n.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),o,r||void 0);return t&&g?j.createElement(ei.Provider,{value:{location:os({pathname:"/",search:"",hash:"",state:null,key:"default"},a),navigationType:Xt.Pop}},g):g}function pg(){let e=_g(),t=Zy(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:r},l={padding:"2px 4px",backgroundColor:r};return j.createElement(j.Fragment,null,j.createElement("h2",null,"Unhandled Thrown Error!"),j.createElement("h3",{style:{fontStyle:"italic"}},t),n?j.createElement("pre",{style:o},n):null,j.createElement("p",null,"💿 Hey developer 👋"),j.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",j.createElement("code",{style:l},"errorElement")," props on ",j.createElement("code",{style:l},"")))}class hg extends j.Component{constructor(t){super(t),this.state={location:t.location,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location?{error:t.error,location:t.location}:{error:t.error||n.error,location:n.location}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error?j.createElement(ti.Provider,{value:this.props.routeContext},j.createElement(xp.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function vg(e){let{routeContext:t,match:n,children:r}=e,o=j.useContext(ag);return o&&n.route.errorElement&&(o._deepestRenderedBoundaryId=n.route.id),j.createElement(ti.Provider,{value:t},r)}function mg(e,t,n){if(t===void 0&&(t=[]),e==null)if(n!=null&&n.errors)e=n.matches;else return null;let r=e,o=n==null?void 0:n.errors;if(o!=null){let l=r.findIndex(i=>i.route.id&&(o==null?void 0:o[i.route.id]));l>=0||be(!1),r=r.slice(0,Math.min(r.length,l+1))}return r.reduceRight((l,i,u)=>{let s=i.route.id?o==null?void 0:o[i.route.id]:null,a=n?i.route.errorElement||j.createElement(pg,null):null,f=t.concat(r.slice(0,u+1)),d=()=>j.createElement(vg,{match:i,routeContext:{outlet:l,matches:f}},s?a:i.route.element!==void 0?i.route.element:l);return n&&(i.route.errorElement||u===0)?j.createElement(hg,{location:n.location,component:a,error:s,children:d(),routeContext:{outlet:null,matches:f}}):d()},null)}var Hc;(function(e){e.UseRevalidator="useRevalidator"})(Hc||(Hc={}));var $l;(function(e){e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"})($l||($l={}));function yg(e){let t=j.useContext(Lp);return t||be(!1),t}function gg(e){let t=j.useContext(ti);return t||be(!1),t}function Sg(e){let t=gg(),n=t.matches[t.matches.length-1];return n.route.id||be(!1),n.route.id}function _g(){var e;let t=j.useContext(xp),n=yg($l.UseRouteError),r=Sg($l.UseRouteError);return t||((e=n.errors)==null?void 0:e[r])}function wg(e){be(!1)}function Rg(e){let{basename:t="/",children:n=null,location:r,navigationType:o=Xt.Pop,navigator:l,static:i=!1}=e;ca()&&be(!1);let u=t.replace(/^\/*/,"/"),s=j.useMemo(()=>({basename:u,navigator:l,static:i}),[u,l,i]);typeof r=="string"&&(r=ql(r));let{pathname:a="/",search:f="",hash:d="",state:v=null,key:_="default"}=r,g=j.useMemo(()=>{let w=Np(a,u);return w==null?null:{pathname:w,search:f,hash:d,state:v,key:_}},[u,a,f,d,v,_]);return g==null?null:j.createElement(Ap.Provider,{value:s},j.createElement(ei.Provider,{children:n,value:{location:g,navigationType:o}}))}function fE(e){let{children:t,location:n}=e,r=j.useContext(cg),o=r&&!t?r.router.routes:ls(t);return dg(o,n)}var Kc;(function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"})(Kc||(Kc={}));new Promise(()=>{});function ls(e,t){t===void 0&&(t=[]);let n=[];return j.Children.forEach(e,(r,o)=>{if(!j.isValidElement(r))return;if(r.type===j.Fragment){n.push.apply(n,ls(r.props.children,t));return}r.type!==wg&&be(!1),!r.props.index||!r.props.children||be(!1);let l=[...t,o],i={id:r.props.id||l.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,hasErrorBoundary:r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle};r.props.children&&(i.children=ls(r.props.children,l)),n.push(i)}),n}/** + * React Router DOM v6.6.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function dE(e){let{basename:t,children:n,window:r}=e,o=j.useRef();o.current==null&&(o.current=Ay({window:r,v5Compat:!0}));let l=o.current,[i,u]=j.useState({action:l.action,location:l.location});return j.useLayoutEffect(()=>l.listen(u),[l]),j.createElement(Rg,{basename:t,children:n,location:i.location,navigationType:i.action,navigator:l})}var Gc;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(Gc||(Gc={}));var Qc;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Qc||(Qc={}));function Eg(e){const t=new Error(e);if(t.stack===void 0)try{throw t}catch{}return t}var kg=Eg,Z=kg;function Tg(e){return!!e&&typeof e.then=="function"}var pe=Tg;function Cg(e,t){if(e!=null)return e;throw Z(t??"Got unexpected null or undefined")}var he=Cg;function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class ni{getValue(){throw Z("BaseLoadable")}toPromise(){throw Z("BaseLoadable")}valueMaybe(){throw Z("BaseLoadable")}valueOrThrow(){throw Z(`Loadable expected value, but in "${this.state}" state`)}promiseMaybe(){throw Z("BaseLoadable")}promiseOrThrow(){throw Z(`Loadable expected promise, but in "${this.state}" state`)}errorMaybe(){throw Z("BaseLoadable")}errorOrThrow(){throw Z(`Loadable expected error, but in "${this.state}" state`)}is(t){return t.state===this.state&&t.contents===this.contents}map(t){throw Z("BaseLoadable")}}class Ng extends ni{constructor(t){super(),b(this,"state","hasValue"),b(this,"contents",void 0),this.contents=t}getValue(){return this.contents}toPromise(){return Promise.resolve(this.contents)}valueMaybe(){return this.contents}valueOrThrow(){return this.contents}promiseMaybe(){}errorMaybe(){}map(t){try{const n=t(this.contents);return pe(n)?Ln(n):cr(n)?n:_o(n)}catch(n){return pe(n)?Ln(n.next(()=>this.map(t))):ri(n)}}}class Lg extends ni{constructor(t){super(),b(this,"state","hasError"),b(this,"contents",void 0),this.contents=t}getValue(){throw this.contents}toPromise(){return Promise.reject(this.contents)}valueMaybe(){}promiseMaybe(){}errorMaybe(){return this.contents}errorOrThrow(){return this.contents}map(t){return this}}class Pp extends ni{constructor(t){super(),b(this,"state","loading"),b(this,"contents",void 0),this.contents=t}getValue(){throw this.contents}toPromise(){return this.contents}valueMaybe(){}promiseMaybe(){return this.contents}promiseOrThrow(){return this.contents}errorMaybe(){}map(t){return Ln(this.contents.then(n=>{const r=t(n);if(cr(r)){const o=r;switch(o.state){case"hasValue":return o.contents;case"hasError":throw o.contents;case"loading":return o.contents}}return r}).catch(n=>{if(pe(n))return n.then(()=>this.map(t).contents);throw n}))}}function _o(e){return Object.freeze(new Ng(e))}function ri(e){return Object.freeze(new Lg(e))}function Ln(e){return Object.freeze(new Pp(e))}function Mp(){return Object.freeze(new Pp(new Promise(()=>{})))}function Ag(e){return e.every(t=>t.state==="hasValue")?_o(e.map(t=>t.contents)):e.some(t=>t.state==="hasError")?ri(he(e.find(t=>t.state==="hasError"),"Invalid loadable passed to loadableAll").contents):Ln(Promise.all(e.map(t=>t.contents)))}function $p(e){const n=(Array.isArray(e)?e:Object.getOwnPropertyNames(e).map(o=>e[o])).map(o=>cr(o)?o:pe(o)?Ln(o):_o(o)),r=Ag(n);return Array.isArray(e)?r:r.map(o=>Object.getOwnPropertyNames(e).reduce((l,i,u)=>({...l,[i]:o[u]}),{}))}function cr(e){return e instanceof ni}const xg={of:e=>pe(e)?Ln(e):cr(e)?e:_o(e),error:e=>ri(e),loading:()=>Mp(),all:$p,isLoadable:cr};var Mn={loadableWithValue:_o,loadableWithError:ri,loadableWithPromise:Ln,loadableLoading:Mp,loadableAll:$p,isLoadable:cr,RecoilLoadable:xg},Pg=Mn.loadableWithValue,Mg=Mn.loadableWithError,$g=Mn.loadableWithPromise,Ig=Mn.loadableLoading,Vg=Mn.loadableAll,Dg=Mn.isLoadable,Ug=Mn.RecoilLoadable,wo=Object.freeze({__proto__:null,loadableWithValue:Pg,loadableWithError:Mg,loadableWithPromise:$g,loadableLoading:Ig,loadableAll:Vg,isLoadable:Dg,RecoilLoadable:Ug});const oi=new Map().set("recoil_hamt_2020",!0).set("recoil_sync_external_store",!0).set("recoil_suppress_rerender_in_callback",!0).set("recoil_memory_managament_2020",!0);function li(e){var t;return(t=oi.get(e))!==null&&t!==void 0?t:!1}li.setPass=e=>{oi.set(e,!0)};li.setFail=e=>{oi.set(e,!1)};li.clear=()=>{oi.clear()};var le=li;function zg(e,t,{error:n}={}){return null}var Og=zg,fa=Og,qi,eu,tu;const Fg=(qi=ae.createMutableSource)!==null&&qi!==void 0?qi:ae.unstable_createMutableSource,Ip=(eu=ae.useMutableSource)!==null&&eu!==void 0?eu:ae.unstable_useMutableSource,Vp=(tu=ae.useSyncExternalStore)!==null&&tu!==void 0?tu:ae.unstable_useSyncExternalStore;function Bg(){var e;const{ReactCurrentDispatcher:t,ReactCurrentOwner:n}=ae.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;return((e=t==null?void 0:t.current)!==null&&e!==void 0?e:n.currentDispatcher).useSyncExternalStore!=null}function jg(){return le("recoil_transition_support")?{mode:"TRANSITION_SUPPORT",early:!0,concurrent:!0}:le("recoil_sync_external_store")&&Vp!=null?{mode:"SYNC_EXTERNAL_STORE",early:!0,concurrent:!1}:le("recoil_mutable_source")&&Ip!=null&&typeof window<"u"&&!window.$disableRecoilValueMutableSource_TEMP_HACK_DO_NOT_USE?le("recoil_suppress_rerender_in_callback")?{mode:"MUTABLE_SOURCE",early:!0,concurrent:!0}:{mode:"MUTABLE_SOURCE",early:!1,concurrent:!1}:le("recoil_suppress_rerender_in_callback")?{mode:"LEGACY",early:!0,concurrent:!1}:{mode:"LEGACY",early:!1,concurrent:!1}}function Wg(){return!1}var Ro={createMutableSource:Fg,useMutableSource:Ip,useSyncExternalStore:Vp,currentRendererSupportsUseSyncExternalStore:Bg,reactMode:jg,isFastRefreshEnabled:Wg};const Dp={RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED:!0};function Hg(){var e,t,n;if(typeof process>"u"||((e=process)===null||e===void 0?void 0:e.env)==null)return;const r=(t={}.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED)===null||t===void 0||(n=t.toLowerCase())===null||n===void 0?void 0:n.trim();if(r==null||r==="")return;if(!["true","false"].includes(r))throw Z(`({}).RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED value must be 'true', 'false', or empty: ${r}`);Dp.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED=r==="true"}Hg();var Up=Dp;class da{constructor(t){b(this,"key",void 0),this.key=t}toJSON(){return{key:this.key}}}class zp extends da{}class Op extends da{}function Kg(e){return e instanceof zp||e instanceof Op}var ii={AbstractRecoilValue:da,RecoilState:zp,RecoilValueReadOnly:Op,isRecoilValue:Kg},Gg=ii.AbstractRecoilValue,Qg=ii.RecoilState,bg=ii.RecoilValueReadOnly,Yg=ii.isRecoilValue,fr=Object.freeze({__proto__:null,AbstractRecoilValue:Gg,RecoilState:Qg,RecoilValueReadOnly:bg,isRecoilValue:Yg});function Zg(e,t){return function*(){let n=0;for(const r of e)yield t(r,n++)}()}var ui=Zg;class Fp{}const Xg=new Fp,An=new Map,pa=new Map;function Jg(e){return ui(e,t=>he(pa.get(t)))}function qg(e){if(An.has(e)){const t=`Duplicate atom key "${e}". This is a FATAL ERROR in + production. But it is safe to ignore this warning if it occurred because of + hot module replacement.`;console.warn(t)}}function e0(e){Up.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED&&qg(e.key),An.set(e.key,e);const t=e.set==null?new fr.RecoilValueReadOnly(e.key):new fr.RecoilState(e.key);return pa.set(e.key,t),t}class Bp extends Error{}function t0(e){const t=An.get(e);if(t==null)throw new Bp(`Missing definition for RecoilValue: "${e}""`);return t}function n0(e){return An.get(e)}const Il=new Map;function r0(e){var t;if(!le("recoil_memory_managament_2020"))return;const n=An.get(e);if(n!=null&&(t=n.shouldDeleteConfigOnRelease)!==null&&t!==void 0&&t.call(n)){var r;An.delete(e),(r=jp(e))===null||r===void 0||r(),Il.delete(e)}}function o0(e,t){le("recoil_memory_managament_2020")&&(t===void 0?Il.delete(e):Il.set(e,t))}function jp(e){return Il.get(e)}var Ye={nodes:An,recoilValues:pa,registerNode:e0,getNode:t0,getNodeMaybe:n0,deleteNodeConfigIfPossible:r0,setConfigDeletionHandler:o0,getConfigDeletionHandler:jp,recoilValuesForKeys:Jg,NodeMissingError:Bp,DefaultValue:Fp,DEFAULT_VALUE:Xg};function l0(e,t){t()}var i0={enqueueExecution:l0};function u0(e,t){return t={exports:{}},e(t,t.exports),t.exports}var s0=u0(function(e){var t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(S){return typeof S}:function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},n={},r=5,o=Math.pow(2,r),l=o-1,i=o/2,u=o/4,s={},a=function(m){return function(){return m}},f=n.hash=function(S){var m=typeof S>"u"?"undefined":t(S);if(m==="number")return S;m!=="string"&&(S+="");for(var E=0,x=0,P=S.length;x>1&1431655765,m=(m&858993459)+(m>>2&858993459),m=m+(m>>4)&252645135,m+=m>>8,m+=m>>16,m&127},v=function(m,E){return E>>>m&l},_=function(m){return 1<=E;)P[Q--]=P[Q];return P[E]=x,P}for(var H=0,K=0,X=new Array(z+1);H>>=1;return Q[E]=x,oe(m,K+1,Q)},Me=function(m,E,x,P){for(var z=new Array(E-1),Q=0,H=0,K=0,X=P.length;K1?te(m,this.hash,X):X[0]}var fe=P();return fe===s?this:(++H.value,jt(m,x,this.hash,this,z,I(m,z,Q,fe)))},$=function(m,E,x,P,z,Q,H){var K=this.mask,X=this.children,fe=v(x,z),Be=_(fe),Ce=g(K,Be),it=K&Be,ht=it?X[Ce]:N,In=ht._modify(m,E,x+r,P,z,Q,H);if(ht===In)return this;var No=Xe(m,this),Sr=K,_r=void 0;if(it&&L(In)){if(Sr&=~Be,!Sr)return N;if(X.length<=2&&Ze(X[Ce^1]))return X[Ce^1];_r=O(No,Ce,X)}else if(!it&&!L(In)){if(X.length>=i)return ve(m,fe,In,K,X);Sr|=Be,_r=h(No,Ce,In,X)}else _r=w(No,Ce,In,X);return No?(this.mask=Sr,this.children=_r,this):U(m,Sr,_r)},F=function(m,E,x,P,z,Q,H){var K=this.size,X=this.children,fe=v(x,z),Be=X[fe],Ce=(Be||N)._modify(m,E,x+r,P,z,Q,H);if(Be===Ce)return this;var it=Xe(m,this),ht=void 0;if(L(Be)&&!L(Ce))++K,ht=w(it,fe,Ce,X);else if(!L(Be)&&L(Ce)){if(--K,K<=u)return Me(m,K,fe,X);ht=w(it,fe,N,X)}else ht=w(it,fe,Ce,X);return it?(this.size=K,this.children=ht,this):oe(m,K,ht)};N._modify=function(S,m,E,x,P,z,Q){var H=x();return H===s?N:(++Q.value,I(S,P,z,H))};function y(S,m,E,x,P){this._editable=S,this._edit=m,this._config=E,this._root=x,this._size=P}y.prototype.setTree=function(S,m){return this._editable?(this._root=S,this._size=m,this):S===this._root?this:new y(this._editable,this._edit,this._config,S,m)};var C=n.tryGetHash=function(S,m,E,x){for(var P=x._root,z=0,Q=x._config.keyEq;;)switch(P.type){case c:return Q(E,P.key)?P.value:S;case p:{if(m===P.hash)for(var H=P.children,K=0,X=H.length;K{n.set(o,t(r,o))}),n}var Vl=h0;function v0(){return{nodeDeps:new Map,nodeToNodeSubscriptions:new Map}}function m0(e){return{nodeDeps:Vl(e.nodeDeps,t=>new Set(t)),nodeToNodeSubscriptions:Vl(e.nodeToNodeSubscriptions,t=>new Set(t))}}function nu(e,t,n,r){const{nodeDeps:o,nodeToNodeSubscriptions:l}=n,i=o.get(e);if(i&&r&&i!==r.nodeDeps.get(e))return;o.set(e,t);const u=i==null?t:br(t,i);for(const s of u)l.has(s)||l.set(s,new Set),he(l.get(s)).add(e);if(i){const s=br(i,t);for(const a of s){if(!l.has(a))return;const f=he(l.get(a));f.delete(e),f.size===0&&l.delete(a)}}}function y0(e,t,n,r){var o,l,i,u;const s=n.getState();r===s.currentTree.version||r===((o=s.nextTree)===null||o===void 0?void 0:o.version)||((l=s.previousTree)===null||l===void 0||l.version);const a=n.getGraph(r);if(nu(e,t,a),r===((i=s.previousTree)===null||i===void 0?void 0:i.version)){const d=n.getGraph(s.currentTree.version);nu(e,t,d,a)}if(r===((u=s.previousTree)===null||u===void 0?void 0:u.version)||r===s.currentTree.version){var f;const d=(f=s.nextTree)===null||f===void 0?void 0:f.version;if(d!==void 0){const v=n.getGraph(d);nu(e,t,v,a)}}}var Eo={cloneGraph:m0,graph:v0,saveDepsToStore:y0};let g0=0;const S0=()=>g0++;let _0=0;const w0=()=>_0++;let R0=0;const E0=()=>R0++;var si={getNextTreeStateVersion:S0,getNextStoreID:w0,getNextComponentID:E0};const{persistentMap:bc}=d0,{graph:k0}=Eo,{getNextTreeStateVersion:Wp}=si;function Hp(){const e=Wp();return{version:e,stateID:e,transactionMetadata:{},dirtyAtoms:new Set,atomValues:bc(),nonvalidatedAtoms:bc()}}function T0(){const e=Hp();return{currentTree:e,nextTree:null,previousTree:null,commitDepth:0,knownAtoms:new Set,knownSelectors:new Set,transactionSubscriptions:new Map,nodeTransactionSubscriptions:new Map,nodeToComponentSubscriptions:new Map,queuedComponentCallbacks_DEPRECATED:[],suspendedComponentResolvers:new Set,graphsByVersion:new Map().set(e.version,k0()),retention:{referenceCounts:new Map,nodesRetainedByZone:new Map,retainablesToCheckForRelease:new Set},nodeCleanupFunctions:new Map}}var Kp={makeEmptyTreeState:Hp,makeEmptyStoreState:T0,getNextTreeStateVersion:Wp};class Gp{}function C0(){return new Gp}var ai={RetentionZone:Gp,retentionZone:C0};function N0(e,t){const n=new Set(e);return n.add(t),n}function L0(e,t){const n=new Set(e);return n.delete(t),n}function A0(e,t,n){const r=new Map(e);return r.set(t,n),r}function x0(e,t,n){const r=new Map(e);return r.set(t,n(r.get(t))),r}function P0(e,t){const n=new Map(e);return n.delete(t),n}function M0(e,t){const n=new Map(e);return t.forEach(r=>n.delete(r)),n}var Qp={setByAddingToSet:N0,setByDeletingFromSet:L0,mapBySettingInMap:A0,mapByUpdatingInMap:x0,mapByDeletingFromMap:P0,mapByDeletingMultipleFromMap:M0};function*$0(e,t){let n=0;for(const r of e)t(r,n++)&&(yield r)}var ma=$0;function I0(e,t){return new Proxy(e,{get:(r,o)=>(!(o in r)&&o in t&&(r[o]=t[o]()),r[o]),ownKeys:r=>Object.keys(r)})}var bp=I0;const{getNode:ko,getNodeMaybe:V0,recoilValuesForKeys:Yc}=Ye,{RetentionZone:Zc}=ai,{setByAddingToSet:D0}=Qp,U0=Object.freeze(new Set);class z0 extends Error{}function O0(e,t,n){if(!le("recoil_memory_managament_2020"))return()=>{};const{nodesRetainedByZone:r}=e.getState().retention;function o(l){let i=r.get(l);i||r.set(l,i=new Set),i.add(t)}if(n instanceof Zc)o(n);else if(Array.isArray(n))for(const l of n)o(l);return()=>{if(!le("recoil_memory_managament_2020"))return;const{retention:l}=e.getState();function i(u){const s=l.nodesRetainedByZone.get(u);s==null||s.delete(t),s&&s.size===0&&l.nodesRetainedByZone.delete(u)}if(n instanceof Zc)i(n);else if(Array.isArray(n))for(const u of n)i(u)}}function ya(e,t,n,r){const o=e.getState();if(o.nodeCleanupFunctions.has(n))return;const l=ko(n),i=O0(e,n,l.retainedBy),u=l.init(e,t,r);o.nodeCleanupFunctions.set(n,()=>{u(),i()})}function F0(e,t,n){ya(e,e.getState().currentTree,t,n)}function B0(e,t){var n;const r=e.getState();(n=r.nodeCleanupFunctions.get(t))===null||n===void 0||n(),r.nodeCleanupFunctions.delete(t)}function j0(e,t,n){return ya(e,t,n,"get"),ko(n).get(e,t)}function Yp(e,t,n){return ko(n).peek(e,t)}function W0(e,t,n){var r;const o=V0(t);return o==null||(r=o.invalidate)===null||r===void 0||r.call(o,e),{...e,atomValues:e.atomValues.clone().delete(t),nonvalidatedAtoms:e.nonvalidatedAtoms.clone().set(t,n),dirtyAtoms:D0(e.dirtyAtoms,t)}}function H0(e,t,n,r){const o=ko(n);if(o.set==null)throw new z0(`Attempt to set read-only RecoilValue: ${n}`);const l=o.set;return ya(e,t,n,"set"),l(e,t,r)}function K0(e,t,n){const r=e.getState(),o=e.getGraph(t.version),l=ko(n).nodeType;return bp({type:l},{loadable:()=>Yp(e,t,n),isActive:()=>r.knownAtoms.has(n)||r.knownSelectors.has(n),isSet:()=>l==="selector"?!1:t.atomValues.has(n),isModified:()=>t.dirtyAtoms.has(n),deps:()=>{var i;return Yc((i=o.nodeDeps.get(n))!==null&&i!==void 0?i:[])},subscribers:()=>{var i,u;return{nodes:Yc(ma(Zp(e,t,new Set([n])),s=>s!==n)),components:ui((i=(u=r.nodeToComponentSubscriptions.get(n))===null||u===void 0?void 0:u.values())!==null&&i!==void 0?i:[],([s])=>({name:s}))}}})}function Zp(e,t,n){const r=new Set,o=Array.from(n),l=e.getGraph(t.version);for(let u=o.pop();u;u=o.pop()){var i;r.add(u);const s=(i=l.nodeToNodeSubscriptions.get(u))!==null&&i!==void 0?i:U0;for(const a of s)r.has(a)||o.push(a)}return r}var dn={getNodeLoadable:j0,peekNodeLoadable:Yp,setNodeValue:H0,initializeNode:F0,cleanUpNode:B0,setUnvalidatedAtomValue_DEPRECATED:W0,peekNodeInfo:K0,getDownstreamNodes:Zp};let Xp=null;function G0(e){Xp=e}function Q0(){var e;(e=Xp)===null||e===void 0||e()}var Jp={setInvalidateMemoizedSnapshot:G0,invalidateMemoizedSnapshot:Q0};const{getDownstreamNodes:b0,getNodeLoadable:qp,setNodeValue:Y0}=dn,{getNextComponentID:Z0}=si,{getNode:X0,getNodeMaybe:eh}=Ye,{DefaultValue:ga}=Ye,{reactMode:J0}=Ro,{AbstractRecoilValue:q0,RecoilState:eS,RecoilValueReadOnly:tS,isRecoilValue:nS}=fr,{invalidateMemoizedSnapshot:rS}=Jp;function oS(e,{key:t},n=e.getState().currentTree){var r,o;const l=e.getState();n.version===l.currentTree.version||n.version===((r=l.nextTree)===null||r===void 0?void 0:r.version)||(n.version,(o=l.previousTree)===null||o===void 0||o.version);const i=qp(e,n,t);return i.state==="loading"&&i.contents.catch(()=>{}),i}function lS(e,t){const n=e.clone();return t.forEach((r,o)=>{r.state==="hasValue"&&r.contents instanceof ga?n.delete(o):n.set(o,r)}),n}function iS(e,t,{key:n},r){if(typeof r=="function"){const o=qp(e,t,n);if(o.state==="loading"){const l=`Tried to set atom or selector "${n}" using an updater function while the current state is pending, this is not currently supported.`;throw Z(l)}else if(o.state==="hasError")throw o.contents;return r(o.contents)}else return r}function uS(e,t,n){if(n.type==="set"){const{recoilValue:o,valueOrUpdater:l}=n,i=iS(e,t,o,l),u=Y0(e,t,o.key,i);for(const[s,a]of u.entries())is(t,s,a)}else if(n.type==="setLoadable"){const{recoilValue:{key:o},loadable:l}=n;is(t,o,l)}else if(n.type==="markModified"){const{recoilValue:{key:o}}=n;t.dirtyAtoms.add(o)}else if(n.type==="setUnvalidated"){var r;const{recoilValue:{key:o},unvalidatedValue:l}=n,i=eh(o);i==null||(r=i.invalidate)===null||r===void 0||r.call(i,t),t.atomValues.delete(o),t.nonvalidatedAtoms.set(o,l),t.dirtyAtoms.add(o)}else fa(`Unknown action ${n.type}`)}function is(e,t,n){n.state==="hasValue"&&n.contents instanceof ga?e.atomValues.delete(t):e.atomValues.set(t,n),e.dirtyAtoms.add(t),e.nonvalidatedAtoms.delete(t)}function th(e,t){e.replaceState(n=>{const r=nh(n);for(const o of t)uS(e,r,o);return rh(e,r),rS(),r})}function ci(e,t){if(Yr.length){const n=Yr[Yr.length-1];let r=n.get(e);r||n.set(e,r=[]),r.push(t)}else th(e,[t])}const Yr=[];function sS(){const e=new Map;return Yr.push(e),()=>{for(const[t,n]of e)th(t,n);Yr.pop()}}function nh(e){return{...e,atomValues:e.atomValues.clone(),nonvalidatedAtoms:e.nonvalidatedAtoms.clone(),dirtyAtoms:new Set(e.dirtyAtoms)}}function rh(e,t){const n=b0(e,t,t.dirtyAtoms);for(const l of n){var r,o;(r=eh(l))===null||r===void 0||(o=r.invalidate)===null||o===void 0||o.call(r,t)}}function oh(e,t,n){ci(e,{type:"set",recoilValue:t,valueOrUpdater:n})}function aS(e,t,n){if(n instanceof ga)return oh(e,t,n);ci(e,{type:"setLoadable",recoilValue:t,loadable:n})}function cS(e,t){ci(e,{type:"markModified",recoilValue:t})}function fS(e,t,n){ci(e,{type:"setUnvalidated",recoilValue:t,unvalidatedValue:n})}function dS(e,{key:t},n,r=null){const o=Z0(),l=e.getState();l.nodeToComponentSubscriptions.has(t)||l.nodeToComponentSubscriptions.set(t,new Map),he(l.nodeToComponentSubscriptions.get(t)).set(o,[r??"",n]);const i=J0();if(i.early&&(i.mode==="LEGACY"||i.mode==="MUTABLE_SOURCE")){const u=e.getState().nextTree;u&&u.dirtyAtoms.has(t)&&n(u)}return{release:()=>{const u=e.getState(),s=u.nodeToComponentSubscriptions.get(t);s===void 0||!s.has(o)||(s.delete(o),s.size===0&&u.nodeToComponentSubscriptions.delete(t))}}}function pS(e,t){var n;const{currentTree:r}=e.getState(),o=X0(t.key);(n=o.clearCache)===null||n===void 0||n.call(o,e,r)}var At={RecoilValueReadOnly:tS,AbstractRecoilValue:q0,RecoilState:eS,getRecoilValueAsLoadable:oS,setRecoilValue:oh,setRecoilValueLoadable:aS,markRecoilValueModified:cS,setUnvalidatedRecoilValue:fS,subscribeToRecoilValue:dS,isRecoilValue:nS,applyAtomValueWrites:lS,batchStart:sS,writeLoadableToTreeState:is,invalidateDownstreams:rh,copyTreeState:nh,refreshRecoilValue:pS};function hS(e,t,n){const r=e.entries();let o=r.next();for(;!o.done;){const l=o.value;if(t.call(n,l[1],l[0],e))return!0;o=r.next()}return!1}var vS=hS;const{cleanUpNode:mS}=dn,{deleteNodeConfigIfPossible:yS,getNode:lh}=Ye,{RetentionZone:ih}=ai,gS=12e4,uh=new Set;function sh(e,t){const n=e.getState(),r=n.currentTree;if(n.nextTree)return;const o=new Set;for(const i of t)if(i instanceof ih)for(const u of RS(n,i))o.add(u);else o.add(i);const l=SS(e,o);for(const i of l)wS(e,r,i)}function SS(e,t){const n=e.getState(),r=n.currentTree,o=e.getGraph(r.version),l=new Set,i=new Set;return u(t),l;function u(s){const a=new Set,f=_S(e,r,s,l,i);for(const g of f){var d;if(lh(g).retainedBy==="recoilRoot"){i.add(g);continue}if(((d=n.retention.referenceCounts.get(g))!==null&&d!==void 0?d:0)>0){i.add(g);continue}if(ah(g).some(O=>n.retention.referenceCounts.get(O))){i.add(g);continue}const w=o.nodeToNodeSubscriptions.get(g);if(w&&vS(w,O=>i.has(O))){i.add(g);continue}l.add(g),a.add(g)}const v=new Set;for(const g of a)for(const w of(_=o.nodeDeps.get(g))!==null&&_!==void 0?_:uh){var _;l.has(w)||v.add(w)}v.size&&u(v)}}function _S(e,t,n,r,o){const l=e.getGraph(t.version),i=[],u=new Set;for(;n.size>0;)s(he(n.values().next().value));return i;function s(a){if(r.has(a)||o.has(a)){n.delete(a);return}if(u.has(a))return;const f=l.nodeToNodeSubscriptions.get(a);if(f)for(const d of f)s(d);u.add(a),n.delete(a),i.push(a)}}function wS(e,t,n){if(!le("recoil_memory_managament_2020"))return;mS(e,n);const r=e.getState();r.knownAtoms.delete(n),r.knownSelectors.delete(n),r.nodeTransactionSubscriptions.delete(n),r.retention.referenceCounts.delete(n);const o=ah(n);for(const s of o){var l;(l=r.retention.nodesRetainedByZone.get(s))===null||l===void 0||l.delete(n)}t.atomValues.delete(n),t.dirtyAtoms.delete(n),t.nonvalidatedAtoms.delete(n);const i=r.graphsByVersion.get(t.version);if(i){const s=i.nodeDeps.get(n);if(s!==void 0){i.nodeDeps.delete(n);for(const a of s){var u;(u=i.nodeToNodeSubscriptions.get(a))===null||u===void 0||u.delete(n)}}i.nodeToNodeSubscriptions.delete(n)}yS(n)}function RS(e,t){var n;return(n=e.retention.nodesRetainedByZone.get(t))!==null&&n!==void 0?n:uh}function ah(e){const t=lh(e).retainedBy;return t===void 0||t==="components"||t==="recoilRoot"?[]:t instanceof ih?[t]:t}function ES(e,t){const n=e.getState();n.nextTree?n.retention.retainablesToCheckForRelease.add(t):sh(e,new Set([t]))}function kS(e,t,n){var r;if(!le("recoil_memory_managament_2020"))return;const o=e.getState().retention.referenceCounts,l=((r=o.get(t))!==null&&r!==void 0?r:0)+n;l===0?ch(e,t):o.set(t,l)}function ch(e,t){if(!le("recoil_memory_managament_2020"))return;e.getState().retention.referenceCounts.delete(t),ES(e,t)}function TS(e){if(!le("recoil_memory_managament_2020"))return;const t=e.getState();sh(e,t.retention.retainablesToCheckForRelease),t.retention.retainablesToCheckForRelease.clear()}function CS(e){return e===void 0?"recoilRoot":e}var $n={SUSPENSE_TIMEOUT_MS:gS,updateRetainCount:kS,updateRetainCountToZero:ch,releaseScheduledRetainablesNow:TS,retainedByOptionWithDefault:CS};const{unstable_batchedUpdates:NS}=Ly;var LS={unstable_batchedUpdates:NS};const{unstable_batchedUpdates:AS}=LS;var xS={unstable_batchedUpdates:AS};const{batchStart:PS}=At,{unstable_batchedUpdates:MS}=xS;let Sa=MS;const $S=e=>{Sa=e},IS=()=>Sa,VS=e=>{Sa(()=>{let t=()=>{};try{t=PS(),e()}finally{t()}})};var fi={getBatcher:IS,setBatcher:$S,batchUpdates:VS};function*DS(e){for(const t of e)for(const n of t)yield n}var fh=DS;const dh=typeof Window>"u"||typeof window>"u",US=e=>!dh&&(e===window||e instanceof Window),zS=typeof navigator<"u"&&navigator.product==="ReactNative";var _a={isSSR:dh,isReactNative:zS,isWindow:US};function OS(e,t){let n;return(...o)=>{n||(n={});const l=t(...o);return Object.hasOwnProperty.call(n,l)||(n[l]=e(...o)),n[l]}}function FS(e,t){let n,r;return(...l)=>{const i=t(...l);return n===i||(n=i,r=e(...l)),r}}function BS(e,t){let n,r;return[(...i)=>{const u=t(...i);return n===u||(n=u,r=e(...i)),r},()=>{n=null}]}var jS={memoizeWithArgsHash:OS,memoizeOneWithArgsHash:FS,memoizeOneWithArgsHashAndInvalidation:BS};const{batchUpdates:us}=fi,{initializeNode:WS,peekNodeInfo:HS}=dn,{graph:KS}=Eo,{getNextStoreID:GS}=si,{DEFAULT_VALUE:QS,recoilValues:Xc,recoilValuesForKeys:Jc}=Ye,{AbstractRecoilValue:bS,getRecoilValueAsLoadable:YS,setRecoilValue:qc,setUnvalidatedRecoilValue:ZS}=At,{updateRetainCount:sl}=$n,{setInvalidateMemoizedSnapshot:XS}=Jp,{getNextTreeStateVersion:JS,makeEmptyStoreState:qS}=Kp,{isSSR:e1}=_a,{memoizeOneWithArgsHashAndInvalidation:t1}=jS;class di{constructor(t,n){b(this,"_store",void 0),b(this,"_refCount",1),b(this,"getLoadable",r=>(this.checkRefCount_INTERNAL(),YS(this._store,r))),b(this,"getPromise",r=>(this.checkRefCount_INTERNAL(),this.getLoadable(r).toPromise())),b(this,"getNodes_UNSTABLE",r=>{if(this.checkRefCount_INTERNAL(),(r==null?void 0:r.isModified)===!0){if((r==null?void 0:r.isInitialized)===!1)return[];const i=this._store.getState().currentTree;return Jc(i.dirtyAtoms)}const o=this._store.getState().knownAtoms,l=this._store.getState().knownSelectors;return(r==null?void 0:r.isInitialized)==null?Xc.values():r.isInitialized===!0?Jc(fh([o,l])):ma(Xc.values(),({key:i})=>!o.has(i)&&!l.has(i))}),b(this,"getInfo_UNSTABLE",({key:r})=>(this.checkRefCount_INTERNAL(),HS(this._store,this._store.getState().currentTree,r))),b(this,"map",r=>{this.checkRefCount_INTERNAL();const o=new ss(this,us);return r(o),o}),b(this,"asyncMap",async r=>{this.checkRefCount_INTERNAL();const o=new ss(this,us);return o.retain(),await r(o),o.autoRelease_INTERNAL(),o}),this._store={storeID:GS(),parentStoreID:n,getState:()=>t,replaceState:r=>{t.currentTree=r(t.currentTree)},getGraph:r=>{const o=t.graphsByVersion;if(o.has(r))return he(o.get(r));const l=KS();return o.set(r,l),l},subscribeToTransactions:()=>({release:()=>{}}),addTransactionMetadata:()=>{throw Z("Cannot subscribe to Snapshots")}};for(const r of this._store.getState().knownAtoms)WS(this._store,r,"get"),sl(this._store,r,1);this.autoRelease_INTERNAL()}retain(){this._refCount<=0,this._refCount++;let t=!1;return()=>{t||(t=!0,this._release())}}autoRelease_INTERNAL(){e1||window.setTimeout(()=>this._release(),10)}_release(){if(this._refCount--,this._refCount===0){if(this._store.getState().nodeCleanupFunctions.forEach(t=>t()),this._store.getState().nodeCleanupFunctions.clear(),!le("recoil_memory_managament_2020"))return}else this._refCount<0}isRetained(){return this._refCount>0}checkRefCount_INTERNAL(){le("recoil_memory_managament_2020")&&this._refCount<=0}getStore_INTERNAL(){return this.checkRefCount_INTERNAL(),this._store}getID(){return this.checkRefCount_INTERNAL(),this._store.getState().currentTree.stateID}getStoreID(){return this.checkRefCount_INTERNAL(),this._store.storeID}}function ph(e,t,n=!1){const r=e.getState(),o=n?JS():t.version;return{currentTree:{version:n?o:t.version,stateID:n?o:t.stateID,transactionMetadata:{...t.transactionMetadata},dirtyAtoms:new Set(t.dirtyAtoms),atomValues:t.atomValues.clone(),nonvalidatedAtoms:t.nonvalidatedAtoms.clone()},commitDepth:0,nextTree:null,previousTree:null,knownAtoms:new Set(r.knownAtoms),knownSelectors:new Set(r.knownSelectors),transactionSubscriptions:new Map,nodeTransactionSubscriptions:new Map,nodeToComponentSubscriptions:new Map,queuedComponentCallbacks_DEPRECATED:[],suspendedComponentResolvers:new Set,graphsByVersion:new Map().set(o,e.getGraph(t.version)),retention:{referenceCounts:new Map,nodesRetainedByZone:new Map,retainablesToCheckForRelease:new Set},nodeCleanupFunctions:new Map(ui(r.nodeCleanupFunctions.entries(),([l])=>[l,()=>{}]))}}function n1(e){const t=new di(qS());return e!=null?t.map(e):t}const[ef,hh]=t1((e,t)=>{var n;const r=e.getState(),o=t==="latest"?(n=r.nextTree)!==null&&n!==void 0?n:r.currentTree:he(r.previousTree);return new di(ph(e,o),e.storeID)},(e,t)=>{var n,r;return String(t)+String(e.storeID)+String((n=e.getState().nextTree)===null||n===void 0?void 0:n.version)+String(e.getState().currentTree.version)+String((r=e.getState().previousTree)===null||r===void 0?void 0:r.version)});XS(hh);function r1(e,t="latest"){const n=ef(e,t);return n.isRetained()?n:(hh(),ef(e,t))}class ss extends di{constructor(t,n){super(ph(t.getStore_INTERNAL(),t.getStore_INTERNAL().getState().currentTree,!0),t.getStoreID()),b(this,"_batch",void 0),b(this,"set",(r,o)=>{this.checkRefCount_INTERNAL();const l=this.getStore_INTERNAL();this._batch(()=>{sl(l,r.key,1),qc(this.getStore_INTERNAL(),r,o)})}),b(this,"reset",r=>{this.checkRefCount_INTERNAL();const o=this.getStore_INTERNAL();this._batch(()=>{sl(o,r.key,1),qc(this.getStore_INTERNAL(),r,QS)})}),b(this,"setUnvalidatedAtomValues_DEPRECATED",r=>{this.checkRefCount_INTERNAL();const o=this.getStore_INTERNAL();us(()=>{for(const[l,i]of r.entries())sl(o,l,1),ZS(o,new bS(l),i)})}),this._batch=n}}var pi={Snapshot:di,MutableSnapshot:ss,freshSnapshot:n1,cloneSnapshot:r1},o1=pi.Snapshot,l1=pi.MutableSnapshot,i1=pi.freshSnapshot,u1=pi.cloneSnapshot,hi=Object.freeze({__proto__:null,Snapshot:o1,MutableSnapshot:l1,freshSnapshot:i1,cloneSnapshot:u1});function s1(...e){const t=new Set;for(const n of e)for(const r of n)t.add(r);return t}var a1=s1;const{useRef:c1}=ae;function f1(e){const t=c1(e);return t.current===e&&typeof e=="function"&&(t.current=e()),t}var tf=f1;const{getNextTreeStateVersion:d1,makeEmptyStoreState:vh}=Kp,{cleanUpNode:p1,getDownstreamNodes:h1,initializeNode:v1,setNodeValue:m1,setUnvalidatedAtomValue_DEPRECATED:y1}=dn,{graph:g1}=Eo,{cloneGraph:S1}=Eo,{getNextStoreID:mh}=si,{createMutableSource:ru,reactMode:yh}=Ro,{applyAtomValueWrites:_1}=At,{releaseScheduledRetainablesNow:gh}=$n,{freshSnapshot:w1}=hi,{useCallback:R1,useContext:Sh,useEffect:as,useMemo:E1,useRef:k1,useState:T1}=ae;function Ar(){throw Z("This component must be used inside a component.")}const _h=Object.freeze({storeID:mh(),getState:Ar,replaceState:Ar,getGraph:Ar,subscribeToTransactions:Ar,addTransactionMetadata:Ar});let cs=!1;function nf(e){if(cs)throw Z("An atom update was triggered within the execution of a state updater function. State updater functions provided to Recoil must be pure functions.");const t=e.getState();if(t.nextTree===null){le("recoil_memory_managament_2020")&&le("recoil_release_on_cascading_update_killswitch_2021")&&t.commitDepth>0&&gh(e);const n=t.currentTree.version,r=d1();t.nextTree={...t.currentTree,version:r,stateID:r,dirtyAtoms:new Set,transactionMetadata:{}},t.graphsByVersion.set(r,S1(he(t.graphsByVersion.get(n))))}}const wh=ae.createContext({current:_h}),vi=()=>Sh(wh),Rh=ae.createContext(null);function C1(){return Sh(Rh)}function wa(e,t,n){const r=h1(e,n,n.dirtyAtoms);for(const o of r){const l=t.nodeToComponentSubscriptions.get(o);if(l)for(const[i,[u,s]]of l)s(n)}}function Eh(e){const t=e.getState(),n=t.currentTree,r=n.dirtyAtoms;if(r.size){for(const[o,l]of t.nodeTransactionSubscriptions)if(r.has(o))for(const[i,u]of l)u(e);for(const[o,l]of t.transactionSubscriptions)l(e);(!yh().early||t.suspendedComponentResolvers.size>0)&&(wa(e,t,n),t.suspendedComponentResolvers.forEach(o=>o()),t.suspendedComponentResolvers.clear())}t.queuedComponentCallbacks_DEPRECATED.forEach(o=>o(n)),t.queuedComponentCallbacks_DEPRECATED.splice(0,t.queuedComponentCallbacks_DEPRECATED.length)}function N1(e){const t=e.getState();t.commitDepth++;try{const{nextTree:n}=t;if(n==null)return;t.previousTree=t.currentTree,t.currentTree=n,t.nextTree=null,Eh(e),t.previousTree!=null?t.graphsByVersion.delete(t.previousTree.version):fa("Ended batch with no previous state, which is unexpected","recoil"),t.previousTree=null,le("recoil_memory_managament_2020")&&n==null&&gh(e)}finally{t.commitDepth--}}function L1({setNotifyBatcherOfChange:e}){const t=vi(),[,n]=T1([]);return e(()=>n({})),as(()=>(e(()=>n({})),()=>{e(()=>{})}),[e]),as(()=>{i0.enqueueExecution("Batcher",()=>{N1(t.current)})}),null}function A1(e,t){const n=vh();return t({set:(r,o)=>{const l=n.currentTree,i=m1(e,l,r.key,o),u=new Set(i.keys()),s=l.nonvalidatedAtoms.clone();for(const a of u)s.delete(a);n.currentTree={...l,dirtyAtoms:a1(l.dirtyAtoms,u),atomValues:_1(l.atomValues,i),nonvalidatedAtoms:s}},setUnvalidatedAtomValues:r=>{r.forEach((o,l)=>{n.currentTree=y1(n.currentTree,l,o)})}}),n}function x1(e){const t=w1(e),n=t.getStore_INTERNAL().getState();return t.retain(),n.nodeCleanupFunctions.forEach(r=>r()),n.nodeCleanupFunctions.clear(),n}let rf=0;function P1({initializeState_DEPRECATED:e,initializeState:t,store_INTERNAL:n,children:r}){let o;const l=_=>{const g=o.current.graphsByVersion;if(g.has(_))return he(g.get(_));const w=g1();return g.set(_,w),w},i=(_,g)=>{if(g==null){const{transactionSubscriptions:w}=d.current.getState(),O=rf++;return w.set(O,_),{release:()=>{w.delete(O)}}}else{const{nodeTransactionSubscriptions:w}=d.current.getState();w.has(g)||w.set(g,new Map);const O=rf++;return he(w.get(g)).set(O,_),{release:()=>{const h=w.get(g);h&&(h.delete(O),h.size===0&&w.delete(g))}}}},u=_=>{nf(d.current);for(const g of Object.keys(_))he(d.current.getState().nextTree).transactionMetadata[g]=_[g]},s=_=>{nf(d.current);const g=he(o.current.nextTree);let w;try{cs=!0,w=_(g)}finally{cs=!1}w!==g&&(o.current.nextTree=w,yh().early&&wa(d.current,o.current,w),he(a.current)())},a=k1(null),f=R1(_=>{a.current=_},[a]),d=tf(()=>n??{storeID:mh(),getState:()=>o.current,replaceState:s,getGraph:l,subscribeToTransactions:i,addTransactionMetadata:u});n!=null&&(d.current=n),o=tf(()=>e!=null?A1(d.current,e):t!=null?x1(t):vh());const v=E1(()=>ru==null?void 0:ru(o,()=>o.current.currentTree.version),[o]);return as(()=>{const _=d.current;for(const g of new Set(_.getState().knownAtoms))v1(_,g,"get");return()=>{for(const g of _.getState().knownAtoms)p1(_,g)}},[d]),ae.createElement(wh.Provider,{value:d},ae.createElement(Rh.Provider,{value:v},ae.createElement(L1,{setNotifyBatcherOfChange:f}),r))}function M1(e){const{override:t,...n}=e,r=vi();return t===!1&&r.current!==_h?e.children:ae.createElement(P1,n)}function $1(){return vi().current.storeID}var Bt={RecoilRoot:M1,useStoreRef:vi,useRecoilMutableSource:C1,useRecoilStoreID:$1,notifyComponents_FOR_TESTING:wa,sendEndOfBatchNotifications_FOR_TESTING:Eh};function I1(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0,r=e.length;n{t.current=e}),t.current}var kh=z1;const{useStoreRef:O1}=Bt,{SUSPENSE_TIMEOUT_MS:F1}=$n,{updateRetainCount:xr}=$n,{RetentionZone:B1}=ai,{useEffect:j1,useRef:W1}=ae,{isSSR:of}=_a;function H1(e){if(le("recoil_memory_managament_2020"))return K1(e)}function K1(e){const n=(Array.isArray(e)?e:[e]).map(i=>i instanceof B1?i:i.key),r=O1();j1(()=>{if(!le("recoil_memory_managament_2020"))return;const i=r.current;if(o.current&&!of)window.clearTimeout(o.current),o.current=null;else for(const u of n)xr(i,u,1);return()=>{for(const u of n)xr(i,u,-1)}},[r,...n]);const o=W1(),l=kh(n);if(!of&&(l===void 0||!V1(l,n))){const i=r.current;for(const u of n)xr(i,u,1);if(l)for(const u of l)xr(i,u,-1);o.current&&window.clearTimeout(o.current),o.current=window.setTimeout(()=>{o.current=null;for(const u of n)xr(i,u,-1)},F1)}}var Ra=H1;function G1(){return""}var To=G1;const{batchUpdates:Q1}=fi,{DEFAULT_VALUE:Th}=Ye,{currentRendererSupportsUseSyncExternalStore:b1,reactMode:gr,useMutableSource:Y1,useSyncExternalStore:Z1}=Ro,{useRecoilMutableSource:X1,useStoreRef:xt}=Bt,{AbstractRecoilValue:fs,getRecoilValueAsLoadable:Co,setRecoilValue:Dl,setUnvalidatedRecoilValue:J1,subscribeToRecoilValue:dr}=At,{useCallback:Qe,useEffect:pr,useMemo:Ch,useRef:Zr,useState:Ea}=ae,{setByAddingToSet:q1}=Qp;function ka(e,t,n){if(e.state==="hasValue")return e.contents;throw e.state==="loading"?new Promise(o=>{n.current.getState().suspendedComponentResolvers.add(o)}):e.state==="hasError"?e.contents:Z(`Invalid value of loadable atom "${t.key}"`)}function e_(){const e=To(),t=xt(),[,n]=Ea([]),r=Zr(new Set);r.current=new Set;const o=Zr(new Set),l=Zr(new Map),i=Qe(s=>{const a=l.current.get(s);a&&(a.release(),l.current.delete(s))},[l]),u=Qe((s,a)=>{l.current.has(a)&&n([])},[]);return pr(()=>{const s=t.current;br(r.current,o.current).forEach(a=>{if(l.current.has(a))return;const f=dr(s,new fs(a),v=>u(v,a),e);l.current.set(a,f),s.getState().nextTree?s.getState().queuedComponentCallbacks_DEPRECATED.push(()=>{u(s.getState(),a)}):u(s.getState(),a)}),br(o.current,r.current).forEach(a=>{i(a)}),o.current=r.current}),pr(()=>{const s=l.current;return br(r.current,new Set(s.keys())).forEach(a=>{const f=dr(t.current,new fs(a),d=>u(d,a),e);s.set(a,f)}),()=>s.forEach((a,f)=>i(f))},[e,t,i,u]),Ch(()=>{function s(g){return w=>{Dl(t.current,g,w)}}function a(g){return()=>Dl(t.current,g,Th)}function f(g){var w;r.current.has(g.key)||(r.current=q1(r.current,g.key));const O=t.current.getState();return Co(t.current,g,gr().early&&(w=O.nextTree)!==null&&w!==void 0?w:O.currentTree)}function d(g){const w=f(g);return ka(w,g,t)}function v(g){return[d(g),s(g)]}function _(g){return[f(g),s(g)]}return{getRecoilValue:d,getRecoilValueLoadable:f,getRecoilState:v,getRecoilStateLoadable:_,getSetRecoilState:s,getResetRecoilState:a}},[r,t])}const t_={current:0};function n_(e){const t=xt(),n=To(),r=Qe(()=>{var u;const s=t.current,a=s.getState(),f=gr().early&&(u=a.nextTree)!==null&&u!==void 0?u:a.currentTree;return{loadable:Co(s,e,f),key:e.key}},[t,e]),o=Qe(u=>{let s;return()=>{var a,f;const d=u();return(a=s)!==null&&a!==void 0&&a.loadable.is(d.loadable)&&((f=s)===null||f===void 0?void 0:f.key)===d.key?s:(s=d,d)}},[]),l=Ch(()=>o(r),[r,o]),i=Qe(u=>{const s=t.current;return dr(s,e,u,n).release},[t,e,n]);return Z1(i,l,l).loadable}function r_(e){const t=xt(),n=Qe(()=>{var a;const f=t.current,d=f.getState(),v=gr().early&&(a=d.nextTree)!==null&&a!==void 0?a:d.currentTree;return Co(f,e,v)},[t,e]),r=Qe(()=>n(),[n]),o=To(),l=Qe((a,f)=>{const d=t.current;return dr(d,e,()=>{if(!le("recoil_suppress_rerender_in_callback"))return f();const _=n();s.current.is(_)||f(),s.current=_},o).release},[t,e,o,n]),i=X1();if(i==null)throw Z("Recoil hooks must be used in components contained within a component.");const u=Y1(i,r,l),s=Zr(u);return pr(()=>{s.current=u}),u}function ds(e){const t=xt(),n=To(),r=Qe(()=>{var s;const a=t.current,f=a.getState(),d=gr().early&&(s=f.nextTree)!==null&&s!==void 0?s:f.currentTree;return Co(a,e,d)},[t,e]),o=Qe(()=>({loadable:r(),key:e.key}),[r,e.key]),l=Qe(s=>{const a=o();return s.loadable.is(a.loadable)&&s.key===a.key?s:a},[o]);pr(()=>{const s=dr(t.current,e,a=>{u(l)},n);return u(l),s.release},[n,e,t,l]);const[i,u]=Ea(o);return i.key!==e.key?o().loadable:i.loadable}function o_(e){const t=xt(),[,n]=Ea([]),r=To(),o=Qe(()=>{var u;const s=t.current,a=s.getState(),f=gr().early&&(u=a.nextTree)!==null&&u!==void 0?u:a.currentTree;return Co(s,e,f)},[t,e]),l=o(),i=Zr(l);return pr(()=>{i.current=l}),pr(()=>{const u=t.current,s=u.getState(),a=dr(u,e,d=>{var v;if(!le("recoil_suppress_rerender_in_callback"))return n([]);const _=o();(v=i.current)!==null&&v!==void 0&&v.is(_)||n(_),i.current=_},r);if(s.nextTree)u.getState().queuedComponentCallbacks_DEPRECATED.push(()=>{i.current=null,n([])});else{var f;if(!le("recoil_suppress_rerender_in_callback"))return n([]);const d=o();(f=i.current)!==null&&f!==void 0&&f.is(d)||n(d),i.current=d}return a.release},[r,o,e,t]),l}function Ta(e){return le("recoil_memory_managament_2020")&&Ra(e),{TRANSITION_SUPPORT:ds,SYNC_EXTERNAL_STORE:b1()?n_:ds,MUTABLE_SOURCE:r_,LEGACY:o_}[gr().mode](e)}function Nh(e){const t=xt(),n=Ta(e);return ka(n,e,t)}function mi(e){const t=xt();return Qe(n=>{Dl(t.current,e,n)},[t,e])}function l_(e){const t=xt();return Qe(()=>{Dl(t.current,e,Th)},[t,e])}function i_(e){return[Nh(e),mi(e)]}function u_(e){return[Ta(e),mi(e)]}function s_(){const e=xt();return(t,n={})=>{Q1(()=>{e.current.addTransactionMetadata(n),t.forEach((r,o)=>J1(e.current,new fs(o),r))})}}function Lh(e){return le("recoil_memory_managament_2020")&&Ra(e),ds(e)}function Ah(e){const t=xt(),n=Lh(e);return ka(n,e,t)}function a_(e){return[Ah(e),mi(e)]}var c_={recoilComponentGetRecoilValueCount_FOR_TESTING:t_,useRecoilInterface:e_,useRecoilState:i_,useRecoilStateLoadable:u_,useRecoilValue:Nh,useRecoilValueLoadable:Ta,useResetRecoilState:l_,useSetRecoilState:mi,useSetUnvalidatedAtomValues:s_,useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:Lh,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:Ah,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:a_};function f_(e,t){const n=new Map;for(const[r,o]of e)t(o,r)&&n.set(r,o);return n}var d_=f_;function p_(e,t){const n=new Set;for(const r of e)t(r)&&n.add(r);return n}var h_=p_;function v_(...e){const t=new Map;for(let n=0;nt.current.subscribeToTransactions(e).release,[e,t])}function sf(e){const t=e.atomValues.toMap(),n=Vl(d_(t,(r,o)=>{const i=xh(o).persistence_UNSTABLE;return i!=null&&i.type!=="none"&&r.state==="hasValue"}),r=>r.contents);return m_(e.nonvalidatedAtoms.toMap(),n)}function k_(e){gi(yi(t=>{let n=t.getState().previousTree;const r=t.getState().currentTree;n||(n=t.getState().currentTree);const o=sf(r),l=sf(n),i=Vl(S_,s=>{var a,f,d,v;return{persistence_UNSTABLE:{type:(a=(f=s.persistence_UNSTABLE)===null||f===void 0?void 0:f.type)!==null&&a!==void 0?a:"none",backButton:(d=(v=s.persistence_UNSTABLE)===null||v===void 0?void 0:v.backButton)!==null&&d!==void 0?d:!1}}}),u=h_(r.dirtyAtoms,s=>o.has(s)||l.has(s));e({atomValues:o,previousAtomValues:l,atomInfo:i,modifiedAtoms:u,transactionMetadata:{...r.transactionMetadata}})},[e]))}function T_(e){gi(yi(t=>{const n=Ul(t,"latest"),r=Ul(t,"previous");e({snapshot:n,previousSnapshot:r})},[e]))}function C_(){const e=Ca(),[t,n]=E_(()=>Ul(e.current)),r=kh(t),o=lf(),l=lf();if(gi(yi(u=>n(Ul(u)),[])),Ph(()=>{const u=t.retain();if(o.current&&!uf){var s;window.clearTimeout(o.current),o.current=null,(s=l.current)===null||s===void 0||s.call(l),l.current=null}return()=>{window.setTimeout(u,10)}},[t]),r!==t&&!uf){if(o.current){var i;window.clearTimeout(o.current),o.current=null,(i=l.current)===null||i===void 0||i.call(l),l.current=null}l.current=t.retain(),o.current=window.setTimeout(()=>{var u;o.current=null,(u=l.current)===null||u===void 0||u.call(l),l.current=null},R_)}return t}function Mh(e,t){var n;const r=e.getState(),o=(n=r.nextTree)!==null&&n!==void 0?n:r.currentTree,l=t.getStore_INTERNAL().getState().currentTree;y_(()=>{const i=new Set;for(const a of[o.atomValues.keys(),l.atomValues.keys()])for(const f of a){var u,s;((u=o.atomValues.get(f))===null||u===void 0?void 0:u.contents)!==((s=l.atomValues.get(f))===null||s===void 0?void 0:s.contents)&&xh(f).shouldRestoreFromSnapshots&&i.add(f)}i.forEach(a=>{w_(e,new __(a),l.atomValues.has(a)?he(l.atomValues.get(a)):g_)}),e.replaceState(a=>({...a,stateID:t.getID()}))})}function N_(){const e=Ca();return yi(t=>Mh(e.current,t),[e])}var $h={useRecoilSnapshot:C_,gotoSnapshot:Mh,useGotoRecoilSnapshot:N_,useRecoilTransactionObserver:T_,useTransactionObservation_DEPRECATED:k_,useTransactionSubscription_DEPRECATED:gi};const{peekNodeInfo:L_}=dn,{useStoreRef:A_}=Bt;function x_(){const e=A_();return({key:t})=>L_(e.current,e.current.getState().currentTree,t)}var P_=x_;const{reactMode:M_}=Ro,{RecoilRoot:$_,useStoreRef:I_}=Bt,{useMemo:V_}=ae;function D_(){M_().mode==="MUTABLE_SOURCE"&&console.warn("Warning: There are known issues using useRecoilBridgeAcrossReactRoots() in recoil_mutable_source rendering mode. Please consider upgrading to recoil_sync_external_store mode.");const e=I_().current;return V_(()=>{function t({children:n}){return ae.createElement($_,{store_INTERNAL:e},n)}return t},[e])}var U_=D_;const{loadableWithValue:z_}=wo,{initializeNode:O_}=dn,{DEFAULT_VALUE:F_,getNode:B_}=Ye,{copyTreeState:j_,getRecoilValueAsLoadable:W_,invalidateDownstreams:H_,writeLoadableToTreeState:K_}=At;function af(e){return B_(e.key).nodeType==="atom"}class G_{constructor(t,n){b(this,"_store",void 0),b(this,"_treeState",void 0),b(this,"_changes",void 0),b(this,"get",r=>{if(this._changes.has(r.key))return this._changes.get(r.key);if(!af(r))throw Z("Reading selectors within atomicUpdate is not supported");const o=W_(this._store,r,this._treeState);if(o.state==="hasValue")return o.contents;throw o.state==="hasError"?o.contents:Z(`Expected Recoil atom ${r.key} to have a value, but it is in a loading state.`)}),b(this,"set",(r,o)=>{if(!af(r))throw Z("Setting selectors within atomicUpdate is not supported");if(typeof o=="function"){const l=this.get(r);this._changes.set(r.key,o(l))}else O_(this._store,r.key,"set"),this._changes.set(r.key,o)}),b(this,"reset",r=>{this.set(r,F_)}),this._store=t,this._treeState=n,this._changes=new Map}newTreeState_INTERNAL(){if(this._changes.size===0)return this._treeState;const t=j_(this._treeState);for(const[n,r]of this._changes)K_(t,n,z_(r));return H_(this._store,t),t}}function Q_(e){return t=>{e.replaceState(n=>{const r=new G_(e,n);return t(r),r.newTreeState_INTERNAL()})}}var b_={atomicUpdater:Q_},Y_=b_.atomicUpdater,Ih=Object.freeze({__proto__:null,atomicUpdater:Y_});function Z_(e,t){if(!e)throw new Error(t)}var X_=Z_,zr=X_;const{atomicUpdater:J_}=Ih,{batchUpdates:q_}=fi,{DEFAULT_VALUE:ew}=Ye,{useStoreRef:tw}=Bt,{refreshRecoilValue:nw,setRecoilValue:cf}=At,{cloneSnapshot:rw}=hi,{gotoSnapshot:ow}=$h,{useCallback:lw}=ae;class Vh{}const iw=new Vh;function Dh(e,t,n,r){let o=iw,l;if(q_(()=>{const u="useRecoilCallback() expects a function that returns a function: it accepts a function of the type (RecoilInterface) => (Args) => ReturnType and returns a callback function (Args) => ReturnType, where RecoilInterface is an object {snapshot, set, ...} and Args and ReturnType are the argument and return types of the callback you want to create. Please see the docs at recoiljs.org for details.";if(typeof t!="function")throw Z(u);const s=bp({...r??{},set:(f,d)=>cf(e,f,d),reset:f=>cf(e,f,ew),refresh:f=>nw(e,f),gotoSnapshot:f=>ow(e,f),transact_UNSTABLE:f=>J_(e)(f)},{snapshot:()=>{const f=rw(e);return l=f.retain(),f}}),a=t(s);if(typeof a!="function")throw Z(u);o=a(...n)}),o instanceof Vh&&zr(!1),pe(o))o.finally(()=>{var u;(u=l)===null||u===void 0||u()});else{var i;(i=l)===null||i===void 0||i()}return o}function uw(e,t){const n=tw();return lw((...r)=>Dh(n.current,e,r),t!=null?[...t,n]:void 0)}var Uh={recoilCallback:Dh,useRecoilCallback:uw};const{useStoreRef:sw}=Bt,{refreshRecoilValue:aw}=At,{useCallback:cw}=ae;function fw(e){const t=sw();return cw(()=>{const n=t.current;aw(n,e)},[e,t])}var dw=fw;const{atomicUpdater:pw}=Ih,{useStoreRef:hw}=Bt,{useMemo:vw}=ae;function mw(e,t){const n=hw();return vw(()=>(...r)=>{pw(n.current)(l=>{e(l)(...r)})},t!=null?[...t,n]:void 0)}var yw=mw;class gw{constructor(t){b(this,"value",void 0),this.value=t}}var Sw={WrappedValue:gw},_w=Sw.WrappedValue,zh=Object.freeze({__proto__:null,WrappedValue:_w});const{isFastRefreshEnabled:ww}=Ro;class ff extends Error{}class Rw{constructor(t){var n,r,o;b(this,"_name",void 0),b(this,"_numLeafs",void 0),b(this,"_root",void 0),b(this,"_onHit",void 0),b(this,"_onSet",void 0),b(this,"_mapNodeValue",void 0),this._name=t==null?void 0:t.name,this._numLeafs=0,this._root=null,this._onHit=(n=t==null?void 0:t.onHit)!==null&&n!==void 0?n:()=>{},this._onSet=(r=t==null?void 0:t.onSet)!==null&&r!==void 0?r:()=>{},this._mapNodeValue=(o=t==null?void 0:t.mapNodeValue)!==null&&o!==void 0?o:l=>l}size(){return this._numLeafs}root(){return this._root}get(t,n){var r;return(r=this.getLeafNode(t,n))===null||r===void 0?void 0:r.value}getLeafNode(t,n){if(this._root==null)return;let r=this._root;for(;r;){if(n==null||n.onNodeVisit(r),r.type==="leaf")return this._onHit(r),r;const o=this._mapNodeValue(t(r.nodeKey));r=r.branches.get(o)}}set(t,n,r){const o=()=>{var l,i,u,s;let a,f;for(const[O,h]of t){var d,v,_;const c=this._root;if((c==null?void 0:c.type)==="leaf")throw this.invalidCacheError();const p=a;if(a=p?p.branches.get(f):c,a=(d=a)!==null&&d!==void 0?d:{type:"branch",nodeKey:O,parent:p,branches:new Map,branchKey:f},a.type!=="branch"||a.nodeKey!==O)throw this.invalidCacheError();p==null||p.branches.set(f,a),r==null||(v=r.onNodeVisit)===null||v===void 0||v.call(r,a),f=this._mapNodeValue(h),this._root=(_=this._root)!==null&&_!==void 0?_:a}const g=a?(l=a)===null||l===void 0?void 0:l.branches.get(f):this._root;if(g!=null&&(g.type!=="leaf"||g.branchKey!==f))throw this.invalidCacheError();const w={type:"leaf",value:n,parent:a,branchKey:f};(i=a)===null||i===void 0||i.branches.set(f,w),this._root=(u=this._root)!==null&&u!==void 0?u:w,this._numLeafs++,this._onSet(w),r==null||(s=r.onNodeVisit)===null||s===void 0||s.call(r,w)};try{o()}catch(l){if(l instanceof ff)this.clear(),o();else throw l}}delete(t){const n=this.root();if(!n)return!1;if(t===n)return this._root=null,this._numLeafs=0,!0;let r=t.parent,o=t.branchKey;for(;r;){var l;if(r.branches.delete(o),r===n)return r.branches.size===0?(this._root=null,this._numLeafs=0):this._numLeafs--,!0;if(r.branches.size>0)break;o=(l=r)===null||l===void 0?void 0:l.branchKey,r=r.parent}for(;r!==n;r=r.parent)if(r==null)return!1;return this._numLeafs--,!0}clear(){this._numLeafs=0,this._root=null}invalidCacheError(){const t=ww()?"Possible Fast Refresh module reload detected. This may also be caused by an selector returning inconsistent values. Resetting cache.":"Invalid cache values. This happens when selectors do not return consistent values for the same input dependency values. That may also be caused when using Fast Refresh to change a selector implementation. Resetting cache.";throw fa(t+(this._name!=null?` - ${this._name}`:"")),new ff}}var Ew={TreeCache:Rw},kw=Ew.TreeCache,Oh=Object.freeze({__proto__:null,TreeCache:kw});class Tw{constructor(t){var n;b(this,"_maxSize",void 0),b(this,"_size",void 0),b(this,"_head",void 0),b(this,"_tail",void 0),b(this,"_map",void 0),b(this,"_keyMapper",void 0),this._maxSize=t.maxSize,this._size=0,this._head=null,this._tail=null,this._map=new Map,this._keyMapper=(n=t.mapKey)!==null&&n!==void 0?n:r=>r}head(){return this._head}tail(){return this._tail}size(){return this._size}maxSize(){return this._maxSize}has(t){return this._map.has(this._keyMapper(t))}get(t){const n=this._keyMapper(t),r=this._map.get(n);if(r)return this.set(t,r.value),r.value}set(t,n){const r=this._keyMapper(t);this._map.get(r)&&this.delete(t);const l=this.head(),i={key:t,right:l,left:null,value:n};l?l.left=i:this._tail=i,this._map.set(r,i),this._head=i,this._size++,this._maybeDeleteLRU()}_maybeDeleteLRU(){this.size()>this.maxSize()&&this.deleteLru()}deleteLru(){const t=this.tail();t&&this.delete(t.key)}delete(t){const n=this._keyMapper(t);if(!this._size||!this._map.has(n))return;const r=he(this._map.get(n)),o=r.right,l=r.left;o&&(o.left=r.left),l&&(l.right=r.right),r===this.head()&&(this._head=o),r===this.tail()&&(this._tail=l),this._map.delete(n),this._size--}clear(){this._size=0,this._head=null,this._tail=null,this._map=new Map}}var Cw={LRUCache:Tw},Nw=Cw.LRUCache,Fh=Object.freeze({__proto__:null,LRUCache:Nw});const{LRUCache:Lw}=Fh,{TreeCache:Aw}=Oh;function xw({name:e,maxSize:t,mapNodeValue:n=r=>r}){const r=new Lw({maxSize:t}),o=new Aw({name:e,mapNodeValue:n,onHit:l=>{r.set(l,!0)},onSet:l=>{const i=r.tail();r.set(l,!0),i&&o.size()>t&&o.delete(i.key)}});return o}var df=xw;function mt(e,t,n){if(typeof e=="string"&&!e.includes('"')&&!e.includes("\\"))return`"${e}"`;switch(typeof e){case"undefined":return"";case"boolean":return e?"true":"false";case"number":case"symbol":return String(e);case"string":return JSON.stringify(e);case"function":if((t==null?void 0:t.allowFunctions)!==!0)throw Z("Attempt to serialize function in a Recoil cache key");return`__FUNCTION(${e.name})__`}if(e===null)return"null";if(typeof e!="object"){var r;return(r=JSON.stringify(e))!==null&&r!==void 0?r:""}if(pe(e))return"__PROMISE__";if(Array.isArray(e))return`[${e.map((o,l)=>mt(o,t,l.toString()))}]`;if(typeof e.toJSON=="function")return mt(e.toJSON(n),t,n);if(e instanceof Map){const o={};for(const[l,i]of e)o[typeof l=="string"?l:mt(l,t)]=i;return mt(o,t,n)}return e instanceof Set?mt(Array.from(e).sort((o,l)=>mt(o,t).localeCompare(mt(l,t))),t,n):Symbol!==void 0&&e[Symbol.iterator]!=null&&typeof e[Symbol.iterator]=="function"?mt(Array.from(e),t,n):`{${Object.keys(e).filter(o=>e[o]!==void 0).sort().map(o=>`${mt(o,t)}:${mt(e[o],t,o)}`).join(",")}}`}function Pw(e,t={allowFunctions:!1}){return mt(e,t)}var Si=Pw;const{TreeCache:Mw}=Oh,Ko={equality:"reference",eviction:"keep-all",maxSize:1/0};function $w({equality:e=Ko.equality,eviction:t=Ko.eviction,maxSize:n=Ko.maxSize}=Ko,r){const o=Iw(e);return Vw(t,n,o,r)}function Iw(e){switch(e){case"reference":return t=>t;case"value":return t=>Si(t)}throw Z(`Unrecognized equality policy ${e}`)}function Vw(e,t,n,r){switch(e){case"keep-all":return new Mw({name:r,mapNodeValue:n});case"lru":return df({name:r,maxSize:he(t),mapNodeValue:n});case"most-recent":return df({name:r,maxSize:1,mapNodeValue:n})}throw Z(`Unrecognized eviction policy ${e}`)}var Dw=$w;function Uw(e){return()=>null}var zw={startPerfBlock:Uw};const{isLoadable:Ow,loadableWithError:Go,loadableWithPromise:Fw,loadableWithValue:ou}=wo,{WrappedValue:Bh}=zh,{getNodeLoadable:Qo,peekNodeLoadable:Bw,setNodeValue:jw}=dn,{saveDepsToStore:Ww}=Eo,{DEFAULT_VALUE:Hw,getConfigDeletionHandler:Kw,getNode:Gw,registerNode:pf}=Ye,{isRecoilValue:Qw}=fr,{markRecoilValueModified:hf}=At,{retainedByOptionWithDefault:bw}=$n,{recoilCallback:Yw}=Uh,{startPerfBlock:Zw}=zw;class jh{}const Pr=new jh,Mr=[],bo=new Map,Xw=(()=>{let e=0;return()=>e++})();function Wh(e){let t=null;const{key:n,get:r,cachePolicy_UNSTABLE:o}=e,l=e.set!=null?e.set:void 0,i=new Set,u=Dw(o??{equality:"reference",eviction:"keep-all"},n),s=bw(e.retainedBy_UNSTABLE),a=new Map;let f=0;function d(){return!le("recoil_memory_managament_2020")||f>0}function v(y){return y.getState().knownSelectors.add(n),f++,()=>{f--}}function _(){return Kw(n)!==void 0&&!d()}function g(y,C,A,G,V){Et(C,G,V),w(y,A)}function w(y,C){Me(y,C)&&ve(y),h(C,!0)}function O(y,C){Me(y,C)&&(he(U(y)).stateVersions.clear(),h(C,!1))}function h(y,C){const A=bo.get(y);if(A!=null){for(const G of A)hf(G,he(t));C&&bo.delete(y)}}function c(y,C){let A=bo.get(C);A==null&&bo.set(C,A=new Set),A.add(y)}function p(y,C,A,G,V,Y){return C.then(J=>{if(!d())throw ve(y),Pr;const B=ou(J);return g(y,A,V,B,G),J}).catch(J=>{if(!d())throw ve(y),Pr;if(pe(J))return R(y,J,A,G,V,Y);const B=Go(J);throw g(y,A,V,B,G),J})}function R(y,C,A,G,V,Y){return C.then(J=>{if(!d())throw ve(y),Pr;Y.loadingDepKey!=null&&Y.loadingDepPromise===C?A.atomValues.set(Y.loadingDepKey,ou(J)):y.getState().knownSelectors.forEach(re=>{A.atomValues.delete(re)});const B=L(y,A);if(B&&B.state!=="loading"){if((Me(y,V)||U(y)==null)&&w(y,V),B.state==="hasValue")return B.contents;throw B.contents}if(!Me(y,V)){const re=te(y,A);if(re!=null)return re.loadingLoadable.contents}const[ce,Ee]=N(y,A,V);if(ce.state!=="loading"&&g(y,A,V,ce,Ee),ce.state==="hasError")throw ce.contents;return ce.contents}).catch(J=>{if(J instanceof jh)throw Pr;if(!d())throw ve(y),Pr;const B=Go(J);throw g(y,A,V,B,G),J})}function T(y,C,A,G){var V,Y,J,B;if(Me(y,G)||C.version===((V=y.getState())===null||V===void 0||(Y=V.currentTree)===null||Y===void 0?void 0:Y.version)||C.version===((J=y.getState())===null||J===void 0||(B=J.nextTree)===null||B===void 0?void 0:B.version)){var ce,Ee,re;Ww(n,A,y,(ce=(Ee=y.getState())===null||Ee===void 0||(re=Ee.nextTree)===null||re===void 0?void 0:re.version)!==null&&ce!==void 0?ce:y.getState().currentTree.version)}for(const me of A)i.add(me)}function N(y,C,A){const G=Zw(n);let V=!0,Y=!0;const J=()=>{G(),Y=!1};let B,ce=!1,Ee;const re={loadingDepKey:null,loadingDepPromise:null},me=new Map;function pt({key:lt}){const Je=Qo(y,C,lt);switch(me.set(lt,Je),V||(T(y,C,new Set(me.keys()),A),O(y,A)),Je.state){case"hasValue":return Je.contents;case"hasError":throw Je.contents;case"loading":throw re.loadingDepKey=lt,re.loadingDepPromise=Je.contents,Je.contents}throw Z("Invalid Loadable state")}const hn=lt=>(...Je)=>{if(Y)throw Z("Callbacks from getCallback() should only be called asynchronously after the selector is evalutated. It can be used for selectors to return objects with callbacks that can work with Recoil state without a subscription.");return t==null&&zr(!1),Yw(y,lt,Je,{node:t})};try{B=r({get:pt,getCallback:hn}),B=Qw(B)?pt(B):B,Ow(B)&&(B.state==="hasError"&&(ce=!0),B=B.contents),pe(B)?B=p(y,B,C,me,A,re).finally(J):J(),B=B instanceof Bh?B.value:B}catch(lt){B=lt,pe(B)?B=R(y,B,C,me,A,re).finally(J):(ce=!0,J())}return ce?Ee=Go(B):pe(B)?Ee=Fw(B):Ee=ou(B),V=!1,Ze(y,A,me),T(y,C,new Set(me.keys()),A),[Ee,me]}function L(y,C){let A=C.atomValues.get(n);if(A!=null)return A;const G=new Set;try{A=u.get(Y=>(typeof Y!="string"&&zr(!1),Qo(y,C,Y).contents),{onNodeVisit:Y=>{Y.type==="branch"&&Y.nodeKey!==n&&G.add(Y.nodeKey)}})}catch(Y){throw Z(`Problem with cache lookup for selector "${n}": ${Y.message}`)}if(A){var V;C.atomValues.set(n,A),T(y,C,G,(V=U(y))===null||V===void 0?void 0:V.executionID)}return A}function I(y,C){const A=L(y,C);if(A!=null)return ve(y),A;const G=te(y,C);if(G!=null){var V;return((V=G.loadingLoadable)===null||V===void 0?void 0:V.state)==="loading"&&c(y,G.executionID),G.loadingLoadable}const Y=Xw(),[J,B]=N(y,C,Y);return J.state==="loading"?(oe(y,Y,J,B,C),c(y,Y)):(ve(y),Et(C,J,B)),J}function te(y,C){const A=fh([a.has(y)?[he(a.get(y))]:[],ui(ma(a,([V])=>V!==y),([,V])=>V)]);function G(V){for(const[Y,J]of V)if(!Qo(y,C,Y).is(J))return!0;return!1}for(const V of A){if(V.stateVersions.get(C.version)||!G(V.depValuesDiscoveredSoFarDuringAsyncWork))return V.stateVersions.set(C.version,!0),V;V.stateVersions.set(C.version,!1)}}function U(y){return a.get(y)}function oe(y,C,A,G,V){a.set(y,{depValuesDiscoveredSoFarDuringAsyncWork:G,executionID:C,loadingLoadable:A,stateVersions:new Map([[V.version,!0]])})}function Ze(y,C,A){if(Me(y,C)){const G=U(y);G!=null&&(G.depValuesDiscoveredSoFarDuringAsyncWork=A)}}function ve(y){a.delete(y)}function Me(y,C){var A;return C===((A=U(y))===null||A===void 0?void 0:A.executionID)}function jt(y){return Array.from(y.entries()).map(([C,A])=>[C,A.contents])}function Et(y,C,A){y.atomValues.set(n,C);try{u.set(jt(A),C)}catch(G){throw Z(`Problem with setting cache for selector "${n}": ${G.message}`)}}function Xe(y){if(Mr.includes(n)){const C=`Recoil selector has circular dependencies: ${Mr.slice(Mr.indexOf(n)).join(" → ")}`;return Go(Z(C))}Mr.push(n);try{return y()}finally{Mr.pop()}}function M(y,C){const A=C.atomValues.get(n);return A??u.get(G=>{var V;return typeof G!="string"&&zr(!1),(V=Bw(y,C,G))===null||V===void 0?void 0:V.contents})}function W(y,C){return Xe(()=>I(y,C))}function $(y){y.atomValues.delete(n)}function F(y,C){t==null&&zr(!1);for(const G of i){var A;const V=Gw(G);(A=V.clearCache)===null||A===void 0||A.call(V,y,C)}i.clear(),$(C),u.clear(),hf(y,t)}return l!=null?t=pf({key:n,nodeType:"selector",peek:M,get:W,set:(C,A,G)=>{let V=!1;const Y=new Map;function J({key:re}){if(V)throw Z("Recoil: Async selector sets are not currently supported.");const me=Qo(C,A,re);if(me.state==="hasValue")return me.contents;if(me.state==="loading"){const pt=`Getting value of asynchronous atom or selector "${re}" in a pending state while setting selector "${n}" is not yet supported.`;throw Z(pt)}else throw me.contents}function B(re,me){if(V)throw Z("Recoil: Async selector sets are not currently supported.");const pt=typeof me=="function"?me(J(re)):me;jw(C,A,re.key,pt).forEach((lt,Je)=>Y.set(Je,lt))}function ce(re){B(re,Hw)}const Ee=l({set:B,get:J,reset:ce},G);if(Ee!==void 0)throw pe(Ee)?Z("Recoil: Async selector sets are not currently supported."):Z("Recoil: selector set should be a void function.");return V=!0,Y},init:v,invalidate:$,clearCache:F,shouldDeleteConfigOnRelease:_,dangerouslyAllowMutability:e.dangerouslyAllowMutability,shouldRestoreFromSnapshots:!1,retainedBy:s}):t=pf({key:n,nodeType:"selector",peek:M,get:W,init:v,invalidate:$,clearCache:F,shouldDeleteConfigOnRelease:_,dangerouslyAllowMutability:e.dangerouslyAllowMutability,shouldRestoreFromSnapshots:!1,retainedBy:s})}Wh.value=e=>new Bh(e);var hr=Wh;const{isLoadable:Jw,loadableWithError:lu,loadableWithPromise:iu,loadableWithValue:Dn}=wo,{WrappedValue:Hh}=zh,{peekNodeInfo:qw}=dn,{DEFAULT_VALUE:yn,DefaultValue:Gt,getConfigDeletionHandler:Kh,registerNode:eR,setConfigDeletionHandler:tR}=Ye,{isRecoilValue:nR}=fr,{getRecoilValueAsLoadable:rR,markRecoilValueModified:oR,setRecoilValue:vf,setRecoilValueLoadable:lR}=At,{retainedByOptionWithDefault:iR}=$n,$r=e=>e instanceof Hh?e.value:e;function uR(e){const{key:t,persistence_UNSTABLE:n}=e,r=iR(e.retainedBy_UNSTABLE);let o=0;function l(c){return iu(c.then(p=>(i=Dn(p),p)).catch(p=>{throw i=lu(p),p}))}let i=pe(e.default)?l(e.default):Jw(e.default)?e.default.state==="loading"?l(e.default.contents):e.default:Dn($r(e.default));i.contents;let u;const s=new Map;function a(c){return c}function f(c,p){const R=p.then(T=>{var N,L;return((L=((N=c.getState().nextTree)!==null&&N!==void 0?N:c.getState().currentTree).atomValues.get(t))===null||L===void 0?void 0:L.contents)===R&&vf(c,h,T),T}).catch(T=>{var N,L;throw((L=((N=c.getState().nextTree)!==null&&N!==void 0?N:c.getState().currentTree).atomValues.get(t))===null||L===void 0?void 0:L.contents)===R&&lR(c,h,lu(T)),T});return R}function d(c,p,R){var T;o++;const N=()=>{var U;o--,(U=s.get(c))===null||U===void 0||U.forEach(oe=>oe()),s.delete(c)};if(c.getState().knownAtoms.add(t),i.state==="loading"){const U=()=>{var oe;((oe=c.getState().nextTree)!==null&&oe!==void 0?oe:c.getState().currentTree).atomValues.has(t)||oR(c,h)};i.contents.finally(U)}const L=(T=e.effects)!==null&&T!==void 0?T:e.effects_UNSTABLE;if(L!=null){let Me=function($){if(oe&&$.key===t){const F=U;return F instanceof Gt?v(c,p):pe(F)?iu(F.then(y=>y instanceof Gt?i.toPromise():y)):Dn(F)}return rR(c,$)},jt=function($){return Me($).toPromise()},Et=function($){var F;const y=qw(c,(F=c.getState().nextTree)!==null&&F!==void 0?F:c.getState().currentTree,$.key);return oe&&$.key===t&&!(U instanceof Gt)?{...y,isSet:!0,loadable:Me($)}:y},U=yn,oe=!0,Ze=!1,ve=null;const Xe=$=>F=>{if(oe){const y=Me(h),C=y.state==="hasValue"?y.contents:yn;U=typeof F=="function"?F(C):F,pe(U)&&(U=U.then(A=>(ve={effect:$,value:A},A)))}else{if(pe(F))throw Z("Setting atoms to async values is not implemented.");typeof F!="function"&&(ve={effect:$,value:$r(F)}),vf(c,h,typeof F=="function"?y=>{const C=$r(F(y));return ve={effect:$,value:C},C}:$r(F))}},M=$=>()=>Xe($)(yn),W=$=>F=>{var y;const{release:C}=c.subscribeToTransactions(A=>{var G;let{currentTree:V,previousTree:Y}=A.getState();Y||(Y=V);const J=(G=V.atomValues.get(t))!==null&&G!==void 0?G:i;if(J.state==="hasValue"){var B,ce,Ee,re;const me=J.contents,pt=(B=Y.atomValues.get(t))!==null&&B!==void 0?B:i,hn=pt.state==="hasValue"?pt.contents:yn;((ce=ve)===null||ce===void 0?void 0:ce.effect)!==$||((Ee=ve)===null||Ee===void 0?void 0:Ee.value)!==me?F(me,hn,!V.atomValues.has(t)):((re=ve)===null||re===void 0?void 0:re.effect)===$&&(ve=null)}},t);s.set(c,[...(y=s.get(c))!==null&&y!==void 0?y:[],C])};for(const $ of L)try{const F=$({node:h,storeID:c.storeID,parentStoreID_UNSTABLE:c.parentStoreID,trigger:R,setSelf:Xe($),resetSelf:M($),onSet:W($),getPromise:jt,getLoadable:Me,getInfo_UNSTABLE:Et});if(F!=null){var I;s.set(c,[...(I=s.get(c))!==null&&I!==void 0?I:[],F])}}catch(F){U=F,Ze=!0}if(oe=!1,!(U instanceof Gt)){var te;const $=Ze?lu(U):pe(U)?iu(f(c,U)):Dn($r(U));$.contents,p.atomValues.set(t,$),(te=c.getState().nextTree)===null||te===void 0||te.atomValues.set(t,$)}}return N}function v(c,p){var R,T;return(R=(T=p.atomValues.get(t))!==null&&T!==void 0?T:u)!==null&&R!==void 0?R:i}function _(c,p){if(p.atomValues.has(t))return he(p.atomValues.get(t));if(p.nonvalidatedAtoms.has(t)){if(u!=null)return u;if(n==null)return i;const R=p.nonvalidatedAtoms.get(t),T=n.validator(R,yn);return u=T instanceof Gt?i:Dn(T),u}else return i}function g(){u=void 0}function w(c,p,R){if(p.atomValues.has(t)){const T=he(p.atomValues.get(t));if(T.state==="hasValue"&&R===T.contents)return new Map}else if(!p.nonvalidatedAtoms.has(t)&&R instanceof Gt)return new Map;return u=void 0,new Map().set(t,Dn(R))}function O(){return Kh(t)!==void 0&&o<=0}const h=eR({key:t,nodeType:"atom",peek:v,get:_,set:w,init:d,invalidate:g,shouldDeleteConfigOnRelease:O,dangerouslyAllowMutability:e.dangerouslyAllowMutability,persistence_UNSTABLE:e.persistence_UNSTABLE?{type:e.persistence_UNSTABLE.type,backButton:e.persistence_UNSTABLE.backButton}:void 0,shouldRestoreFromSnapshots:!0,retainedBy:r});return h}function Na(e){const{...t}=e,n="default"in e?e.default:new Promise(()=>{});return nR(n)?sR({...t,default:n}):uR({...t,default:n})}function sR(e){const t=Na({...e,default:yn,persistence_UNSTABLE:e.persistence_UNSTABLE===void 0?void 0:{...e.persistence_UNSTABLE,validator:r=>r instanceof Gt?r:he(e.persistence_UNSTABLE).validator(r,yn)},effects:e.effects,effects_UNSTABLE:e.effects_UNSTABLE}),n=hr({key:`${e.key}__withFallback`,get:({get:r})=>{const o=r(t);return o instanceof Gt?e.default:o},set:({set:r},o)=>r(t,o),cachePolicy_UNSTABLE:{eviction:"most-recent"},dangerouslyAllowMutability:e.dangerouslyAllowMutability});return tR(n.key,Kh(e.key)),n}Na.value=e=>new Hh(e);var Gh=Na;class aR{constructor(t){var n;b(this,"_map",void 0),b(this,"_keyMapper",void 0),this._map=new Map,this._keyMapper=(n=t==null?void 0:t.mapKey)!==null&&n!==void 0?n:r=>r}size(){return this._map.size}has(t){return this._map.has(this._keyMapper(t))}get(t){return this._map.get(this._keyMapper(t))}set(t,n){this._map.set(this._keyMapper(t),n)}delete(t){this._map.delete(this._keyMapper(t))}clear(){this._map.clear()}}var cR={MapCache:aR},fR=cR.MapCache,dR=Object.freeze({__proto__:null,MapCache:fR});const{LRUCache:mf}=Fh,{MapCache:pR}=dR,Yo={equality:"reference",eviction:"none",maxSize:1/0};function hR({equality:e=Yo.equality,eviction:t=Yo.eviction,maxSize:n=Yo.maxSize}=Yo){const r=vR(e);return mR(t,n,r)}function vR(e){switch(e){case"reference":return t=>t;case"value":return t=>Si(t)}throw Z(`Unrecognized equality policy ${e}`)}function mR(e,t,n){switch(e){case"keep-all":return new pR({mapKey:n});case"lru":return new mf({mapKey:n,maxSize:he(t)});case"most-recent":return new mf({mapKey:n,maxSize:1})}throw Z(`Unrecognized eviction policy ${e}`)}var Qh=hR;const{setConfigDeletionHandler:yR}=Ye;function gR(e){var t,n;const r=Qh({equality:(t=(n=e.cachePolicyForParams_UNSTABLE)===null||n===void 0?void 0:n.equality)!==null&&t!==void 0?t:"value",eviction:"keep-all"});return o=>{var l,i;const u=r.get(o);if(u!=null)return u;const{cachePolicyForParams_UNSTABLE:s,...a}=e,f="default"in e?e.default:new Promise(()=>{}),d=Gh({...a,key:`${e.key}__${(l=Si(o))!==null&&l!==void 0?l:"void"}`,default:typeof f=="function"?f(o):f,retainedBy_UNSTABLE:typeof e.retainedBy_UNSTABLE=="function"?e.retainedBy_UNSTABLE(o):e.retainedBy_UNSTABLE,effects:typeof e.effects=="function"?e.effects(o):typeof e.effects_UNSTABLE=="function"?e.effects_UNSTABLE(o):(i=e.effects)!==null&&i!==void 0?i:e.effects_UNSTABLE});return r.set(o,d),yR(d.key,()=>{r.delete(o)}),d}}var SR=gR;const{setConfigDeletionHandler:_R}=Ye;let wR=0;function RR(e){var t,n;const r=Qh({equality:(t=(n=e.cachePolicyForParams_UNSTABLE)===null||n===void 0?void 0:n.equality)!==null&&t!==void 0?t:"value",eviction:"keep-all"});return o=>{var l;let i;try{i=r.get(o)}catch(v){throw Z(`Problem with cache lookup for selector ${e.key}: ${v.message}`)}if(i!=null)return i;const u=`${e.key}__selectorFamily/${(l=Si(o,{allowFunctions:!0}))!==null&&l!==void 0?l:"void"}/${wR++}`,s=v=>e.get(o)(v),a=e.cachePolicy_UNSTABLE,f=typeof e.retainedBy_UNSTABLE=="function"?e.retainedBy_UNSTABLE(o):e.retainedBy_UNSTABLE;let d;if(e.set!=null){const v=e.set;d=hr({key:u,get:s,set:(g,w)=>v(o)(g,w),cachePolicy_UNSTABLE:a,dangerouslyAllowMutability:e.dangerouslyAllowMutability,retainedBy_UNSTABLE:f})}else d=hr({key:u,get:s,cachePolicy_UNSTABLE:a,dangerouslyAllowMutability:e.dangerouslyAllowMutability,retainedBy_UNSTABLE:f});return r.set(o,d),_R(d.key,()=>{r.delete(o)}),d}}var pn=RR;const ER=pn({key:"__constant",get:e=>()=>e,cachePolicyForParams_UNSTABLE:{equality:"reference"}});function kR(e){return ER(e)}var TR=kR;const CR=pn({key:"__error",get:e=>()=>{throw Z(e)},cachePolicyForParams_UNSTABLE:{equality:"reference"}});function NR(e){return CR(e)}var LR=NR;function AR(e){return e}var xR=AR;const{loadableWithError:bh,loadableWithPromise:Yh,loadableWithValue:Zh}=wo;function _i(e,t){const n=Array(t.length).fill(void 0),r=Array(t.length).fill(void 0);for(const[o,l]of t.entries())try{n[o]=e(l)}catch(i){r[o]=i}return[n,r]}function PR(e){return e!=null&&!pe(e)}function wi(e){return Array.isArray(e)?e:Object.getOwnPropertyNames(e).map(t=>e[t])}function ps(e,t){return Array.isArray(e)?t:Object.getOwnPropertyNames(e).reduce((n,r,o)=>({...n,[r]:t[o]}),{})}function nr(e,t,n){const r=n.map((o,l)=>o==null?Zh(t[l]):pe(o)?Yh(o):bh(o));return ps(e,r)}function MR(e,t){return t.map((n,r)=>n===void 0?e[r]:n)}const $R=pn({key:"__waitForNone",get:e=>({get:t})=>{const n=wi(e),[r,o]=_i(t,n);return nr(e,r,o)},dangerouslyAllowMutability:!0}),IR=pn({key:"__waitForAny",get:e=>({get:t})=>{const n=wi(e),[r,o]=_i(t,n);return o.some(l=>!pe(l))?nr(e,r,o):new Promise(l=>{for(const[i,u]of o.entries())pe(u)&&u.then(s=>{r[i]=s,o[i]=void 0,l(nr(e,r,o))}).catch(s=>{o[i]=s,l(nr(e,r,o))})})},dangerouslyAllowMutability:!0}),VR=pn({key:"__waitForAll",get:e=>({get:t})=>{const n=wi(e),[r,o]=_i(t,n);if(o.every(i=>i==null))return ps(e,r);const l=o.find(PR);if(l!=null)throw l;return Promise.all(o).then(i=>ps(e,MR(r,i)))},dangerouslyAllowMutability:!0}),DR=pn({key:"__waitForAllSettled",get:e=>({get:t})=>{const n=wi(e),[r,o]=_i(t,n);return o.every(l=>!pe(l))?nr(e,r,o):Promise.all(o.map((l,i)=>pe(l)?l.then(u=>{r[i]=u,o[i]=void 0}).catch(u=>{r[i]=void 0,o[i]=u}):null)).then(()=>nr(e,r,o))},dangerouslyAllowMutability:!0}),UR=pn({key:"__noWait",get:e=>({get:t})=>{try{return hr.value(Zh(t(e)))}catch(n){return hr.value(pe(n)?Yh(n):bh(n))}},dangerouslyAllowMutability:!0});var zR={waitForNone:$R,waitForAny:IR,waitForAll:VR,waitForAllSettled:DR,noWait:UR};const{RecoilLoadable:OR}=wo,{DefaultValue:FR}=Ye,{RecoilRoot:BR,useRecoilStoreID:jR}=Bt,{isRecoilValue:WR}=fr,{retentionZone:HR}=ai,{freshSnapshot:KR}=hi,{useRecoilState:GR,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:QR,useRecoilStateLoadable:bR,useRecoilValue:YR,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:ZR,useRecoilValueLoadable:XR,useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:JR,useResetRecoilState:qR,useSetRecoilState:eE}=c_,{useGotoRecoilSnapshot:tE,useRecoilSnapshot:nE,useRecoilTransactionObserver:rE}=$h,{useRecoilCallback:oE}=Uh,{noWait:lE,waitForAll:iE,waitForAllSettled:uE,waitForAny:sE,waitForNone:aE}=zR;var Ri={DefaultValue:FR,isRecoilValue:WR,RecoilLoadable:OR,RecoilEnv:Up,RecoilRoot:BR,useRecoilStoreID:jR,useRecoilBridgeAcrossReactRoots_UNSTABLE:U_,atom:Gh,selector:hr,atomFamily:SR,selectorFamily:pn,constSelector:TR,errorSelector:LR,readOnlySelector:xR,noWait:lE,waitForNone:aE,waitForAny:sE,waitForAll:iE,waitForAllSettled:uE,useRecoilValue:YR,useRecoilValueLoadable:XR,useRecoilState:GR,useRecoilStateLoadable:bR,useSetRecoilState:eE,useResetRecoilState:qR,useGetRecoilValueInfo_UNSTABLE:P_,useRecoilRefresher_UNSTABLE:dw,useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:JR,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:ZR,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:QR,useRecoilCallback:oE,useRecoilTransaction_UNSTABLE:yw,useGotoRecoilSnapshot:tE,useRecoilSnapshot:nE,useRecoilTransactionObserver_UNSTABLE:rE,snapshot_UNSTABLE:KR,useRetain:Ra,retentionZone:HR},pE=Ri.RecoilRoot,hE=Ri.atom,vE=Ri.selectorFamily,mE=Ri.useRecoilValue;export{dE as B,uu as R,j as a,ae as b,Ly as c,hE as d,vE as e,mE as f,cE as g,fE as h,wg as i,pE as j,su as r,fg as u}; diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000..2210cc4 Binary files /dev/null and b/favicon.ico differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..4b315ef --- /dev/null +++ b/index.html @@ -0,0 +1,79 @@ + + + + + + Arkreen Network + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + \ No newline at end of file diff --git a/logo192.svg b/logo192.svg new file mode 100644 index 0000000..676e4ea --- /dev/null +++ b/logo192.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/meter.jpg b/meter.jpg new file mode 100644 index 0000000..2aa240c Binary files /dev/null and b/meter.jpg differ diff --git a/meter3.jpg b/meter3.jpg new file mode 100644 index 0000000..942f269 Binary files /dev/null and b/meter3.jpg differ diff --git a/plug.jpeg b/plug.jpeg new file mode 100644 index 0000000..794e53c Binary files /dev/null and b/plug.jpeg differ diff --git a/plug2.jpeg b/plug2.jpeg new file mode 100644 index 0000000..9c393b9 Binary files /dev/null and b/plug2.jpeg differ