diff --git a/404.html b/404.html new file mode 100644 index 0000000..8d81b11 --- /dev/null +++ b/404.html @@ -0,0 +1,7 @@ +Party Game Template | remarkablegames
\ No newline at end of file diff --git a/assets/AlertTitle-CE2SxvNV.js b/assets/AlertTitle-CE2SxvNV.js new file mode 100644 index 0000000..1cee675 --- /dev/null +++ b/assets/AlertTitle-CE2SxvNV.js @@ -0,0 +1 @@ +import{_ as A,V as Z,W as D,d as n,n as X,X as Y,g as W,b as _,S as m,j as s,s as S,P as q,i as R,m as O,l as z,r as B,c as E,Y as G,e as F,f as U,T as J}from"./index-DpzKuOVF.js";const K=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],Q=["component","slots","slotProps"],tt=["component"];function b(t,e){const{className:r,elementType:o,ownerState:a,externalForwardedProps:i,getSlotOwnerState:c,internalForwardedProps:p}=e,y=A(e,K),{component:g,slots:f={[t]:void 0},slotProps:M={[t]:void 0}}=i,h=A(i,Q),v=f[t]||o,x=Z(M[t],a),d=D(n({className:r},y,{externalForwardedProps:t==="root"?h:void 0,externalSlotProps:x})),{props:{component:P},internalRef:w}=d,j=A(d.props,tt),T=X(w,x==null?void 0:x.ref,e.ref),l=c?c(j):{},u=n({},a,l),C=t==="root"?P||g:P,I=Y(v,n({},t==="root"&&!g&&!f[t]&&p,t!=="root"&&!f[t]&&p,j,C&&{as:C},{ref:T}),u);return Object.keys(l).forEach($=>{delete I[$]}),[v,I]}function ot(t){return _("MuiAlert",t)}const L=W("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),et=m(s.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),st=m(s.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),rt=m(s.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),nt=m(s.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),lt=m(s.jsx("path",{d:"M19 6.41L17.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"),at=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],it=t=>{const{variant:e,color:r,severity:o,classes:a}=t,i={root:["root",`color${R(r||o)}`,`${e}${R(r||o)}`,`${e}`],icon:["icon"],message:["message"],action:["action"]};return U(i,ot,a)},ct=S(q,{name:"MuiAlert",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[r.variant],e[`${r.variant}${R(r.color||r.severity)}`]]}})(({theme:t})=>{const e=t.palette.mode==="light"?O:z,r=t.palette.mode==="light"?z:O;return n({},t.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(t.palette).filter(([,o])=>o.main&&o.light).map(([o])=>({props:{colorSeverity:o,variant:"standard"},style:{color:t.vars?t.vars.palette.Alert[`${o}Color`]:e(t.palette[o].light,.6),backgroundColor:t.vars?t.vars.palette.Alert[`${o}StandardBg`]:r(t.palette[o].light,.9),[`& .${L.icon}`]:t.vars?{color:t.vars.palette.Alert[`${o}IconColor`]}:{color:t.palette[o].main}}})),...Object.entries(t.palette).filter(([,o])=>o.main&&o.light).map(([o])=>({props:{colorSeverity:o,variant:"outlined"},style:{color:t.vars?t.vars.palette.Alert[`${o}Color`]:e(t.palette[o].light,.6),border:`1px solid ${(t.vars||t).palette[o].light}`,[`& .${L.icon}`]:t.vars?{color:t.vars.palette.Alert[`${o}IconColor`]}:{color:t.palette[o].main}}})),...Object.entries(t.palette).filter(([,o])=>o.main&&o.dark).map(([o])=>({props:{colorSeverity:o,variant:"filled"},style:n({fontWeight:t.typography.fontWeightMedium},t.vars?{color:t.vars.palette.Alert[`${o}FilledColor`],backgroundColor:t.vars.palette.Alert[`${o}FilledBg`]}:{backgroundColor:t.palette.mode==="dark"?t.palette[o].dark:t.palette[o].main,color:t.palette.getContrastText(t.palette[o].main)})}))]})}),pt=S("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(t,e)=>e.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),dt=S("div",{name:"MuiAlert",slot:"Message",overridesResolver:(t,e)=>e.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),k=S("div",{name:"MuiAlert",slot:"Action",overridesResolver:(t,e)=>e.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),N={success:s.jsx(et,{fontSize:"inherit"}),warning:s.jsx(st,{fontSize:"inherit"}),error:s.jsx(rt,{fontSize:"inherit"}),info:s.jsx(nt,{fontSize:"inherit"})},Ct=B.forwardRef(function(e,r){const o=E({props:e,name:"MuiAlert"}),{action:a,children:i,className:c,closeText:p="Close",color:y,components:g={},componentsProps:f={},icon:M,iconMapping:h=N,onClose:v,role:x="alert",severity:d="success",slotProps:P={},slots:w={},variant:j="standard"}=o,T=A(o,at),l=n({},o,{color:y,severity:d,variant:j,colorSeverity:y||d}),u=it(l),C={slots:n({closeButton:g.CloseButton,closeIcon:g.CloseIcon},w),slotProps:n({},f,P)},[I,$]=b("closeButton",{elementType:G,externalForwardedProps:C,ownerState:l}),[H,V]=b("closeIcon",{elementType:lt,externalForwardedProps:C,ownerState:l});return s.jsxs(ct,n({role:x,elevation:0,ownerState:l,className:F(u.root,c),ref:r},T,{children:[M!==!1?s.jsx(pt,{ownerState:l,className:u.icon,children:M||h[d]||N[d]}):null,s.jsx(dt,{ownerState:l,className:u.message,children:i}),a!=null?s.jsx(k,{ownerState:l,className:u.action,children:a}):null,a==null&&v?s.jsx(k,{ownerState:l,className:u.action,children:s.jsx(I,n({size:"small","aria-label":p,title:p,color:"inherit",onClick:v},$,{children:s.jsx(H,n({fontSize:"small"},V))}))}):null]}))});function ut(t){return _("MuiAlertTitle",t)}W("MuiAlertTitle",["root"]);const gt=["className"],ft=t=>{const{classes:e}=t;return U({root:["root"]},ut,e)},vt=S(J,{name:"MuiAlertTitle",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t})=>({fontWeight:t.typography.fontWeightMedium,marginTop:-2})),At=B.forwardRef(function(e,r){const o=E({props:e,name:"MuiAlertTitle"}),{className:a}=o,i=A(o,gt),c=o,p=ft(c);return s.jsx(vt,n({gutterBottom:!0,component:"div",ownerState:c,ref:r,className:F(p.root,a)},i))});export{Ct as A,At as a}; diff --git a/assets/Button-CisS2wYT.js b/assets/Button-CisS2wYT.js new file mode 100644 index 0000000..3c453e9 --- /dev/null +++ b/assets/Button-CisS2wYT.js @@ -0,0 +1 @@ +import{g as _,b as j,r as d,s as f,Z as O,w as U,i,d as r,k as u,$ as F,c as H,_ as G,j as b,e as k,f as D}from"./index-DpzKuOVF.js";const R="true";function oo(){return localStorage.getItem("host")===R}function ao(o){o?localStorage.setItem("host",R):localStorage.removeItem("host")}function no(){return localStorage.getItem("nickname")||""}function io(o){localStorage.setItem("nickname",o)}function A(o){return j("MuiButton",o)}const v=_("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),Z=d.createContext({}),q=d.createContext(void 0),J=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],K=o=>{const{color:a,disableElevation:n,fullWidth:s,size:t,variant:l,classes:e}=o,g={root:["root",l,`${l}${i(a)}`,`size${i(t)}`,`${l}Size${i(t)}`,`color${i(a)}`,n&&"disableElevation",s&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${i(t)}`],endIcon:["icon","endIcon",`iconSize${i(t)}`]},x=D(g,A,e);return r({},e,x)},h=o=>r({},o.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},o.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},o.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),Q=f(O,{shouldForwardProp:o=>U(o)||o==="classes",name:"MuiButton",slot:"Root",overridesResolver:(o,a)=>{const{ownerState:n}=o;return[a.root,a[n.variant],a[`${n.variant}${i(n.color)}`],a[`size${i(n.size)}`],a[`${n.variant}Size${i(n.size)}`],n.color==="inherit"&&a.colorInherit,n.disableElevation&&a.disableElevation,n.fullWidth&&a.fullWidth]}})(({theme:o,ownerState:a})=>{var n,s;const t=o.palette.mode==="light"?o.palette.grey[300]:o.palette.grey[800],l=o.palette.mode==="light"?o.palette.grey.A100:o.palette.grey[700];return r({},o.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(o.vars||o).shape.borderRadius,transition:o.transitions.create(["background-color","box-shadow","border-color","color"],{duration:o.transitions.duration.short}),"&:hover":r({textDecoration:"none",backgroundColor:o.vars?`rgba(${o.vars.palette.text.primaryChannel} / ${o.vars.palette.action.hoverOpacity})`:u(o.palette.text.primary,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},a.variant==="text"&&a.color!=="inherit"&&{backgroundColor:o.vars?`rgba(${o.vars.palette[a.color].mainChannel} / ${o.vars.palette.action.hoverOpacity})`:u(o.palette[a.color].main,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},a.variant==="outlined"&&a.color!=="inherit"&&{border:`1px solid ${(o.vars||o).palette[a.color].main}`,backgroundColor:o.vars?`rgba(${o.vars.palette[a.color].mainChannel} / ${o.vars.palette.action.hoverOpacity})`:u(o.palette[a.color].main,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},a.variant==="contained"&&{backgroundColor:o.vars?o.vars.palette.Button.inheritContainedHoverBg:l,boxShadow:(o.vars||o).shadows[4],"@media (hover: none)":{boxShadow:(o.vars||o).shadows[2],backgroundColor:(o.vars||o).palette.grey[300]}},a.variant==="contained"&&a.color!=="inherit"&&{backgroundColor:(o.vars||o).palette[a.color].dark,"@media (hover: none)":{backgroundColor:(o.vars||o).palette[a.color].main}}),"&:active":r({},a.variant==="contained"&&{boxShadow:(o.vars||o).shadows[8]}),[`&.${v.focusVisible}`]:r({},a.variant==="contained"&&{boxShadow:(o.vars||o).shadows[6]}),[`&.${v.disabled}`]:r({color:(o.vars||o).palette.action.disabled},a.variant==="outlined"&&{border:`1px solid ${(o.vars||o).palette.action.disabledBackground}`},a.variant==="contained"&&{color:(o.vars||o).palette.action.disabled,boxShadow:(o.vars||o).shadows[0],backgroundColor:(o.vars||o).palette.action.disabledBackground})},a.variant==="text"&&{padding:"6px 8px"},a.variant==="text"&&a.color!=="inherit"&&{color:(o.vars||o).palette[a.color].main},a.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},a.variant==="outlined"&&a.color!=="inherit"&&{color:(o.vars||o).palette[a.color].main,border:o.vars?`1px solid rgba(${o.vars.palette[a.color].mainChannel} / 0.5)`:`1px solid ${u(o.palette[a.color].main,.5)}`},a.variant==="contained"&&{color:o.vars?o.vars.palette.text.primary:(n=(s=o.palette).getContrastText)==null?void 0:n.call(s,o.palette.grey[300]),backgroundColor:o.vars?o.vars.palette.Button.inheritContainedBg:t,boxShadow:(o.vars||o).shadows[2]},a.variant==="contained"&&a.color!=="inherit"&&{color:(o.vars||o).palette[a.color].contrastText,backgroundColor:(o.vars||o).palette[a.color].main},a.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},a.size==="small"&&a.variant==="text"&&{padding:"4px 5px",fontSize:o.typography.pxToRem(13)},a.size==="large"&&a.variant==="text"&&{padding:"8px 11px",fontSize:o.typography.pxToRem(15)},a.size==="small"&&a.variant==="outlined"&&{padding:"3px 9px",fontSize:o.typography.pxToRem(13)},a.size==="large"&&a.variant==="outlined"&&{padding:"7px 21px",fontSize:o.typography.pxToRem(15)},a.size==="small"&&a.variant==="contained"&&{padding:"4px 10px",fontSize:o.typography.pxToRem(13)},a.size==="large"&&a.variant==="contained"&&{padding:"8px 22px",fontSize:o.typography.pxToRem(15)},a.fullWidth&&{width:"100%"})},({ownerState:o})=>o.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${v.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${v.disabled}`]:{boxShadow:"none"}}),X=f("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(o,a)=>{const{ownerState:n}=o;return[a.startIcon,a[`iconSize${i(n.size)}`]]}})(({ownerState:o})=>r({display:"inherit",marginRight:8,marginLeft:-4},o.size==="small"&&{marginLeft:-2},h(o))),Y=f("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(o,a)=>{const{ownerState:n}=o;return[a.endIcon,a[`iconSize${i(n.size)}`]]}})(({ownerState:o})=>r({display:"inherit",marginRight:-4,marginLeft:8},o.size==="small"&&{marginRight:-2},h(o))),ro=d.forwardRef(function(a,n){const s=d.useContext(Z),t=d.useContext(q),l=F(s,a),e=H({props:l,name:"MuiButton"}),{children:g,color:x="primary",component:z="button",className:S,disabled:C=!1,disableElevation:m=!1,disableFocusRipple:y=!1,endIcon:I,focusVisibleClassName:E,fullWidth:P=!1,size:W="medium",startIcon:$,type:B,variant:L="text"}=e,N=G(e,J),p=r({},e,{color:x,component:z,disabled:C,disableElevation:m,disableFocusRipple:y,fullWidth:P,size:W,type:B,variant:L}),c=K(p),M=$&&b.jsx(X,{className:c.startIcon,ownerState:p,children:$}),T=I&&b.jsx(Y,{className:c.endIcon,ownerState:p,children:I}),V=t||"";return b.jsxs(Q,r({ownerState:p,className:k(s.className,c.root,S,V),component:z,disabled:C,focusRipple:!y,focusVisibleClassName:k(c.focusVisible,E),ref:n,type:B},N,{classes:c,children:[M,g,T]}))});export{ro as B,no as a,io as b,oo as g,ao as s}; diff --git a/assets/ErrorBoundary-D491cSiK.js b/assets/ErrorBoundary-D491cSiK.js new file mode 100644 index 0000000..ff8c9f9 --- /dev/null +++ b/assets/ErrorBoundary-D491cSiK.js @@ -0,0 +1 @@ +import{u as t,j as r,T as o,L as s,a as n}from"./index-DpzKuOVF.js";import{u as a}from"./useSetDocumentTitle-DxFv05Kl.js";import{A as i,a as p}from"./AlertTitle-CE2SxvNV.js";function u(){a("Error");const e=t();return console.error(e),r.jsxs(r.Fragment,{children:[r.jsx(o,{component:"h1",paragraph:!0,variant:"h4",children:"Error"}),r.jsxs(i,{severity:"error",children:[r.jsx(p,{children:"Unexpected Application Error"}),r.jsx("pre",{children:r.jsx("code",{children:String(e)})})]}),r.jsx("br",{}),r.jsxs(o,{paragraph:!0,children:["Refresh the page or go to"," ",r.jsx(s,{component:n,to:"/",children:"home"}),"."]})]})}export{u as default}; diff --git a/assets/Home-B8j13TiT.js b/assets/Home-B8j13TiT.js new file mode 100644 index 0000000..8819ca9 --- /dev/null +++ b/assets/Home-B8j13TiT.js @@ -0,0 +1 @@ +import{g as v,b as g,s as u,P as U,r as y,c as f,_ as j,d as n,j as t,e as b,f as R,T as s,B,a as A}from"./index-DpzKuOVF.js";import{B as S,s as _}from"./Button-CisS2wYT.js";function $(o){return g("MuiCard",o)}v("MuiCard",["root"]);const k=["className","raised"],E=o=>{const{classes:e}=o;return R({root:["root"]},$,e)},L=u(U,{name:"MuiCard",slot:"Root",overridesResolver:(o,e)=>e.root})(()=>({overflow:"hidden"})),O=y.forwardRef(function(e,i){const a=f({props:e,name:"MuiCard"}),{className:c,raised:r=!1}=a,h=j(a,k),l=n({},a,{raised:r}),d=E(l);return t.jsx(L,n({className:b(d.root,c),elevation:r?8:void 0,ref:i,ownerState:l},h))});function W(o){return g("MuiCardContent",o)}v("MuiCardContent",["root"]);const z=["className","component"],D=o=>{const{classes:e}=o;return R({root:["root"]},W,e)},G=u("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(o,e)=>e.root})(()=>({padding:16,"&:last-child":{paddingBottom:24}})),I=y.forwardRef(function(e,i){const a=f({props:e,name:"MuiCardContent"}),{className:c,component:r="div"}=a,h=j(a,z),l=n({},a,{component:r}),d=D(l);return t.jsx(G,n({as:r,className:b(d.root,c),ownerState:l,ref:i},h))});function q(o){return g("MuiCardHeader",o)}const H=v("MuiCardHeader",["root","avatar","action","content","title","subheader"]),F=["action","avatar","className","component","disableTypography","subheader","subheaderTypographyProps","title","titleTypographyProps"],J=o=>{const{classes:e}=o;return R({root:["root"],avatar:["avatar"],action:["action"],content:["content"],title:["title"],subheader:["subheader"]},q,e)},K=u("div",{name:"MuiCardHeader",slot:"Root",overridesResolver:(o,e)=>n({[`& .${H.title}`]:e.title,[`& .${H.subheader}`]:e.subheader},e.root)})({display:"flex",alignItems:"center",padding:16}),Q=u("div",{name:"MuiCardHeader",slot:"Avatar",overridesResolver:(o,e)=>e.avatar})({display:"flex",flex:"0 0 auto",marginRight:16}),V=u("div",{name:"MuiCardHeader",slot:"Action",overridesResolver:(o,e)=>e.action})({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-4,marginRight:-8,marginBottom:-4}),X=u("div",{name:"MuiCardHeader",slot:"Content",overridesResolver:(o,e)=>e.content})({flex:"1 1 auto"}),Y=y.forwardRef(function(e,i){const a=f({props:e,name:"MuiCardHeader"}),{action:c,avatar:r,className:h,component:l="div",disableTypography:d=!1,subheader:M,subheaderTypographyProps:N,title:P,titleTypographyProps:T}=a,w=j(a,F),m=n({},a,{component:l,disableTypography:d}),p=J(m);let C=P;C!=null&&C.type!==s&&!d&&(C=t.jsx(s,n({variant:r?"body2":"h5",className:p.title,component:"span",display:"block"},T,{children:C})));let x=M;return x!=null&&x.type!==s&&!d&&(x=t.jsx(s,n({variant:r?"body2":"body1",className:p.subheader,color:"text.secondary",component:"span",display:"block"},N,{children:x}))),t.jsxs(K,n({className:b(p.root,h),as:l,ref:i,ownerState:m},w,{children:[r&&t.jsx(Q,{className:p.avatar,ownerState:m,children:r}),t.jsxs(X,{className:p.content,ownerState:m,children:[C,x]}),c&&t.jsx(V,{className:p.action,ownerState:m,children:c})]}))});function te(){return t.jsxs(B,{sx:{textAlign:"center"},children:[t.jsx(s,{component:"h1",paragraph:!0,variant:"h2",children:"Party Game Template"}),t.jsx(s,{paragraph:!0,variant:"h5",children:"Play with your friends"}),t.jsx(s,{sx:{marginBottom:3},children:t.jsx(S,{component:A,onClick:()=>_(!0),size:"large",to:"/room",variant:"contained",children:"Create room"})}),t.jsxs(O,{sx:{margin:"0 auto",maxWidth:350},children:[t.jsx(Y,{sx:{paddingBottom:0},title:"How to play"}),t.jsx(I,{children:t.jsxs(s,{component:"ol",sx:{textAlign:"left"},children:[t.jsxs(s,{component:"li",children:["Click the ",t.jsx("strong",{children:"CREATE ROOM"})," button"]}),t.jsx(s,{component:"li",children:"Select the settings and start the game"}),t.jsx(s,{component:"li",children:"Connect with your friends using audio/video chat"}),t.jsx(s,{component:"li",children:"Share the room URL"}),t.jsx(s,{component:"li",children:"Have fun! 🎉"})]})})]})]})}export{te as default}; diff --git a/assets/NotFound-DE3ZJ84e.js b/assets/NotFound-DE3ZJ84e.js new file mode 100644 index 0000000..9b4683b --- /dev/null +++ b/assets/NotFound-DE3ZJ84e.js @@ -0,0 +1 @@ +import{j as o,T as r,L as t,a as n}from"./index-DpzKuOVF.js";import{u as a}from"./useSetDocumentTitle-DxFv05Kl.js";function i(){return a("Not Found"),o.jsxs(o.Fragment,{children:[o.jsx(r,{component:"h1",paragraph:!0,variant:"h4",children:"Not Found"}),o.jsxs(r,{paragraph:!0,children:["Go"," ",o.jsx(t,{component:n,to:"/",children:"home"}),"."]})]})}export{i as default}; diff --git a/assets/Room-Q2VuNiuJ.js b/assets/Room-Q2VuNiuJ.js new file mode 100644 index 0000000..dc97eaa --- /dev/null +++ b/assets/Room-Q2VuNiuJ.js @@ -0,0 +1,3 @@ +import{r as a,h as Fe,g as q,b as K,s as $,d as l,c as G,_ as B,j as u,e as H,f as V,i as J,l as co,k as Ve,m as uo,T as Xe,P as Ye,L as po,n as xe,o as we,p as De,q as Xt,t as ct,G as fo,v as Gt,w as ye,x as dt,y as rt,z as be,A as Rt,C as mo,D as Yt,E as bo,F as ho,H as Pt,I as kt,J as go,K as St,M as Oe,N as vo,O as xo,Q as Tt,R as ut,S as yo,U as Co}from"./index-DpzKuOVF.js";import{g as Ro,s as Po,B as wt,a as ko,b as So}from"./Button-CisS2wYT.js";import{A as To,a as wo}from"./AlertTitle-CE2SxvNV.js";function Jt(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}const Io=a.createContext(),Mo=()=>{const e=a.useContext(Io);return e??!1};var pt=(e=>(e.host="host",e.players="players",e))(pt||{});function Qt(){const[e,t]=Fe.useSharedState(pt.host,"");return{host:e,setHost:t}}const It={nickname:"",active:!1};function Je(){const e=Fe.useUniqueClientId(),[t,o]=a.useState(It),n={[e]:It},[s,r]=Fe.useSharedReducer(pt.players,(i,c)=>{const{payload:d,type:p}=c;i[d.playerId]=i[d.playerId]||{};const m=i[d.playerId];switch(p){case"active":m.active=d.active;break;case"nickname":m.nickname=d.nickname;break}return o(i[e]),i},n);return{player:t,playerId:e,players:s,activePlayersCount:Object.values(s).filter(({active:i})=>i).length,setPlayerActive:i=>r({type:"active",payload:{playerId:e,active:i}}),setPlayerNickname:i=>r({type:"nickname",payload:{playerId:e,nickname:i}})}}function Eo(){const{playerId:e}=Je(),{host:t,setHost:o}=Qt();a.useEffect(()=>{!t&&Ro()&&(o(e),Po(!1))},[])}const Mt="visibilitychange",$o="hidden";function No(){const{setPlayerActive:e}=Je();a.useEffect(()=>{e(!0);function t(){e(document.visibilityState!==$o)}return document.addEventListener(Mt,t),function(){document.removeEventListener(Mt,t)}},[])}const Zt=a.createContext();function Fo(e){return K("MuiTable",e)}q("MuiTable",["root","stickyHeader"]);const Do=["className","component","padding","size","stickyHeader"],Oo=e=>{const{classes:t,stickyHeader:o}=e;return V({root:["root",o&&"stickyHeader"]},Fo,t)},Lo=$("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.stickyHeader&&t.stickyHeader]}})(({theme:e,ownerState:t})=>l({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":l({},e.typography.body2,{padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},t.stickyHeader&&{borderCollapse:"separate"})),Et="table",jo=a.forwardRef(function(t,o){const n=G({props:t,name:"MuiTable"}),{className:s,component:r=Et,padding:i="normal",size:c="medium",stickyHeader:d=!1}=n,p=B(n,Do),m=l({},n,{component:r,padding:i,size:c,stickyHeader:d}),g=Oo(m),y=a.useMemo(()=>({padding:i,size:c,stickyHeader:d}),[i,c,d]);return u.jsx(Zt.Provider,{value:y,children:u.jsx(Lo,l({as:r,role:r===Et?null:"table",ref:o,className:H(g.root,s),ownerState:m},p))})}),Qe=a.createContext();function Ao(e){return K("MuiTableBody",e)}q("MuiTableBody",["root"]);const Bo=["className","component"],Wo=e=>{const{classes:t}=e;return V({root:["root"]},Ao,t)},zo=$("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),Ho={variant:"body"},$t="tbody",Uo=a.forwardRef(function(t,o){const n=G({props:t,name:"MuiTableBody"}),{className:s,component:r=$t}=n,i=B(n,Bo),c=l({},n,{component:r}),d=Wo(c);return u.jsx(Qe.Provider,{value:Ho,children:u.jsx(zo,l({className:H(d.root,s),as:r,ref:o,role:r===$t?null:"rowgroup",ownerState:c},i))})});function _o(e){return K("MuiTableCell",e)}const qo=q("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),Ko=["align","className","component","padding","scope","size","sortDirection","variant"],Vo=e=>{const{classes:t,variant:o,align:n,padding:s,size:r,stickyHeader:i}=e,c={root:["root",o,i&&"stickyHeader",n!=="inherit"&&`align${J(n)}`,s!=="normal"&&`padding${J(s)}`,`size${J(r)}`]};return V(c,_o,t)},Xo=$("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.variant],t[`size${J(o.size)}`],o.padding!=="normal"&&t[`padding${J(o.padding)}`],o.align!=="inherit"&&t[`align${J(o.align)}`],o.stickyHeader&&t.stickyHeader]}})(({theme:e,ownerState:t})=>l({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid + ${e.palette.mode==="light"?co(Ve(e.palette.divider,1),.88):uo(Ve(e.palette.divider,1),.68)}`,textAlign:"left",padding:16},t.variant==="head"&&{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},t.variant==="body"&&{color:(e.vars||e).palette.text.primary},t.variant==="footer"&&{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},t.size==="small"&&{padding:"6px 16px",[`&.${qo.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},t.padding==="checkbox"&&{width:48,padding:"0 0 0 4px"},t.padding==="none"&&{padding:0},t.align==="left"&&{textAlign:"left"},t.align==="center"&&{textAlign:"center"},t.align==="right"&&{textAlign:"right",flexDirection:"row-reverse"},t.align==="justify"&&{textAlign:"justify"},t.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default})),qe=a.forwardRef(function(t,o){const n=G({props:t,name:"MuiTableCell"}),{align:s="inherit",className:r,component:i,padding:c,scope:d,size:p,sortDirection:m,variant:g}=n,y=B(n,Ko),x=a.useContext(Zt),v=a.useContext(Qe),w=v&&v.variant==="head";let P;i?P=i:P=w?"th":"td";let h=d;P==="td"?h=void 0:!h&&w&&(h="col");const C=g||v&&v.variant,f=l({},n,{align:s,component:P,padding:c||(x&&x.padding?x.padding:"normal"),size:p||(x&&x.size?x.size:"medium"),sortDirection:m,stickyHeader:C==="head"&&x&&x.stickyHeader,variant:C}),b=Vo(f);let R=null;return m&&(R=m==="asc"?"ascending":"descending"),u.jsx(Xo,l({as:P,ref:o,className:H(b.root,r),"aria-sort":R,scope:h,ownerState:f},y))});function Go(e){return K("MuiTableContainer",e)}q("MuiTableContainer",["root"]);const Yo=["className","component"],Jo=e=>{const{classes:t}=e;return V({root:["root"]},Go,t)},Qo=$("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),Zo=a.forwardRef(function(t,o){const n=G({props:t,name:"MuiTableContainer"}),{className:s,component:r="div"}=n,i=B(n,Yo),c=l({},n,{component:r}),d=Jo(c);return u.jsx(Qo,l({ref:o,as:r,className:H(d.root,s),ownerState:c},i))});function en(e){return K("MuiTableHead",e)}q("MuiTableHead",["root"]);const tn=["className","component"],on=e=>{const{classes:t}=e;return V({root:["root"]},en,t)},nn=$("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),rn={variant:"head"},Nt="thead",sn=a.forwardRef(function(t,o){const n=G({props:t,name:"MuiTableHead"}),{className:s,component:r=Nt}=n,i=B(n,tn),c=l({},n,{component:r}),d=on(c);return u.jsx(Qe.Provider,{value:rn,children:u.jsx(nn,l({as:r,className:H(d.root,s),ref:o,role:r===Nt?null:"rowgroup",ownerState:c},i))})});function an(e){return K("MuiTableRow",e)}const Ft=q("MuiTableRow",["root","selected","hover","head","footer"]),ln=["className","component","hover","selected"],cn=e=>{const{classes:t,selected:o,hover:n,head:s,footer:r}=e;return V({root:["root",o&&"selected",n&&"hover",s&&"head",r&&"footer"]},an,t)},dn=$("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.head&&t.head,o.footer&&t.footer]}})(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${Ft.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${Ft.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ve(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ve(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}})),Dt="tr",Ot=a.forwardRef(function(t,o){const n=G({props:t,name:"MuiTableRow"}),{className:s,component:r=Dt,hover:i=!1,selected:c=!1}=n,d=B(n,ln),p=a.useContext(Qe),m=l({},n,{component:r,hover:i,selected:c,head:p&&p.variant==="head",footer:p&&p.variant==="footer"}),g=cn(m);return u.jsx(dn,l({as:r,ref:o,className:H(g.root,s),role:r===Dt?null:"row",ownerState:m},d))});function un(){Eo(),No();const{host:e}=Qt(),{playerId:t,players:o}=Je(),[n,s]=a.useState(""),{connected:r,debugUrl:i}=Fe.useConnectionStatus();return a.useEffect(()=>{if(!r)return;const c=new URLSearchParams(location.search).get("_driftdb_room");c&&s(c)},[r]),u.jsxs(u.Fragment,{children:[u.jsxs(Xe,{component:"h1",paragraph:!0,variant:"h4",children:["Room: ",u.jsx("code",{children:n})]}),u.jsxs(Xe,{paragraph:!0,children:["Player ID: ",u.jsx("code",{children:t})," ",t===e&&u.jsx("em",{children:"(Host)"})]}),u.jsx(Zo,{component:Ye,children:u.jsxs(jo,{children:[u.jsx(sn,{children:u.jsxs(Ot,{children:[u.jsx(qe,{children:"connected"}),u.jsx(qe,{children:"debugUrl"})]})}),u.jsx(Uo,{children:u.jsxs(Ot,{children:[u.jsx(qe,{children:String(r)}),u.jsx(qe,{children:i&&u.jsx(po,{href:i,rel:"noopener noreferrer",target:"_blank",children:i})})]})})]})}),u.jsx("br",{}),u.jsxs(To,{children:[u.jsx(wo,{children:"Players"}),u.jsx("pre",{children:u.jsx("code",{children:JSON.stringify(o,null,4)})})]}),u.jsx(Fe.RoomQRCode,{})]})}const pn=["onChange","maxRows","minRows","style","value"];function Ke(e){return parseInt(e,10)||0}const fn={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function mn(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflowing}const bn=a.forwardRef(function(t,o){const{onChange:n,maxRows:s,minRows:r=1,style:i,value:c}=t,d=B(t,pn),{current:p}=a.useRef(c!=null),m=a.useRef(null),g=xe(o,m),y=a.useRef(null),x=a.useRef(null),v=a.useCallback(()=>{const h=m.current,f=we(h).getComputedStyle(h);if(f.width==="0px")return{outerHeightStyle:0,overflowing:!1};const b=x.current;b.style.width=f.width,b.value=h.value||t.placeholder||"x",b.value.slice(-1)===` +`&&(b.value+=" ");const R=f.boxSizing,k=Ke(f.paddingBottom)+Ke(f.paddingTop),S=Ke(f.borderBottomWidth)+Ke(f.borderTopWidth),M=b.scrollHeight;b.value="x";const L=b.scrollHeight;let N=M;r&&(N=Math.max(Number(r)*L,N)),s&&(N=Math.min(Number(s)*L,N)),N=Math.max(N,L);const z=N+(R==="border-box"?k+S:0),j=Math.abs(N-M)<=1;return{outerHeightStyle:z,overflowing:j}},[s,r,t.placeholder]),w=a.useCallback(()=>{const h=v();if(mn(h))return;const C=h.outerHeightStyle,f=m.current;y.current!==C&&(y.current=C,f.style.height=`${C}px`),f.style.overflow=h.overflowing?"hidden":""},[v]);De(()=>{const h=()=>{w()};let C;const f=Xt(h),b=m.current,R=we(b);R.addEventListener("resize",f);let k;return typeof ResizeObserver<"u"&&(k=new ResizeObserver(h),k.observe(b)),()=>{f.clear(),cancelAnimationFrame(C),R.removeEventListener("resize",f),k&&k.disconnect()}},[v,w]),De(()=>{w()});const P=h=>{p||w(),n&&n(h)};return u.jsxs(a.Fragment,{children:[u.jsx("textarea",l({value:c,onChange:P,ref:g,rows:r,style:i},d)),u.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:x,tabIndex:-1,style:l({},fn.shadow,i,{paddingTop:0,paddingBottom:0})})]})});function je({props:e,states:t,muiFormControl:o}){return t.reduce((n,s)=>(n[s]=e[s],o&&typeof e[s]>"u"&&(n[s]=o[s]),n),{})}const ft=a.createContext(void 0);function Ae(){return a.useContext(ft)}function Lt(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function Ge(e,t=!1){return e&&(Lt(e.value)&&e.value!==""||t&&Lt(e.defaultValue)&&e.defaultValue!=="")}function hn(e){return e.startAdornment}function gn(e){return K("MuiInputBase",e)}const Le=q("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),vn=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],Ze=(e,t)=>{const{ownerState:o}=e;return[t.root,o.formControl&&t.formControl,o.startAdornment&&t.adornedStart,o.endAdornment&&t.adornedEnd,o.error&&t.error,o.size==="small"&&t.sizeSmall,o.multiline&&t.multiline,o.color&&t[`color${J(o.color)}`],o.fullWidth&&t.fullWidth,o.hiddenLabel&&t.hiddenLabel]},et=(e,t)=>{const{ownerState:o}=e;return[t.input,o.size==="small"&&t.inputSizeSmall,o.multiline&&t.inputMultiline,o.type==="search"&&t.inputTypeSearch,o.startAdornment&&t.inputAdornedStart,o.endAdornment&&t.inputAdornedEnd,o.hiddenLabel&&t.inputHiddenLabel]},xn=e=>{const{classes:t,color:o,disabled:n,error:s,endAdornment:r,focused:i,formControl:c,fullWidth:d,hiddenLabel:p,multiline:m,readOnly:g,size:y,startAdornment:x,type:v}=e,w={root:["root",`color${J(o)}`,n&&"disabled",s&&"error",d&&"fullWidth",i&&"focused",c&&"formControl",y&&y!=="medium"&&`size${J(y)}`,m&&"multiline",x&&"adornedStart",r&&"adornedEnd",p&&"hiddenLabel",g&&"readOnly"],input:["input",n&&"disabled",v==="search"&&"inputTypeSearch",m&&"inputMultiline",y==="small"&&"inputSizeSmall",p&&"inputHiddenLabel",x&&"inputAdornedStart",r&&"inputAdornedEnd",g&&"readOnly"]};return V(w,gn,t)},tt=$("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Ze})(({theme:e,ownerState:t})=>l({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Le.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&l({padding:"4px 0 5px"},t.size==="small"&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),ot=$("input",{name:"MuiInputBase",slot:"Input",overridesResolver:et})(({theme:e,ownerState:t})=>{const o=e.palette.mode==="light",n=l({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:o?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),s={opacity:"0 !important"},r=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:o?.42:.5};return l({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&:-ms-input-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Le.formControl} &`]:{"&::-webkit-input-placeholder":s,"&::-moz-placeholder":s,"&:-ms-input-placeholder":s,"&::-ms-input-placeholder":s,"&:focus::-webkit-input-placeholder":r,"&:focus::-moz-placeholder":r,"&:focus:-ms-input-placeholder":r,"&:focus::-ms-input-placeholder":r},[`&.${Le.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},t.size==="small"&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},t.type==="search"&&{MozAppearance:"textfield"})}),yn=u.jsx(fo,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),mt=a.forwardRef(function(t,o){var n;const s=G({props:t,name:"MuiInputBase"}),{"aria-describedby":r,autoComplete:i,autoFocus:c,className:d,components:p={},componentsProps:m={},defaultValue:g,disabled:y,disableInjectingGlobalStyles:x,endAdornment:v,fullWidth:w=!1,id:P,inputComponent:h="input",inputProps:C={},inputRef:f,maxRows:b,minRows:R,multiline:k=!1,name:S,onBlur:M,onChange:L,onClick:N,onFocus:z,onKeyDown:j,onKeyUp:D,placeholder:I,readOnly:A,renderSuffix:F,rows:O,slotProps:T={},slots:te={},startAdornment:ce,type:ue="text",value:re}=s,oe=B(s,vn),_=C.value!=null?C.value:re,{current:se}=a.useRef(_!=null),ne=a.useRef(),pe=a.useCallback(Q=>{},[]),de=xe(ne,f,C.ref,pe),[he,fe]=a.useState(!1),U=Ae(),ee=je({props:s,muiFormControl:U,states:["color","disabled","error","hiddenLabel","size","required","filled"]});ee.focused=U?U.focused:he,a.useEffect(()=>{!U&&y&&he&&(fe(!1),M&&M())},[U,y,he,M]);const W=U&&U.onFilled,X=U&&U.onEmpty,Z=a.useCallback(Q=>{Ge(Q)?W&&W():X&&X()},[W,X]);De(()=>{se&&Z({value:_})},[_,Z,se]);const Ie=Q=>{if(ee.disabled){Q.stopPropagation();return}z&&z(Q),C.onFocus&&C.onFocus(Q),U&&U.onFocus?U.onFocus(Q):fe(!0)},ge=Q=>{M&&M(Q),C.onBlur&&C.onBlur(Q),U&&U.onBlur?U.onBlur(Q):fe(!1)},ve=(Q,...Se)=>{if(!se){const $e=Q.target||ne.current;if($e==null)throw new Error(Gt(1));Z({value:$e.value})}C.onChange&&C.onChange(Q,...Se),L&&L(Q,...Se)};a.useEffect(()=>{Z(ne.current)},[]);const Ce=Q=>{ne.current&&Q.currentTarget===Q.target&&ne.current.focus(),N&&N(Q)};let Re=h,ie=C;k&&Re==="input"&&(O?ie=l({type:void 0,minRows:O,maxRows:O},ie):ie=l({type:void 0,maxRows:b,minRows:R},ie),Re=bn);const ke=Q=>{Z(Q.animationName==="mui-auto-fill-cancel"?ne.current:{value:"x"})};a.useEffect(()=>{U&&U.setAdornedStart(!!ce)},[U,ce]);const me=l({},s,{color:ee.color||"primary",disabled:ee.disabled,endAdornment:v,error:ee.error,focused:ee.focused,formControl:U,fullWidth:w,hiddenLabel:ee.hiddenLabel,multiline:k,size:ee.size,startAdornment:ce,type:ue}),ae=xn(me),_e=te.root||p.Root||tt,Me=T.root||m.root||{},Ee=te.input||p.Input||ot;return ie=l({},ie,(n=T.input)!=null?n:m.input),u.jsxs(a.Fragment,{children:[!x&&yn,u.jsxs(_e,l({},Me,!ct(_e)&&{ownerState:l({},me,Me.ownerState)},{ref:o,onClick:Ce},oe,{className:H(ae.root,Me.className,d,A&&"MuiInputBase-readOnly"),children:[ce,u.jsx(ft.Provider,{value:null,children:u.jsx(Ee,l({ownerState:me,"aria-invalid":ee.error,"aria-describedby":r,autoComplete:i,autoFocus:c,defaultValue:g,disabled:ee.disabled,id:P,onAnimationStart:ke,name:S,placeholder:I,readOnly:A,required:ee.required,rows:O,value:_,onKeyDown:j,onKeyUp:D,type:ue},ie,!ct(Ee)&&{as:Re,ownerState:l({},me,ie.ownerState)},{ref:de,className:H(ae.input,ie.className,A&&"MuiInputBase-readOnly"),onBlur:ge,onChange:ve,onFocus:Ie}))}),v,F?F(l({},ee,{startAdornment:ce})):null]}))]})});function Cn(e){return K("MuiInput",e)}const Be=l({},Le,q("MuiInput",["root","underline","input"])),Rn=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],Pn=e=>{const{classes:t,disableUnderline:o}=e,s=V({root:["root",!o&&"underline"],input:["input"]},Cn,t);return l({},t,s)},kn=$(tt,{shouldForwardProp:e=>ye(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[...Ze(e,t),!o.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{let n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(n=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),l({position:"relative"},t.formControl&&{"label + &":{marginTop:16}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Be.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Be.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Be.disabled}, .${Be.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${Be.disabled}:before`]:{borderBottomStyle:"dotted"}})}),Sn=$(ot,{name:"MuiInput",slot:"Input",overridesResolver:et})({}),bt=a.forwardRef(function(t,o){var n,s,r,i;const c=G({props:t,name:"MuiInput"}),{disableUnderline:d,components:p={},componentsProps:m,fullWidth:g=!1,inputComponent:y="input",multiline:x=!1,slotProps:v,slots:w={},type:P="text"}=c,h=B(c,Rn),C=Pn(c),b={root:{ownerState:{disableUnderline:d}}},R=v??m?dt(v??m,b):b,k=(n=(s=w.root)!=null?s:p.Root)!=null?n:kn,S=(r=(i=w.input)!=null?i:p.Input)!=null?r:Sn;return u.jsx(mt,l({slots:{root:k,input:S},slotProps:R,fullWidth:g,inputComponent:y,multiline:x,ref:o,type:P},h,{classes:C}))});bt.muiName="Input";function Tn(e){return K("MuiFilledInput",e)}const Te=l({},Le,q("MuiFilledInput",["root","underline","input"])),wn=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],In=e=>{const{classes:t,disableUnderline:o}=e,s=V({root:["root",!o&&"underline"],input:["input"]},Tn,t);return l({},t,s)},Mn=$(tt,{shouldForwardProp:e=>ye(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[...Ze(e,t),!o.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{var o;const n=e.palette.mode==="light",s=n?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=n?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",i=n?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",c=n?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return l({position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:i,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r}},[`&.${Te.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${Te.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:c}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(o=(e.vars||e).palette[t.color||"primary"])==null?void 0:o.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Te.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Te.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:s}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Te.disabled}, .${Te.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Te.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&l({padding:"25px 12px 8px"},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.hiddenLabel&&t.size==="small"&&{paddingTop:8,paddingBottom:9}))}),En=$(ot,{name:"MuiFilledInput",slot:"Input",overridesResolver:et})(({theme:e,ownerState:t})=>l({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&t.size==="small"&&{paddingTop:8,paddingBottom:9},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0})),ht=a.forwardRef(function(t,o){var n,s,r,i;const c=G({props:t,name:"MuiFilledInput"}),{components:d={},componentsProps:p,fullWidth:m=!1,inputComponent:g="input",multiline:y=!1,slotProps:x,slots:v={},type:w="text"}=c,P=B(c,wn),h=l({},c,{fullWidth:m,inputComponent:g,multiline:y,type:w}),C=In(c),f={root:{ownerState:h},input:{ownerState:h}},b=x??p?dt(f,x??p):f,R=(n=(s=v.root)!=null?s:d.Root)!=null?n:Mn,k=(r=(i=v.input)!=null?i:d.Input)!=null?r:En;return u.jsx(mt,l({slots:{root:R,input:k},componentsProps:b,fullWidth:m,inputComponent:g,multiline:y,ref:o,type:w},P,{classes:C}))});ht.muiName="Input";var jt;const $n=["children","classes","className","label","notched"],Nn=$("fieldset",{shouldForwardProp:ye})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),Fn=$("legend",{shouldForwardProp:ye})(({ownerState:e,theme:t})=>l({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&l({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})})));function Dn(e){const{className:t,label:o,notched:n}=e,s=B(e,$n),r=o!=null&&o!=="",i=l({},e,{notched:n,withLabel:r});return u.jsx(Nn,l({"aria-hidden":!0,className:t,ownerState:i},s,{children:u.jsx(Fn,{ownerState:i,children:r?u.jsx("span",{children:o}):jt||(jt=u.jsx("span",{className:"notranslate",children:"​"}))})}))}function On(e){return K("MuiOutlinedInput",e)}const Pe=l({},Le,q("MuiOutlinedInput",["root","notchedOutline","input"])),Ln=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],jn=e=>{const{classes:t}=e,n=V({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},On,t);return l({},t,n)},An=$(tt,{shouldForwardProp:e=>ye(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:Ze})(({theme:e,ownerState:t})=>{const o=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return l({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${Pe.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${Pe.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:o}},[`&.${Pe.focused} .${Pe.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${Pe.error} .${Pe.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Pe.disabled} .${Pe.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&l({padding:"16.5px 14px"},t.size==="small"&&{padding:"8.5px 14px"}))}),Bn=$(Dn,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}}),Wn=$(ot,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:et})(({theme:e,ownerState:t})=>l({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0})),gt=a.forwardRef(function(t,o){var n,s,r,i,c;const d=G({props:t,name:"MuiOutlinedInput"}),{components:p={},fullWidth:m=!1,inputComponent:g="input",label:y,multiline:x=!1,notched:v,slots:w={},type:P="text"}=d,h=B(d,Ln),C=jn(d),f=Ae(),b=je({props:d,muiFormControl:f,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),R=l({},d,{color:b.color||"primary",disabled:b.disabled,error:b.error,focused:b.focused,formControl:f,fullWidth:m,hiddenLabel:b.hiddenLabel,multiline:x,size:b.size,type:P}),k=(n=(s=w.root)!=null?s:p.Root)!=null?n:An,S=(r=(i=w.input)!=null?i:p.Input)!=null?r:Wn;return u.jsx(mt,l({slots:{root:k,input:S},renderSuffix:M=>u.jsx(Bn,{ownerState:R,className:C.notchedOutline,label:y!=null&&y!==""&&b.required?c||(c=u.jsxs(a.Fragment,{children:[y," ","*"]})):y,notched:typeof v<"u"?v:!!(M.startAdornment||M.filled||M.focused)}),fullWidth:m,inputComponent:g,multiline:x,ref:o,type:P},h,{classes:l({},C,{notchedOutline:null})}))});gt.muiName="Input";function zn(e){return K("MuiFormLabel",e)}const He=q("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),Hn=["children","className","color","component","disabled","error","filled","focused","required"],Un=e=>{const{classes:t,color:o,focused:n,disabled:s,error:r,filled:i,required:c}=e,d={root:["root",`color${J(o)}`,s&&"disabled",r&&"error",i&&"filled",n&&"focused",c&&"required"],asterisk:["asterisk",r&&"error"]};return V(d,zn,t)},_n=$("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>l({},t.root,e.color==="secondary"&&t.colorSecondary,e.filled&&t.filled)})(({theme:e,ownerState:t})=>l({color:(e.vars||e).palette.text.secondary},e.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${He.focused}`]:{color:(e.vars||e).palette[t.color].main},[`&.${He.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${He.error}`]:{color:(e.vars||e).palette.error.main}})),qn=$("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(({theme:e})=>({[`&.${He.error}`]:{color:(e.vars||e).palette.error.main}})),Kn=a.forwardRef(function(t,o){const n=G({props:t,name:"MuiFormLabel"}),{children:s,className:r,component:i="label"}=n,c=B(n,Hn),d=Ae(),p=je({props:n,muiFormControl:d,states:["color","required","focused","disabled","error","filled"]}),m=l({},n,{color:p.color||"primary",component:i,disabled:p.disabled,error:p.error,filled:p.filled,focused:p.focused,required:p.required}),g=Un(m);return u.jsxs(_n,l({as:i,ownerState:m,className:H(g.root,r),ref:o},c,{children:[s,p.required&&u.jsxs(qn,{ownerState:m,"aria-hidden":!0,className:g.asterisk,children:[" ","*"]})]}))});function Vn(e){return K("MuiInputLabel",e)}q("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const Xn=["disableAnimation","margin","shrink","variant","className"],Gn=e=>{const{classes:t,formControl:o,size:n,shrink:s,disableAnimation:r,variant:i,required:c}=e,d={root:["root",o&&"formControl",!r&&"animated",s&&"shrink",n&&n!=="normal"&&`size${J(n)}`,i],asterisk:[c&&"asterisk"]},p=V(d,Vn,t);return l({},t,p)},Yn=$(Kn,{shouldForwardProp:e=>ye(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{[`& .${He.asterisk}`]:t.asterisk},t.root,o.formControl&&t.formControl,o.size==="small"&&t.sizeSmall,o.shrink&&t.shrink,!o.disableAnimation&&t.animated,o.focused&&t.focused,t[o.variant]]}})(({theme:e,ownerState:t})=>l({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},t.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},t.size==="small"&&{transform:"translate(0, 17px) scale(1)"},t.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!t.disableAnimation&&{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},t.variant==="filled"&&l({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},t.size==="small"&&{transform:"translate(12px, 13px) scale(1)"},t.shrink&&l({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},t.size==="small"&&{transform:"translate(12px, 4px) scale(0.75)"})),t.variant==="outlined"&&l({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},t.size==="small"&&{transform:"translate(14px, 9px) scale(1)"},t.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}))),Jn=a.forwardRef(function(t,o){const n=G({name:"MuiInputLabel",props:t}),{disableAnimation:s=!1,shrink:r,className:i}=n,c=B(n,Xn),d=Ae();let p=r;typeof p>"u"&&d&&(p=d.filled||d.focused||d.adornedStart);const m=je({props:n,muiFormControl:d,states:["size","variant","required","focused"]}),g=l({},n,{disableAnimation:s,formControl:d,shrink:p,size:m.size,variant:m.variant,required:m.required,focused:m.focused}),y=Gn(g);return u.jsx(Yn,l({"data-shrink":p,ownerState:g,ref:o,className:H(y.root,i)},c,{classes:y}))});function Qn(e){return K("MuiFormControl",e)}q("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const Zn=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],er=e=>{const{classes:t,margin:o,fullWidth:n}=e,s={root:["root",o!=="none"&&`margin${J(o)}`,n&&"fullWidth"]};return V(s,Qn,t)},tr=$("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>l({},t.root,t[`margin${J(e.margin)}`],e.fullWidth&&t.fullWidth)})(({ownerState:e})=>l({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},e.margin==="normal"&&{marginTop:16,marginBottom:8},e.margin==="dense"&&{marginTop:8,marginBottom:4},e.fullWidth&&{width:"100%"})),or=a.forwardRef(function(t,o){const n=G({props:t,name:"MuiFormControl"}),{children:s,className:r,color:i="primary",component:c="div",disabled:d=!1,error:p=!1,focused:m,fullWidth:g=!1,hiddenLabel:y=!1,margin:x="none",required:v=!1,size:w="medium",variant:P="outlined"}=n,h=B(n,Zn),C=l({},n,{color:i,component:c,disabled:d,error:p,fullWidth:g,hiddenLabel:y,margin:x,required:v,size:w,variant:P}),f=er(C),[b,R]=a.useState(()=>{let D=!1;return s&&a.Children.forEach(s,I=>{if(!rt(I,["Input","Select"]))return;const A=rt(I,["Select"])?I.props.input:I;A&&hn(A.props)&&(D=!0)}),D}),[k,S]=a.useState(()=>{let D=!1;return s&&a.Children.forEach(s,I=>{rt(I,["Input","Select"])&&(Ge(I.props,!0)||Ge(I.props.inputProps,!0))&&(D=!0)}),D}),[M,L]=a.useState(!1);d&&M&&L(!1);const N=m!==void 0&&!d?m:M;let z;const j=a.useMemo(()=>({adornedStart:b,setAdornedStart:R,color:i,disabled:d,error:p,filled:k,focused:N,fullWidth:g,hiddenLabel:y,size:w,onBlur:()=>{L(!1)},onEmpty:()=>{S(!1)},onFilled:()=>{S(!0)},onFocus:()=>{L(!0)},registerEffect:z,required:v,variant:P}),[b,i,d,p,k,N,g,y,z,v,w,P]);return u.jsx(ft.Provider,{value:j,children:u.jsx(tr,l({as:c,ownerState:C,className:H(f.root,r),ref:o},h,{children:s}))})});function nr(e){return K("MuiFormHelperText",e)}const At=q("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var Bt;const rr=["children","className","component","disabled","error","filled","focused","margin","required","variant"],sr=e=>{const{classes:t,contained:o,size:n,disabled:s,error:r,filled:i,focused:c,required:d}=e,p={root:["root",s&&"disabled",r&&"error",n&&`size${J(n)}`,o&&"contained",c&&"focused",i&&"filled",d&&"required"]};return V(p,nr,t)},ir=$("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.size&&t[`size${J(o.size)}`],o.contained&&t.contained,o.filled&&t.filled]}})(({theme:e,ownerState:t})=>l({color:(e.vars||e).palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${At.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${At.error}`]:{color:(e.vars||e).palette.error.main}},t.size==="small"&&{marginTop:4},t.contained&&{marginLeft:14,marginRight:14})),ar=a.forwardRef(function(t,o){const n=G({props:t,name:"MuiFormHelperText"}),{children:s,className:r,component:i="p"}=n,c=B(n,rr),d=Ae(),p=je({props:n,muiFormControl:d,states:["variant","size","disabled","error","filled","focused","required"]}),m=l({},n,{component:i,contained:p.variant==="filled"||p.variant==="outlined",variant:p.variant,size:p.size,disabled:p.disabled,error:p.error,filled:p.filled,focused:p.focused,required:p.required}),g=sr(m);return u.jsx(ir,l({as:i,ownerState:m,className:H(g.root,r),ref:o},c,{children:s===" "?Bt||(Bt=u.jsx("span",{className:"notranslate",children:"​"})):s}))}),lr=a.createContext({});function cr(e){return K("MuiList",e)}q("MuiList",["root","padding","dense","subheader"]);const dr=["children","className","component","dense","disablePadding","subheader"],ur=e=>{const{classes:t,disablePadding:o,dense:n,subheader:s}=e;return V({root:["root",!o&&"padding",n&&"dense",s&&"subheader"]},cr,t)},pr=$("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,!o.disablePadding&&t.padding,o.dense&&t.dense,o.subheader&&t.subheader]}})(({ownerState:e})=>l({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),fr=a.forwardRef(function(t,o){const n=G({props:t,name:"MuiList"}),{children:s,className:r,component:i="ul",dense:c=!1,disablePadding:d=!1,subheader:p}=n,m=B(n,dr),g=a.useMemo(()=>({dense:c}),[c]),y=l({},n,{component:i,dense:c,disablePadding:d}),x=ur(y);return u.jsx(lr.Provider,{value:g,children:u.jsxs(pr,l({as:i,className:H(x.root,r),ref:o,ownerState:y},m,{children:[p,s]}))})}),mr=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function st(e,t,o){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:o?null:e.firstChild}function Wt(e,t,o){return e===t?o?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:o?null:e.lastChild}function eo(e,t){if(t===void 0)return!0;let o=e.innerText;return o===void 0&&(o=e.textContent),o=o.trim().toLowerCase(),o.length===0?!1:t.repeating?o[0]===t.keys[0]:o.indexOf(t.keys.join(""))===0}function We(e,t,o,n,s,r){let i=!1,c=s(e,t,t?o:!1);for(;c;){if(c===e.firstChild){if(i)return!1;i=!0}const d=n?!1:c.disabled||c.getAttribute("aria-disabled")==="true";if(!c.hasAttribute("tabindex")||!eo(c,r)||d)c=s(e,c,o);else return c.focus(),!0}return!1}const br=a.forwardRef(function(t,o){const{actions:n,autoFocus:s=!1,autoFocusItem:r=!1,children:i,className:c,disabledItemsFocusable:d=!1,disableListWrap:p=!1,onKeyDown:m,variant:g="selectedMenu"}=t,y=B(t,mr),x=a.useRef(null),v=a.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});De(()=>{s&&x.current.focus()},[s]),a.useImperativeHandle(n,()=>({adjustStyleForScrollbar:(f,{direction:b})=>{const R=!x.current.style.width;if(f.clientHeight{const b=x.current,R=f.key,k=be(b).activeElement;if(R==="ArrowDown")f.preventDefault(),We(b,k,p,d,st);else if(R==="ArrowUp")f.preventDefault(),We(b,k,p,d,Wt);else if(R==="Home")f.preventDefault(),We(b,null,p,d,st);else if(R==="End")f.preventDefault(),We(b,null,p,d,Wt);else if(R.length===1){const S=v.current,M=R.toLowerCase(),L=performance.now();S.keys.length>0&&(L-S.lastTime>500?(S.keys=[],S.repeating=!0,S.previousKeyMatched=!0):S.repeating&&M!==S.keys[0]&&(S.repeating=!1)),S.lastTime=L,S.keys.push(M);const N=k&&!S.repeating&&eo(k,S);S.previousKeyMatched&&(N||We(b,k,!1,d,st,S))?f.preventDefault():S.previousKeyMatched=!1}m&&m(f)},P=xe(x,o);let h=-1;a.Children.forEach(i,(f,b)=>{if(!a.isValidElement(f)){h===b&&(h+=1,h>=i.length&&(h=-1));return}f.props.disabled||(g==="selectedMenu"&&f.props.selected||h===-1)&&(h=b),h===b&&(f.props.disabled||f.props.muiSkipListHighlight||f.type.muiSkipListHighlight)&&(h+=1,h>=i.length&&(h=-1))});const C=a.Children.map(i,(f,b)=>{if(b===h){const R={};return r&&(R.autoFocus=!0),f.props.tabIndex===void 0&&g==="selectedMenu"&&(R.tabIndex=0),a.cloneElement(f,R)}return f});return u.jsx(fr,l({role:"menu",ref:P,className:c,onKeyDown:w,tabIndex:s?0:-1},y,{children:C}))});function hr(e){const t=be(e);return t.body===e?we(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function Ue(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function zt(e){return parseInt(we(e).getComputedStyle(e).paddingRight,10)||0}function gr(e){const o=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,n=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return o||n}function Ht(e,t,o,n,s){const r=[t,o,...n];[].forEach.call(e.children,i=>{const c=r.indexOf(i)===-1,d=!gr(i);c&&d&&Ue(i,s)})}function it(e,t){let o=-1;return e.some((n,s)=>t(n)?(o=s,!0):!1),o}function vr(e,t){const o=[],n=e.container;if(!t.disableScrollLock){if(hr(n)){const i=Jt(be(n));o.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${zt(n)+i}px`;const c=be(n).querySelectorAll(".mui-fixed");[].forEach.call(c,d=>{o.push({value:d.style.paddingRight,property:"padding-right",el:d}),d.style.paddingRight=`${zt(d)+i}px`})}let r;if(n.parentNode instanceof DocumentFragment)r=be(n).body;else{const i=n.parentElement,c=we(n);r=(i==null?void 0:i.nodeName)==="HTML"&&c.getComputedStyle(i).overflowY==="scroll"?i:n}o.push({value:r.style.overflow,property:"overflow",el:r},{value:r.style.overflowX,property:"overflow-x",el:r},{value:r.style.overflowY,property:"overflow-y",el:r}),r.style.overflow="hidden"}return()=>{o.forEach(({value:r,el:i,property:c})=>{r?i.style.setProperty(c,r):i.style.removeProperty(c)})}}function xr(e){const t=[];return[].forEach.call(e.children,o=>{o.getAttribute("aria-hidden")==="true"&&t.push(o)}),t}class yr{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,o){let n=this.modals.indexOf(t);if(n!==-1)return n;n=this.modals.length,this.modals.push(t),t.modalRef&&Ue(t.modalRef,!1);const s=xr(o);Ht(o,t.mount,t.modalRef,s,!0);const r=it(this.containers,i=>i.container===o);return r!==-1?(this.containers[r].modals.push(t),n):(this.containers.push({modals:[t],container:o,restore:null,hiddenSiblings:s}),n)}mount(t,o){const n=it(this.containers,r=>r.modals.indexOf(t)!==-1),s=this.containers[n];s.restore||(s.restore=vr(s,o))}remove(t,o=!0){const n=this.modals.indexOf(t);if(n===-1)return n;const s=it(this.containers,i=>i.modals.indexOf(t)!==-1),r=this.containers[s];if(r.modals.splice(r.modals.indexOf(t),1),this.modals.splice(n,1),r.modals.length===0)r.restore&&r.restore(),t.modalRef&&Ue(t.modalRef,o),Ht(r.container,t.mount,t.modalRef,r.hiddenSiblings,!1),this.containers.splice(s,1);else{const i=r.modals[r.modals.length-1];i.modalRef&&Ue(i.modalRef,!1)}return n}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const Cr=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Rr(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 Pr(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=n=>e.ownerDocument.querySelector(`input[type="radio"]${n}`);let o=t(`[name="${e.name}"]:checked`);return o||(o=t(`[name="${e.name}"]`)),o!==e}function kr(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||Pr(e))}function Sr(e){const t=[],o=[];return Array.from(e.querySelectorAll(Cr)).forEach((n,s)=>{const r=Rr(n);r===-1||!kr(n)||(r===0?t.push(n):o.push({documentOrder:s,tabIndex:r,node:n}))}),o.sort((n,s)=>n.tabIndex===s.tabIndex?n.documentOrder-s.documentOrder:n.tabIndex-s.tabIndex).map(n=>n.node).concat(t)}function Tr(){return!0}function wr(e){const{children:t,disableAutoFocus:o=!1,disableEnforceFocus:n=!1,disableRestoreFocus:s=!1,getTabbable:r=Sr,isEnabled:i=Tr,open:c}=e,d=a.useRef(!1),p=a.useRef(null),m=a.useRef(null),g=a.useRef(null),y=a.useRef(null),x=a.useRef(!1),v=a.useRef(null),w=xe(t.ref,v),P=a.useRef(null);a.useEffect(()=>{!c||!v.current||(x.current=!o)},[o,c]),a.useEffect(()=>{if(!c||!v.current)return;const f=be(v.current);return v.current.contains(f.activeElement)||(v.current.hasAttribute("tabIndex")||v.current.setAttribute("tabIndex","-1"),x.current&&v.current.focus()),()=>{s||(g.current&&g.current.focus&&(d.current=!0,g.current.focus()),g.current=null)}},[c]),a.useEffect(()=>{if(!c||!v.current)return;const f=be(v.current),b=S=>{P.current=S,!(n||!i()||S.key!=="Tab")&&f.activeElement===v.current&&S.shiftKey&&(d.current=!0,m.current&&m.current.focus())},R=()=>{const S=v.current;if(S===null)return;if(!f.hasFocus()||!i()||d.current){d.current=!1;return}if(S.contains(f.activeElement)||n&&f.activeElement!==p.current&&f.activeElement!==m.current)return;if(f.activeElement!==y.current)y.current=null;else if(y.current!==null)return;if(!x.current)return;let M=[];if((f.activeElement===p.current||f.activeElement===m.current)&&(M=r(v.current)),M.length>0){var L,N;const z=!!((L=P.current)!=null&&L.shiftKey&&((N=P.current)==null?void 0:N.key)==="Tab"),j=M[0],D=M[M.length-1];typeof j!="string"&&typeof D!="string"&&(z?D.focus():j.focus())}else S.focus()};f.addEventListener("focusin",R),f.addEventListener("keydown",b,!0);const k=setInterval(()=>{f.activeElement&&f.activeElement.tagName==="BODY"&&R()},50);return()=>{clearInterval(k),f.removeEventListener("focusin",R),f.removeEventListener("keydown",b,!0)}},[o,n,s,i,c,r]);const h=f=>{g.current===null&&(g.current=f.relatedTarget),x.current=!0,y.current=f.target;const b=t.props.onFocus;b&&b(f)},C=f=>{g.current===null&&(g.current=f.relatedTarget),x.current=!0};return u.jsxs(a.Fragment,{children:[u.jsx("div",{tabIndex:c?0:-1,onFocus:C,ref:p,"data-testid":"sentinelStart"}),a.cloneElement(t,{ref:w,onFocus:h}),u.jsx("div",{tabIndex:c?0:-1,onFocus:C,ref:m,"data-testid":"sentinelEnd"})]})}function Ir(e){return typeof e=="function"?e():e}const Mr=a.forwardRef(function(t,o){const{children:n,container:s,disablePortal:r=!1}=t,[i,c]=a.useState(null),d=xe(a.isValidElement(n)?n.ref:null,o);if(De(()=>{r||c(Ir(s)||document.body)},[s,r]),De(()=>{if(i&&!r)return Rt(o,i),()=>{Rt(o,null)}},[o,i,r]),r){if(a.isValidElement(n)){const p={ref:d};return a.cloneElement(n,p)}return u.jsx(a.Fragment,{children:n})}return u.jsx(a.Fragment,{children:i&&mo.createPortal(n,i)})}),Er=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],$r={entering:{opacity:1},entered:{opacity:1}},to=a.forwardRef(function(t,o){const n=Yt(),s={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:r,appear:i=!0,children:c,easing:d,in:p,onEnter:m,onEntered:g,onEntering:y,onExit:x,onExited:v,onExiting:w,style:P,timeout:h=s,TransitionComponent:C=bo}=t,f=B(t,Er),b=a.useRef(null),R=xe(b,c.ref,o),k=I=>A=>{if(I){const F=b.current;A===void 0?I(F):I(F,A)}},S=k(y),M=k((I,A)=>{ho(I);const F=Pt({style:P,timeout:h,easing:d},{mode:"enter"});I.style.webkitTransition=n.transitions.create("opacity",F),I.style.transition=n.transitions.create("opacity",F),m&&m(I,A)}),L=k(g),N=k(w),z=k(I=>{const A=Pt({style:P,timeout:h,easing:d},{mode:"exit"});I.style.webkitTransition=n.transitions.create("opacity",A),I.style.transition=n.transitions.create("opacity",A),x&&x(I)}),j=k(v),D=I=>{r&&r(b.current,I)};return u.jsx(C,l({appear:i,in:p,nodeRef:b,onEnter:M,onEntered:L,onEntering:S,onExit:z,onExited:j,onExiting:N,addEndListener:D,timeout:h},f,{children:(I,A)=>a.cloneElement(c,l({style:l({opacity:0,visibility:I==="exited"&&!p?"hidden":void 0},$r[I],P,c.props.style),ref:R},A))}))});function Nr(e){return K("MuiBackdrop",e)}q("MuiBackdrop",["root","invisible"]);const Fr=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],Dr=e=>{const{classes:t,invisible:o}=e;return V({root:["root",o&&"invisible"]},Nr,t)},Or=$("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.invisible&&t.invisible]}})(({ownerState:e})=>l({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"})),oo=a.forwardRef(function(t,o){var n,s,r;const i=G({props:t,name:"MuiBackdrop"}),{children:c,className:d,component:p="div",components:m={},componentsProps:g={},invisible:y=!1,open:x,slotProps:v={},slots:w={},TransitionComponent:P=to,transitionDuration:h}=i,C=B(i,Fr),f=l({},i,{component:p,invisible:y}),b=Dr(f),R=(n=v.root)!=null?n:g.root;return u.jsx(P,l({in:x,timeout:h},C,{children:u.jsx(Or,l({"aria-hidden":!0},R,{as:(s=(r=w.root)!=null?r:m.Root)!=null?s:p,className:H(b.root,d,R==null?void 0:R.className),ownerState:l({},f,R==null?void 0:R.ownerState),classes:b,ref:o,children:c}))}))});function Lr(e){return typeof e=="function"?e():e}function jr(e){return e?e.props.hasOwnProperty("in"):!1}const Ar=new yr;function Br(e){const{container:t,disableEscapeKeyDown:o=!1,disableScrollLock:n=!1,manager:s=Ar,closeAfterTransition:r=!1,onTransitionEnter:i,onTransitionExited:c,children:d,onClose:p,open:m,rootRef:g}=e,y=a.useRef({}),x=a.useRef(null),v=a.useRef(null),w=xe(v,g),[P,h]=a.useState(!m),C=jr(d);let f=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(f=!1);const b=()=>be(x.current),R=()=>(y.current.modalRef=v.current,y.current.mount=x.current,y.current),k=()=>{s.mount(R(),{disableScrollLock:n}),v.current&&(v.current.scrollTop=0)},S=kt(()=>{const F=Lr(t)||b().body;s.add(R(),F),v.current&&k()}),M=a.useCallback(()=>s.isTopModal(R()),[s]),L=kt(F=>{x.current=F,F&&(m&&M()?k():v.current&&Ue(v.current,f))}),N=a.useCallback(()=>{s.remove(R(),f)},[f,s]);a.useEffect(()=>()=>{N()},[N]),a.useEffect(()=>{m?S():(!C||!r)&&N()},[m,N,C,r,S]);const z=F=>O=>{var T;(T=F.onKeyDown)==null||T.call(F,O),!(O.key!=="Escape"||O.which===229||!M())&&(o||(O.stopPropagation(),p&&p(O,"escapeKeyDown")))},j=F=>O=>{var T;(T=F.onClick)==null||T.call(F,O),O.target===O.currentTarget&&p&&p(O,"backdropClick")};return{getRootProps:(F={})=>{const O=go(e);delete O.onTransitionEnter,delete O.onTransitionExited;const T=l({},O,F);return l({role:"presentation"},T,{onKeyDown:z(T),ref:w})},getBackdropProps:(F={})=>{const O=F;return l({"aria-hidden":!0},O,{onClick:j(O),open:m})},getTransitionProps:()=>{const F=()=>{h(!1),i&&i()},O=()=>{h(!0),c&&c(),r&&N()};return{onEnter:St(F,d==null?void 0:d.props.onEnter),onExited:St(O,d==null?void 0:d.props.onExited)}},rootRef:w,portalRef:L,isTopModal:M,exited:P,hasTransition:C}}function Wr(e){return K("MuiModal",e)}q("MuiModal",["root","hidden","backdrop"]);const zr=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],Hr=e=>{const{open:t,exited:o,classes:n}=e;return V({root:["root",!t&&o&&"hidden"],backdrop:["backdrop"]},Wr,n)},Ur=$("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,!o.open&&o.exited&&t.hidden]}})(({theme:e,ownerState:t})=>l({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),_r=$(oo,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),no=a.forwardRef(function(t,o){var n,s,r,i,c,d;const p=G({name:"MuiModal",props:t}),{BackdropComponent:m=_r,BackdropProps:g,className:y,closeAfterTransition:x=!1,children:v,container:w,component:P,components:h={},componentsProps:C={},disableAutoFocus:f=!1,disableEnforceFocus:b=!1,disableEscapeKeyDown:R=!1,disablePortal:k=!1,disableRestoreFocus:S=!1,disableScrollLock:M=!1,hideBackdrop:L=!1,keepMounted:N=!1,onBackdropClick:z,open:j,slotProps:D,slots:I}=p,A=B(p,zr),F=l({},p,{closeAfterTransition:x,disableAutoFocus:f,disableEnforceFocus:b,disableEscapeKeyDown:R,disablePortal:k,disableRestoreFocus:S,disableScrollLock:M,hideBackdrop:L,keepMounted:N}),{getRootProps:O,getBackdropProps:T,getTransitionProps:te,portalRef:ce,isTopModal:ue,exited:re,hasTransition:oe}=Br(l({},F,{rootRef:o})),_=l({},F,{exited:re}),se=Hr(_),ne={};if(v.props.tabIndex===void 0&&(ne.tabIndex="-1"),oe){const{onEnter:W,onExited:X}=te();ne.onEnter=W,ne.onExited=X}const pe=(n=(s=I==null?void 0:I.root)!=null?s:h.Root)!=null?n:Ur,de=(r=(i=I==null?void 0:I.backdrop)!=null?i:h.Backdrop)!=null?r:m,he=(c=D==null?void 0:D.root)!=null?c:C.root,fe=(d=D==null?void 0:D.backdrop)!=null?d:C.backdrop,U=Oe({elementType:pe,externalSlotProps:he,externalForwardedProps:A,getSlotProps:O,additionalProps:{ref:o,as:P},ownerState:_,className:H(y,he==null?void 0:he.className,se==null?void 0:se.root,!_.open&&_.exited&&(se==null?void 0:se.hidden))}),ee=Oe({elementType:de,externalSlotProps:fe,additionalProps:g,getSlotProps:W=>T(l({},W,{onClick:X=>{z&&z(X),W!=null&&W.onClick&&W.onClick(X)}})),className:H(fe==null?void 0:fe.className,g==null?void 0:g.className,se==null?void 0:se.backdrop),ownerState:_});return!N&&!j&&(!oe||re)?null:u.jsx(Mr,{ref:ce,container:w,disablePortal:k,children:u.jsxs(pe,l({},U,{children:[!L&&m?u.jsx(de,l({},ee)):null,u.jsx(wr,{disableEnforceFocus:b,disableAutoFocus:f,disableRestoreFocus:S,isEnabled:ue,open:j,children:a.cloneElement(v,ne)})]}))})});function qr(e){return K("MuiPopover",e)}q("MuiPopover",["root","paper"]);const Kr=["onEntering"],Vr=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],Xr=["slotProps"];function Ut(e,t){let o=0;return typeof t=="number"?o=t:t==="center"?o=e.height/2:t==="bottom"&&(o=e.height),o}function _t(e,t){let o=0;return typeof t=="number"?o=t:t==="center"?o=e.width/2:t==="right"&&(o=e.width),o}function qt(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function at(e){return typeof e=="function"?e():e}const Gr=e=>{const{classes:t}=e;return V({root:["root"],paper:["paper"]},qr,t)},Yr=$(no,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),ro=$(Ye,{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}),Jr=a.forwardRef(function(t,o){var n,s,r;const i=G({props:t,name:"MuiPopover"}),{action:c,anchorEl:d,anchorOrigin:p={vertical:"top",horizontal:"left"},anchorPosition:m,anchorReference:g="anchorEl",children:y,className:x,container:v,elevation:w=8,marginThreshold:P=16,open:h,PaperProps:C={},slots:f,slotProps:b,transformOrigin:R={vertical:"top",horizontal:"left"},TransitionComponent:k=vo,transitionDuration:S="auto",TransitionProps:{onEntering:M}={},disableScrollLock:L=!1}=i,N=B(i.TransitionProps,Kr),z=B(i,Vr),j=(n=b==null?void 0:b.paper)!=null?n:C,D=a.useRef(),I=xe(D,j.ref),A=l({},i,{anchorOrigin:p,anchorReference:g,elevation:w,marginThreshold:P,externalPaperSlotProps:j,transformOrigin:R,TransitionComponent:k,transitionDuration:S,TransitionProps:N}),F=Gr(A),O=a.useCallback(()=>{if(g==="anchorPosition")return m;const W=at(d),Z=(W&&W.nodeType===1?W:be(D.current).body).getBoundingClientRect();return{top:Z.top+Ut(Z,p.vertical),left:Z.left+_t(Z,p.horizontal)}},[d,p.horizontal,p.vertical,m,g]),T=a.useCallback(W=>({vertical:Ut(W,R.vertical),horizontal:_t(W,R.horizontal)}),[R.horizontal,R.vertical]),te=a.useCallback(W=>{const X={width:W.offsetWidth,height:W.offsetHeight},Z=T(X);if(g==="none")return{top:null,left:null,transformOrigin:qt(Z)};const Ie=O();let ge=Ie.top-Z.vertical,ve=Ie.left-Z.horizontal;const Ce=ge+X.height,Re=ve+X.width,ie=we(at(d)),ke=ie.innerHeight-P,me=ie.innerWidth-P;if(P!==null&&geke){const ae=Ce-ke;ge-=ae,Z.vertical+=ae}if(P!==null&&veme){const ae=Re-me;ve-=ae,Z.horizontal+=ae}return{top:`${Math.round(ge)}px`,left:`${Math.round(ve)}px`,transformOrigin:qt(Z)}},[d,g,O,T,P]),[ce,ue]=a.useState(h),re=a.useCallback(()=>{const W=D.current;if(!W)return;const X=te(W);X.top!==null&&(W.style.top=X.top),X.left!==null&&(W.style.left=X.left),W.style.transformOrigin=X.transformOrigin,ue(!0)},[te]);a.useEffect(()=>(L&&window.addEventListener("scroll",re),()=>window.removeEventListener("scroll",re)),[d,L,re]);const oe=(W,X)=>{M&&M(W,X),re()},_=()=>{ue(!1)};a.useEffect(()=>{h&&re()}),a.useImperativeHandle(c,()=>h?{updatePosition:()=>{re()}}:null,[h,re]),a.useEffect(()=>{if(!h)return;const W=Xt(()=>{re()}),X=we(d);return X.addEventListener("resize",W),()=>{W.clear(),X.removeEventListener("resize",W)}},[d,h,re]);let se=S;S==="auto"&&!k.muiSupportAuto&&(se=void 0);const ne=v||(d?be(at(d)).body:void 0),pe=(s=f==null?void 0:f.root)!=null?s:Yr,de=(r=f==null?void 0:f.paper)!=null?r:ro,he=Oe({elementType:de,externalSlotProps:l({},j,{style:ce?j.style:l({},j.style,{opacity:0})}),additionalProps:{elevation:w,ref:I},ownerState:A,className:H(F.paper,j==null?void 0:j.className)}),fe=Oe({elementType:pe,externalSlotProps:(b==null?void 0:b.root)||{},externalForwardedProps:z,additionalProps:{ref:o,slotProps:{backdrop:{invisible:!0}},container:ne,open:h},ownerState:A,className:H(F.root,x)}),{slotProps:U}=fe,ee=B(fe,Xr);return u.jsx(pe,l({},ee,!ct(pe)&&{slotProps:U,disableScrollLock:L},{children:u.jsx(k,l({appear:!0,in:h,onEntering:oe,onExited:_,timeout:se},N,{children:u.jsx(de,l({},he,{children:y}))}))}))});function Qr(e){return K("MuiMenu",e)}q("MuiMenu",["root","paper","list"]);const Zr=["onEntering"],es=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],ts={vertical:"top",horizontal:"right"},os={vertical:"top",horizontal:"left"},ns=e=>{const{classes:t}=e;return V({root:["root"],paper:["paper"],list:["list"]},Qr,t)},rs=$(Jr,{shouldForwardProp:e=>ye(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),ss=$(ro,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),is=$(br,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),as=a.forwardRef(function(t,o){var n,s;const r=G({props:t,name:"MuiMenu"}),{autoFocus:i=!0,children:c,className:d,disableAutoFocusItem:p=!1,MenuListProps:m={},onClose:g,open:y,PaperProps:x={},PopoverClasses:v,transitionDuration:w="auto",TransitionProps:{onEntering:P}={},variant:h="selectedMenu",slots:C={},slotProps:f={}}=r,b=B(r.TransitionProps,Zr),R=B(r,es),k=Mo(),S=l({},r,{autoFocus:i,disableAutoFocusItem:p,MenuListProps:m,onEntering:P,PaperProps:x,transitionDuration:w,TransitionProps:b,variant:h}),M=ns(S),L=i&&!p&&y,N=a.useRef(null),z=(T,te)=>{N.current&&N.current.adjustStyleForScrollbar(T,{direction:k?"rtl":"ltr"}),P&&P(T,te)},j=T=>{T.key==="Tab"&&(T.preventDefault(),g&&g(T,"tabKeyDown"))};let D=-1;a.Children.map(c,(T,te)=>{a.isValidElement(T)&&(T.props.disabled||(h==="selectedMenu"&&T.props.selected||D===-1)&&(D=te))});const I=(n=C.paper)!=null?n:ss,A=(s=f.paper)!=null?s:x,F=Oe({elementType:C.root,externalSlotProps:f.root,ownerState:S,className:[M.root,d]}),O=Oe({elementType:I,externalSlotProps:A,ownerState:S,className:M.paper});return u.jsx(rs,l({onClose:g,anchorOrigin:{vertical:"bottom",horizontal:k?"right":"left"},transformOrigin:k?ts:os,slots:{paper:I,root:C.root},slotProps:{root:F,paper:O},open:y,ref:o,transitionDuration:w,TransitionProps:l({onEntering:z},b),ownerState:S},R,{classes:v,children:u.jsx(is,l({onKeyDown:j,actions:N,autoFocus:i&&(D===-1||p),autoFocusItem:L,variant:h},m,{className:H(M.list,m.className),children:c}))}))});function ls(e){return K("MuiNativeSelect",e)}const vt=q("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),cs=["className","disabled","error","IconComponent","inputRef","variant"],ds=e=>{const{classes:t,variant:o,disabled:n,multiple:s,open:r,error:i}=e,c={select:["select",o,n&&"disabled",s&&"multiple",i&&"error"],icon:["icon",`icon${J(o)}`,r&&"iconOpen",n&&"disabled"]};return V(c,ls,t)},so=({ownerState:e,theme:t})=>l({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":l({},t.vars?{backgroundColor:`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:t.palette.mode==="light"?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${vt.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(t.vars||t).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},e.variant==="filled"&&{"&&&":{paddingRight:32}},e.variant==="outlined"&&{borderRadius:(t.vars||t).shape.borderRadius,"&:focus":{borderRadius:(t.vars||t).shape.borderRadius},"&&&":{paddingRight:32}}),us=$("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:ye,overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.select,t[o.variant],o.error&&t.error,{[`&.${vt.multiple}`]:t.multiple}]}})(so),io=({ownerState:e,theme:t})=>l({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${vt.disabled}`]:{color:(t.vars||t).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},e.variant==="filled"&&{right:7},e.variant==="outlined"&&{right:7}),ps=$("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.icon,o.variant&&t[`icon${J(o.variant)}`],o.open&&t.iconOpen]}})(io),fs=a.forwardRef(function(t,o){const{className:n,disabled:s,error:r,IconComponent:i,inputRef:c,variant:d="standard"}=t,p=B(t,cs),m=l({},t,{disabled:s,variant:d,error:r}),g=ds(m);return u.jsxs(a.Fragment,{children:[u.jsx(us,l({ownerState:m,className:H(g.select,n),disabled:s,ref:c||o},p)),t.multiple?null:u.jsx(ps,{as:i,ownerState:m,className:g.icon})]})});function ms(e){return K("MuiSelect",e)}const ze=q("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var Kt;const bs=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],hs=$("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{[`&.${ze.select}`]:t.select},{[`&.${ze.select}`]:t[o.variant]},{[`&.${ze.error}`]:t.error},{[`&.${ze.multiple}`]:t.multiple}]}})(so,{[`&.${ze.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),gs=$("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.icon,o.variant&&t[`icon${J(o.variant)}`],o.open&&t.iconOpen]}})(io),vs=$("input",{shouldForwardProp:e=>xo(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function Vt(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function xs(e){return e==null||typeof e=="string"&&!e.trim()}const ys=e=>{const{classes:t,variant:o,disabled:n,multiple:s,open:r,error:i}=e,c={select:["select",o,n&&"disabled",s&&"multiple",i&&"error"],icon:["icon",`icon${J(o)}`,r&&"iconOpen",n&&"disabled"],nativeInput:["nativeInput"]};return V(c,ms,t)},Cs=a.forwardRef(function(t,o){var n;const{"aria-describedby":s,"aria-label":r,autoFocus:i,autoWidth:c,children:d,className:p,defaultOpen:m,defaultValue:g,disabled:y,displayEmpty:x,error:v=!1,IconComponent:w,inputRef:P,labelId:h,MenuProps:C={},multiple:f,name:b,onBlur:R,onChange:k,onClose:S,onFocus:M,onOpen:L,open:N,readOnly:z,renderValue:j,SelectDisplayProps:D={},tabIndex:I,value:A,variant:F="standard"}=t,O=B(t,bs),[T,te]=Tt({controlled:A,default:g,name:"Select"}),[ce,ue]=Tt({controlled:N,default:m,name:"Select"}),re=a.useRef(null),oe=a.useRef(null),[_,se]=a.useState(null),{current:ne}=a.useRef(N!=null),[pe,de]=a.useState(),he=xe(o,P),fe=a.useCallback(E=>{oe.current=E,E&&se(E)},[]),U=_==null?void 0:_.parentNode;a.useImperativeHandle(he,()=>({focus:()=>{oe.current.focus()},node:re.current,value:T}),[T]),a.useEffect(()=>{m&&ce&&_&&!ne&&(de(c?null:U.clientWidth),oe.current.focus())},[_,c]),a.useEffect(()=>{i&&oe.current.focus()},[i]),a.useEffect(()=>{if(!h)return;const E=be(oe.current).getElementById(h);if(E){const Y=()=>{getSelection().isCollapsed&&oe.current.focus()};return E.addEventListener("click",Y),()=>{E.removeEventListener("click",Y)}}},[h]);const ee=(E,Y)=>{E?L&&L(Y):S&&S(Y),ne||(de(c?null:U.clientWidth),ue(E))},W=E=>{E.button===0&&(E.preventDefault(),oe.current.focus(),ee(!0,E))},X=E=>{ee(!1,E)},Z=a.Children.toArray(d),Ie=E=>{const Y=Z.find(le=>le.props.value===E.target.value);Y!==void 0&&(te(Y.props.value),k&&k(E,Y))},ge=E=>Y=>{let le;if(Y.currentTarget.hasAttribute("tabindex")){if(f){le=Array.isArray(T)?T.slice():[];const Ne=T.indexOf(E.props.value);Ne===-1?le.push(E.props.value):le.splice(Ne,1)}else le=E.props.value;if(E.props.onClick&&E.props.onClick(Y),T!==le&&(te(le),k)){const Ne=Y.nativeEvent||Y,Ct=new Ne.constructor(Ne.type,Ne);Object.defineProperty(Ct,"target",{writable:!0,value:{value:le,name:b}}),k(Ct,E)}f||ee(!1,Y)}},ve=E=>{z||[" ","ArrowUp","ArrowDown","Enter"].indexOf(E.key)!==-1&&(E.preventDefault(),ee(!0,E))},Ce=_!==null&&ce,Re=E=>{!Ce&&R&&(Object.defineProperty(E,"target",{writable:!0,value:{value:T,name:b}}),R(E))};delete O["aria-invalid"];let ie,ke;const me=[];let ae=!1;(Ge({value:T})||x)&&(j?ie=j(T):ae=!0);const _e=Z.map(E=>{if(!a.isValidElement(E))return null;let Y;if(f){if(!Array.isArray(T))throw new Error(Gt(2));Y=T.some(le=>Vt(le,E.props.value)),Y&&ae&&me.push(E.props.children)}else Y=Vt(T,E.props.value),Y&&ae&&(ke=E.props.children);return a.cloneElement(E,{"aria-selected":Y?"true":"false",onClick:ge(E),onKeyUp:le=>{le.key===" "&&le.preventDefault(),E.props.onKeyUp&&E.props.onKeyUp(le)},role:"option",selected:Y,value:void 0,"data-value":E.props.value})});ae&&(f?me.length===0?ie=null:ie=me.reduce((E,Y,le)=>(E.push(Y),le{const{classes:t}=e;return t},xt={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>ye(e)&&e!=="variant",slot:"Root"},Ts=$(bt,xt)(""),ws=$(gt,xt)(""),Is=$(ht,xt)(""),ao=a.forwardRef(function(t,o){const n=G({name:"MuiSelect",props:t}),{autoWidth:s=!1,children:r,classes:i={},className:c,defaultOpen:d=!1,displayEmpty:p=!1,IconComponent:m=Rs,id:g,input:y,inputProps:x,label:v,labelId:w,MenuProps:P,multiple:h=!1,native:C=!1,onClose:f,onOpen:b,open:R,renderValue:k,SelectDisplayProps:S,variant:M="outlined"}=n,L=B(n,Ps),N=C?fs:Cs,z=Ae(),j=je({props:n,muiFormControl:z,states:["variant","error"]}),D=j.variant||M,I=l({},n,{variant:D,classes:i}),A=Ss(I),F=B(A,ks),O=y||{standard:u.jsx(Ts,{ownerState:I}),outlined:u.jsx(ws,{label:v,ownerState:I}),filled:u.jsx(Is,{ownerState:I})}[D],T=xe(o,O.ref);return u.jsx(a.Fragment,{children:a.cloneElement(O,l({inputComponent:N,inputProps:l({children:r,error:j.error,IconComponent:m,variant:D,type:void 0,multiple:h},C?{id:g}:{autoWidth:s,defaultOpen:d,displayEmpty:p,labelId:w,MenuProps:P,onClose:f,onOpen:b,open:R,renderValue:k,SelectDisplayProps:l({id:g},S)},x,{classes:x?dt(F,x.classes):F},y?y.props.inputProps:{})},(h&&C||p)&&D==="outlined"?{notched:!0}:{},{ref:T,className:H(O.props.className,c,A.root)},!y&&{variant:D},L))})});ao.muiName="Select";function Ms(e){return K("MuiTextField",e)}q("MuiTextField",["root"]);const Es=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],$s={standard:bt,filled:ht,outlined:gt},Ns=e=>{const{classes:t}=e;return V({root:["root"]},Ms,t)},Fs=$(or,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Ds=a.forwardRef(function(t,o){const n=G({props:t,name:"MuiTextField"}),{autoComplete:s,autoFocus:r=!1,children:i,className:c,color:d="primary",defaultValue:p,disabled:m=!1,error:g=!1,FormHelperTextProps:y,fullWidth:x=!1,helperText:v,id:w,InputLabelProps:P,inputProps:h,InputProps:C,inputRef:f,label:b,maxRows:R,minRows:k,multiline:S=!1,name:M,onBlur:L,onChange:N,onFocus:z,placeholder:j,required:D=!1,rows:I,select:A=!1,SelectProps:F,type:O,value:T,variant:te="outlined"}=n,ce=B(n,Es),ue=l({},n,{autoFocus:r,color:d,disabled:m,error:g,fullWidth:x,multiline:S,required:D,select:A,variant:te}),re=Ns(ue),oe={};te==="outlined"&&(P&&typeof P.shrink<"u"&&(oe.notched=P.shrink),oe.label=b),A&&((!F||!F.native)&&(oe.id=void 0),oe["aria-describedby"]=void 0);const _=ut(w),se=v&&_?`${_}-helper-text`:void 0,ne=b&&_?`${_}-label`:void 0,pe=$s[te],de=u.jsx(pe,l({"aria-describedby":se,autoComplete:s,autoFocus:r,defaultValue:p,fullWidth:x,multiline:S,name:M,rows:I,maxRows:R,minRows:k,type:O,value:T,id:_,inputRef:f,onBlur:L,onChange:N,onFocus:z,placeholder:j,inputProps:h},oe,C));return u.jsxs(Fs,l({className:H(re.root,c),disabled:m,error:g,fullWidth:x,ref:o,required:D,color:d,variant:te,ownerState:ue},ce,{children:[b!=null&&b!==""&&u.jsx(Jn,l({htmlFor:_,id:ne},P,{children:b})),A?u.jsx(ao,l({"aria-describedby":se,id:_,labelId:ne,value:T,input:de},F,{children:i})):de,v&&u.jsx(ar,l({id:se},y,{children:v}))]}))});function Os(e){return K("MuiDialog",e)}const lt=q("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),lo=a.createContext({}),Ls=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],js=$(oo,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),As=e=>{const{classes:t,scroll:o,maxWidth:n,fullWidth:s,fullScreen:r}=e,i={root:["root"],container:["container",`scroll${J(o)}`],paper:["paper",`paperScroll${J(o)}`,`paperWidth${J(String(n))}`,s&&"paperFullWidth",r&&"paperFullScreen"]};return V(i,Os,t)},Bs=$(no,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),Ws=$("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.container,t[`scroll${J(o.scroll)}`]]}})(({ownerState:e})=>l({height:"100%","@media print":{height:"auto"},outline:0},e.scroll==="paper"&&{display:"flex",justifyContent:"center",alignItems:"center"},e.scroll==="body"&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}})),zs=$(Ye,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.paper,t[`scrollPaper${J(o.scroll)}`],t[`paperWidth${J(String(o.maxWidth))}`],o.fullWidth&&t.paperFullWidth,o.fullScreen&&t.paperFullScreen]}})(({theme:e,ownerState:t})=>l({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},t.scroll==="paper"&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},t.scroll==="body"&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!t.maxWidth&&{maxWidth:"calc(100% - 64px)"},t.maxWidth==="xs"&&{maxWidth:e.breakpoints.unit==="px"?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${lt.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+32*2)]:{maxWidth:"calc(100% - 64px)"}}},t.maxWidth&&t.maxWidth!=="xs"&&{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`,[`&.${lt.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t.maxWidth]+32*2)]:{maxWidth:"calc(100% - 64px)"}}},t.fullWidth&&{width:"calc(100% - 64px)"},t.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${lt.paperScrollBody}`]:{margin:0,maxWidth:"100%"}})),Hs=a.forwardRef(function(t,o){const n=G({props:t,name:"MuiDialog"}),s=Yt(),r={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{"aria-describedby":i,"aria-labelledby":c,BackdropComponent:d,BackdropProps:p,children:m,className:g,disableEscapeKeyDown:y=!1,fullScreen:x=!1,fullWidth:v=!1,maxWidth:w="sm",onBackdropClick:P,onClick:h,onClose:C,open:f,PaperComponent:b=Ye,PaperProps:R={},scroll:k="paper",TransitionComponent:S=to,transitionDuration:M=r,TransitionProps:L}=n,N=B(n,Ls),z=l({},n,{disableEscapeKeyDown:y,fullScreen:x,fullWidth:v,maxWidth:w,scroll:k}),j=As(z),D=a.useRef(),I=T=>{D.current=T.target===T.currentTarget},A=T=>{h&&h(T),D.current&&(D.current=null,P&&P(T),C&&C(T,"backdropClick"))},F=ut(c),O=a.useMemo(()=>({titleId:F}),[F]);return u.jsx(Bs,l({className:H(j.root,g),closeAfterTransition:!0,components:{Backdrop:js},componentsProps:{backdrop:l({transitionDuration:M,as:d},p)},disableEscapeKeyDown:y,onClose:C,open:f,ref:o,onClick:A,ownerState:z},N,{children:u.jsx(S,l({appear:!0,in:f,timeout:M,role:"presentation"},L,{children:u.jsx(Ws,{className:H(j.container),onMouseDown:I,ownerState:z,children:u.jsx(zs,l({as:b,elevation:24,role:"dialog","aria-describedby":i,"aria-labelledby":F},R,{className:H(j.paper,R.className),ownerState:z,children:u.jsx(lo.Provider,{value:O,children:m})}))})}))}))});function Us(e){return K("MuiDialogActions",e)}q("MuiDialogActions",["root","spacing"]);const _s=["className","disableSpacing"],qs=e=>{const{classes:t,disableSpacing:o}=e;return V({root:["root",!o&&"spacing"]},Us,t)},Ks=$("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,!o.disableSpacing&&t.spacing]}})(({ownerState:e})=>l({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!e.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}})),Vs=a.forwardRef(function(t,o){const n=G({props:t,name:"MuiDialogActions"}),{className:s,disableSpacing:r=!1}=n,i=B(n,_s),c=l({},n,{disableSpacing:r}),d=qs(c);return u.jsx(Ks,l({className:H(d.root,s),ownerState:c,ref:o},i))});function Xs(e){return K("MuiDialogContent",e)}q("MuiDialogContent",["root","dividers"]);function Gs(e){return K("MuiDialogTitle",e)}const Ys=q("MuiDialogTitle",["root"]),Js=["className","dividers"],Qs=e=>{const{classes:t,dividers:o}=e;return V({root:["root",o&&"dividers"]},Xs,t)},Zs=$("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.dividers&&t.dividers]}})(({theme:e,ownerState:t})=>l({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},t.dividers?{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}:{[`.${Ys.root} + &`]:{paddingTop:0}})),ei=a.forwardRef(function(t,o){const n=G({props:t,name:"MuiDialogContent"}),{className:s,dividers:r=!1}=n,i=B(n,Js),c=l({},n,{dividers:r}),d=Qs(c);return u.jsx(Zs,l({className:H(d.root,s),ownerState:c,ref:o},i))});function ti(e){return K("MuiDialogContentText",e)}q("MuiDialogContentText",["root"]);const oi=["children","className"],ni=e=>{const{classes:t}=e,n=V({root:["root"]},ti,t);return l({},t,n)},ri=$(Xe,{shouldForwardProp:e=>ye(e)||e==="classes",name:"MuiDialogContentText",slot:"Root",overridesResolver:(e,t)=>t.root})({}),si=a.forwardRef(function(t,o){const n=G({props:t,name:"MuiDialogContentText"}),{className:s}=n,r=B(n,oi),i=ni(r);return u.jsx(ri,l({component:"p",variant:"body1",color:"text.secondary",ref:o,ownerState:r,className:H(i.root,s)},n,{classes:i}))}),ii=["className","id"],ai=e=>{const{classes:t}=e;return V({root:["root"]},Gs,t)},li=$(Xe,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),ci=a.forwardRef(function(t,o){const n=G({props:t,name:"MuiDialogTitle"}),{className:s,id:r}=n,i=B(n,ii),c=n,d=ai(c),{titleId:p=r}=a.useContext(lo);return u.jsx(li,l({component:"h2",className:H(d.root,s),ownerState:c,ref:o,variant:"h6",id:r??p},i))});function di(e){const t=`dialog-title-${e.id}`,o=`dialog-content-${e.id}`;return u.jsxs(Hs,{"aria-describedby":o,"aria-labelledby":t,onClose:e.onClose,open:!!e.open,children:[u.jsx(ci,{id:t,children:e.title}),u.jsx(ei,{children:u.jsx(si,{component:"div",id:o,children:e.children})}),u.jsxs(Vs,{children:[e.onClose&&u.jsx(wt,{onClick:e.onClose,children:"Cancel"}),u.jsx(wt,{onClick:e.onSave,variant:"contained",children:"Save"})]})]})}function ui(){const[e,t]=a.useState(!0),[o,n]=a.useState(!1),[s,r]=a.useState(ko()),{setPlayerNickname:i}=Je();function c(m){const{value:g}=m.target;n(!g),r(g)}function d(m){m.preventDefault(),p()}function p(){if(!s)return n(!0);i(s),So(s),t(!1)}return u.jsx(di,{open:e,id:"nickname",onSave:p,title:"Choose a nickname",children:u.jsx("form",{onSubmit:d,children:u.jsx(Ds,{autoFocus:!0,error:o,label:"Enter your nickname",margin:"dense",onChange:c,placeholder:s||"Nickname",required:!0,value:s,variant:"outlined"})})})}function bi(){return u.jsxs(Fe.DriftDBProvider,{api:Co,children:[u.jsx(un,{}),u.jsx(ui,{})]})}export{bi as default}; diff --git a/assets/index-DpzKuOVF.js b/assets/index-DpzKuOVF.js new file mode 100644 index 0000000..e98fe22 --- /dev/null +++ b/assets/index-DpzKuOVF.js @@ -0,0 +1,202 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ErrorBoundary-D491cSiK.js","assets/useSetDocumentTitle-DxFv05Kl.js","assets/AlertTitle-CE2SxvNV.js","assets/Home-B8j13TiT.js","assets/Button-CisS2wYT.js","assets/NotFound-DE3ZJ84e.js","assets/Room-Q2VuNiuJ.js"])))=>i.map(i=>d[i]); +function ey(e,t){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var wt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ty(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function lr(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var ny={exports:{}},pl={},ry={exports:{}},Te={};/** + * @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 Ss=Symbol.for("react.element"),f1=Symbol.for("react.portal"),d1=Symbol.for("react.fragment"),h1=Symbol.for("react.strict_mode"),p1=Symbol.for("react.profiler"),m1=Symbol.for("react.provider"),y1=Symbol.for("react.context"),g1=Symbol.for("react.forward_ref"),v1=Symbol.for("react.suspense"),w1=Symbol.for("react.memo"),b1=Symbol.for("react.lazy"),bh=Symbol.iterator;function S1(e){return e===null||typeof e!="object"?null:(e=bh&&e[bh]||e["@@iterator"],typeof e=="function"?e:null)}var iy={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},oy=Object.assign,sy={};function ro(e,t,n){this.props=e,this.context=t,this.refs=sy,this.updater=n||iy}ro.prototype.isReactComponent={};ro.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")};ro.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function ay(){}ay.prototype=ro.prototype;function Lf(e,t,n){this.props=e,this.context=t,this.refs=sy,this.updater=n||iy}var Af=Lf.prototype=new ay;Af.constructor=Lf;oy(Af,ro.prototype);Af.isPureReactComponent=!0;var Sh=Array.isArray,ly=Object.prototype.hasOwnProperty,Nf={current:null},uy={key:!0,ref:!0,__self:!0,__source:!0};function cy(e,t,n){var r,i={},o=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(o=""+t.key),t)ly.call(t,r)&&!uy.hasOwnProperty(r)&&(i[r]=t[r]);var l=arguments.length-2;if(l===1)i.children=n;else if(1>>1,C=K[P];if(0>>1;Pi(X,re))nei(oe,X)?(K[P]=oe,K[ne]=re,P=ne):(K[P]=X,K[Y]=re,P=Y);else if(nei(oe,re))K[P]=oe,K[ne]=re,P=ne;else break e}}return H}function i(K,H){var re=K.sortIndex-H.sortIndex;return re!==0?re:K.id-H.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,l=s.now();e.unstable_now=function(){return s.now()-l}}var a=[],u=[],f=1,d=null,w=3,b=!1,c=!1,m=!1,x=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,y=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(K){for(var H=n(u);H!==null;){if(H.callback===null)r(u);else if(H.startTime<=K)r(u),H.sortIndex=H.expirationTime,t(a,H);else break;H=n(u)}}function v(K){if(m=!1,p(K),!c)if(n(a)!==null)c=!0,q(_);else{var H=n(u);H!==null&&he(v,H.startTime-K)}}function _(K,H){c=!1,m&&(m=!1,g(k),k=-1),b=!0;var re=w;try{for(p(H),d=n(a);d!==null&&(!(d.expirationTime>H)||K&&!$());){var P=d.callback;if(typeof P=="function"){d.callback=null,w=d.priorityLevel;var C=P(d.expirationTime<=H);H=e.unstable_now(),typeof C=="function"?d.callback=C:d===n(a)&&r(a),p(H)}else r(a);d=n(a)}if(d!==null)var U=!0;else{var Y=n(u);Y!==null&&he(v,Y.startTime-H),U=!1}return U}finally{d=null,w=re,b=!1}}var E=!1,R=null,k=-1,M=5,D=-1;function $(){return!(e.unstable_now()-DK||125P?(K.sortIndex=re,t(u,K),n(a)===null&&K===n(u)&&(m?(g(k),k=-1):m=!0,he(v,re-P))):(K.sortIndex=C,t(a,K),c||b||(c=!0,q(_))),K},e.unstable_shouldYield=$,e.unstable_wrapCallback=function(K){var H=w;return function(){var re=w;w=H;try{return K.apply(this,arguments)}finally{w=re}}}})(my);py.exports=my;var M1=py.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var L1=N,nn=M1;function ie(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"),gc=Object.prototype.hasOwnProperty,A1=/^[: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]*$/,Eh={},xh={};function N1(e){return gc.call(xh,e)?!0:gc.call(Eh,e)?!1:A1.test(e)?xh[e]=!0:(Eh[e]=!0,!1)}function B1(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 D1(e,t,n,r){if(t===null||typeof t>"u"||B1(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 Ut(e,t,n,r,i,o,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var Ot={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ot[e]=new Ut(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ot[t]=new Ut(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ot[e]=new Ut(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ot[e]=new Ut(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){Ot[e]=new Ut(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ot[e]=new Ut(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ot[e]=new Ut(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ot[e]=new Ut(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ot[e]=new Ut(e,5,!1,e.toLowerCase(),null,!1,!1)});var Df=/[\-:]([a-z])/g;function jf(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(Df,jf);Ot[t]=new Ut(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(Df,jf);Ot[t]=new Ut(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(Df,jf);Ot[t]=new Ut(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ot[e]=new Ut(e,1,!1,e.toLowerCase(),null,!1,!1)});Ot.xlinkHref=new Ut("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ot[e]=new Ut(e,1,!1,e.toLowerCase(),null,!0,!0)});function $f(e,t,n,r){var i=Ot.hasOwnProperty(t)?Ot[t]:null;(i!==null?i.type!==0:r||!(2l||i[s]!==o[l]){var a=` +`+i[s].replace(" at new "," at ");return e.displayName&&a.includes("")&&(a=a.replace("",e.displayName)),a}while(1<=s&&0<=l);break}}}finally{Lu=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ro(e):""}function j1(e){switch(e.tag){case 5:return Ro(e.type);case 16:return Ro("Lazy");case 13:return Ro("Suspense");case 19:return Ro("SuspenseList");case 0:case 2:case 15:return e=Au(e.type,!1),e;case 11:return e=Au(e.type.render,!1),e;case 1:return e=Au(e.type,!0),e;default:return""}}function Sc(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 Ei:return"Fragment";case _i:return"Portal";case vc:return"Profiler";case Uf:return"StrictMode";case wc:return"Suspense";case bc:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case vy:return(e.displayName||"Context")+".Consumer";case gy:return(e._context.displayName||"Context")+".Provider";case Ff:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case zf:return t=e.displayName||null,t!==null?t:Sc(e.type)||"Memo";case mr:t=e._payload,e=e._init;try{return Sc(e(t))}catch{}}return null}function $1(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 Sc(t);case 8:return t===Uf?"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 Ir(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function by(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function U1(e){var t=by(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 i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Hs(e){e._valueTracker||(e._valueTracker=U1(e))}function Sy(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=by(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Oa(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 _c(e,t){var n=t.checked;return nt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Th(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ir(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 _y(e,t){t=t.checked,t!=null&&$f(e,"checked",t,!1)}function Ec(e,t){_y(e,t);var n=Ir(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")?xc(e,t.type,n):t.hasOwnProperty("defaultValue")&&xc(e,t.type,Ir(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Rh(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 xc(e,t,n){(t!=="number"||Oa(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Co=Array.isArray;function Ni(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=Vs.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ko(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var No={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},F1=["Webkit","ms","Moz","O"];Object.keys(No).forEach(function(e){F1.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),No[t]=No[e]})});function Ty(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||No.hasOwnProperty(e)&&No[e]?(""+t).trim():t+"px"}function Ry(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Ty(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var z1=nt({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 Rc(e,t){if(t){if(z1[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(ie(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(ie(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(ie(61))}if(t.style!=null&&typeof t.style!="object")throw Error(ie(62))}}function Cc(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 Pc=null;function Wf(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Oc=null,Bi=null,Di=null;function Oh(e){if(e=xs(e)){if(typeof Oc!="function")throw Error(ie(280));var t=e.stateNode;t&&(t=wl(t),Oc(e.stateNode,e.type,t))}}function Cy(e){Bi?Di?Di.push(e):Di=[e]:Bi=e}function Py(){if(Bi){var e=Bi,t=Di;if(Di=Bi=null,Oh(e),t)for(e=0;e>>=0,e===0?32:31-(Z1(e)/ew|0)|0}var Gs=64,Ks=4194304;function Po(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 Aa(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=n&268435455;if(s!==0){var l=s&~i;l!==0?r=Po(l):(o&=s,o!==0&&(r=Po(o)))}else s=n&~i,s!==0?r=Po(s):o!==0&&(r=Po(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&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 _s(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-In(t),e[t]=n}function iw(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=Do),$h=" ",Uh=!1;function qy(e,t){switch(e){case"keyup":return Mw.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Qy(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var xi=!1;function Aw(e,t){switch(e){case"compositionend":return Qy(t);case"keypress":return t.which!==32?null:(Uh=!0,$h);case"textInput":return e=t.data,e===$h&&Uh?null:e;default:return null}}function Nw(e,t){if(xi)return e==="compositionend"||!Xf&&qy(e,t)?(e=Ky(),pa=Yf=wr=null,xi=!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=Hh(n)}}function eg(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?eg(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function tg(){for(var e=window,t=Oa();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Oa(e.document)}return t}function Jf(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 Hw(e){var t=tg(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&eg(n.ownerDocument.documentElement,n)){if(r!==null&&Jf(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 i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=Vh(n,o);var s=Vh(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.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,ki=null,Bc=null,$o=null,Dc=!1;function Gh(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Dc||ki==null||ki!==Oa(r)||(r=ki,"selectionStart"in r&&Jf(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}),$o&&Zo($o,r)||($o=r,r=Da(Bc,"onSelect"),0Ci||(e.current=Wc[Ci],Wc[Ci]=null,Ci--)}function Ge(e,t){Ci++,Wc[Ci]=e.current,e.current=t}var Mr={},Nt=Nr(Mr),Wt=Nr(!1),Jr=Mr;function Vi(e,t){var n=e.type.contextTypes;if(!n)return Mr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Ht(e){return e=e.childContextTypes,e!=null}function $a(){qe(Wt),qe(Nt)}function Zh(e,t,n){if(Nt.current!==Mr)throw Error(ie(168));Ge(Nt,t),Ge(Wt,n)}function cg(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(ie(108,$1(e)||"Unknown",i));return nt({},n,r)}function Ua(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Mr,Jr=Nt.current,Ge(Nt,e),Ge(Wt,Wt.current),!0}function ep(e,t,n){var r=e.stateNode;if(!r)throw Error(ie(169));n?(e=cg(e,t,Jr),r.__reactInternalMemoizedMergedChildContext=e,qe(Wt),qe(Nt),Ge(Nt,e)):qe(Wt),Ge(Wt,n)}var Qn=null,bl=!1,Yu=!1;function fg(e){Qn===null?Qn=[e]:Qn.push(e)}function nb(e){bl=!0,fg(e)}function Br(){if(!Yu&&Qn!==null){Yu=!0;var e=0,t=je;try{var n=Qn;for(je=1;e>=s,i-=s,Jn=1<<32-In(t)+i|n<k?(M=R,R=null):M=R.sibling;var D=w(g,R,p[k],v);if(D===null){R===null&&(R=M);break}e&&R&&D.alternate===null&&t(g,R),y=o(D,y,k),E===null?_=D:E.sibling=D,E=D,R=M}if(k===p.length)return n(g,R),Xe&&$r(g,k),_;if(R===null){for(;kk?(M=R,R=null):M=R.sibling;var $=w(g,R,D.value,v);if($===null){R===null&&(R=M);break}e&&R&&$.alternate===null&&t(g,R),y=o($,y,k),E===null?_=$:E.sibling=$,E=$,R=M}if(D.done)return n(g,R),Xe&&$r(g,k),_;if(R===null){for(;!D.done;k++,D=p.next())D=d(g,D.value,v),D!==null&&(y=o(D,y,k),E===null?_=D:E.sibling=D,E=D);return Xe&&$r(g,k),_}for(R=r(g,R);!D.done;k++,D=p.next())D=b(R,g,k,D.value,v),D!==null&&(e&&D.alternate!==null&&R.delete(D.key===null?k:D.key),y=o(D,y,k),E===null?_=D:E.sibling=D,E=D);return e&&R.forEach(function(F){return t(g,F)}),Xe&&$r(g,k),_}function x(g,y,p,v){if(typeof p=="object"&&p!==null&&p.type===Ei&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case Ws:e:{for(var _=p.key,E=y;E!==null;){if(E.key===_){if(_=p.type,_===Ei){if(E.tag===7){n(g,E.sibling),y=i(E,p.props.children),y.return=g,g=y;break e}}else if(E.elementType===_||typeof _=="object"&&_!==null&&_.$$typeof===mr&&rp(_)===E.type){n(g,E.sibling),y=i(E,p.props),y.ref=wo(g,E,p),y.return=g,g=y;break e}n(g,E);break}else t(g,E);E=E.sibling}p.type===Ei?(y=Xr(p.props.children,g.mode,v,p.key),y.return=g,g=y):(v=_a(p.type,p.key,p.props,null,g.mode,v),v.ref=wo(g,y,p),v.return=g,g=v)}return s(g);case _i:e:{for(E=p.key;y!==null;){if(y.key===E)if(y.tag===4&&y.stateNode.containerInfo===p.containerInfo&&y.stateNode.implementation===p.implementation){n(g,y.sibling),y=i(y,p.children||[]),y.return=g,g=y;break e}else{n(g,y);break}else t(g,y);y=y.sibling}y=nc(p,g.mode,v),y.return=g,g=y}return s(g);case mr:return E=p._init,x(g,y,E(p._payload),v)}if(Co(p))return c(g,y,p,v);if(po(p))return m(g,y,p,v);ea(g,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,y!==null&&y.tag===6?(n(g,y.sibling),y=i(y,p),y.return=g,g=y):(n(g,y),y=tc(p,g.mode,v),y.return=g,g=y),s(g)):n(g,y)}return x}var Ki=mg(!0),yg=mg(!1),Wa=Nr(null),Ha=null,Ii=null,nd=null;function rd(){nd=Ii=Ha=null}function id(e){var t=Wa.current;qe(Wa),e._currentValue=t}function Gc(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function $i(e,t){Ha=e,nd=Ii=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(zt=!0),e.firstContext=null)}function vn(e){var t=e._currentValue;if(nd!==e)if(e={context:e,memoizedValue:t,next:null},Ii===null){if(Ha===null)throw Error(ie(308));Ii=e,Ha.dependencies={lanes:0,firstContext:e}}else Ii=Ii.next=e;return t}var Gr=null;function od(e){Gr===null?Gr=[e]:Gr.push(e)}function gg(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,od(t)):(n.next=i.next,i.next=n),t.interleaved=n,ir(e,r)}function ir(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var yr=!1;function sd(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function vg(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function er(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Rr(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Oe&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,ir(e,n)}return i=r.interleaved,i===null?(t.next=t,od(r)):(t.next=i.next,i.next=t),r.interleaved=t,ir(e,n)}function ya(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Vf(e,n)}}function ip(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=s:o=o.next=s,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Va(e,t,n,r){var i=e.updateQueue;yr=!1;var o=i.firstBaseUpdate,s=i.lastBaseUpdate,l=i.shared.pending;if(l!==null){i.shared.pending=null;var a=l,u=a.next;a.next=null,s===null?o=u:s.next=u,s=a;var f=e.alternate;f!==null&&(f=f.updateQueue,l=f.lastBaseUpdate,l!==s&&(l===null?f.firstBaseUpdate=u:l.next=u,f.lastBaseUpdate=a))}if(o!==null){var d=i.baseState;s=0,f=u=a=null,l=o;do{var w=l.lane,b=l.eventTime;if((r&w)===w){f!==null&&(f=f.next={eventTime:b,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var c=e,m=l;switch(w=t,b=n,m.tag){case 1:if(c=m.payload,typeof c=="function"){d=c.call(b,d,w);break e}d=c;break e;case 3:c.flags=c.flags&-65537|128;case 0:if(c=m.payload,w=typeof c=="function"?c.call(b,d,w):c,w==null)break e;d=nt({},d,w);break e;case 2:yr=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,w=i.effects,w===null?i.effects=[l]:w.push(l))}else b={eventTime:b,lane:w,tag:l.tag,payload:l.payload,callback:l.callback,next:null},f===null?(u=f=b,a=d):f=f.next=b,s|=w;if(l=l.next,l===null){if(l=i.shared.pending,l===null)break;w=l,l=w.next,w.next=null,i.lastBaseUpdate=w,i.shared.pending=null}}while(!0);if(f===null&&(a=d),i.baseState=a,i.firstBaseUpdate=u,i.lastBaseUpdate=f,t=i.shared.interleaved,t!==null){i=t;do s|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);ti|=s,e.lanes=s,e.memoizedState=d}}function op(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Qu.transition;Qu.transition={};try{e(!1),t()}finally{je=n,Qu.transition=r}}function Ng(){return wn().memoizedState}function sb(e,t,n){var r=Pr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Bg(e))Dg(t,n);else if(n=gg(e,t,n,r),n!==null){var i=jt();Mn(n,e,r,i),jg(n,t,r)}}function ab(e,t,n){var r=Pr(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Bg(e))Dg(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,l=o(s,n);if(i.hasEagerState=!0,i.eagerState=l,Ln(l,s)){var a=t.interleaved;a===null?(i.next=i,od(t)):(i.next=a.next,a.next=i),t.interleaved=i;return}}catch{}finally{}n=gg(e,t,i,r),n!==null&&(i=jt(),Mn(n,e,r,i),jg(n,t,r))}}function Bg(e){var t=e.alternate;return e===tt||t!==null&&t===tt}function Dg(e,t){Uo=Ka=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function jg(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Vf(e,n)}}var Ya={readContext:vn,useCallback:It,useContext:It,useEffect:It,useImperativeHandle:It,useInsertionEffect:It,useLayoutEffect:It,useMemo:It,useReducer:It,useRef:It,useState:It,useDebugValue:It,useDeferredValue:It,useTransition:It,useMutableSource:It,useSyncExternalStore:It,useId:It,unstable_isNewReconciler:!1},lb={readContext:vn,useCallback:function(e,t){return Nn().memoizedState=[e,t===void 0?null:t],e},useContext:vn,useEffect:ap,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,va(4194308,4,Og.bind(null,t,e),n)},useLayoutEffect:function(e,t){return va(4194308,4,e,t)},useInsertionEffect:function(e,t){return va(4,2,e,t)},useMemo:function(e,t){var n=Nn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Nn();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=sb.bind(null,tt,e),[r.memoizedState,e]},useRef:function(e){var t=Nn();return e={current:e},t.memoizedState=e},useState:sp,useDebugValue:pd,useDeferredValue:function(e){return Nn().memoizedState=e},useTransition:function(){var e=sp(!1),t=e[0];return e=ob.bind(null,e[1]),Nn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=tt,i=Nn();if(Xe){if(n===void 0)throw Error(ie(407));n=n()}else{if(n=t(),Et===null)throw Error(ie(349));ei&30||_g(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,ap(xg.bind(null,r,o,e),[e]),r.flags|=2048,as(9,Eg.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Nn(),t=Et.identifierPrefix;if(Xe){var n=Zn,r=Jn;n=(r&~(1<<32-In(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=os++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[$n]=t,e[ns]=r,Yg(e,t,!1,!1),t.stateNode=e;e:{switch(s=Cc(n,r),n){case"dialog":Ye("cancel",e),Ye("close",e),i=r;break;case"iframe":case"object":case"embed":Ye("load",e),i=r;break;case"video":case"audio":for(i=0;iQi&&(t.flags|=128,r=!0,bo(o,!1),t.lanes=4194304)}else{if(!r)if(e=Ga(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),bo(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!Xe)return Mt(t),null}else 2*ct()-o.renderingStartTime>Qi&&n!==1073741824&&(t.flags|=128,r=!0,bo(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=ct(),t.sibling=null,n=Ze.current,Ge(Ze,r?n&1|2:n&1),t):(Mt(t),null);case 22:case 23:return bd(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?qt&1073741824&&(Mt(t),t.subtreeFlags&6&&(t.flags|=8192)):Mt(t),null;case 24:return null;case 25:return null}throw Error(ie(156,t.tag))}function yb(e,t){switch(ed(t),t.tag){case 1:return Ht(t.type)&&$a(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Yi(),qe(Wt),qe(Nt),ud(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return ld(t),null;case 13:if(qe(Ze),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(ie(340));Gi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return qe(Ze),null;case 4:return Yi(),null;case 10:return id(t.type._context),null;case 22:case 23:return bd(),null;case 24:return null;default:return null}}var na=!1,At=!1,gb=typeof WeakSet=="function"?WeakSet:Set,ce=null;function Mi(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){lt(e,t,r)}else n.current=null}function tf(e,t,n){try{n()}catch(r){lt(e,t,r)}}var vp=!1;function vb(e,t){if(jc=Na,e=tg(),Jf(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 i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,l=-1,a=-1,u=0,f=0,d=e,w=null;t:for(;;){for(var b;d!==n||i!==0&&d.nodeType!==3||(l=s+i),d!==o||r!==0&&d.nodeType!==3||(a=s+r),d.nodeType===3&&(s+=d.nodeValue.length),(b=d.firstChild)!==null;)w=d,d=b;for(;;){if(d===e)break t;if(w===n&&++u===i&&(l=s),w===o&&++f===r&&(a=s),(b=d.nextSibling)!==null)break;d=w,w=d.parentNode}d=b}n=l===-1||a===-1?null:{start:l,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for($c={focusedElem:e,selectionRange:n},Na=!1,ce=t;ce!==null;)if(t=ce,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ce=e;else for(;ce!==null;){t=ce;try{var c=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(c!==null){var m=c.memoizedProps,x=c.memoizedState,g=t.stateNode,y=g.getSnapshotBeforeUpdate(t.elementType===t.type?m:kn(t.type,m),x);g.__reactInternalSnapshotBeforeUpdate=y}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(ie(163))}}catch(v){lt(t,t.return,v)}if(e=t.sibling,e!==null){e.return=t.return,ce=e;break}ce=t.return}return c=vp,vp=!1,c}function Fo(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&tf(t,n,o)}i=i.next}while(i!==r)}}function El(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 nf(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 Xg(e){var t=e.alternate;t!==null&&(e.alternate=null,Xg(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[$n],delete t[ns],delete t[zc],delete t[eb],delete t[tb])),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 Jg(e){return e.tag===5||e.tag===3||e.tag===4}function wp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Jg(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 rf(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=ja));else if(r!==4&&(e=e.child,e!==null))for(rf(e,t,n),e=e.sibling;e!==null;)rf(e,t,n),e=e.sibling}function of(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(of(e,t,n),e=e.sibling;e!==null;)of(e,t,n),e=e.sibling}var Rt=null,Tn=!1;function dr(e,t,n){for(n=n.child;n!==null;)Zg(e,t,n),n=n.sibling}function Zg(e,t,n){if(Un&&typeof Un.onCommitFiberUnmount=="function")try{Un.onCommitFiberUnmount(ml,n)}catch{}switch(n.tag){case 5:At||Mi(n,t);case 6:var r=Rt,i=Tn;Rt=null,dr(e,t,n),Rt=r,Tn=i,Rt!==null&&(Tn?(e=Rt,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Rt.removeChild(n.stateNode));break;case 18:Rt!==null&&(Tn?(e=Rt,n=n.stateNode,e.nodeType===8?Ku(e.parentNode,n):e.nodeType===1&&Ku(e,n),Xo(e)):Ku(Rt,n.stateNode));break;case 4:r=Rt,i=Tn,Rt=n.stateNode.containerInfo,Tn=!0,dr(e,t,n),Rt=r,Tn=i;break;case 0:case 11:case 14:case 15:if(!At&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&tf(n,t,s),i=i.next}while(i!==r)}dr(e,t,n);break;case 1:if(!At&&(Mi(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){lt(n,t,l)}dr(e,t,n);break;case 21:dr(e,t,n);break;case 22:n.mode&1?(At=(r=At)||n.memoizedState!==null,dr(e,t,n),At=r):dr(e,t,n);break;default:dr(e,t,n)}}function bp(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new gb),t.forEach(function(r){var i=Rb.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function xn(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=s),r&=~o}if(r=i,r=ct()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*bb(r/1960))-r,10e?16:e,br===null)var r=!1;else{if(e=br,br=null,Xa=0,Oe&6)throw Error(ie(331));var i=Oe;for(Oe|=4,ce=e.current;ce!==null;){var o=ce,s=o.child;if(ce.flags&16){var l=o.deletions;if(l!==null){for(var a=0;act()-vd?Qr(e,0):gd|=n),Vt(e,t)}function a0(e,t){t===0&&(e.mode&1?(t=Ks,Ks<<=1,!(Ks&130023424)&&(Ks=4194304)):t=1);var n=jt();e=ir(e,t),e!==null&&(_s(e,t,n),Vt(e,n))}function Tb(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),a0(e,n)}function Rb(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(ie(314))}r!==null&&r.delete(t),a0(e,n)}var l0;l0=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Wt.current)zt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return zt=!1,pb(e,t,n);zt=!!(e.flags&131072)}else zt=!1,Xe&&t.flags&1048576&&dg(t,za,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;wa(e,t),e=t.pendingProps;var i=Vi(t,Nt.current);$i(t,n),i=fd(null,t,r,e,i,n);var o=dd();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ht(r)?(o=!0,Ua(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,sd(t),i.updater=_l,t.stateNode=i,i._reactInternals=t,Yc(t,r,e,n),t=Xc(null,t,r,!0,o,n)):(t.tag=0,Xe&&o&&Zf(t),Dt(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(wa(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=Pb(r),e=kn(r,e),i){case 0:t=Qc(null,t,r,e,n);break e;case 1:t=mp(null,t,r,e,n);break e;case 11:t=hp(null,t,r,e,n);break e;case 14:t=pp(null,t,r,kn(r.type,e),n);break e}throw Error(ie(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:kn(r,i),Qc(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:kn(r,i),mp(e,t,r,i,n);case 3:e:{if(Vg(t),e===null)throw Error(ie(387));r=t.pendingProps,o=t.memoizedState,i=o.element,vg(e,t),Va(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=qi(Error(ie(423)),t),t=yp(e,t,r,n,i);break e}else if(r!==i){i=qi(Error(ie(424)),t),t=yp(e,t,r,n,i);break e}else for(Jt=Tr(t.stateNode.containerInfo.firstChild),en=t,Xe=!0,Cn=null,n=yg(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Gi(),r===i){t=or(e,t,n);break e}Dt(e,t,r,n)}t=t.child}return t;case 5:return wg(t),e===null&&Vc(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,Uc(r,i)?s=null:o!==null&&Uc(r,o)&&(t.flags|=32),Hg(e,t),Dt(e,t,s,n),t.child;case 6:return e===null&&Vc(t),null;case 13:return Gg(e,t,n);case 4:return ad(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ki(t,null,r,n):Dt(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:kn(r,i),hp(e,t,r,i,n);case 7:return Dt(e,t,t.pendingProps,n),t.child;case 8:return Dt(e,t,t.pendingProps.children,n),t.child;case 12:return Dt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,Ge(Wa,r._currentValue),r._currentValue=s,o!==null)if(Ln(o.value,s)){if(o.children===i.children&&!Wt.current){t=or(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var l=o.dependencies;if(l!==null){s=o.child;for(var a=l.firstContext;a!==null;){if(a.context===r){if(o.tag===1){a=er(-1,n&-n),a.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var f=u.pending;f===null?a.next=a:(a.next=f.next,f.next=a),u.pending=a}}o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),Gc(o.return,n,t),l.lanes|=n;break}a=a.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(ie(341));s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),Gc(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}Dt(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,$i(t,n),i=vn(i),r=r(i),t.flags|=1,Dt(e,t,r,n),t.child;case 14:return r=t.type,i=kn(r,t.pendingProps),i=kn(r.type,i),pp(e,t,r,i,n);case 15:return zg(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:kn(r,i),wa(e,t),t.tag=1,Ht(r)?(e=!0,Ua(t)):e=!1,$i(t,n),$g(t,r,i),Yc(t,r,i,n),Xc(null,t,r,!0,e,n);case 19:return Kg(e,t,n);case 22:return Wg(e,t,n)}throw Error(ie(156,t.tag))};function u0(e,t){return By(e,t)}function Cb(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 yn(e,t,n,r){return new Cb(e,t,n,r)}function _d(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Pb(e){if(typeof e=="function")return _d(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ff)return 11;if(e===zf)return 14}return 2}function Or(e,t){var n=e.alternate;return n===null?(n=yn(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 _a(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")_d(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Ei:return Xr(n.children,i,o,t);case Uf:s=8,i|=8;break;case vc:return e=yn(12,n,t,i|2),e.elementType=vc,e.lanes=o,e;case wc:return e=yn(13,n,t,i),e.elementType=wc,e.lanes=o,e;case bc:return e=yn(19,n,t,i),e.elementType=bc,e.lanes=o,e;case wy:return kl(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case gy:s=10;break e;case vy:s=9;break e;case Ff:s=11;break e;case zf:s=14;break e;case mr:s=16,r=null;break e}throw Error(ie(130,e==null?e:typeof e,""))}return t=yn(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Xr(e,t,n,r){return e=yn(7,e,r,t),e.lanes=n,e}function kl(e,t,n,r){return e=yn(22,e,r,t),e.elementType=wy,e.lanes=n,e.stateNode={isHidden:!1},e}function tc(e,t,n){return e=yn(6,e,null,t),e.lanes=n,e}function nc(e,t,n){return t=yn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ob(e,t,n,r,i){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=Bu(0),this.expirationTimes=Bu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Bu(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Ed(e,t,n,r,i,o,s,l,a){return e=new Ob(e,t,n,l,a),t===1?(t=1,o===!0&&(t|=8)):t=0,o=yn(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},sd(o),e}function Ib(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(h0)}catch(e){console.error(e)}}h0(),hy.exports=sn;var Rd=hy.exports;const Io=ty(Rd),Bb=ey({__proto__:null,default:Io},[Rd]);var p0,Cp=Rd;p0=Cp.createRoot,Cp.hydrateRoot;function J(){return J=Object.assign?Object.assign.bind():function(e){for(var t=1;t{if(r.toString().match(/^(components|slots)$/))n[r]=J({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const i=e[r]||{},o=t[r];n[r]={},!o||!Object.keys(o)?n[r]=i:!i||!Object.keys(i)?n[r]=o:(n[r]=J({},o),Object.keys(i).forEach(s=>{n[r][s]=el(i[s],o[s])}))}else n[r]===void 0&&(n[r]=e[r])}),n}const Db=N.createContext(void 0);function jb(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const i=t.components[n];return i.defaultProps?el(i.defaultProps,r):!i.styleOverrides&&!i.variants?el(i,r):r}function $b({props:e,name:t}){const n=N.useContext(Db);return jb({props:e,name:t,theme:{components:n}})}function Kt(e){return $b(e)}function us(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n0?Ct(so,--Gt):0,Xi--,yt===10&&(Xi=1,Il--),yt}function tn(){return yt=Gt2||fs(yt)>3?"":" "}function rS(e,t){for(;--t&&tn()&&!(yt<48||yt>102||yt>57&&yt<65||yt>70&&yt<97););return Ts(e,Ea()+(t<6&&zn()==32&&tn()==32))}function ff(e){for(;tn();)switch(yt){case e:return Gt;case 34:case 39:e!==34&&e!==39&&ff(yt);break;case 40:e===41&&ff(e);break;case 92:tn();break}return Gt}function iS(e,t){for(;tn()&&e+yt!==57;)if(e+yt===84&&zn()===47)break;return"/*"+Ts(t,Gt-1)+"*"+Ol(e===47?e:tn())}function oS(e){for(;!fs(zn());)tn();return Ts(e,Gt)}function sS(e){return S0(ka("",null,null,null,[""],e=b0(e),0,[0],e))}function ka(e,t,n,r,i,o,s,l,a){for(var u=0,f=0,d=s,w=0,b=0,c=0,m=1,x=1,g=1,y=0,p="",v=i,_=o,E=r,R=p;x;)switch(c=y,y=tn()){case 40:if(c!=108&&Ct(R,d-1)==58){cf(R+=Ne(xa(y),"&","&\f"),"&\f")!=-1&&(g=-1);break}case 34:case 39:case 91:R+=xa(y);break;case 9:case 10:case 13:case 32:R+=nS(c);break;case 92:R+=rS(Ea()-1,7);continue;case 47:switch(zn()){case 42:case 47:oa(aS(iS(tn(),Ea()),t,n),a);break;default:R+="/"}break;case 123*m:l[u++]=Bn(R)*g;case 125*m:case 59:case 0:switch(y){case 0:case 125:x=0;case 59+f:g==-1&&(R=Ne(R,/\f/g,"")),b>0&&Bn(R)-d&&oa(b>32?Op(R+";",r,n,d-1):Op(Ne(R," ","")+";",r,n,d-2),a);break;case 59:R+=";";default:if(oa(E=Pp(R,t,n,u,f,i,l,p,v=[],_=[],d),o),y===123)if(f===0)ka(R,t,E,E,v,o,d,l,_);else switch(w===99&&Ct(R,3)===110?100:w){case 100:case 108:case 109:case 115:ka(e,E,E,r&&oa(Pp(e,E,E,0,0,i,l,p,i,v=[],d),_),i,_,d,l,r?v:_);break;default:ka(R,E,E,E,[""],_,0,l,_)}}u=f=b=0,m=g=1,p=R="",d=s;break;case 58:d=1+Bn(R),b=c;default:if(m<1){if(y==123)--m;else if(y==125&&m++==0&&tS()==125)continue}switch(R+=Ol(y),y*m){case 38:g=f>0?1:(R+="\f",-1);break;case 44:l[u++]=(Bn(R)-1)*g,g=1;break;case 64:zn()===45&&(R+=xa(tn())),w=zn(),f=d=Bn(p=R+=oS(Ea())),y++;break;case 45:c===45&&Bn(R)==2&&(m=0)}}return o}function Pp(e,t,n,r,i,o,s,l,a,u,f){for(var d=i-1,w=i===0?o:[""],b=Od(w),c=0,m=0,x=0;c0?w[g]+" "+y:Ne(y,/&\f/g,w[g])))&&(a[x++]=p);return Ml(e,t,n,i===0?Cd:l,a,u,f)}function aS(e,t,n){return Ml(e,t,n,y0,Ol(eS()),cs(e,2,-2),0)}function Op(e,t,n,r){return Ml(e,t,n,Pd,cs(e,0,r),cs(e,r+1,-1),r)}function Fi(e,t){for(var n="",r=Od(e),i=0;i6)switch(Ct(e,t+1)){case 109:if(Ct(e,t+4)!==45)break;case 102:return Ne(e,/(.+:)(.+)-([^]+)/,"$1"+Ae+"$2-$3$1"+tl+(Ct(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~cf(e,"stretch")?_0(Ne(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Ct(e,t+1)!==115)break;case 6444:switch(Ct(e,Bn(e)-3-(~cf(e,"!important")&&10))){case 107:return Ne(e,":",":"+Ae)+e;case 101:return Ne(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ae+(Ct(e,14)===45?"inline-":"")+"box$3$1"+Ae+"$2$3$1"+Lt+"$2box$3")+e}break;case 5936:switch(Ct(e,t+11)){case 114:return Ae+e+Lt+Ne(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ae+e+Lt+Ne(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ae+e+Lt+Ne(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ae+e+Lt+e+e}return e}var yS=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case Pd:t.return=_0(t.value,t.length);break;case g0:return Fi([_o(t,{value:Ne(t.value,"@","@"+Ae)})],i);case Cd:if(t.length)return Zb(t.props,function(o){switch(Jb(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Fi([_o(t,{props:[Ne(o,/:(read-\w+)/,":"+tl+"$1")]})],i);case"::placeholder":return Fi([_o(t,{props:[Ne(o,/:(plac\w+)/,":"+Ae+"input-$1")]}),_o(t,{props:[Ne(o,/:(plac\w+)/,":"+tl+"$1")]}),_o(t,{props:[Ne(o,/:(plac\w+)/,Lt+"input-$1")]})],i)}return""})}},gS=[yS],E0=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(m){var x=m.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var i=t.stylisPlugins||gS,o={},s,l=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(m){for(var x=m.getAttribute("data-emotion").split(" "),g=1;g=4;++r,i-=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(i){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 PS={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},OS=!1,IS=/[A-Z]|^ms/g,MS=/_EMO_([^_]+?)_([^]*?)_EMO_/g,O0=function(t){return t.charCodeAt(1)===45},Mp=function(t){return t!=null&&typeof t!="boolean"},rc=m0(function(e){return O0(e)?e:e.replace(IS,"-$&").toLowerCase()}),Lp=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(MS,function(r,i,o){return Dn={name:i,styles:o,next:Dn},i})}return PS[t]!==1&&!O0(t)&&typeof n=="number"&&n!==0?n+"px":n},LS="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function ds(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var i=n;if(i.anim===1)return Dn={name:i.name,styles:i.styles,next:Dn},i.name;var o=n;if(o.styles!==void 0){var s=o.next;if(s!==void 0)for(;s!==void 0;)Dn={name:s.name,styles:s.styles,next:Dn},s=s.next;var l=o.styles+";";return l}return AS(e,t,n)}case"function":{if(e!==void 0){var a=Dn,u=n(e);return Dn=a,ds(e,t,u)}break}}var f=n;if(t==null)return f;var d=t[f];return d!==void 0?d:f}function AS(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i96?$S:US},jp=function(t,n,r){var i;if(n){var o=n.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(s){return t.__emotion_forwardProp(s)&&o(s)}:o}return typeof i!="function"&&r&&(i=t.__emotion_forwardProp),i},FS=!1,zS=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return C0(n,r,i),BS(function(){return P0(n,r,i)}),null},WS=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,o,s;n!==void 0&&(o=n.label,s=n.target);var l=jp(t,n,r),a=l||Dp(i),u=!a("as");return function(){var f=arguments,d=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&d.push("label:"+o+";"),f[0]==null||f[0].raw===void 0)d.push.apply(d,f);else{d.push(f[0][0]);for(var w=f.length,b=1;bt(GS(i)?n:i):t;return se.jsx(jS,{styles:r})}function Nd(e,t){return df(e,t)}const B0=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},KS=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:N0,StyledEngineProvider:VS,ThemeContext:Wl,css:Hl,default:Nd,internal_processStyles:B0,keyframes:ao},Symbol.toStringTag,{value:"Module"}));function $e(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function Xn(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function D0(e){if(!Xn(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=D0(e[n])}),t}function Wn(e,t,n={clone:!0}){const r=n.clone?J({},e):e;return Xn(e)&&Xn(t)&&Object.keys(t).forEach(i=>{Xn(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&Xn(e[i])?r[i]=Wn(e[i],t[i],n):n.clone?r[i]=Xn(t[i])?D0(t[i]):t[i]:r[i]=t[i]}),r}const YS=Object.freeze(Object.defineProperty({__proto__:null,default:Wn,isPlainObject:Xn},Symbol.toStringTag,{value:"Module"})),qS=["values","unit","step"],QS=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>J({},n,{[r.key]:r.val}),{})};function j0(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,i=$e(e,qS),o=QS(t),s=Object.keys(o);function l(w){return`@media (min-width:${typeof t[w]=="number"?t[w]:w}${n})`}function a(w){return`@media (max-width:${(typeof t[w]=="number"?t[w]:w)-r/100}${n})`}function u(w,b){const c=s.indexOf(b);return`@media (min-width:${typeof t[w]=="number"?t[w]:w}${n}) and (max-width:${(c!==-1&&typeof t[s[c]]=="number"?t[s[c]]:b)-r/100}${n})`}function f(w){return s.indexOf(w)+1`@media (min-width:${Bd[e]}px)`};function sr(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const o=r.breakpoints||$p;return t.reduce((s,l,a)=>(s[o.up(o.keys[a])]=n(t[a]),s),{})}if(typeof t=="object"){const o=r.breakpoints||$p;return Object.keys(t).reduce((s,l)=>{if(Object.keys(o.values||Bd).indexOf(l)!==-1){const a=o.up(l);s[a]=n(t[l],l)}else{const a=l;s[a]=t[a]}return s},{})}return n(t)}function JS(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,i)=>{const o=e.up(i);return r[o]={},r},{}))||{}}function ZS(e,t){return e.reduce((n,r)=>{const i=n[r];return(!i||Object.keys(i).length===0)&&delete n[r],n},t)}function Ie(e){if(typeof e!="string")throw new Error(us(7));return e.charAt(0).toUpperCase()+e.slice(1)}const e_=Object.freeze(Object.defineProperty({__proto__:null,default:Ie},Symbol.toStringTag,{value:"Module"}));function Ji(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((i,o)=>i&&i[o]?i[o]:null,e);if(r!=null)return r}return t.split(".").reduce((r,i)=>r&&r[i]!=null?r[i]:null,e)}function nl(e,t,n,r=n){let i;return typeof e=="function"?i=e(n):Array.isArray(e)?i=e[n]||r:i=Ji(e,n)||r,t&&(i=t(i,r,e)),i}function ft(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,o=s=>{if(s[t]==null)return null;const l=s[t],a=s.theme,u=Ji(a,r)||{};return sr(s,l,d=>{let w=nl(u,i,d);return d===w&&typeof d=="string"&&(w=nl(u,i,`${t}${d==="default"?"":Ie(d)}`,d)),n===!1?w:{[n]:w}})};return o.propTypes={},o.filterProps=[t],o}function t_(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const n_={m:"margin",p:"padding"},r_={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Up={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},i_=t_(e=>{if(e.length>2)if(Up[e])e=Up[e];else return[e];const[t,n]=e.split(""),r=n_[t],i=r_[n]||"";return Array.isArray(i)?i.map(o=>r+o):[r+i]}),Dd=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],jd=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Dd,...jd];function Rs(e,t,n,r){var i;const o=(i=Ji(e,t,!1))!=null?i:n;return typeof o=="number"?s=>typeof s=="string"?s:o*s:Array.isArray(o)?s=>typeof s=="string"?s:o[s]:typeof o=="function"?o:()=>{}}function $0(e){return Rs(e,"spacing",8)}function Cs(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 o_(e,t){return n=>e.reduce((r,i)=>(r[i]=Cs(t,n),r),{})}function s_(e,t,n,r){if(t.indexOf(n)===-1)return null;const i=i_(n),o=o_(i,r),s=e[n];return sr(e,s,o)}function U0(e,t){const n=$0(e.theme);return Object.keys(e).map(r=>s_(e,t,r,n)).reduce(Ho,{})}function st(e){return U0(e,Dd)}st.propTypes={};st.filterProps=Dd;function at(e){return U0(e,jd)}at.propTypes={};at.filterProps=jd;function a_(e=8){if(e.mui)return e;const t=$0({spacing:e}),n=(...r)=>(r.length===0?[1]:r).map(o=>{const s=t(o);return typeof s=="number"?`${s}px`:s}).join(" ");return n.mui=!0,n}function Vl(...e){const t=e.reduce((r,i)=>(i.filterProps.forEach(o=>{r[o]=i}),r),{}),n=r=>Object.keys(r).reduce((i,o)=>t[o]?Ho(i,t[o](r)):i,{});return n.propTypes={},n.filterProps=e.reduce((r,i)=>r.concat(i.filterProps),[]),n}function mn(e){return typeof e!="number"?e:`${e}px solid`}function Sn(e,t){return ft({prop:e,themeKey:"borders",transform:t})}const l_=Sn("border",mn),u_=Sn("borderTop",mn),c_=Sn("borderRight",mn),f_=Sn("borderBottom",mn),d_=Sn("borderLeft",mn),h_=Sn("borderColor"),p_=Sn("borderTopColor"),m_=Sn("borderRightColor"),y_=Sn("borderBottomColor"),g_=Sn("borderLeftColor"),v_=Sn("outline",mn),w_=Sn("outlineColor"),Gl=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Rs(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:Cs(t,r)});return sr(e,e.borderRadius,n)}return null};Gl.propTypes={};Gl.filterProps=["borderRadius"];Vl(l_,u_,c_,f_,d_,h_,p_,m_,y_,g_,Gl,v_,w_);const Kl=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Rs(e.theme,"spacing",8),n=r=>({gap:Cs(t,r)});return sr(e,e.gap,n)}return null};Kl.propTypes={};Kl.filterProps=["gap"];const Yl=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Rs(e.theme,"spacing",8),n=r=>({columnGap:Cs(t,r)});return sr(e,e.columnGap,n)}return null};Yl.propTypes={};Yl.filterProps=["columnGap"];const ql=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Rs(e.theme,"spacing",8),n=r=>({rowGap:Cs(t,r)});return sr(e,e.rowGap,n)}return null};ql.propTypes={};ql.filterProps=["rowGap"];const b_=ft({prop:"gridColumn"}),S_=ft({prop:"gridRow"}),__=ft({prop:"gridAutoFlow"}),E_=ft({prop:"gridAutoColumns"}),x_=ft({prop:"gridAutoRows"}),k_=ft({prop:"gridTemplateColumns"}),T_=ft({prop:"gridTemplateRows"}),R_=ft({prop:"gridTemplateAreas"}),C_=ft({prop:"gridArea"});Vl(Kl,Yl,ql,b_,S_,__,E_,x_,k_,T_,R_,C_);function zi(e,t){return t==="grey"?t:e}const P_=ft({prop:"color",themeKey:"palette",transform:zi}),O_=ft({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:zi}),I_=ft({prop:"backgroundColor",themeKey:"palette",transform:zi});Vl(P_,O_,I_);function Xt(e){return e<=1&&e!==0?`${e*100}%`:e}const M_=ft({prop:"width",transform:Xt}),$d=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,i;const o=((r=e.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[n])||Bd[n];return o?((i=e.theme)==null||(i=i.breakpoints)==null?void 0:i.unit)!=="px"?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:Xt(n)}};return sr(e,e.maxWidth,t)}return null};$d.filterProps=["maxWidth"];const L_=ft({prop:"minWidth",transform:Xt}),A_=ft({prop:"height",transform:Xt}),N_=ft({prop:"maxHeight",transform:Xt}),B_=ft({prop:"minHeight",transform:Xt});ft({prop:"size",cssProperty:"width",transform:Xt});ft({prop:"size",cssProperty:"height",transform:Xt});const D_=ft({prop:"boxSizing"});Vl(M_,$d,L_,A_,N_,B_,D_);const Ps={border:{themeKey:"borders",transform:mn},borderTop:{themeKey:"borders",transform:mn},borderRight:{themeKey:"borders",transform:mn},borderBottom:{themeKey:"borders",transform:mn},borderLeft:{themeKey:"borders",transform:mn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:mn},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Gl},color:{themeKey:"palette",transform:zi},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:zi},backgroundColor:{themeKey:"palette",transform:zi},p:{style:at},pt:{style:at},pr:{style:at},pb:{style:at},pl:{style:at},px:{style:at},py:{style:at},padding:{style:at},paddingTop:{style:at},paddingRight:{style:at},paddingBottom:{style:at},paddingLeft:{style:at},paddingX:{style:at},paddingY:{style:at},paddingInline:{style:at},paddingInlineStart:{style:at},paddingInlineEnd:{style:at},paddingBlock:{style:at},paddingBlockStart:{style:at},paddingBlockEnd:{style:at},m:{style:st},mt:{style:st},mr:{style:st},mb:{style:st},ml:{style:st},mx:{style:st},my:{style:st},margin:{style:st},marginTop:{style:st},marginRight:{style:st},marginBottom:{style:st},marginLeft:{style:st},marginX:{style:st},marginY:{style:st},marginInline:{style:st},marginInlineStart:{style:st},marginInlineEnd:{style:st},marginBlock:{style:st},marginBlockStart:{style:st},marginBlockEnd:{style:st},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:Kl},rowGap:{style:ql},columnGap:{style:Yl},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Xt},maxWidth:{style:$d},minWidth:{transform:Xt},height:{transform:Xt},maxHeight:{transform:Xt},minHeight:{transform:Xt},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function j_(...e){const t=e.reduce((r,i)=>r.concat(Object.keys(i)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function $_(e,t){return typeof e=="function"?e(t):e}function F0(){function e(n,r,i,o){const s={[n]:r,theme:i},l=o[n];if(!l)return{[n]:r};const{cssProperty:a=n,themeKey:u,transform:f,style:d}=l;if(r==null)return null;if(u==="typography"&&r==="inherit")return{[n]:r};const w=Ji(i,u)||{};return d?d(s):sr(s,r,c=>{let m=nl(w,f,c);return c===m&&typeof c=="string"&&(m=nl(w,f,`${n}${c==="default"?"":Ie(c)}`,c)),a===!1?m:{[a]:m}})}function t(n){var r;const{sx:i,theme:o={}}=n||{};if(!i)return null;const s=(r=o.unstable_sxConfig)!=null?r:Ps;function l(a){let u=a;if(typeof a=="function")u=a(o);else if(typeof a!="object")return a;if(!u)return null;const f=JS(o.breakpoints),d=Object.keys(f);let w=f;return Object.keys(u).forEach(b=>{const c=$_(u[b],o);if(c!=null)if(typeof c=="object")if(s[b])w=Ho(w,e(b,c,o,s));else{const m=sr({theme:o},c,x=>({[b]:x}));j_(m,c)?w[b]=t({sx:c,theme:o}):w=Ho(w,m)}else w=Ho(w,e(b,c,o,s))}),ZS(d,w)}return Array.isArray(i)?i.map(l):l(i)}return t}const lo=F0();lo.filterProps=["sx"];function z0(e,t){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:n.palette.mode===e?t:{}}const U_=["breakpoints","palette","spacing","shape"];function Os(e={},...t){const{breakpoints:n={},palette:r={},spacing:i,shape:o={}}=e,s=$e(e,U_),l=j0(n),a=a_(i);let u=Wn({breakpoints:l,direction:"ltr",components:{},palette:J({mode:"light"},r),spacing:a,shape:J({},XS,o)},s);return u.applyStyles=z0,u=t.reduce((f,d)=>Wn(f,d),u),u.unstable_sxConfig=J({},Ps,s==null?void 0:s.unstable_sxConfig),u.unstable_sx=function(d){return lo({sx:d,theme:this})},u}const F_=Object.freeze(Object.defineProperty({__proto__:null,default:Os,private_createBreakpoints:j0,unstable_applyStyles:z0},Symbol.toStringTag,{value:"Module"}));function z_(e){return Object.keys(e).length===0}function W_(e=null){const t=N.useContext(Wl);return!t||z_(t)?e:t}const H_=Os();function Ql(e=H_){return W_(e)}function V_({styles:e,themeId:t,defaultTheme:n={}}){const r=Ql(n),i=typeof e=="function"?e(t&&r[t]||r):e;return se.jsx(N0,{styles:i})}const G_=["sx"],K_=e=>{var t,n;const r={systemProps:{},otherProps:{}},i=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:Ps;return Object.keys(e).forEach(o=>{i[o]?r.systemProps[o]=e[o]:r.otherProps[o]=e[o]}),r};function Ud(e){const{sx:t}=e,n=$e(e,G_),{systemProps:r,otherProps:i}=K_(n);let o;return Array.isArray(t)?o=[r,...t]:typeof t=="function"?o=(...s)=>{const l=t(...s);return Xn(l)?J({},r,l):r}:o=J({},r,t),J({},i,{sx:o})}const Y_=Object.freeze(Object.defineProperty({__proto__:null,default:lo,extendSxProp:Ud,unstable_createStyleFunctionSx:F0,unstable_defaultSxConfig:Ps},Symbol.toStringTag,{value:"Module"})),Fp=e=>e,q_=()=>{let e=Fp;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Fp}}},Fd=q_();function W0(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;tl!=="theme"&&l!=="sx"&&l!=="as"})(lo);return N.forwardRef(function(a,u){const f=Ql(n),d=Ud(a),{className:w,component:b="div"}=d,c=$e(d,Q_);return se.jsx(o,J({as:b,ref:u,className:et(w,i?i(r):r),theme:t&&f[t]||f},c))})}const J_={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function un(e,t,n="Mui"){const r=J_[t];return r?`${n}-${r}`:`${Fd.generate(e)}-${t}`}function cn(e,t,n="Mui"){const r={};return t.forEach(i=>{r[i]=un(e,i,n)}),r}var H0={exports:{}},Fe={};/** + * @license React + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var zd=Symbol.for("react.element"),Wd=Symbol.for("react.portal"),Xl=Symbol.for("react.fragment"),Jl=Symbol.for("react.strict_mode"),Zl=Symbol.for("react.profiler"),eu=Symbol.for("react.provider"),tu=Symbol.for("react.context"),Z_=Symbol.for("react.server_context"),nu=Symbol.for("react.forward_ref"),ru=Symbol.for("react.suspense"),iu=Symbol.for("react.suspense_list"),ou=Symbol.for("react.memo"),su=Symbol.for("react.lazy"),eE=Symbol.for("react.offscreen"),V0;V0=Symbol.for("react.module.reference");function _n(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case zd:switch(e=e.type,e){case Xl:case Zl:case Jl:case ru:case iu:return e;default:switch(e=e&&e.$$typeof,e){case Z_:case tu:case nu:case su:case ou:case eu:return e;default:return t}}case Wd:return t}}}Fe.ContextConsumer=tu;Fe.ContextProvider=eu;Fe.Element=zd;Fe.ForwardRef=nu;Fe.Fragment=Xl;Fe.Lazy=su;Fe.Memo=ou;Fe.Portal=Wd;Fe.Profiler=Zl;Fe.StrictMode=Jl;Fe.Suspense=ru;Fe.SuspenseList=iu;Fe.isAsyncMode=function(){return!1};Fe.isConcurrentMode=function(){return!1};Fe.isContextConsumer=function(e){return _n(e)===tu};Fe.isContextProvider=function(e){return _n(e)===eu};Fe.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===zd};Fe.isForwardRef=function(e){return _n(e)===nu};Fe.isFragment=function(e){return _n(e)===Xl};Fe.isLazy=function(e){return _n(e)===su};Fe.isMemo=function(e){return _n(e)===ou};Fe.isPortal=function(e){return _n(e)===Wd};Fe.isProfiler=function(e){return _n(e)===Zl};Fe.isStrictMode=function(e){return _n(e)===Jl};Fe.isSuspense=function(e){return _n(e)===ru};Fe.isSuspenseList=function(e){return _n(e)===iu};Fe.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Xl||e===Zl||e===Jl||e===ru||e===iu||e===eE||typeof e=="object"&&e!==null&&(e.$$typeof===su||e.$$typeof===ou||e.$$typeof===eu||e.$$typeof===tu||e.$$typeof===nu||e.$$typeof===V0||e.getModuleId!==void 0)};Fe.typeOf=_n;H0.exports=Fe;var zp=H0.exports;const tE=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function G0(e){const t=`${e}`.match(tE);return t&&t[1]||""}function K0(e,t=""){return e.displayName||e.name||G0(e)||t}function Wp(e,t,n){const r=K0(t);return e.displayName||(r!==""?`${n}(${r})`:n)}function nE(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return K0(e,"Component");if(typeof e=="object")switch(e.$$typeof){case zp.ForwardRef:return Wp(e,e.render,"ForwardRef");case zp.Memo:return Wp(e,e.type,"memo");default:return}}}const rE=Object.freeze(Object.defineProperty({__proto__:null,default:nE,getFunctionName:G0},Symbol.toStringTag,{value:"Module"})),iE=["ownerState"],oE=["variants"],sE=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function aE(e){return Object.keys(e).length===0}function lE(e){return typeof e=="string"&&e.charCodeAt(0)>96}function oc(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const uE=Os(),cE=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function sa({defaultTheme:e,theme:t,themeId:n}){return aE(t)?e:t[n]||t}function fE(e){return e?(t,n)=>n[e]:null}function Ta(e,t){let{ownerState:n}=t,r=$e(t,iE);const i=typeof e=="function"?e(J({ownerState:n},r)):e;if(Array.isArray(i))return i.flatMap(o=>Ta(o,J({ownerState:n},r)));if(i&&typeof i=="object"&&Array.isArray(i.variants)){const{variants:o=[]}=i;let l=$e(i,oE);return o.forEach(a=>{let u=!0;typeof a.props=="function"?u=a.props(J({ownerState:n},r,n)):Object.keys(a.props).forEach(f=>{(n==null?void 0:n[f])!==a.props[f]&&r[f]!==a.props[f]&&(u=!1)}),u&&(Array.isArray(l)||(l=[l]),l.push(typeof a.style=="function"?a.style(J({ownerState:n},r,n)):a.style))}),l}return i}function dE(e={}){const{themeId:t,defaultTheme:n=uE,rootShouldForwardProp:r=oc,slotShouldForwardProp:i=oc}=e,o=s=>lo(J({},s,{theme:sa(J({},s,{defaultTheme:n,themeId:t}))}));return o.__mui_systemSx=!0,(s,l={})=>{B0(s,_=>_.filter(E=>!(E!=null&&E.__mui_systemSx)));const{name:a,slot:u,skipVariantsResolver:f,skipSx:d,overridesResolver:w=fE(cE(u))}=l,b=$e(l,sE),c=f!==void 0?f:u&&u!=="Root"&&u!=="root"||!1,m=d||!1;let x,g=oc;u==="Root"||u==="root"?g=r:u?g=i:lE(s)&&(g=void 0);const y=Nd(s,J({shouldForwardProp:g,label:x},b)),p=_=>typeof _=="function"&&_.__emotion_real!==_||Xn(_)?E=>Ta(_,J({},E,{theme:sa({theme:E.theme,defaultTheme:n,themeId:t})})):_,v=(_,...E)=>{let R=p(_);const k=E?E.map(p):[];a&&w&&k.push($=>{const F=sa(J({},$,{defaultTheme:n,themeId:t}));if(!F.components||!F.components[a]||!F.components[a].styleOverrides)return null;const ee=F.components[a].styleOverrides,z={};return Object.entries(ee).forEach(([V,q])=>{z[V]=Ta(q,J({},$,{theme:F}))}),w($,z)}),a&&!c&&k.push($=>{var F;const ee=sa(J({},$,{defaultTheme:n,themeId:t})),z=ee==null||(F=ee.components)==null||(F=F[a])==null?void 0:F.variants;return Ta({variants:z},J({},$,{theme:ee}))}),m||k.push(o);const M=k.length-E.length;if(Array.isArray(_)&&M>0){const $=new Array(M).fill("");R=[..._,...$],R.raw=[..._.raw,...$]}const D=y(R,...k);return s.muiName&&(D.muiName=s.muiName),D};return y.withConfig&&(v.withConfig=y.withConfig),v}}const hE=dE();function pE(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:el(t.components[n].defaultProps,r)}function mE({props:e,name:t,defaultTheme:n,themeId:r}){let i=Ql(n);return r&&(i=i[r]||i),pE({theme:i,name:t,props:e})}const Y0=typeof window<"u"?N.useLayoutEffect:N.useEffect;function yE(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}const gE=Object.freeze(Object.defineProperty({__proto__:null,default:yE},Symbol.toStringTag,{value:"Module"}));function vE(...e){return e.reduce((t,n)=>n==null?t:function(...i){t.apply(this,i),n.apply(this,i)},()=>{})}function wE(e,t=166){let n;function r(...i){const o=()=>{e.apply(this,i)};clearTimeout(n),n=setTimeout(o,t)}return r.clear=()=>{clearTimeout(n)},r}function bE(e,t){return()=>null}function SE(e,t){var n,r;return N.isValidElement(e)&&t.indexOf((n=e.type.muiName)!=null?n:(r=e.type)==null||(r=r._payload)==null||(r=r.value)==null?void 0:r.muiName)!==-1}function Vo(e){return e&&e.ownerDocument||document}function _E(e){return Vo(e).defaultView||window}function EE(e,t){return()=>null}function q0(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let Hp=0;function xE(e){const[t,n]=N.useState(e),r=e||t;return N.useEffect(()=>{t==null&&(Hp+=1,n(`mui-${Hp}`))},[t]),r}const Vp=Wi.useId;function kE(e){if(Vp!==void 0){const t=Vp();return e??t}return xE(e)}function TE(e,t,n,r,i){return null}function RE({controlled:e,default:t,name:n,state:r="value"}){const{current:i}=N.useRef(e!==void 0),[o,s]=N.useState(t),l=i?e:o,a=N.useCallback(u=>{i||s(u)},[]);return[l,a]}function Sr(e){const t=N.useRef(e);return Y0(()=>{t.current=e}),N.useRef((...n)=>(0,t.current)(...n)).current}function ri(...e){return N.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{q0(n,t)})},e)}const Gp={};function CE(e,t){const n=N.useRef(Gp);return n.current===Gp&&(n.current=e(t)),n}const PE=[];function OE(e){N.useEffect(e,PE)}class au{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new au}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function Hd(){const e=CE(au.create).current;return OE(e.disposeEffect),e}let lu=!0,pf=!1;const IE=new au,ME={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 LE(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&ME[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function AE(e){e.metaKey||e.altKey||e.ctrlKey||(lu=!0)}function sc(){lu=!1}function NE(){this.visibilityState==="hidden"&&pf&&(lu=!0)}function BE(e){e.addEventListener("keydown",AE,!0),e.addEventListener("mousedown",sc,!0),e.addEventListener("pointerdown",sc,!0),e.addEventListener("touchstart",sc,!0),e.addEventListener("visibilitychange",NE,!0)}function DE(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return lu||LE(t)}function Vd(){const e=N.useCallback(i=>{i!=null&&BE(i.ownerDocument)},[]),t=N.useRef(!1);function n(){return t.current?(pf=!0,IE.start(100,()=>{pf=!1}),t.current=!1,!0):!1}function r(i){return DE(i)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function En(e,t,n=void 0){const r={};return Object.keys(e).forEach(i=>{r[i]=e[i].reduce((o,s)=>{if(s){const l=t(s);l!==""&&o.push(l),n&&n[s]&&o.push(n[s])}return o},[]).join(" ")}),r}function jE(e){return typeof e=="string"}function $E(e,t,n){return e===void 0||jE(e)?t:J({},t,{ownerState:J({},t.ownerState,n)})}function mf(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 Kp(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 UE(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:o}=e;if(!t){const b=et(n==null?void 0:n.className,o,i==null?void 0:i.className,r==null?void 0:r.className),c=J({},n==null?void 0:n.style,i==null?void 0:i.style,r==null?void 0:r.style),m=J({},n,i,r);return b.length>0&&(m.className=b),Object.keys(c).length>0&&(m.style=c),{props:m,internalRef:void 0}}const s=mf(J({},i,r)),l=Kp(r),a=Kp(i),u=t(s),f=et(u==null?void 0:u.className,n==null?void 0:n.className,o,i==null?void 0:i.className,r==null?void 0:r.className),d=J({},u==null?void 0:u.style,n==null?void 0:n.style,i==null?void 0:i.style,r==null?void 0:r.style),w=J({},u,n,a,l);return f.length>0&&(w.className=f),Object.keys(d).length>0&&(w.style=d),{props:w,internalRef:u.ref}}function FE(e,t,n){return typeof e=="function"?e(t,n):e}const zE=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function WE(e){var t;const{elementType:n,externalSlotProps:r,ownerState:i,skipResolvingSlotProps:o=!1}=e,s=$e(e,zE),l=o?{}:FE(r,i),{props:a,internalRef:u}=UE(J({},s,{externalSlotProps:l})),f=ri(u,l==null?void 0:l.ref,(t=e.additionalProps)==null?void 0:t.ref);return $E(n,J({},a,{ref:f}),i)}const HE=["className","component","disableGutters","fixed","maxWidth","classes"],VE=Os(),GE=hE("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${Ie(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),KE=e=>mE({props:e,name:"MuiContainer",defaultTheme:VE}),YE=(e,t)=>{const n=a=>un(t,a),{classes:r,fixed:i,disableGutters:o,maxWidth:s}=e,l={root:["root",s&&`maxWidth${Ie(String(s))}`,i&&"fixed",o&&"disableGutters"]};return En(l,n,r)};function qE(e={}){const{createStyledComponent:t=GE,useThemeProps:n=KE,componentName:r="MuiContainer"}=e,i=t(({theme:s,ownerState:l})=>J({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!l.disableGutters&&{paddingLeft:s.spacing(2),paddingRight:s.spacing(2),[s.breakpoints.up("sm")]:{paddingLeft:s.spacing(3),paddingRight:s.spacing(3)}}),({theme:s,ownerState:l})=>l.fixed&&Object.keys(s.breakpoints.values).reduce((a,u)=>{const f=u,d=s.breakpoints.values[f];return d!==0&&(a[s.breakpoints.up(f)]={maxWidth:`${d}${s.breakpoints.unit}`}),a},{}),({theme:s,ownerState:l})=>J({},l.maxWidth==="xs"&&{[s.breakpoints.up("xs")]:{maxWidth:Math.max(s.breakpoints.values.xs,444)}},l.maxWidth&&l.maxWidth!=="xs"&&{[s.breakpoints.up(l.maxWidth)]:{maxWidth:`${s.breakpoints.values[l.maxWidth]}${s.breakpoints.unit}`}}));return N.forwardRef(function(l,a){const u=n(l),{className:f,component:d="div",disableGutters:w=!1,fixed:b=!1,maxWidth:c="lg"}=u,m=$e(u,HE),x=J({},u,{component:d,disableGutters:w,fixed:b,maxWidth:c}),g=YE(x,r);return se.jsx(i,J({as:d,ownerState:x,className:et(g.root,f),ref:a},m))})}function QE(e,t){return J({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var dt={},Q0={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Q0);var uu=Q0.exports;const XE=lr(Ub),JE=lr(gE);var X0=uu;Object.defineProperty(dt,"__esModule",{value:!0});var hs=dt.alpha=tv;dt.blend=dx;dt.colorChannel=void 0;var ZE=dt.darken=Kd;dt.decomposeColor=bn;var ex=dt.emphasize=nv,tx=dt.getContrastRatio=ax;dt.getLuminance=rl;dt.hexToRgb=J0;dt.hslToRgb=ev;var nx=dt.lighten=Yd;dt.private_safeAlpha=lx;dt.private_safeColorChannel=void 0;dt.private_safeDarken=ux;dt.private_safeEmphasize=fx;dt.private_safeLighten=cx;dt.recomposeColor=uo;dt.rgbToHex=sx;var Yp=X0(XE),rx=X0(JE);function Gd(e,t=0,n=1){return(0,rx.default)(e,t,n)}function J0(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,i)=>i<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function ix(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function bn(e){if(e.type)return e;if(e.charAt(0)==="#")return bn(J0(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error((0,Yp.default)(9,e));let r=e.substring(t+1,e.length-1),i;if(n==="color"){if(r=r.split(" "),i=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(i)===-1)throw new Error((0,Yp.default)(10,i))}else r=r.split(",");return r=r.map(o=>parseFloat(o)),{type:n,values:r,colorSpace:i}}const Z0=e=>{const t=bn(e);return t.values.slice(0,3).map((n,r)=>t.type.indexOf("hsl")!==-1&&r!==0?`${n}%`:n).join(" ")};dt.colorChannel=Z0;const ox=(e,t)=>{try{return Z0(e)}catch{return e}};dt.private_safeColorChannel=ox;function uo(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((i,o)=>o<3?parseInt(i,10):i):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 sx(e){if(e.indexOf("#")===0)return e;const{values:t}=bn(e);return`#${t.map((n,r)=>ix(r===3?Math.round(255*n):n)).join("")}`}function ev(e){e=bn(e);const{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,o=r*Math.min(i,1-i),s=(u,f=(u+n/30)%12)=>i-o*Math.max(Math.min(f-3,9-f,1),-1);let l="rgb";const a=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(l+="a",a.push(t[3])),uo({type:l,values:a})}function rl(e){e=bn(e);let t=e.type==="hsl"||e.type==="hsla"?bn(ev(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 ax(e,t){const n=rl(e),r=rl(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function tv(e,t){return e=bn(e),t=Gd(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,uo(e)}function lx(e,t,n){try{return tv(e,t)}catch{return e}}function Kd(e,t){if(e=bn(e),t=Gd(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 uo(e)}function ux(e,t,n){try{return Kd(e,t)}catch{return e}}function Yd(e,t){if(e=bn(e),t=Gd(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 uo(e)}function cx(e,t,n){try{return Yd(e,t)}catch{return e}}function nv(e,t=.15){return rl(e)>.5?Kd(e,t):Yd(e,t)}function fx(e,t,n){try{return nv(e,t)}catch{return e}}function dx(e,t,n,r=1){const i=(a,u)=>Math.round((a**(1/r)*(1-n)+u**(1/r)*n)**r),o=bn(e),s=bn(t),l=[i(o.values[0],s.values[0]),i(o.values[1],s.values[1]),i(o.values[2],s.values[2])];return uo({type:"rgb",values:l})}const ps={black:"#000",white:"#fff"},hx={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"},hi={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"},pi={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"},Eo={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"},mi={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"},yi={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"},gi={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"},px=["mode","contrastThreshold","tonalOffset"],qp={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:ps.white,default:ps.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}},ac={text:{primary:ps.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:ps.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 Qp(e,t,n,r){const i=r.light||r,o=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=nx(e.main,i):t==="dark"&&(e.dark=ZE(e.main,o)))}function mx(e="light"){return e==="dark"?{main:mi[200],light:mi[50],dark:mi[400]}:{main:mi[700],light:mi[400],dark:mi[800]}}function yx(e="light"){return e==="dark"?{main:hi[200],light:hi[50],dark:hi[400]}:{main:hi[500],light:hi[300],dark:hi[700]}}function gx(e="light"){return e==="dark"?{main:pi[500],light:pi[300],dark:pi[700]}:{main:pi[700],light:pi[400],dark:pi[800]}}function vx(e="light"){return e==="dark"?{main:yi[400],light:yi[300],dark:yi[700]}:{main:yi[700],light:yi[500],dark:yi[900]}}function wx(e="light"){return e==="dark"?{main:gi[400],light:gi[300],dark:gi[700]}:{main:gi[800],light:gi[500],dark:gi[900]}}function bx(e="light"){return e==="dark"?{main:Eo[400],light:Eo[300],dark:Eo[700]}:{main:"#ed6c02",light:Eo[500],dark:Eo[900]}}function Sx(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,i=$e(e,px),o=e.primary||mx(t),s=e.secondary||yx(t),l=e.error||gx(t),a=e.info||vx(t),u=e.success||wx(t),f=e.warning||bx(t);function d(m){return tx(m,ac.text.primary)>=n?ac.text.primary:qp.text.primary}const w=({color:m,name:x,mainShade:g=500,lightShade:y=300,darkShade:p=700})=>{if(m=J({},m),!m.main&&m[g]&&(m.main=m[g]),!m.hasOwnProperty("main"))throw new Error(us(11,x?` (${x})`:"",g));if(typeof m.main!="string")throw new Error(us(12,x?` (${x})`:"",JSON.stringify(m.main)));return Qp(m,"light",y,r),Qp(m,"dark",p,r),m.contrastText||(m.contrastText=d(m.main)),m},b={dark:ac,light:qp};return Wn(J({common:J({},ps),mode:t,primary:w({color:o,name:"primary"}),secondary:w({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:w({color:l,name:"error"}),warning:w({color:f,name:"warning"}),info:w({color:a,name:"info"}),success:w({color:u,name:"success"}),grey:hx,contrastThreshold:n,getContrastText:d,augmentColor:w,tonalOffset:r},b[t]),i)}const _x=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Ex(e){return Math.round(e*1e5)/1e5}const Xp={textTransform:"uppercase"},Jp='"Roboto", "Helvetica", "Arial", sans-serif';function xx(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=Jp,fontSize:i=14,fontWeightLight:o=300,fontWeightRegular:s=400,fontWeightMedium:l=500,fontWeightBold:a=700,htmlFontSize:u=16,allVariants:f,pxToRem:d}=n,w=$e(n,_x),b=i/14,c=d||(g=>`${g/u*b}rem`),m=(g,y,p,v,_)=>J({fontFamily:r,fontWeight:g,fontSize:c(y),lineHeight:p},r===Jp?{letterSpacing:`${Ex(v/y)}em`}:{},_,f),x={h1:m(o,96,1.167,-1.5),h2:m(o,60,1.2,-.5),h3:m(s,48,1.167,0),h4:m(s,34,1.235,.25),h5:m(s,24,1.334,0),h6:m(l,20,1.6,.15),subtitle1:m(s,16,1.75,.15),subtitle2:m(l,14,1.57,.1),body1:m(s,16,1.5,.15),body2:m(s,14,1.43,.15),button:m(l,14,1.75,.4,Xp),caption:m(s,12,1.66,.4),overline:m(s,12,2.66,1,Xp),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Wn(J({htmlFontSize:u,pxToRem:c,fontFamily:r,fontSize:i,fontWeightLight:o,fontWeightRegular:s,fontWeightMedium:l,fontWeightBold:a},x),w,{clone:!1})}const kx=.2,Tx=.14,Rx=.12;function Qe(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${kx})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Tx})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Rx})`].join(",")}const Cx=["none",Qe(0,2,1,-1,0,1,1,0,0,1,3,0),Qe(0,3,1,-2,0,2,2,0,0,1,5,0),Qe(0,3,3,-2,0,3,4,0,0,1,8,0),Qe(0,2,4,-1,0,4,5,0,0,1,10,0),Qe(0,3,5,-1,0,5,8,0,0,1,14,0),Qe(0,3,5,-1,0,6,10,0,0,1,18,0),Qe(0,4,5,-2,0,7,10,1,0,2,16,1),Qe(0,5,5,-3,0,8,10,1,0,3,14,2),Qe(0,5,6,-3,0,9,12,1,0,3,16,2),Qe(0,6,6,-3,0,10,14,1,0,4,18,3),Qe(0,6,7,-4,0,11,15,1,0,4,20,3),Qe(0,7,8,-4,0,12,17,2,0,5,22,4),Qe(0,7,8,-4,0,13,19,2,0,5,24,4),Qe(0,7,9,-4,0,14,21,2,0,5,26,4),Qe(0,8,9,-5,0,15,22,2,0,6,28,5),Qe(0,8,10,-5,0,16,24,2,0,6,30,5),Qe(0,8,11,-5,0,17,26,2,0,6,32,5),Qe(0,9,11,-5,0,18,28,2,0,7,34,6),Qe(0,9,12,-6,0,19,29,2,0,7,36,6),Qe(0,10,13,-6,0,20,31,3,0,8,38,7),Qe(0,10,13,-6,0,21,33,3,0,8,40,7),Qe(0,10,14,-6,0,22,35,3,0,8,42,7),Qe(0,11,14,-7,0,23,36,3,0,9,44,8),Qe(0,11,15,-7,0,24,38,3,0,9,46,8)],Px=["duration","easing","delay"],Ox={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)"},Ix={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Zp(e){return`${Math.round(e)}ms`}function Mx(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function Lx(e){const t=J({},Ox,e.easing),n=J({},Ix,e.duration);return J({getAutoHeightDuration:Mx,create:(i=["all"],o={})=>{const{duration:s=n.standard,easing:l=t.easeInOut,delay:a=0}=o;return $e(o,Px),(Array.isArray(i)?i:[i]).map(u=>`${u} ${typeof s=="string"?s:Zp(s)} ${l} ${typeof a=="string"?a:Zp(a)}`).join(",")}},e,{easing:t,duration:n})}const Ax={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Nx=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function rv(e={},...t){const{mixins:n={},palette:r={},transitions:i={},typography:o={}}=e,s=$e(e,Nx);if(e.vars)throw new Error(us(18));const l=Sx(r),a=Os(e);let u=Wn(a,{mixins:QE(a.breakpoints,n),palette:l,shadows:Cx.slice(),typography:xx(l,o),transitions:Lx(i),zIndex:J({},Ax)});return u=Wn(u,s),u=t.reduce((f,d)=>Wn(f,d),u),u.unstable_sxConfig=J({},Ps,s==null?void 0:s.unstable_sxConfig),u.unstable_sx=function(d){return lo({sx:d,theme:this})},u}const qd=rv(),cu="$$material";function Bx(e){return se.jsx(V_,J({},e,{defaultTheme:qd,themeId:cu}))}const Dx=(e,t)=>J({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&!e.vars&&{colorScheme:e.palette.mode}),jx=e=>J({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}}),$x=(e,t=!1)=>{var n;const r={};t&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([s,l])=>{var a;r[e.getColorSchemeSelector(s).replace(/\s*&/,"")]={colorScheme:(a=l.palette)==null?void 0:a.mode}});let i=J({html:Dx(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:J({margin:0},jx(e),{"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}})},r);const o=(n=e.components)==null||(n=n.MuiCssBaseline)==null?void 0:n.styleOverrides;return o&&(i=[i,o]),i};function Ux(e){const t=Kt({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=t;return se.jsxs(N.Fragment,{children:[se.jsx(Bx,{styles:i=>$x(i,r)}),n]})}var iv={exports:{}},ov={};/** + * @license React + * use-sync-external-store-with-selector.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 Is=N;function Fx(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var zx=typeof Object.is=="function"?Object.is:Fx,Wx=Is.useSyncExternalStore,Hx=Is.useRef,Vx=Is.useEffect,Gx=Is.useMemo,Kx=Is.useDebugValue;ov.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var o=Hx(null);if(o.current===null){var s={hasValue:!1,value:null};o.current=s}else s=o.current;o=Gx(function(){function a(b){if(!u){if(u=!0,f=b,b=r(b),i!==void 0&&s.hasValue){var c=s.value;if(i(c,b))return d=c}return d=b}if(c=d,zx(f,b))return c;var m=r(b);return i!==void 0&&i(c,m)?c:(f=b,d=m)}var u=!1,f,d,w=n===void 0?null:n;return[function(){return a(t())},w===null?void 0:function(){return a(w())}]},[t,n,r,i]);var l=Wx(e,o[0],o[1]);return Vx(function(){s.hasValue=!0,s.value=l},[l]),Kx(l),l};iv.exports=ov;var Yx=iv.exports,Zt="default"in Wi?On:Wi,em=Symbol.for("react-redux-context"),tm=typeof globalThis<"u"?globalThis:{};function qx(){if(!Zt.createContext)return{};const e=tm[em]??(tm[em]=new Map);let t=e.get(Zt.createContext);return t||(t=Zt.createContext(null),e.set(Zt.createContext,t)),t}var Lr=qx(),Qx=()=>{throw new Error("uSES not initialized!")};function Qd(e=Lr){return function(){return Zt.useContext(e)}}var sv=Qd(),av=Qx,Xx=e=>{av=e},Jx=(e,t)=>e===t;function Zx(e=Lr){const t=e===Lr?sv:Qd(e),n=(r,i={})=>{const{equalityFn:o=Jx,devModeChecks:s={}}=typeof i=="function"?{equalityFn:i}:i,{store:l,subscription:a,getServerState:u,stabilityCheck:f,identityFunctionCheck:d}=t();Zt.useRef(!0);const w=Zt.useCallback({[r.name](c){return r(c)}}[r.name],[r,f,s.stabilityCheck]),b=av(a.addNestedSub,l.getState,u||l.getState,w,o);return Zt.useDebugValue(b),b};return Object.assign(n,{withTypes:()=>n}),n}var e2=Zx();function t2(e){e()}function n2(){let e=null,t=null;return{clear(){e=null,t=null},notify(){t2(()=>{let n=e;for(;n;)n.callback(),n=n.next})},get(){const n=[];let r=e;for(;r;)n.push(r),r=r.next;return n},subscribe(n){let r=!0;const i=t={callback:n,next:null,prev:t};return i.prev?i.prev.next=i:e=i,function(){!r||e===null||(r=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}var nm={notify(){},get:()=>[]};function r2(e,t){let n,r=nm,i=0,o=!1;function s(m){f();const x=r.subscribe(m);let g=!1;return()=>{g||(g=!0,x(),d())}}function l(){r.notify()}function a(){c.onStateChange&&c.onStateChange()}function u(){return o}function f(){i++,n||(n=e.subscribe(a),r=n2())}function d(){i--,n&&i===0&&(n(),n=void 0,r.clear(),r=nm)}function w(){o||(o=!0,f())}function b(){o&&(o=!1,d())}const c={addNestedSub:s,notifyNestedSubs:l,handleChangeWrapper:a,isSubscribed:u,trySubscribe:w,tryUnsubscribe:b,getListeners:()=>r};return c}var i2=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",o2=typeof navigator<"u"&&navigator.product==="ReactNative",s2=i2||o2?Zt.useLayoutEffect:Zt.useEffect;function a2({store:e,context:t,children:n,serverState:r,stabilityCheck:i="once",identityFunctionCheck:o="once"}){const s=Zt.useMemo(()=>{const u=r2(e);return{store:e,subscription:u,getServerState:r?()=>r:void 0,stabilityCheck:i,identityFunctionCheck:o}},[e,r,i,o]),l=Zt.useMemo(()=>e.getState(),[e]);s2(()=>{const{subscription:u}=s;return u.onStateChange=u.notifyNestedSubs,u.trySubscribe(),l!==e.getState()&&u.notifyNestedSubs(),()=>{u.tryUnsubscribe(),u.onStateChange=void 0}},[s,l]);const a=t||Lr;return Zt.createElement(a.Provider,{value:s},n)}var l2=a2;function lv(e=Lr){const t=e===Lr?sv:Qd(e),n=()=>{const{store:r}=t();return r};return Object.assign(n,{withTypes:()=>n}),n}var u2=lv();function c2(e=Lr){const t=e===Lr?u2:lv(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var f2=c2();Xx(Yx.useSyncExternalStoreWithSelector);/** + * @remix-run/router v1.19.2 + * + * 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 Je(){return Je=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Zi(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function h2(){return Math.random().toString(36).substr(2,8)}function im(e,t){return{usr:e.state,key:e.key,idx:t}}function ms(e,t,n,r){return n===void 0&&(n=null),Je({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Dr(t):t,{state:n,key:t&&t.key||r||h2()})}function ii(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 Dr(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 p2(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,s=i.history,l=mt.Pop,a=null,u=f();u==null&&(u=0,s.replaceState(Je({},s.state,{idx:u}),""));function f(){return(s.state||{idx:null}).idx}function d(){l=mt.Pop;let x=f(),g=x==null?null:x-u;u=x,a&&a({action:l,location:m.location,delta:g})}function w(x,g){l=mt.Push;let y=ms(m.location,x,g);u=f()+1;let p=im(y,u),v=m.createHref(y);try{s.pushState(p,"",v)}catch(_){if(_ instanceof DOMException&&_.name==="DataCloneError")throw _;i.location.assign(v)}o&&a&&a({action:l,location:m.location,delta:1})}function b(x,g){l=mt.Replace;let y=ms(m.location,x,g);u=f();let p=im(y,u),v=m.createHref(y);s.replaceState(p,"",v),o&&a&&a({action:l,location:m.location,delta:0})}function c(x){let g=i.location.origin!=="null"?i.location.origin:i.location.href,y=typeof x=="string"?x:ii(x);return y=y.replace(/ $/,"%20"),Ee(g,"No window.location.(origin|href) available to create URL for href: "+y),new URL(y,g)}let m={get action(){return l},get location(){return e(i,s)},listen(x){if(a)throw new Error("A history only accepts one active listener");return i.addEventListener(rm,d),a=x,()=>{i.removeEventListener(rm,d),a=null}},createHref(x){return t(i,x)},createURL:c,encodeLocation(x){let g=c(x);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:w,replace:b,go(x){return s.go(x)}};return m}var We;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(We||(We={}));const m2=new Set(["lazy","caseSensitive","path","id","index","children"]);function y2(e){return e.index===!0}function ys(e,t,n,r){return n===void 0&&(n=[]),r===void 0&&(r={}),e.map((i,o)=>{let s=[...n,String(o)],l=typeof i.id=="string"?i.id:s.join("-");if(Ee(i.index!==!0||!i.children,"Cannot specify children on an index route"),Ee(!r[l],'Found a route id collision on id "'+l+`". Route id's must be globally unique within Data Router usages`),y2(i)){let a=Je({},i,t(i),{id:l});return r[l]=a,a}else{let a=Je({},i,t(i),{id:l,children:void 0});return r[l]=a,i.children&&(a.children=ys(i.children,t,s,r)),a}})}function Hr(e,t,n){return n===void 0&&(n="/"),Ra(e,t,n,!1)}function Ra(e,t,n,r){let i=typeof t=="string"?Dr(t):t,o=co(i.pathname||"/",n);if(o==null)return null;let s=uv(e);v2(s);let l=null;for(let a=0;l==null&&a{let a={relativePath:l===void 0?o.path||"":l,caseSensitive:o.caseSensitive===!0,childrenIndex:s,route:o};a.relativePath.startsWith("/")&&(Ee(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),a.relativePath=a.relativePath.slice(r.length));let u=tr([r,a.relativePath]),f=n.concat(a);o.children&&o.children.length>0&&(Ee(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),uv(o.children,t,f,u)),!(o.path==null&&!o.index)&&t.push({path:u,score:k2(u,o.index),routesMeta:f})};return e.forEach((o,s)=>{var l;if(o.path===""||!((l=o.path)!=null&&l.includes("?")))i(o,s);else for(let a of cv(o.path))i(o,s,a)}),t}function cv(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return i?[o,""]:[o];let s=cv(r.join("/")),l=[];return l.push(...s.map(a=>a===""?o:[o,a].join("/"))),i&&l.push(...s),l.map(a=>e.startsWith("/")&&a===""?"/":a)}function v2(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:T2(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const w2=/^:[\w-]+$/,b2=3,S2=2,_2=1,E2=10,x2=-2,om=e=>e==="*";function k2(e,t){let n=e.split("/"),r=n.length;return n.some(om)&&(r+=x2),t&&(r+=S2),n.filter(i=>!om(i)).reduce((i,o)=>i+(w2.test(o)?b2:o===""?_2:E2),r)}function T2(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function R2(e,t,n){n===void 0&&(n=!1);let{routesMeta:r}=e,i={},o="/",s=[];for(let l=0;l{let{paramName:w,isOptional:b}=f;if(w==="*"){let m=l[d]||"";s=o.slice(0,o.length-m.length).replace(/(.)\/+$/,"$1")}const c=l[d];return b&&!c?u[w]=void 0:u[w]=(c||"").replace(/%2F/g,"/"),u},{}),pathname:o,pathnameBase:s,pattern:e}}function C2(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Zi(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=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,l,a)=>(r.push({paramName:l,isOptional:a!=null}),a?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function P2(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Zi(!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 co(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 O2(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?Dr(e):e;return{pathname:n?n.startsWith("/")?n:I2(n,t):t,search:L2(r),hash:A2(i)}}function I2(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function lc(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function fv(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Xd(e,t){let n=fv(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Jd(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=Dr(e):(i=Je({},e),Ee(!i.pathname||!i.pathname.includes("?"),lc("?","pathname","search",i)),Ee(!i.pathname||!i.pathname.includes("#"),lc("#","pathname","hash",i)),Ee(!i.search||!i.search.includes("#"),lc("#","search","hash",i)));let o=e===""||i.pathname==="",s=o?"/":i.pathname,l;if(s==null)l=n;else{let d=t.length-1;if(!r&&s.startsWith("..")){let w=s.split("/");for(;w[0]==="..";)w.shift(),d-=1;i.pathname=w.join("/")}l=d>=0?t[d]:"/"}let a=O2(i,l),u=s&&s!=="/"&&s.endsWith("/"),f=(o||s===".")&&n.endsWith("/");return!a.pathname.endsWith("/")&&(u||f)&&(a.pathname+="/"),a}const tr=e=>e.join("/").replace(/\/\/+/g,"/"),M2=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),L2=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,A2=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class il{constructor(t,n,r,i){i===void 0&&(i=!1),this.status=t,this.statusText=n||"",this.internal=i,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function fu(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const dv=["post","put","patch","delete"],N2=new Set(dv),B2=["get",...dv],D2=new Set(B2),j2=new Set([301,302,303,307,308]),$2=new Set([307,308]),uc={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},U2={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},xo={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Zd=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,F2=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),hv="remix-router-transitions";function z2(e){const t=e.window?e.window:typeof window<"u"?window:void 0,n=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",r=!n;Ee(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let i;if(e.mapRouteProperties)i=e.mapRouteProperties;else if(e.detectErrorBoundary){let A=e.detectErrorBoundary;i=j=>({hasErrorBoundary:A(j)})}else i=F2;let o={},s=ys(e.routes,i,void 0,o),l,a=e.basename||"/",u=e.unstable_dataStrategy||Y2,f=e.unstable_patchRoutesOnNavigation,d=Je({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),w=null,b=new Set,c=1e3,m=new Set,x=null,g=null,y=null,p=e.hydrationData!=null,v=Hr(s,e.history.location,a),_=null;if(v==null&&!f){let A=Bt(404,{pathname:e.history.location.pathname}),{matches:j,route:G}=mm(s);v=j,_={[G.id]:A}}v&&!e.hydrationData&&Bs(v,s,e.history.location.pathname).active&&(v=null);let E;if(v)if(v.some(A=>A.route.lazy))E=!1;else if(!v.some(A=>A.route.loader))E=!0;else if(d.v7_partialHydration){let A=e.hydrationData?e.hydrationData.loaderData:null,j=e.hydrationData?e.hydrationData.errors:null,G=te=>te.route.loader?typeof te.route.loader=="function"&&te.route.loader.hydrate===!0?!1:A&&A[te.route.id]!==void 0||j&&j[te.route.id]!==void 0:!0;if(j){let te=v.findIndex(ue=>j[ue.route.id]!==void 0);E=v.slice(0,te+1).every(G)}else E=v.every(G)}else E=e.hydrationData!=null;else if(E=!1,v=[],d.v7_partialHydration){let A=Bs(null,s,e.history.location.pathname);A.active&&A.matches&&(v=A.matches)}let R,k={historyAction:e.history.action,location:e.history.location,matches:v,initialized:E,navigation:uc,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||_,fetchers:new Map,blockers:new Map},M=mt.Pop,D=!1,$,F=!1,ee=new Map,z=null,V=!1,q=!1,he=[],K=new Set,H=new Map,re=0,P=-1,C=new Map,U=new Set,Y=new Map,X=new Map,ne=new Set,oe=new Map,ye=new Map,de=new Map,Se;function ke(){if(w=e.history.listen(A=>{let{action:j,location:G,delta:te}=A;if(Se){Se(),Se=void 0;return}Zi(ye.size===0||te!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let ue=mh({currentLocation:k.location,nextLocation:G,historyAction:j});if(ue&&te!=null){let ge=new Promise(be=>{Se=be});e.history.go(te*-1),As(ue,{state:"blocked",location:G,proceed(){As(ue,{state:"proceeding",proceed:void 0,reset:void 0,location:G}),ge.then(()=>e.history.go(te))},reset(){let be=new Map(k.blockers);be.set(ue,xo),Q({blockers:be})}});return}return fe(j,G)}),n){uk(t,ee);let A=()=>ck(t,ee);t.addEventListener("pagehide",A),z=()=>t.removeEventListener("pagehide",A)}return k.initialized||fe(mt.Pop,k.location,{initialHydration:!0}),R}function I(){w&&w(),z&&z(),b.clear(),$&&$.abort(),k.fetchers.forEach((A,j)=>Ve(j)),k.blockers.forEach((A,j)=>ph(j))}function O(A){return b.add(A),()=>b.delete(A)}function Q(A,j){j===void 0&&(j={}),k=Je({},k,A);let G=[],te=[];d.v7_fetcherPersist&&k.fetchers.forEach((ue,ge)=>{ue.state==="idle"&&(ne.has(ge)?te.push(ge):G.push(ge))}),[...b].forEach(ue=>ue(k,{deletedFetchers:te,unstable_viewTransitionOpts:j.viewTransitionOpts,unstable_flushSync:j.flushSync===!0})),d.v7_fetcherPersist&&(G.forEach(ue=>k.fetchers.delete(ue)),te.forEach(ue=>Ve(ue)))}function le(A,j,G){var te,ue;let{flushSync:ge}=G===void 0?{}:G,be=k.actionData!=null&&k.navigation.formMethod!=null&&Rn(k.navigation.formMethod)&&k.navigation.state==="loading"&&((te=A.state)==null?void 0:te._isRedirect)!==!0,ae;j.actionData?Object.keys(j.actionData).length>0?ae=j.actionData:ae=null:be?ae=k.actionData:ae=null;let we=j.loaderData?hm(k.loaderData,j.loaderData,j.matches||[],j.errors):k.loaderData,pe=k.blockers;pe.size>0&&(pe=new Map(pe),pe.forEach((De,Ke)=>pe.set(Ke,xo)));let me=D===!0||k.navigation.formMethod!=null&&Rn(k.navigation.formMethod)&&((ue=A.state)==null?void 0:ue._isRedirect)!==!0;l&&(s=l,l=void 0),V||M===mt.Pop||(M===mt.Push?e.history.push(A,A.state):M===mt.Replace&&e.history.replace(A,A.state));let Le;if(M===mt.Pop){let De=ee.get(k.location.pathname);De&&De.has(A.pathname)?Le={currentLocation:k.location,nextLocation:A}:ee.has(A.pathname)&&(Le={currentLocation:A,nextLocation:k.location})}else if(F){let De=ee.get(k.location.pathname);De?De.add(A.pathname):(De=new Set([A.pathname]),ee.set(k.location.pathname,De)),Le={currentLocation:k.location,nextLocation:A}}Q(Je({},j,{actionData:ae,loaderData:we,historyAction:M,location:A,initialized:!0,navigation:uc,revalidation:"idle",restoreScrollPosition:gh(A,j.matches||k.matches),preventScrollReset:me,blockers:pe}),{viewTransitionOpts:Le,flushSync:ge===!0}),M=mt.Pop,D=!1,F=!1,V=!1,q=!1,he=[]}async function Ce(A,j){if(typeof A=="number"){e.history.go(A);return}let G=yf(k.location,k.matches,a,d.v7_prependBasename,A,d.v7_relativeSplatPath,j==null?void 0:j.fromRouteId,j==null?void 0:j.relative),{path:te,submission:ue,error:ge}=am(d.v7_normalizeFormMethod,!1,G,j),be=k.location,ae=ms(k.location,te,j&&j.state);ae=Je({},ae,e.history.encodeLocation(ae));let we=j&&j.replace!=null?j.replace:void 0,pe=mt.Push;we===!0?pe=mt.Replace:we===!1||ue!=null&&Rn(ue.formMethod)&&ue.formAction===k.location.pathname+k.location.search&&(pe=mt.Replace);let me=j&&"preventScrollReset"in j?j.preventScrollReset===!0:void 0,Le=(j&&j.unstable_flushSync)===!0,De=mh({currentLocation:be,nextLocation:ae,historyAction:pe});if(De){As(De,{state:"blocked",location:ae,proceed(){As(De,{state:"proceeding",proceed:void 0,reset:void 0,location:ae}),Ce(A,j)},reset(){let Ke=new Map(k.blockers);Ke.set(De,xo),Q({blockers:Ke})}});return}return await fe(pe,ae,{submission:ue,pendingError:ge,preventScrollReset:me,replace:j&&j.replace,enableViewTransition:j&&j.unstable_viewTransition,flushSync:Le})}function ze(){if(B(),Q({revalidation:"loading"}),k.navigation.state!=="submitting"){if(k.navigation.state==="idle"){fe(k.historyAction,k.location,{startUninterruptedRevalidation:!0});return}fe(M||k.historyAction,k.navigation.location,{overrideNavigation:k.navigation,enableViewTransition:F===!0})}}async function fe(A,j,G){$&&$.abort(),$=null,M=A,V=(G&&G.startUninterruptedRevalidation)===!0,a1(k.location,k.matches),D=(G&&G.preventScrollReset)===!0,F=(G&&G.enableViewTransition)===!0;let te=l||s,ue=G&&G.overrideNavigation,ge=Hr(te,j,a),be=(G&&G.flushSync)===!0,ae=Bs(ge,te,j.pathname);if(ae.active&&ae.matches&&(ge=ae.matches),!ge){let{error:Pe,notFoundMatches:St,route:pt}=Pu(j.pathname);le(j,{matches:St,loaderData:{},errors:{[pt.id]:Pe}},{flushSync:be});return}if(k.initialized&&!q&&ek(k.location,j)&&!(G&&G.submission&&Rn(G.submission.formMethod))){le(j,{matches:ge},{flushSync:be});return}$=new AbortController;let we=vi(e.history,j,$.signal,G&&G.submission),pe;if(G&&G.pendingError)pe=[Ai(ge).route.id,{type:We.error,error:G.pendingError}];else if(G&&G.submission&&Rn(G.submission.formMethod)){let Pe=await He(we,j,G.submission,ge,ae.active,{replace:G.replace,flushSync:be});if(Pe.shortCircuited)return;if(Pe.pendingActionResult){let[St,pt]=Pe.pendingActionResult;if(Qt(pt)&&fu(pt.error)&&pt.error.status===404){$=null,le(j,{matches:Pe.matches,loaderData:{},errors:{[St]:pt.error}});return}}ge=Pe.matches||ge,pe=Pe.pendingActionResult,ue=cc(j,G.submission),be=!1,ae.active=!1,we=vi(e.history,we.url,we.signal)}let{shortCircuited:me,matches:Le,loaderData:De,errors:Ke}=await Re(we,j,ge,ae.active,ue,G&&G.submission,G&&G.fetcherSubmission,G&&G.replace,G&&G.initialHydration===!0,be,pe);me||($=null,le(j,Je({matches:Le||ge},pm(pe),{loaderData:De,errors:Ke})))}async function He(A,j,G,te,ue,ge){ge===void 0&&(ge={}),B();let be=ak(j,G);if(Q({navigation:be},{flushSync:ge.flushSync===!0}),ue){let pe=await Ds(te,j.pathname,A.signal);if(pe.type==="aborted")return{shortCircuited:!0};if(pe.type==="error"){let{boundaryId:me,error:Le}=Ns(j.pathname,pe);return{matches:pe.partialMatches,pendingActionResult:[me,{type:We.error,error:Le}]}}else if(pe.matches)te=pe.matches;else{let{notFoundMatches:me,error:Le,route:De}=Pu(j.pathname);return{matches:me,pendingActionResult:[De.id,{type:We.error,error:Le}]}}}let ae,we=Mo(te,j);if(!we.route.action&&!we.route.lazy)ae={type:We.error,error:Bt(405,{method:A.method,pathname:j.pathname,routeId:we.route.id})};else if(ae=(await L("action",k,A,[we],te,null))[we.route.id],A.signal.aborted)return{shortCircuited:!0};if(Yr(ae)){let pe;return ge&&ge.replace!=null?pe=ge.replace:pe=cm(ae.response.headers.get("Location"),new URL(A.url),a)===k.location.pathname+k.location.search,await T(A,ae,!0,{submission:G,replace:pe}),{shortCircuited:!0}}if(_r(ae))throw Bt(400,{type:"defer-action"});if(Qt(ae)){let pe=Ai(te,we.route.id);return(ge&&ge.replace)!==!0&&(M=mt.Push),{matches:te,pendingActionResult:[pe.route.id,ae]}}return{matches:te,pendingActionResult:[we.route.id,ae]}}async function Re(A,j,G,te,ue,ge,be,ae,we,pe,me){let Le=ue||cc(j,ge),De=ge||be||gm(Le),Ke=!V&&(!d.v7_partialHydration||!we);if(te){if(Ke){let it=rt(me);Q(Je({navigation:Le},it!==void 0?{actionData:it}:{}),{flushSync:pe})}let _e=await Ds(G,j.pathname,A.signal);if(_e.type==="aborted")return{shortCircuited:!0};if(_e.type==="error"){let{boundaryId:it,error:Yt}=Ns(j.pathname,_e);return{matches:_e.partialMatches,loaderData:{},errors:{[it]:Yt}}}else if(_e.matches)G=_e.matches;else{let{error:it,notFoundMatches:Yt,route:ot}=Pu(j.pathname);return{matches:Yt,loaderData:{},errors:{[ot.id]:it}}}}let Pe=l||s,[St,pt]=lm(e.history,k,G,De,j,d.v7_partialHydration&&we===!0,d.v7_skipActionErrorRevalidation,q,he,K,ne,Y,U,Pe,a,me);if(Ou(_e=>!(G&&G.some(it=>it.route.id===_e))||St&&St.some(it=>it.route.id===_e)),P=++re,St.length===0&&pt.length===0){let _e=dh();return le(j,Je({matches:G,loaderData:{},errors:me&&Qt(me[1])?{[me[0]]:me[1].error}:null},pm(me),_e?{fetchers:new Map(k.fetchers)}:{}),{flushSync:pe}),{shortCircuited:!0}}if(Ke){let _e={};if(!te){_e.navigation=Le;let it=rt(me);it!==void 0&&(_e.actionData=it)}pt.length>0&&(_e.fetchers=ht(pt)),Q(_e,{flushSync:pe})}pt.forEach(_e=>{H.has(_e.key)&&Be(_e.key),_e.controller&&H.set(_e.key,_e.controller)});let ho=()=>pt.forEach(_e=>Be(_e.key));$&&$.signal.addEventListener("abort",ho);let{loaderResults:Gn,fetcherResults:fi}=await W(k,G,St,pt,A);if(A.signal.aborted)return{shortCircuited:!0};$&&$.signal.removeEventListener("abort",ho),pt.forEach(_e=>H.delete(_e.key));let fr=aa(Gn);if(fr)return await T(A,fr.result,!0,{replace:ae}),{shortCircuited:!0};if(fr=aa(fi),fr)return U.add(fr.key),await T(A,fr.result,!0,{replace:ae}),{shortCircuited:!0};let{loaderData:js,errors:Kn}=dm(k,G,St,Gn,me,pt,fi,oe);oe.forEach((_e,it)=>{_e.subscribe(Yt=>{(Yt||_e.done)&&oe.delete(it)})}),d.v7_partialHydration&&we&&k.errors&&Object.entries(k.errors).filter(_e=>{let[it]=_e;return!St.some(Yt=>Yt.route.id===it)}).forEach(_e=>{let[it,Yt]=_e;Kn=Object.assign(Kn||{},{[it]:Yt})});let $s=dh(),Us=hh(P),Fs=$s||Us||pt.length>0;return Je({matches:G,loaderData:js,errors:Kn},Fs?{fetchers:new Map(k.fetchers)}:{})}function rt(A){if(A&&!Qt(A[1]))return{[A[0]]:A[1].data};if(k.actionData)return Object.keys(k.actionData).length===0?null:k.actionData}function ht(A){return A.forEach(j=>{let G=k.fetchers.get(j.key),te=ko(void 0,G?G.data:void 0);k.fetchers.set(j.key,te)}),new Map(k.fetchers)}function Vn(A,j,G,te){if(r)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");H.has(A)&&Be(A);let ue=(te&&te.unstable_flushSync)===!0,ge=l||s,be=yf(k.location,k.matches,a,d.v7_prependBasename,G,d.v7_relativeSplatPath,j,te==null?void 0:te.relative),ae=Hr(ge,be,a),we=Bs(ae,ge,be);if(we.active&&we.matches&&(ae=we.matches),!ae){ve(A,j,Bt(404,{pathname:be}),{flushSync:ue});return}let{path:pe,submission:me,error:Le}=am(d.v7_normalizeFormMethod,!0,be,te);if(Le){ve(A,j,Le,{flushSync:ue});return}let De=Mo(ae,pe);if(D=(te&&te.preventScrollReset)===!0,me&&Rn(me.formMethod)){h(A,j,pe,De,ae,we.active,ue,me);return}Y.set(A,{routeId:j,path:pe}),S(A,j,pe,De,ae,we.active,ue,me)}async function h(A,j,G,te,ue,ge,be,ae){B(),Y.delete(A);function we(ot){if(!ot.route.action&&!ot.route.lazy){let Yn=Bt(405,{method:ae.formMethod,pathname:G,routeId:j});return ve(A,j,Yn,{flushSync:be}),!0}return!1}if(!ge&&we(te))return;let pe=k.fetchers.get(A);Z(A,lk(ae,pe),{flushSync:be});let me=new AbortController,Le=vi(e.history,G,me.signal,ae);if(ge){let ot=await Ds(ue,G,Le.signal);if(ot.type==="aborted")return;if(ot.type==="error"){let{error:Yn}=Ns(G,ot);ve(A,j,Yn,{flushSync:be});return}else if(ot.matches){if(ue=ot.matches,te=Mo(ue,G),we(te))return}else{ve(A,j,Bt(404,{pathname:G}),{flushSync:be});return}}H.set(A,me);let De=re,Pe=(await L("action",k,Le,[te],ue,A))[te.route.id];if(Le.signal.aborted){H.get(A)===me&&H.delete(A);return}if(d.v7_fetcherPersist&&ne.has(A)){if(Yr(Pe)||Qt(Pe)){Z(A,pr(void 0));return}}else{if(Yr(Pe))if(H.delete(A),P>De){Z(A,pr(void 0));return}else return U.add(A),Z(A,ko(ae)),T(Le,Pe,!1,{fetcherSubmission:ae});if(Qt(Pe)){ve(A,j,Pe.error);return}}if(_r(Pe))throw Bt(400,{type:"defer-action"});let St=k.navigation.location||k.location,pt=vi(e.history,St,me.signal),ho=l||s,Gn=k.navigation.state!=="idle"?Hr(ho,k.navigation.location,a):k.matches;Ee(Gn,"Didn't find any matches after fetcher action");let fi=++re;C.set(A,fi);let fr=ko(ae,Pe.data);k.fetchers.set(A,fr);let[js,Kn]=lm(e.history,k,Gn,ae,St,!1,d.v7_skipActionErrorRevalidation,q,he,K,ne,Y,U,ho,a,[te.route.id,Pe]);Kn.filter(ot=>ot.key!==A).forEach(ot=>{let Yn=ot.key,wh=k.fetchers.get(Yn),c1=ko(void 0,wh?wh.data:void 0);k.fetchers.set(Yn,c1),H.has(Yn)&&Be(Yn),ot.controller&&H.set(Yn,ot.controller)}),Q({fetchers:new Map(k.fetchers)});let $s=()=>Kn.forEach(ot=>Be(ot.key));me.signal.addEventListener("abort",$s);let{loaderResults:Us,fetcherResults:Fs}=await W(k,Gn,js,Kn,pt);if(me.signal.aborted)return;me.signal.removeEventListener("abort",$s),C.delete(A),H.delete(A),Kn.forEach(ot=>H.delete(ot.key));let _e=aa(Us);if(_e)return T(pt,_e.result,!1);if(_e=aa(Fs),_e)return U.add(_e.key),T(pt,_e.result,!1);let{loaderData:it,errors:Yt}=dm(k,Gn,js,Us,void 0,Kn,Fs,oe);if(k.fetchers.has(A)){let ot=pr(Pe.data);k.fetchers.set(A,ot)}hh(fi),k.navigation.state==="loading"&&fi>P?(Ee(M,"Expected pending action"),$&&$.abort(),le(k.navigation.location,{matches:Gn,loaderData:it,errors:Yt,fetchers:new Map(k.fetchers)})):(Q({errors:Yt,loaderData:hm(k.loaderData,it,Gn,Yt),fetchers:new Map(k.fetchers)}),q=!1)}async function S(A,j,G,te,ue,ge,be,ae){let we=k.fetchers.get(A);Z(A,ko(ae,we?we.data:void 0),{flushSync:be});let pe=new AbortController,me=vi(e.history,G,pe.signal);if(ge){let Pe=await Ds(ue,G,me.signal);if(Pe.type==="aborted")return;if(Pe.type==="error"){let{error:St}=Ns(G,Pe);ve(A,j,St,{flushSync:be});return}else if(Pe.matches)ue=Pe.matches,te=Mo(ue,G);else{ve(A,j,Bt(404,{pathname:G}),{flushSync:be});return}}H.set(A,pe);let Le=re,Ke=(await L("loader",k,me,[te],ue,A))[te.route.id];if(_r(Ke)&&(Ke=await eh(Ke,me.signal,!0)||Ke),H.get(A)===pe&&H.delete(A),!me.signal.aborted){if(ne.has(A)){Z(A,pr(void 0));return}if(Yr(Ke))if(P>Le){Z(A,pr(void 0));return}else{U.add(A),await T(me,Ke,!1);return}if(Qt(Ke)){ve(A,j,Ke.error);return}Ee(!_r(Ke),"Unhandled fetcher deferred data"),Z(A,pr(Ke.data))}}async function T(A,j,G,te){let{submission:ue,fetcherSubmission:ge,replace:be}=te===void 0?{}:te;j.response.headers.has("X-Remix-Revalidate")&&(q=!0);let ae=j.response.headers.get("Location");Ee(ae,"Expected a Location header on the redirect Response"),ae=cm(ae,new URL(A.url),a);let we=ms(k.location,ae,{_isRedirect:!0});if(n){let Pe=!1;if(j.response.headers.has("X-Remix-Reload-Document"))Pe=!0;else if(Zd.test(ae)){const St=e.history.createURL(ae);Pe=St.origin!==t.location.origin||co(St.pathname,a)==null}if(Pe){be?t.location.replace(ae):t.location.assign(ae);return}}$=null;let pe=be===!0||j.response.headers.has("X-Remix-Replace")?mt.Replace:mt.Push,{formMethod:me,formAction:Le,formEncType:De}=k.navigation;!ue&&!ge&&me&&Le&&De&&(ue=gm(k.navigation));let Ke=ue||ge;if($2.has(j.response.status)&&Ke&&Rn(Ke.formMethod))await fe(pe,we,{submission:Je({},Ke,{formAction:ae}),preventScrollReset:D,enableViewTransition:G?F:void 0});else{let Pe=cc(we,ue);await fe(pe,we,{overrideNavigation:Pe,fetcherSubmission:ge,preventScrollReset:D,enableViewTransition:G?F:void 0})}}async function L(A,j,G,te,ue,ge){let be,ae={};try{be=await q2(u,A,j,G,te,ue,ge,o,i)}catch(we){return te.forEach(pe=>{ae[pe.route.id]={type:We.error,error:we}}),ae}for(let[we,pe]of Object.entries(be))if(nk(pe)){let me=pe.result;ae[we]={type:We.redirect,response:J2(me,G,we,ue,a,d.v7_relativeSplatPath)}}else ae[we]=await X2(pe);return ae}async function W(A,j,G,te,ue){let ge=A.matches,be=L("loader",A,ue,G,j,null),ae=Promise.all(te.map(async me=>{if(me.matches&&me.match&&me.controller){let De=(await L("loader",A,vi(e.history,me.path,me.controller.signal),[me.match],me.matches,me.key))[me.match.route.id];return{[me.key]:De}}else return Promise.resolve({[me.key]:{type:We.error,error:Bt(404,{pathname:me.path})}})})),we=await be,pe=(await ae).reduce((me,Le)=>Object.assign(me,Le),{});return await Promise.all([ok(j,we,ue.signal,ge,A.loaderData),sk(j,pe,te)]),{loaderResults:we,fetcherResults:pe}}function B(){q=!0,he.push(...Ou()),Y.forEach((A,j)=>{H.has(j)&&(K.add(j),Be(j))})}function Z(A,j,G){G===void 0&&(G={}),k.fetchers.set(A,j),Q({fetchers:new Map(k.fetchers)},{flushSync:(G&&G.flushSync)===!0})}function ve(A,j,G,te){te===void 0&&(te={});let ue=Ai(k.matches,j);Ve(A),Q({errors:{[ue.route.id]:G},fetchers:new Map(k.fetchers)},{flushSync:(te&&te.flushSync)===!0})}function xe(A){return d.v7_fetcherPersist&&(X.set(A,(X.get(A)||0)+1),ne.has(A)&&ne.delete(A)),k.fetchers.get(A)||U2}function Ve(A){let j=k.fetchers.get(A);H.has(A)&&!(j&&j.state==="loading"&&C.has(A))&&Be(A),Y.delete(A),C.delete(A),U.delete(A),ne.delete(A),K.delete(A),k.fetchers.delete(A)}function Me(A){if(d.v7_fetcherPersist){let j=(X.get(A)||0)-1;j<=0?(X.delete(A),ne.add(A)):X.set(A,j)}else Ve(A);Q({fetchers:new Map(k.fetchers)})}function Be(A){let j=H.get(A);Ee(j,"Expected fetch controller: "+A),j.abort(),H.delete(A)}function fh(A){for(let j of A){let G=xe(j),te=pr(G.data);k.fetchers.set(j,te)}}function dh(){let A=[],j=!1;for(let G of U){let te=k.fetchers.get(G);Ee(te,"Expected fetcher: "+G),te.state==="loading"&&(U.delete(G),A.push(G),j=!0)}return fh(A),j}function hh(A){let j=[];for(let[G,te]of C)if(te0}function o1(A,j){let G=k.blockers.get(A)||xo;return ye.get(A)!==j&&ye.set(A,j),G}function ph(A){k.blockers.delete(A),ye.delete(A)}function As(A,j){let G=k.blockers.get(A)||xo;Ee(G.state==="unblocked"&&j.state==="blocked"||G.state==="blocked"&&j.state==="blocked"||G.state==="blocked"&&j.state==="proceeding"||G.state==="blocked"&&j.state==="unblocked"||G.state==="proceeding"&&j.state==="unblocked","Invalid blocker state transition: "+G.state+" -> "+j.state);let te=new Map(k.blockers);te.set(A,j),Q({blockers:te})}function mh(A){let{currentLocation:j,nextLocation:G,historyAction:te}=A;if(ye.size===0)return;ye.size>1&&Zi(!1,"A router only supports one blocker at a time");let ue=Array.from(ye.entries()),[ge,be]=ue[ue.length-1],ae=k.blockers.get(ge);if(!(ae&&ae.state==="proceeding")&&be({currentLocation:j,nextLocation:G,historyAction:te}))return ge}function Pu(A){let j=Bt(404,{pathname:A}),G=l||s,{matches:te,route:ue}=mm(G);return Ou(),{notFoundMatches:te,route:ue,error:j}}function Ns(A,j){return{boundaryId:Ai(j.partialMatches).route.id,error:Bt(400,{type:"route-discovery",pathname:A,message:j.error!=null&&"message"in j.error?j.error:String(j.error)})}}function Ou(A){let j=[];return oe.forEach((G,te)=>{(!A||A(te))&&(G.cancel(),j.push(te),oe.delete(te))}),j}function s1(A,j,G){if(x=A,y=j,g=G||null,!p&&k.navigation===uc){p=!0;let te=gh(k.location,k.matches);te!=null&&Q({restoreScrollPosition:te})}return()=>{x=null,y=null,g=null}}function yh(A,j){return g&&g(A,j.map(te=>g2(te,k.loaderData)))||A.key}function a1(A,j){if(x&&y){let G=yh(A,j);x[G]=y()}}function gh(A,j){if(x){let G=yh(A,j),te=x[G];if(typeof te=="number")return te}return null}function Bs(A,j,G){if(f){if(m.has(G))return{active:!1,matches:A};if(A){if(Object.keys(A[0].params).length>0)return{active:!0,matches:Ra(j,G,a,!0)}}else return{active:!0,matches:Ra(j,G,a,!0)||[]}}return{active:!1,matches:null}}async function Ds(A,j,G){let te=A;for(;;){let ue=l==null,ge=l||s;try{await G2(f,j,te,ge,o,i,de,G)}catch(we){return{type:"error",error:we,partialMatches:te}}finally{ue&&(s=[...s])}if(G.aborted)return{type:"aborted"};let be=Hr(ge,j,a);if(be)return vh(j,m),{type:"success",matches:be};let ae=Ra(ge,j,a,!0);if(!ae||te.length===ae.length&&te.every((we,pe)=>we.route.id===ae[pe].route.id))return vh(j,m),{type:"success",matches:null};te=ae}}function vh(A,j){if(j.size>=c){let G=j.values().next().value;j.delete(G)}j.add(A)}function l1(A){o={},l=ys(A,i,void 0,o)}function u1(A,j){let G=l==null;mv(A,j,l||s,o,i),G&&(s=[...s],Q({}))}return R={get basename(){return a},get future(){return d},get state(){return k},get routes(){return s},get window(){return t},initialize:ke,subscribe:O,enableScrollRestoration:s1,navigate:Ce,fetch:Vn,revalidate:ze,createHref:A=>e.history.createHref(A),encodeLocation:A=>e.history.encodeLocation(A),getFetcher:xe,deleteFetcher:Me,dispose:I,getBlocker:o1,deleteBlocker:ph,patchRoutes:u1,_internalFetchControllers:H,_internalActiveDeferreds:oe,_internalSetRoutes:l1},R}function W2(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function yf(e,t,n,r,i,o,s,l){let a,u;if(s){a=[];for(let d of t)if(a.push(d),d.route.id===s){u=d;break}}else a=t,u=t[t.length-1];let f=Jd(i||".",Xd(a,o),co(e.pathname,n)||e.pathname,l==="path");return i==null&&(f.search=e.search,f.hash=e.hash),(i==null||i===""||i===".")&&u&&u.route.index&&!th(f.search)&&(f.search=f.search?f.search.replace(/^\?/,"?index&"):"?index"),r&&n!=="/"&&(f.pathname=f.pathname==="/"?n:tr([n,f.pathname])),ii(f)}function am(e,t,n,r){if(!r||!W2(r))return{path:n};if(r.formMethod&&!ik(r.formMethod))return{path:n,error:Bt(405,{method:r.formMethod})};let i=()=>({path:n,error:Bt(400,{type:"invalid-body"})}),o=r.formMethod||"get",s=e?o.toUpperCase():o.toLowerCase(),l=yv(n);if(r.body!==void 0){if(r.formEncType==="text/plain"){if(!Rn(s))return i();let w=typeof r.body=="string"?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((b,c)=>{let[m,x]=c;return""+b+m+"="+x+` +`},""):String(r.body);return{path:n,submission:{formMethod:s,formAction:l,formEncType:r.formEncType,formData:void 0,json:void 0,text:w}}}else if(r.formEncType==="application/json"){if(!Rn(s))return i();try{let w=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:s,formAction:l,formEncType:r.formEncType,formData:void 0,json:w,text:void 0}}}catch{return i()}}}Ee(typeof FormData=="function","FormData is not available in this environment");let a,u;if(r.formData)a=gf(r.formData),u=r.formData;else if(r.body instanceof FormData)a=gf(r.body),u=r.body;else if(r.body instanceof URLSearchParams)a=r.body,u=fm(a);else if(r.body==null)a=new URLSearchParams,u=new FormData;else try{a=new URLSearchParams(r.body),u=fm(a)}catch{return i()}let f={formMethod:s,formAction:l,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:u,json:void 0,text:void 0};if(Rn(f.formMethod))return{path:n,submission:f};let d=Dr(n);return t&&d.search&&th(d.search)&&a.append("index",""),d.search="?"+a,{path:ii(d),submission:f}}function H2(e,t){let n=e;if(t){let r=e.findIndex(i=>i.route.id===t);r>=0&&(n=e.slice(0,r))}return n}function lm(e,t,n,r,i,o,s,l,a,u,f,d,w,b,c,m){let x=m?Qt(m[1])?m[1].error:m[1].data:void 0,g=e.createURL(t.location),y=e.createURL(i),p=m&&Qt(m[1])?m[0]:void 0,v=p?H2(n,p):n,_=m?m[1].statusCode:void 0,E=s&&_&&_>=400,R=v.filter((M,D)=>{let{route:$}=M;if($.lazy)return!0;if($.loader==null)return!1;if(o)return typeof $.loader!="function"||$.loader.hydrate?!0:t.loaderData[$.id]===void 0&&(!t.errors||t.errors[$.id]===void 0);if(V2(t.loaderData,t.matches[D],M)||a.some(z=>z===M.route.id))return!0;let F=t.matches[D],ee=M;return um(M,Je({currentUrl:g,currentParams:F.params,nextUrl:y,nextParams:ee.params},r,{actionResult:x,actionStatus:_,defaultShouldRevalidate:E?!1:l||g.pathname+g.search===y.pathname+y.search||g.search!==y.search||pv(F,ee)}))}),k=[];return d.forEach((M,D)=>{if(o||!n.some(V=>V.route.id===M.routeId)||f.has(D))return;let $=Hr(b,M.path,c);if(!$){k.push({key:D,routeId:M.routeId,path:M.path,matches:null,match:null,controller:null});return}let F=t.fetchers.get(D),ee=Mo($,M.path),z=!1;w.has(D)?z=!1:u.has(D)?(u.delete(D),z=!0):F&&F.state!=="idle"&&F.data===void 0?z=l:z=um(ee,Je({currentUrl:g,currentParams:t.matches[t.matches.length-1].params,nextUrl:y,nextParams:n[n.length-1].params},r,{actionResult:x,actionStatus:_,defaultShouldRevalidate:E?!1:l})),z&&k.push({key:D,routeId:M.routeId,path:M.path,matches:$,match:ee,controller:new AbortController})}),[R,k]}function V2(e,t,n){let r=!t||n.route.id!==t.route.id,i=e[n.route.id]===void 0;return r||i}function pv(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function um(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n=="boolean")return n}return t.defaultShouldRevalidate}async function G2(e,t,n,r,i,o,s,l){let a=[t,...n.map(u=>u.route.id)].join("-");try{let u=s.get(a);u||(u=e({path:t,matches:n,patch:(f,d)=>{l.aborted||mv(f,d,r,i,o)}}),s.set(a,u)),u&&tk(u)&&await u}finally{s.delete(a)}}function mv(e,t,n,r,i){if(e){var o;let s=r[e];Ee(s,"No route found to patch children into: routeId = "+e);let l=ys(t,i,[e,"patch",String(((o=s.children)==null?void 0:o.length)||"0")],r);s.children?s.children.push(...l):s.children=l}else{let s=ys(t,i,["patch",String(n.length||"0")],r);n.push(...s)}}async function K2(e,t,n){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let i=n[e.id];Ee(i,"No route found in manifest");let o={};for(let s in r){let a=i[s]!==void 0&&s!=="hasErrorBoundary";Zi(!a,'Route "'+i.id+'" has a static property "'+s+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+s+'" will be ignored.')),!a&&!m2.has(s)&&(o[s]=r[s])}Object.assign(i,o),Object.assign(i,Je({},t(i),{lazy:void 0}))}async function Y2(e){let{matches:t}=e,n=t.filter(i=>i.shouldLoad);return(await Promise.all(n.map(i=>i.resolve()))).reduce((i,o,s)=>Object.assign(i,{[n[s].route.id]:o}),{})}async function q2(e,t,n,r,i,o,s,l,a,u){let f=o.map(b=>b.route.lazy?K2(b.route,a,l):void 0),d=o.map((b,c)=>{let m=f[c],x=i.some(y=>y.route.id===b.route.id);return Je({},b,{shouldLoad:x,resolve:async y=>(y&&r.method==="GET"&&(b.route.lazy||b.route.loader)&&(x=!0),x?Q2(t,r,b,m,y,u):Promise.resolve({type:We.data,result:void 0}))})}),w=await e({matches:d,request:r,params:o[0].params,fetcherKey:s,context:u});try{await Promise.all(f)}catch{}return w}async function Q2(e,t,n,r,i,o){let s,l,a=u=>{let f,d=new Promise((c,m)=>f=m);l=()=>f(),t.signal.addEventListener("abort",l);let w=c=>typeof u!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+e+'" [routeId: '+n.route.id+"]"))):u({request:t,params:n.params,context:o},...c!==void 0?[c]:[]),b=(async()=>{try{return{type:"data",result:await(i?i(m=>w(m)):w())}}catch(c){return{type:"error",result:c}}})();return Promise.race([b,d])};try{let u=n.route[e];if(r)if(u){let f,[d]=await Promise.all([a(u).catch(w=>{f=w}),r]);if(f!==void 0)throw f;s=d}else if(await r,u=n.route[e],u)s=await a(u);else if(e==="action"){let f=new URL(t.url),d=f.pathname+f.search;throw Bt(405,{method:t.method,pathname:d,routeId:n.route.id})}else return{type:We.data,result:void 0};else if(u)s=await a(u);else{let f=new URL(t.url),d=f.pathname+f.search;throw Bt(404,{pathname:d})}Ee(s.result!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+n.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(u){return{type:We.error,result:u}}finally{l&&t.signal.removeEventListener("abort",l)}return s}async function X2(e){let{result:t,type:n}=e;if(gv(t)){let u;try{let f=t.headers.get("Content-Type");f&&/\bapplication\/json\b/.test(f)?t.body==null?u=null:u=await t.json():u=await t.text()}catch(f){return{type:We.error,error:f}}return n===We.error?{type:We.error,error:new il(t.status,t.statusText,u),statusCode:t.status,headers:t.headers}:{type:We.data,data:u,statusCode:t.status,headers:t.headers}}if(n===We.error){if(ym(t)){var r;if(t.data instanceof Error){var i;return{type:We.error,error:t.data,statusCode:(i=t.init)==null?void 0:i.status}}t=new il(((r=t.init)==null?void 0:r.status)||500,void 0,t.data)}return{type:We.error,error:t,statusCode:fu(t)?t.status:void 0}}if(rk(t)){var o,s;return{type:We.deferred,deferredData:t,statusCode:(o=t.init)==null?void 0:o.status,headers:((s=t.init)==null?void 0:s.headers)&&new Headers(t.init.headers)}}if(ym(t)){var l,a;return{type:We.data,data:t.data,statusCode:(l=t.init)==null?void 0:l.status,headers:(a=t.init)!=null&&a.headers?new Headers(t.init.headers):void 0}}return{type:We.data,data:t}}function J2(e,t,n,r,i,o){let s=e.headers.get("Location");if(Ee(s,"Redirects returned/thrown from loaders/actions must have a Location header"),!Zd.test(s)){let l=r.slice(0,r.findIndex(a=>a.route.id===n)+1);s=yf(new URL(t.url),l,i,!0,s,o),e.headers.set("Location",s)}return e}function cm(e,t,n){if(Zd.test(e)){let r=e,i=r.startsWith("//")?new URL(t.protocol+r):new URL(r),o=co(i.pathname,n)!=null;if(i.origin===t.origin&&o)return i.pathname+i.search+i.hash}return e}function vi(e,t,n,r){let i=e.createURL(yv(t)).toString(),o={signal:n};if(r&&Rn(r.formMethod)){let{formMethod:s,formEncType:l}=r;o.method=s.toUpperCase(),l==="application/json"?(o.headers=new Headers({"Content-Type":l}),o.body=JSON.stringify(r.json)):l==="text/plain"?o.body=r.text:l==="application/x-www-form-urlencoded"&&r.formData?o.body=gf(r.formData):o.body=r.formData}return new Request(i,o)}function gf(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,typeof r=="string"?r:r.name);return t}function fm(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function Z2(e,t,n,r,i){let o={},s=null,l,a=!1,u={},f=n&&Qt(n[1])?n[1].error:void 0;return e.forEach(d=>{if(!(d.route.id in t))return;let w=d.route.id,b=t[w];if(Ee(!Yr(b),"Cannot handle redirect results in processLoaderData"),Qt(b)){let c=b.error;f!==void 0&&(c=f,f=void 0),s=s||{};{let m=Ai(e,w);s[m.route.id]==null&&(s[m.route.id]=c)}o[w]=void 0,a||(a=!0,l=fu(b.error)?b.error.status:500),b.headers&&(u[w]=b.headers)}else _r(b)?(r.set(w,b.deferredData),o[w]=b.deferredData.data,b.statusCode!=null&&b.statusCode!==200&&!a&&(l=b.statusCode),b.headers&&(u[w]=b.headers)):(o[w]=b.data,b.statusCode&&b.statusCode!==200&&!a&&(l=b.statusCode),b.headers&&(u[w]=b.headers))}),f!==void 0&&n&&(s={[n[0]]:f},o[n[0]]=void 0),{loaderData:o,errors:s,statusCode:l||200,loaderHeaders:u}}function dm(e,t,n,r,i,o,s,l){let{loaderData:a,errors:u}=Z2(t,r,i,l);return o.forEach(f=>{let{key:d,match:w,controller:b}=f,c=s[d];if(Ee(c,"Did not find corresponding fetcher result"),!(b&&b.signal.aborted))if(Qt(c)){let m=Ai(e.matches,w==null?void 0:w.route.id);u&&u[m.route.id]||(u=Je({},u,{[m.route.id]:c.error})),e.fetchers.delete(d)}else if(Yr(c))Ee(!1,"Unhandled fetcher revalidation redirect");else if(_r(c))Ee(!1,"Unhandled fetcher deferred data");else{let m=pr(c.data);e.fetchers.set(d,m)}}),{loaderData:a,errors:u}}function hm(e,t,n,r){let i=Je({},t);for(let o of n){let s=o.route.id;if(t.hasOwnProperty(s)?t[s]!==void 0&&(i[s]=t[s]):e[s]!==void 0&&o.route.loader&&(i[s]=e[s]),r&&r.hasOwnProperty(s))break}return i}function pm(e){return e?Qt(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function Ai(e,t){return(t?e.slice(0,e.findIndex(r=>r.route.id===t)+1):[...e]).reverse().find(r=>r.route.hasErrorBoundary===!0)||e[0]}function mm(e){let t=e.length===1?e[0]:e.find(n=>n.index||!n.path||n.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function Bt(e,t){let{pathname:n,routeId:r,method:i,type:o,message:s}=t===void 0?{}:t,l="Unknown Server Error",a="Unknown @remix-run/router error";return e===400?(l="Bad Request",o==="route-discovery"?a='Unable to match URL "'+n+'" - the `unstable_patchRoutesOnNavigation()` '+(`function threw the following error: +`+s):i&&n&&r?a="You made a "+i+' request to "'+n+'" but '+('did not provide a `loader` for route "'+r+'", ')+"so there is no way to handle the request.":o==="defer-action"?a="defer() is not supported in actions":o==="invalid-body"&&(a="Unable to encode submission body")):e===403?(l="Forbidden",a='Route "'+r+'" does not match URL "'+n+'"'):e===404?(l="Not Found",a='No route matches URL "'+n+'"'):e===405&&(l="Method Not Allowed",i&&n&&r?a="You made a "+i.toUpperCase()+' request to "'+n+'" but '+('did not provide an `action` for route "'+r+'", ')+"so there is no way to handle the request.":i&&(a='Invalid request method "'+i.toUpperCase()+'"')),new il(e||500,l,new Error(a),!0)}function aa(e){let t=Object.entries(e);for(let n=t.length-1;n>=0;n--){let[r,i]=t[n];if(Yr(i))return{key:r,result:i}}}function yv(e){let t=typeof e=="string"?Dr(e):e;return ii(Je({},t,{hash:""}))}function ek(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function tk(e){return typeof e=="object"&&e!=null&&"then"in e}function nk(e){return gv(e.result)&&j2.has(e.result.status)}function _r(e){return e.type===We.deferred}function Qt(e){return e.type===We.error}function Yr(e){return(e&&e.type)===We.redirect}function ym(e){return typeof e=="object"&&e!=null&&"type"in e&&"data"in e&&"init"in e&&e.type==="DataWithResponseInit"}function rk(e){let t=e;return t&&typeof t=="object"&&typeof t.data=="object"&&typeof t.subscribe=="function"&&typeof t.cancel=="function"&&typeof t.resolveData=="function"}function gv(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function ik(e){return D2.has(e.toLowerCase())}function Rn(e){return N2.has(e.toLowerCase())}async function ok(e,t,n,r,i){let o=Object.entries(t);for(let s=0;s(w==null?void 0:w.route.id)===l);if(!u)continue;let f=r.find(w=>w.route.id===u.route.id),d=f!=null&&!pv(f,u)&&(i&&i[u.route.id])!==void 0;_r(a)&&d&&await eh(a,n,!1).then(w=>{w&&(t[l]=w)})}}async function sk(e,t,n){for(let r=0;r(u==null?void 0:u.route.id)===o)&&_r(l)&&(Ee(s,"Expected an AbortController for revalidating fetcher deferred result"),await eh(l,s.signal,!0).then(u=>{u&&(t[i]=u)}))}}async function eh(e,t,n){if(n===void 0&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:We.data,data:e.deferredData.unwrappedData}}catch(i){return{type:We.error,error:i}}return{type:We.data,data:e.deferredData.data}}}function th(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function Mo(e,t){let n=typeof t=="string"?Dr(t).search:t.search;if(e[e.length-1].route.index&&th(n||""))return e[e.length-1];let r=fv(e);return r[r.length-1]}function gm(e){let{formMethod:t,formAction:n,formEncType:r,text:i,formData:o,json:s}=e;if(!(!t||!n||!r)){if(i!=null)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:i};if(o!=null)return{formMethod:t,formAction:n,formEncType:r,formData:o,json:void 0,text:void 0};if(s!==void 0)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:s,text:void 0}}}function cc(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function ak(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function ko(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function lk(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function pr(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function uk(e,t){try{let n=e.sessionStorage.getItem(hv);if(n){let r=JSON.parse(n);for(let[i,o]of Object.entries(r||{}))o&&Array.isArray(o)&&t.set(i,new Set(o||[]))}}catch{}}function ck(e,t){if(t.size>0){let n={};for(let[r,i]of t)n[r]=[...i];try{e.sessionStorage.setItem(hv,JSON.stringify(n))}catch(r){Zi(!1,"Failed to save applied view transitions in sessionStorage ("+r+").")}}}/** + * React Router v6.26.2 + * + * 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 ol(){return ol=Object.assign?Object.assign.bind():function(e){for(var t=1;t{l.current=!0}),N.useCallback(function(u,f){if(f===void 0&&(f={}),!l.current)return;if(typeof u=="number"){r.go(u);return}let d=Jd(u,JSON.parse(s),o,f.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:tr([t,d.pathname])),(f.replace?r.replace:r.push)(d,f.state,f)},[t,r,s,o,e])}const pk=N.createContext(null);function mk(e){let t=N.useContext(jr).outlet;return t&&N.createElement(pk.Provider,{value:e},t)}function Sv(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=N.useContext(ui),{matches:i}=N.useContext(jr),{pathname:o}=hu(),s=JSON.stringify(Xd(i,r.v7_relativeSplatPath));return N.useMemo(()=>Jd(e,JSON.parse(s),o,n==="path"),[e,s,o,n])}function yk(e,t,n,r){Ms()||Ee(!1);let{navigator:i}=N.useContext(ui),{matches:o}=N.useContext(jr),s=o[o.length-1],l=s?s.params:{};s&&s.pathname;let a=s?s.pathnameBase:"/";s&&s.route;let u=hu(),f;f=u;let d=f.pathname||"/",w=d;if(a!=="/"){let m=a.replace(/^\//,"").split("/");w="/"+d.replace(/^\//,"").split("/").slice(m.length).join("/")}let b=Hr(e,{pathname:w});return Sk(b&&b.map(m=>Object.assign({},m,{params:Object.assign({},l,m.params),pathname:tr([a,i.encodeLocation?i.encodeLocation(m.pathname).pathname:m.pathname]),pathnameBase:m.pathnameBase==="/"?a:tr([a,i.encodeLocation?i.encodeLocation(m.pathnameBase).pathname:m.pathnameBase])})),o,n,r)}function gk(){let e=kk(),t=fu(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return N.createElement(N.Fragment,null,N.createElement("h2",null,"Unexpected Application Error!"),N.createElement("h3",{style:{fontStyle:"italic"}},t),n?N.createElement("pre",{style:i},n):null,null)}const vk=N.createElement(gk,null);class wk extends N.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?N.createElement(jr.Provider,{value:this.props.routeContext},N.createElement(wv.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function bk(e){let{routeContext:t,match:n,children:r}=e,i=N.useContext(du);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),N.createElement(jr.Provider,{value:t},r)}function Sk(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if(!n)return null;if(n.errors)e=n.matches;else if((o=r)!=null&&o.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let s=e,l=(i=n)==null?void 0:i.errors;if(l!=null){let f=s.findIndex(d=>d.route.id&&(l==null?void 0:l[d.route.id])!==void 0);f>=0||Ee(!1),s=s.slice(0,Math.min(s.length,f+1))}let a=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let f=0;f=0?s=s.slice(0,u+1):s=[s[0]];break}}}return s.reduceRight((f,d,w)=>{let b,c=!1,m=null,x=null;n&&(b=l&&d.route.id?l[d.route.id]:void 0,m=d.route.errorElement||vk,a&&(u<0&&w===0?(c=!0,x=null):u===w&&(c=!0,x=d.route.hydrateFallbackElement||null)));let g=t.concat(s.slice(0,w+1)),y=()=>{let p;return b?p=m:c?p=x:d.route.Component?p=N.createElement(d.route.Component,null):d.route.element?p=d.route.element:p=f,N.createElement(bk,{match:d,routeContext:{outlet:f,matches:g,isDataRoute:n!=null},children:p})};return n&&(d.route.ErrorBoundary||d.route.errorElement||w===0)?N.createElement(wk,{location:n.location,revalidation:n.revalidation,component:m,error:b,children:y(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):y()},null)}var _v=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(_v||{}),sl=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(sl||{});function _k(e){let t=N.useContext(du);return t||Ee(!1),t}function Ek(e){let t=N.useContext(vv);return t||Ee(!1),t}function xk(e){let t=N.useContext(jr);return t||Ee(!1),t}function Ev(e){let t=xk(),n=t.matches[t.matches.length-1];return n.route.id||Ee(!1),n.route.id}function kk(){var e;let t=N.useContext(wv),n=Ek(sl.UseRouteError),r=Ev(sl.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function Tk(){let{router:e}=_k(_v.UseNavigateStable),t=Ev(sl.UseNavigateStable),n=N.useRef(!1);return bv(()=>{n.current=!0}),N.useCallback(function(i,o){o===void 0&&(o={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,ol({fromRouteId:t},o)))},[e,t])}function Rk(e){return mk(e.context)}function bi(e){Ee(!1)}function Ck(e){let{basename:t="/",children:n=null,location:r,navigationType:i=mt.Pop,navigator:o,static:s=!1,future:l}=e;Ms()&&Ee(!1);let a=t.replace(/^\/*/,"/"),u=N.useMemo(()=>({basename:a,navigator:o,static:s,future:ol({v7_relativeSplatPath:!1},l)}),[a,l,o,s]);typeof r=="string"&&(r=Dr(r));let{pathname:f="/",search:d="",hash:w="",state:b=null,key:c="default"}=r,m=N.useMemo(()=>{let x=co(f,a);return x==null?null:{location:{pathname:x,search:d,hash:w,state:b,key:c},navigationType:i}},[a,f,d,w,b,c,i]);return m==null?null:N.createElement(ui.Provider,{value:u},N.createElement(nh.Provider,{children:n,value:m}))}new Promise(()=>{});function vf(e,t){t===void 0&&(t=[]);let n=[];return N.Children.forEach(e,(r,i)=>{if(!N.isValidElement(r))return;let o=[...t,i];if(r.type===N.Fragment){n.push.apply(n,vf(r.props.children,o));return}r.type!==bi&&Ee(!1),!r.props.index||!r.props.children||Ee(!1);let s={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=vf(r.props.children,o)),n.push(s)}),n}function Pk(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:N.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:N.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:N.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/** + * React Router DOM v6.26.2 + * + * 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 gs(){return gs=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function Ik(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Mk(e,t){return e.button===0&&(!t||t==="_self")&&!Ik(e)}const Lk=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],Ak="6";try{window.__reactRouterVersion=Ak}catch{}function Nk(e,t){return z2({basename:t==null?void 0:t.basename,future:gs({},t==null?void 0:t.future,{v7_prependBasename:!0}),history:d2({window:t==null?void 0:t.window}),hydrationData:(t==null?void 0:t.hydrationData)||Bk(),routes:e,mapRouteProperties:Pk,unstable_dataStrategy:t==null?void 0:t.unstable_dataStrategy,unstable_patchRoutesOnNavigation:t==null?void 0:t.unstable_patchRoutesOnNavigation,window:t==null?void 0:t.window}).initialize()}function Bk(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=gs({},t,{errors:Dk(t.errors)})),t}function Dk(e){if(!e)return null;let t=Object.entries(e),n={};for(let[r,i]of t)if(i&&i.__type==="RouteErrorResponse")n[r]=new il(i.status,i.statusText,i.data,i.internal===!0);else if(i&&i.__type==="Error"){if(i.__subType){let o=window[i.__subType];if(typeof o=="function")try{let s=new o(i.message);s.stack="",n[r]=s}catch{}}if(n[r]==null){let o=new Error(i.message);o.stack="",n[r]=o}}else n[r]=i;return n}const jk=N.createContext({isTransitioning:!1}),$k=N.createContext(new Map),Uk="startTransition",vm=Wi[Uk],Fk="flushSync",wm=Bb[Fk];function zk(e){vm?vm(e):e()}function To(e){wm?wm(e):e()}class Wk{constructor(){this.status="pending",this.promise=new Promise((t,n)=>{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",t(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",n(r))}})}}function Hk(e){let{fallbackElement:t,router:n,future:r}=e,[i,o]=N.useState(n.state),[s,l]=N.useState(),[a,u]=N.useState({isTransitioning:!1}),[f,d]=N.useState(),[w,b]=N.useState(),[c,m]=N.useState(),x=N.useRef(new Map),{v7_startTransition:g}=r||{},y=N.useCallback(k=>{g?zk(k):k()},[g]),p=N.useCallback((k,M)=>{let{deletedFetchers:D,unstable_flushSync:$,unstable_viewTransitionOpts:F}=M;D.forEach(z=>x.current.delete(z)),k.fetchers.forEach((z,V)=>{z.data!==void 0&&x.current.set(V,z.data)});let ee=n.window==null||n.window.document==null||typeof n.window.document.startViewTransition!="function";if(!F||ee){$?To(()=>o(k)):y(()=>o(k));return}if($){To(()=>{w&&(f&&f.resolve(),w.skipTransition()),u({isTransitioning:!0,flushSync:!0,currentLocation:F.currentLocation,nextLocation:F.nextLocation})});let z=n.window.document.startViewTransition(()=>{To(()=>o(k))});z.finished.finally(()=>{To(()=>{d(void 0),b(void 0),l(void 0),u({isTransitioning:!1})})}),To(()=>b(z));return}w?(f&&f.resolve(),w.skipTransition(),m({state:k,currentLocation:F.currentLocation,nextLocation:F.nextLocation})):(l(k),u({isTransitioning:!0,flushSync:!1,currentLocation:F.currentLocation,nextLocation:F.nextLocation}))},[n.window,w,f,x,y]);N.useLayoutEffect(()=>n.subscribe(p),[n,p]),N.useEffect(()=>{a.isTransitioning&&!a.flushSync&&d(new Wk)},[a]),N.useEffect(()=>{if(f&&s&&n.window){let k=s,M=f.promise,D=n.window.document.startViewTransition(async()=>{y(()=>o(k)),await M});D.finished.finally(()=>{d(void 0),b(void 0),l(void 0),u({isTransitioning:!1})}),b(D)}},[y,s,f,n.window]),N.useEffect(()=>{f&&s&&i.location.key===s.location.key&&f.resolve()},[f,w,i.location,s]),N.useEffect(()=>{!a.isTransitioning&&c&&(l(c.state),u({isTransitioning:!0,flushSync:!1,currentLocation:c.currentLocation,nextLocation:c.nextLocation}),m(void 0))},[a.isTransitioning,c]),N.useEffect(()=>{},[]);let v=N.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:k=>n.navigate(k),push:(k,M,D)=>n.navigate(k,{state:M,preventScrollReset:D==null?void 0:D.preventScrollReset}),replace:(k,M,D)=>n.navigate(k,{replace:!0,state:M,preventScrollReset:D==null?void 0:D.preventScrollReset})}),[n]),_=n.basename||"/",E=N.useMemo(()=>({router:n,navigator:v,static:!1,basename:_}),[n,v,_]),R=N.useMemo(()=>({v7_relativeSplatPath:n.future.v7_relativeSplatPath}),[n.future.v7_relativeSplatPath]);return N.createElement(N.Fragment,null,N.createElement(du.Provider,{value:E},N.createElement(vv.Provider,{value:i},N.createElement($k.Provider,{value:x.current},N.createElement(jk.Provider,{value:a},N.createElement(Ck,{basename:_,location:i.location,navigationType:i.historyAction,navigator:v,future:R},i.initialized||n.future.v7_partialHydration?N.createElement(Vk,{routes:n.routes,future:n.future,state:i}):t))))),null)}const Vk=N.memo(Gk);function Gk(e){let{routes:t,future:n,state:r}=e;return yk(t,void 0,r,n)}const Kk=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Yk=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,qk=N.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:o,replace:s,state:l,target:a,to:u,preventScrollReset:f,unstable_viewTransition:d}=t,w=Ok(t,Lk),{basename:b}=N.useContext(ui),c,m=!1;if(typeof u=="string"&&Yk.test(u)&&(c=u,Kk))try{let p=new URL(window.location.href),v=u.startsWith("//")?new URL(p.protocol+u):new URL(u),_=co(v.pathname,b);v.origin===p.origin&&_!=null?u=_+v.search+v.hash:m=!0}catch{}let x=fk(u,{relative:i}),g=Qk(u,{replace:s,state:l,target:a,preventScrollReset:f,relative:i,unstable_viewTransition:d});function y(p){r&&r(p),p.defaultPrevented||g(p)}return N.createElement("a",gs({},w,{href:c||x,onClick:m||o?r:y,ref:n,target:a}))});var bm;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(bm||(bm={}));var Sm;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Sm||(Sm={}));function Qk(e,t){let{target:n,replace:r,state:i,preventScrollReset:o,relative:s,unstable_viewTransition:l}=t===void 0?{}:t,a=dk(),u=hu(),f=Sv(e,{relative:s});return N.useCallback(d=>{if(Mk(d,n)){d.preventDefault();let w=r!==void 0?r:ii(u)===ii(f);a(e,{replace:w,state:i,preventScrollReset:o,relative:s,unstable_viewTransition:l})}},[u,a,f,r,i,n,e,o,s,l])}const Xk="/party-game-template/",Jk=!1,VP="https://api.jamsocket.live/db/1ULc1Y0M2JDsSsAx3p2b/";var Ls={},fc={exports:{}},_m;function Zk(){return _m||(_m=1,function(e){function t(n,r){if(n==null)return{};var i={},o=Object.keys(n),s,l;for(l=0;l=0)&&(i[s]=n[s]);return i}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(fc)),fc.exports}const eT=lr(KS),tT=lr(YS),nT=lr(e_),rT=lr(rE),iT=lr(F_),oT=lr(Y_);var fo=uu;Object.defineProperty(Ls,"__esModule",{value:!0});var sT=Ls.default=wT;Ls.shouldForwardProp=Ca;Ls.systemDefaultTheme=void 0;var fn=fo(A0()),wf=fo(Zk()),Em=hT(eT),aT=tT;fo(nT);fo(rT);var lT=fo(iT),uT=fo(oT);const cT=["ownerState"],fT=["variants"],dT=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function xv(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(xv=function(r){return r?n:t})(e)}function hT(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=xv(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!=="default"&&Object.prototype.hasOwnProperty.call(e,o)){var s=i?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}function pT(e){return Object.keys(e).length===0}function mT(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Ca(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const yT=Ls.systemDefaultTheme=(0,lT.default)(),gT=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function la({defaultTheme:e,theme:t,themeId:n}){return pT(t)?e:t[n]||t}function vT(e){return e?(t,n)=>n[e]:null}function Pa(e,t){let{ownerState:n}=t,r=(0,wf.default)(t,cT);const i=typeof e=="function"?e((0,fn.default)({ownerState:n},r)):e;if(Array.isArray(i))return i.flatMap(o=>Pa(o,(0,fn.default)({ownerState:n},r)));if(i&&typeof i=="object"&&Array.isArray(i.variants)){const{variants:o=[]}=i;let l=(0,wf.default)(i,fT);return o.forEach(a=>{let u=!0;typeof a.props=="function"?u=a.props((0,fn.default)({ownerState:n},r,n)):Object.keys(a.props).forEach(f=>{(n==null?void 0:n[f])!==a.props[f]&&r[f]!==a.props[f]&&(u=!1)}),u&&(Array.isArray(l)||(l=[l]),l.push(typeof a.style=="function"?a.style((0,fn.default)({ownerState:n},r,n)):a.style))}),l}return i}function wT(e={}){const{themeId:t,defaultTheme:n=yT,rootShouldForwardProp:r=Ca,slotShouldForwardProp:i=Ca}=e,o=s=>(0,uT.default)((0,fn.default)({},s,{theme:la((0,fn.default)({},s,{defaultTheme:n,themeId:t}))}));return o.__mui_systemSx=!0,(s,l={})=>{(0,Em.internal_processStyles)(s,_=>_.filter(E=>!(E!=null&&E.__mui_systemSx)));const{name:a,slot:u,skipVariantsResolver:f,skipSx:d,overridesResolver:w=vT(gT(u))}=l,b=(0,wf.default)(l,dT),c=f!==void 0?f:u&&u!=="Root"&&u!=="root"||!1,m=d||!1;let x,g=Ca;u==="Root"||u==="root"?g=r:u?g=i:mT(s)&&(g=void 0);const y=(0,Em.default)(s,(0,fn.default)({shouldForwardProp:g,label:x},b)),p=_=>typeof _=="function"&&_.__emotion_real!==_||(0,aT.isPlainObject)(_)?E=>Pa(_,(0,fn.default)({},E,{theme:la({theme:E.theme,defaultTheme:n,themeId:t})})):_,v=(_,...E)=>{let R=p(_);const k=E?E.map(p):[];a&&w&&k.push($=>{const F=la((0,fn.default)({},$,{defaultTheme:n,themeId:t}));if(!F.components||!F.components[a]||!F.components[a].styleOverrides)return null;const ee=F.components[a].styleOverrides,z={};return Object.entries(ee).forEach(([V,q])=>{z[V]=Pa(q,(0,fn.default)({},$,{theme:F}))}),w($,z)}),a&&!c&&k.push($=>{var F;const ee=la((0,fn.default)({},$,{defaultTheme:n,themeId:t})),z=ee==null||(F=ee.components)==null||(F=F[a])==null?void 0:F.variants;return Pa({variants:z},(0,fn.default)({},$,{theme:ee}))}),m||k.push(o);const M=k.length-E.length;if(Array.isArray(_)&&M>0){const $=new Array(M).fill("");R=[..._,...$],R.raw=[..._.raw,...$]}const D=y(R,...k);return s.muiName&&(D.muiName=s.muiName),D};return y.withConfig&&(v.withConfig=y.withConfig),v}}function bT(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const ST=e=>bT(e)&&e!=="classes",kt=sT({themeId:cu,defaultTheme:qd,rootShouldForwardProp:ST}),kv=qE({createStyledComponent:kt("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${Ie(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),useThemeProps:e=>Kt({props:e,name:"MuiContainer"})});var rh={},dc={};function _T(e){return un("MuiSvgIcon",e)}cn("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const ET=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],xT=e=>{const{color:t,fontSize:n,classes:r}=e,i={root:["root",t!=="inherit"&&`color${Ie(t)}`,`fontSize${Ie(n)}`]};return En(i,_T,r)},kT=kt("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${Ie(n.color)}`],t[`fontSize${Ie(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,i,o,s,l,a,u,f,d,w,b,c;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(n=e.transitions)==null||(r=n.create)==null?void 0:r.call(n,"fill",{duration:(i=e.transitions)==null||(i=i.duration)==null?void 0:i.shorter}),fontSize:{inherit:"inherit",small:((o=e.typography)==null||(s=o.pxToRem)==null?void 0:s.call(o,20))||"1.25rem",medium:((l=e.typography)==null||(a=l.pxToRem)==null?void 0:a.call(l,24))||"1.5rem",large:((u=e.typography)==null||(f=u.pxToRem)==null?void 0:f.call(u,35))||"2.1875rem"}[t.fontSize],color:(d=(w=(e.vars||e).palette)==null||(w=w[t.color])==null?void 0:w.main)!=null?d:{action:(b=(e.vars||e).palette)==null||(b=b.action)==null?void 0:b.active,disabled:(c=(e.vars||e).palette)==null||(c=c.action)==null?void 0:c.disabled,inherit:void 0}[t.color]}}),bf=N.forwardRef(function(t,n){const r=Kt({props:t,name:"MuiSvgIcon"}),{children:i,className:o,color:s="inherit",component:l="svg",fontSize:a="medium",htmlColor:u,inheritViewBox:f=!1,titleAccess:d,viewBox:w="0 0 24 24"}=r,b=$e(r,ET),c=N.isValidElement(i)&&i.type==="svg",m=J({},r,{color:s,component:l,fontSize:a,instanceFontSize:t.fontSize,inheritViewBox:f,viewBox:w,hasSvgAsChild:c}),x={};f||(x.viewBox=w);const g=xT(m);return se.jsxs(kT,J({as:l,className:et(g.root,o),focusable:"false",color:u,"aria-hidden":d?void 0:!0,role:d?"img":void 0,ref:n},x,b,c&&i.props,{ownerState:m,children:[c?i.props.children:i,d?se.jsx("title",{children:d}):null]}))});bf.muiName="SvgIcon";function TT(e,t){function n(r,i){return se.jsx(bf,J({"data-testid":`${t}Icon`,ref:i},r,{children:e}))}return n.muiName=bf.muiName,N.memo(N.forwardRef(n))}const RT={configure:e=>{Fd.configure(e)}},CT=Object.freeze(Object.defineProperty({__proto__:null,capitalize:Ie,createChainedFunction:vE,createSvgIcon:TT,debounce:wE,deprecatedPropType:bE,isMuiElement:SE,ownerDocument:Vo,ownerWindow:_E,requirePropFactory:EE,setRef:q0,unstable_ClassNameGenerator:RT,unstable_useEnhancedEffect:Y0,unstable_useId:kE,unsupportedProp:TE,useControlled:RE,useEventCallback:Sr,useForkRef:ri,useIsFocusVisible:Vd},Symbol.toStringTag,{value:"Module"})),PT=lr(CT);var xm;function Tv(){return xm||(xm=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=PT}(dc)),dc}var OT=uu;Object.defineProperty(rh,"__esModule",{value:!0});var Rv=rh.default=void 0;LT(N);var IT=OT(Tv()),MT=se;function Cv(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(Cv=function(r){return r?n:t})(e)}function LT(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=Cv(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!=="default"&&Object.prototype.hasOwnProperty.call(e,o)){var s=i?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}Rv=rh.default=(0,IT.default)((0,MT.jsx)("path",{d:"M12 1.27a11 11 0 00-3.48 21.46c.55.09.73-.28.73-.55v-1.84c-3.03.64-3.67-1.46-3.67-1.46-.55-1.29-1.28-1.65-1.28-1.65-.92-.65.1-.65.1-.65 1.1 0 1.73 1.1 1.73 1.1.92 1.65 2.57 1.2 3.21.92a2 2 0 01.64-1.47c-2.47-.27-5.04-1.19-5.04-5.5 0-1.1.46-2.1 1.2-2.84a3.76 3.76 0 010-2.93s.91-.28 3.11 1.1c1.8-.49 3.7-.49 5.5 0 2.1-1.38 3.02-1.1 3.02-1.1a3.76 3.76 0 010 2.93c.83.74 1.2 1.74 1.2 2.94 0 4.21-2.57 5.13-5.04 5.4.45.37.82.92.82 2.02v3.03c0 .27.1.64.73.55A11 11 0 0012 1.27"}),"GitHub");const km=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function Pv(){const e=Ql(qd);return e[cu]||e}function AT(e){return un("MuiPaper",e)}cn("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 NT=["className","component","elevation","square","variant"],BT=e=>{const{square:t,elevation:n,variant:r,classes:i}=e,o={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return En(o,AT,i)},DT=kt("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 J({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"&&J({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${hs("#fff",km(t.elevation))}, ${hs("#fff",km(t.elevation))})`},e.vars&&{backgroundImage:(n=e.vars.overlays)==null?void 0:n[t.elevation]}))}),Ov=N.forwardRef(function(t,n){const r=Kt({props:t,name:"MuiPaper"}),{className:i,component:o="div",elevation:s=1,square:l=!1,variant:a="elevation"}=r,u=$e(r,NT),f=J({},r,{component:o,elevation:s,square:l,variant:a}),d=BT(f);return se.jsx(DT,J({as:o,ownerState:f,className:et(d.root,i),ref:n},u))});function jT(e){return un("MuiAppBar",e)}cn("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const $T=["className","color","enableColorOnDark","position"],UT=e=>{const{color:t,position:n,classes:r}=e,i={root:["root",`color${Ie(t)}`,`position${Ie(n)}`]};return En(i,jT,r)},ua=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,FT=kt(Ov,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${Ie(n.position)}`],t[`color${Ie(n.color)}`]]}})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[900];return J({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&&J({},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"&&J({backgroundColor:"transparent",color:"inherit"},e.palette.mode==="dark"&&{backgroundImage:"none"})),e.vars&&J({},t.color==="default"&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette.AppBar.defaultBg:ua(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":t.enableColorOnDark?e.vars.palette.text.primary:ua(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:ua(e.vars.palette.AppBar.darkBg,e.vars.palette[t.color].main),"--AppBar-color":t.enableColorOnDark?e.vars.palette[t.color].contrastText:ua(e.vars.palette.AppBar.darkColor,e.vars.palette[t.color].contrastText)},!["inherit","transparent"].includes(t.color)&&{backgroundColor:"var(--AppBar-background)"},{color:t.color==="inherit"?"inherit":"var(--AppBar-color)"},t.color==="transparent"&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),zT=N.forwardRef(function(t,n){const r=Kt({props:t,name:"MuiAppBar"}),{className:i,color:o="primary",enableColorOnDark:s=!1,position:l="fixed"}=r,a=$e(r,$T),u=J({},r,{color:o,position:l,enableColorOnDark:s}),f=UT(u);return se.jsx(FT,J({square:!0,component:"header",ownerState:u,elevation:4,className:et(f.root,i,l==="fixed"&&"mui-fixed"),ref:n},a))}),WT=cn("MuiBox",["root"]),HT=rv(),VT=X_({themeId:cu,defaultTheme:HT,defaultClassName:WT.root,generateClassName:Fd.generate});function Sf(e,t){return Sf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Sf(e,t)}function Iv(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Sf(e,t)}const Tm={disabled:!1},al=On.createContext(null);var GT=function(t){return t.scrollTop},Lo="unmounted",Fr="exited",zr="entering",Si="entered",_f="exiting",cr=function(e){Iv(t,e);function t(r,i){var o;o=e.call(this,r,i)||this;var s=i,l=s&&!s.isMounting?r.enter:r.appear,a;return o.appearStatus=null,r.in?l?(a=Fr,o.appearStatus=zr):a=Si:r.unmountOnExit||r.mountOnEnter?a=Lo:a=Fr,o.state={status:a},o.nextCallback=null,o}t.getDerivedStateFromProps=function(i,o){var s=i.in;return s&&o.status===Lo?{status:Fr}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var o=null;if(i!==this.props){var s=this.state.status;this.props.in?s!==zr&&s!==Si&&(o=zr):(s===zr||s===Si)&&(o=_f)}this.updateStatus(!1,o)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,o,s,l;return o=s=l=i,i!=null&&typeof i!="number"&&(o=i.exit,s=i.enter,l=i.appear!==void 0?i.appear:s),{exit:o,enter:s,appear:l}},n.updateStatus=function(i,o){if(i===void 0&&(i=!1),o!==null)if(this.cancelNextCallback(),o===zr){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:Io.findDOMNode(this);s&>(s)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Fr&&this.setState({status:Lo})},n.performEnter=function(i){var o=this,s=this.props.enter,l=this.context?this.context.isMounting:i,a=this.props.nodeRef?[l]:[Io.findDOMNode(this),l],u=a[0],f=a[1],d=this.getTimeouts(),w=l?d.appear:d.enter;if(!i&&!s||Tm.disabled){this.safeSetState({status:Si},function(){o.props.onEntered(u)});return}this.props.onEnter(u,f),this.safeSetState({status:zr},function(){o.props.onEntering(u,f),o.onTransitionEnd(w,function(){o.safeSetState({status:Si},function(){o.props.onEntered(u,f)})})})},n.performExit=function(){var i=this,o=this.props.exit,s=this.getTimeouts(),l=this.props.nodeRef?void 0:Io.findDOMNode(this);if(!o||Tm.disabled){this.safeSetState({status:Fr},function(){i.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:_f},function(){i.props.onExiting(l),i.onTransitionEnd(s.exit,function(){i.safeSetState({status:Fr},function(){i.props.onExited(l)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},n.setNextCallback=function(i){var o=this,s=!0;return this.nextCallback=function(l){s&&(s=!1,o.nextCallback=null,i(l))},this.nextCallback.cancel=function(){s=!1},this.nextCallback},n.onTransitionEnd=function(i,o){this.setNextCallback(o);var s=this.props.nodeRef?this.props.nodeRef.current:Io.findDOMNode(this),l=i==null&&!this.props.addEndListener;if(!s||l){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var a=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],u=a[0],f=a[1];this.props.addEndListener(u,f)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===Lo)return null;var o=this.props,s=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var l=$e(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return On.createElement(al.Provider,{value:null},typeof s=="function"?s(i,l):On.cloneElement(On.Children.only(s),l))},t}(On.Component);cr.contextType=al;cr.propTypes={};function wi(){}cr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:wi,onEntering:wi,onEntered:wi,onExit:wi,onExiting:wi,onExited:wi};cr.UNMOUNTED=Lo;cr.EXITED=Fr;cr.ENTERING=zr;cr.ENTERED=Si;cr.EXITING=_f;function KT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ih(e,t){var n=function(o){return t&&N.isValidElement(o)?t(o):o},r=Object.create(null);return e&&N.Children.map(e,function(i){return i}).forEach(function(i){r[i.key]=n(i)}),r}function YT(e,t){e=e||{},t=t||{};function n(f){return f in t?t[f]:e[f]}var r=Object.create(null),i=[];for(var o in e)o in t?i.length&&(r[o]=i,i=[]):i.push(o);var s,l={};for(var a in t){if(r[a])for(s=0;s{if(!l&&a!=null){const m=setTimeout(a,u);return()=>{clearTimeout(m)}}},[a,l,u]),se.jsx("span",{className:w,style:b,children:se.jsx("span",{className:c})})}const dn=cn("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),eR=["center","classes","className"];let pu=e=>e,Rm,Cm,Pm,Om;const Ef=550,tR=80,nR=ao(Rm||(Rm=pu` + 0% { + transform: scale(0); + opacity: 0.1; + } + + 100% { + transform: scale(1); + opacity: 0.3; + } +`)),rR=ao(Cm||(Cm=pu` + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + } +`)),iR=ao(Pm||(Pm=pu` + 0% { + transform: scale(1); + } + + 50% { + transform: scale(0.92); + } + + 100% { + transform: scale(1); + } +`)),oR=kt("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),sR=kt(ZT,{name:"MuiTouchRipple",slot:"Ripple"})(Om||(Om=pu` + 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; + } +`),dn.rippleVisible,nR,Ef,({theme:e})=>e.transitions.easing.easeInOut,dn.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,dn.child,dn.childLeaving,rR,Ef,({theme:e})=>e.transitions.easing.easeInOut,dn.childPulsate,iR,({theme:e})=>e.transitions.easing.easeInOut),aR=N.forwardRef(function(t,n){const r=Kt({props:t,name:"MuiTouchRipple"}),{center:i=!1,classes:o={},className:s}=r,l=$e(r,eR),[a,u]=N.useState([]),f=N.useRef(0),d=N.useRef(null);N.useEffect(()=>{d.current&&(d.current(),d.current=null)},[a]);const w=N.useRef(!1),b=Hd(),c=N.useRef(null),m=N.useRef(null),x=N.useCallback(v=>{const{pulsate:_,rippleX:E,rippleY:R,rippleSize:k,cb:M}=v;u(D=>[...D,se.jsx(sR,{classes:{ripple:et(o.ripple,dn.ripple),rippleVisible:et(o.rippleVisible,dn.rippleVisible),ripplePulsate:et(o.ripplePulsate,dn.ripplePulsate),child:et(o.child,dn.child),childLeaving:et(o.childLeaving,dn.childLeaving),childPulsate:et(o.childPulsate,dn.childPulsate)},timeout:Ef,pulsate:_,rippleX:E,rippleY:R,rippleSize:k},f.current)]),f.current+=1,d.current=M},[o]),g=N.useCallback((v={},_={},E=()=>{})=>{const{pulsate:R=!1,center:k=i||_.pulsate,fakeElement:M=!1}=_;if((v==null?void 0:v.type)==="mousedown"&&w.current){w.current=!1;return}(v==null?void 0:v.type)==="touchstart"&&(w.current=!0);const D=M?null:m.current,$=D?D.getBoundingClientRect():{width:0,height:0,left:0,top:0};let F,ee,z;if(k||v===void 0||v.clientX===0&&v.clientY===0||!v.clientX&&!v.touches)F=Math.round($.width/2),ee=Math.round($.height/2);else{const{clientX:V,clientY:q}=v.touches&&v.touches.length>0?v.touches[0]:v;F=Math.round(V-$.left),ee=Math.round(q-$.top)}if(k)z=Math.sqrt((2*$.width**2+$.height**2)/3),z%2===0&&(z+=1);else{const V=Math.max(Math.abs((D?D.clientWidth:0)-F),F)*2+2,q=Math.max(Math.abs((D?D.clientHeight:0)-ee),ee)*2+2;z=Math.sqrt(V**2+q**2)}v!=null&&v.touches?c.current===null&&(c.current=()=>{x({pulsate:R,rippleX:F,rippleY:ee,rippleSize:z,cb:E})},b.start(tR,()=>{c.current&&(c.current(),c.current=null)})):x({pulsate:R,rippleX:F,rippleY:ee,rippleSize:z,cb:E})},[i,x,b]),y=N.useCallback(()=>{g({},{pulsate:!0})},[g]),p=N.useCallback((v,_)=>{if(b.clear(),(v==null?void 0:v.type)==="touchend"&&c.current){c.current(),c.current=null,b.start(0,()=>{p(v,_)});return}c.current=null,u(E=>E.length>0?E.slice(1):E),d.current=_},[b]);return N.useImperativeHandle(n,()=>({pulsate:y,start:g,stop:p}),[y,g,p]),se.jsx(oR,J({className:et(dn.root,o.root,s),ref:m},l,{children:se.jsx(oh,{component:null,exit:!0,children:a})}))});function lR(e){return un("MuiButtonBase",e)}const uR=cn("MuiButtonBase",["root","disabled","focusVisible"]),cR=["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"],fR=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:i}=e,s=En({root:["root",t&&"disabled",n&&"focusVisible"]},lR,i);return n&&r&&(s.root+=` ${r}`),s},dR=kt("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"},[`&.${uR.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),hR=N.forwardRef(function(t,n){const r=Kt({props:t,name:"MuiButtonBase"}),{action:i,centerRipple:o=!1,children:s,className:l,component:a="button",disabled:u=!1,disableRipple:f=!1,disableTouchRipple:d=!1,focusRipple:w=!1,LinkComponent:b="a",onBlur:c,onClick:m,onContextMenu:x,onDragLeave:g,onFocus:y,onFocusVisible:p,onKeyDown:v,onKeyUp:_,onMouseDown:E,onMouseLeave:R,onMouseUp:k,onTouchEnd:M,onTouchMove:D,onTouchStart:$,tabIndex:F=0,TouchRippleProps:ee,touchRippleRef:z,type:V}=r,q=$e(r,cR),he=N.useRef(null),K=N.useRef(null),H=ri(K,z),{isFocusVisibleRef:re,onFocus:P,onBlur:C,ref:U}=Vd(),[Y,X]=N.useState(!1);u&&Y&&X(!1),N.useImperativeHandle(i,()=>({focusVisible:()=>{X(!0),he.current.focus()}}),[]);const[ne,oe]=N.useState(!1);N.useEffect(()=>{oe(!0)},[]);const ye=ne&&!f&&!u;N.useEffect(()=>{Y&&w&&!f&&ne&&K.current.pulsate()},[f,w,Y,ne]);function de(B,Z,ve=d){return Sr(xe=>(Z&&Z(xe),!ve&&K.current&&K.current[B](xe),!0))}const Se=de("start",E),ke=de("stop",x),I=de("stop",g),O=de("stop",k),Q=de("stop",B=>{Y&&B.preventDefault(),R&&R(B)}),le=de("start",$),Ce=de("stop",M),ze=de("stop",D),fe=de("stop",B=>{C(B),re.current===!1&&X(!1),c&&c(B)},!1),He=Sr(B=>{he.current||(he.current=B.currentTarget),P(B),re.current===!0&&(X(!0),p&&p(B)),y&&y(B)}),Re=()=>{const B=he.current;return a&&a!=="button"&&!(B.tagName==="A"&&B.href)},rt=N.useRef(!1),ht=Sr(B=>{w&&!rt.current&&Y&&K.current&&B.key===" "&&(rt.current=!0,K.current.stop(B,()=>{K.current.start(B)})),B.target===B.currentTarget&&Re()&&B.key===" "&&B.preventDefault(),v&&v(B),B.target===B.currentTarget&&Re()&&B.key==="Enter"&&!u&&(B.preventDefault(),m&&m(B))}),Vn=Sr(B=>{w&&B.key===" "&&K.current&&Y&&!B.defaultPrevented&&(rt.current=!1,K.current.stop(B,()=>{K.current.pulsate(B)})),_&&_(B),m&&B.target===B.currentTarget&&Re()&&B.key===" "&&!B.defaultPrevented&&m(B)});let h=a;h==="button"&&(q.href||q.to)&&(h=b);const S={};h==="button"?(S.type=V===void 0?"button":V,S.disabled=u):(!q.href&&!q.to&&(S.role="button"),u&&(S["aria-disabled"]=u));const T=ri(n,U,he),L=J({},r,{centerRipple:o,component:a,disabled:u,disableRipple:f,disableTouchRipple:d,focusRipple:w,tabIndex:F,focusVisible:Y}),W=fR(L);return se.jsxs(dR,J({as:h,className:et(W.root,l),ownerState:L,onBlur:fe,onClick:m,onContextMenu:ke,onFocus:He,onKeyDown:ht,onKeyUp:Vn,onMouseDown:Se,onMouseLeave:Q,onMouseUp:O,onDragLeave:I,onTouchEnd:Ce,onTouchMove:ze,onTouchStart:le,ref:T,tabIndex:u?-1:F,type:V},S,q,{children:[s,ye?se.jsx(aR,J({ref:H,center:o},ee)):null]}))});function pR(e){return un("MuiIconButton",e)}const mR=cn("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),yR=["edge","children","className","color","disabled","disableFocusRipple","size"],gR=e=>{const{classes:t,disabled:n,color:r,edge:i,size:o}=e,s={root:["root",n&&"disabled",r!=="default"&&`color${Ie(r)}`,i&&`edge${Ie(i)}`,`size${Ie(o)}`]};return En(s,pR,t)},vR=kt(hR,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${Ie(n.color)}`],n.edge&&t[`edge${Ie(n.edge)}`],t[`size${Ie(n.size)}`]]}})(({theme:e,ownerState:t})=>J({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})`:hs(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 J({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&J({color:r==null?void 0:r.main},!t.disableRipple&&{"&:hover":J({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:hs(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)},{[`&.${mR.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),Mv=N.forwardRef(function(t,n){const r=Kt({props:t,name:"MuiIconButton"}),{edge:i=!1,children:o,className:s,color:l="default",disabled:a=!1,disableFocusRipple:u=!1,size:f="medium"}=r,d=$e(r,yR),w=J({},r,{edge:i,color:l,disabled:a,disableFocusRipple:u,size:f}),b=gR(w);return se.jsx(vR,J({className:et(b.root,s),centerRipple:!0,focusRipple:!u,disabled:a,ref:n},d,{ownerState:w,children:o}))});function wR(e){return un("MuiTypography",e)}cn("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const bR=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],SR=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:i,variant:o,classes:s}=e,l={root:["root",o,e.align!=="inherit"&&`align${Ie(t)}`,n&&"gutterBottom",r&&"noWrap",i&&"paragraph"]};return En(l,wR,s)},_R=kt("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${Ie(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>J({margin:0},t.variant==="inherit"&&{font:"inherit"},t.variant!=="inherit"&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),Im={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},ER={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},xR=e=>ER[e]||e,kR=N.forwardRef(function(t,n){const r=Kt({props:t,name:"MuiTypography"}),i=xR(r.color),o=Ud(J({},r,{color:i})),{align:s="inherit",className:l,component:a,gutterBottom:u=!1,noWrap:f=!1,paragraph:d=!1,variant:w="body1",variantMapping:b=Im}=o,c=$e(o,bR),m=J({},o,{align:s,color:i,className:l,component:a,gutterBottom:u,noWrap:f,paragraph:d,variant:w,variantMapping:b}),x=a||(d?"p":b[w]||Im[w])||"span",g=SR(m);return se.jsx(_R,J({as:x,ref:n,ownerState:m,className:et(g.root,l)},c))});function TR(e){return un("MuiLink",e)}const RR=cn("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),Lv={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},CR=e=>Lv[e]||e,PR=({theme:e,ownerState:t})=>{const n=CR(t.color),r=Ji(e,`palette.${n}`,!1)||t.color,i=Ji(e,`palette.${n}Channel`);return"vars"in e&&i?`rgba(${i} / 0.4)`:hs(r,.4)},OR=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],IR=e=>{const{classes:t,component:n,focusVisible:r,underline:i}=e,o={root:["root",`underline${Ie(i)}`,n==="button"&&"button",r&&"focusVisible"]};return En(o,TR,t)},MR=kt(kR,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${Ie(n.underline)}`],n.component==="button"&&t.button]}})(({theme:e,ownerState:t})=>J({},t.underline==="none"&&{textDecoration:"none"},t.underline==="hover"&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},t.underline==="always"&&J({textDecoration:"underline"},t.color!=="inherit"&&{textDecorationColor:PR({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"},[`&.${RR.focusVisible}`]:{outline:"auto"}})),Mm=N.forwardRef(function(t,n){const r=Kt({props:t,name:"MuiLink"}),{className:i,color:o="primary",component:s="a",onBlur:l,onFocus:a,TypographyClasses:u,underline:f="always",variant:d="inherit",sx:w}=r,b=$e(r,OR),{isFocusVisibleRef:c,onBlur:m,onFocus:x,ref:g}=Vd(),[y,p]=N.useState(!1),v=ri(n,g),_=M=>{m(M),c.current===!1&&p(!1),l&&l(M)},E=M=>{x(M),c.current===!0&&p(!0),a&&a(M)},R=J({},r,{color:o,component:s,focusVisible:y,underline:f,variant:d}),k=IR(R);return se.jsx(MR,J({color:o,className:et(k.root,i),classes:u,component:s,onBlur:_,onFocus:E,ref:v,ownerState:R,variant:d,sx:[...Object.keys(Lv).includes(o)?[]:[{color:o}],...Array.isArray(w)?w:[w]]},b))});function LR(e){return un("MuiToolbar",e)}cn("MuiToolbar",["root","gutters","regular","dense"]);const AR=["className","component","disableGutters","variant"],NR=e=>{const{classes:t,disableGutters:n,variant:r}=e;return En({root:["root",!n&&"gutters",r]},LR,t)},BR=kt("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})=>J({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),DR=N.forwardRef(function(t,n){const r=Kt({props:t,name:"MuiToolbar"}),{className:i,component:o="div",disableGutters:s=!1,variant:l="regular"}=r,a=$e(r,AR),u=J({},r,{component:o,disableGutters:s,variant:l}),f=NR(u);return se.jsx(BR,J({as:o,className:et(f.root,i),ref:n,ownerState:u},a))});function jR(){return se.jsx(zT,{position:"static",children:se.jsx(kv,{children:se.jsxs(DR,{disableGutters:!0,sx:{flexGrow:1},children:[se.jsx(VT,{sx:{flexGrow:1},children:se.jsx(Mm,{color:"inherit",component:qk,to:"/",underline:"hover",variant:"h6",children:"Party Game Template"})}),se.jsx(Mv,{"aria-label":"Open GitHub repository",color:"inherit",component:Mm,href:"https://github.com/remarkablegames/party-game-template",target:"_blank",rel:"noopener noreferrer",children:se.jsx(Rv,{})})]})})})}function $R(){return se.jsxs(se.Fragment,{children:[se.jsx(jR,{}),se.jsxs(kv,{component:"main",children:[se.jsx("br",{}),se.jsx(Rk,{})]})]})}const UR="modulepreload",FR=function(e){return"/party-game-template/"+e},Lm={},mu=function(t,n,r){let i=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const s=document.querySelector("meta[property=csp-nonce]"),l=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));i=Promise.allSettled(n.map(a=>{if(a=FR(a),a in Lm)return;Lm[a]=!0;const u=a.endsWith(".css"),f=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${a}"]${f}`))return;const d=document.createElement("link");if(d.rel=u?"stylesheet":UR,u||(d.as="script"),d.crossOrigin="",d.href=a,l&&d.setAttribute("nonce",l),document.head.appendChild(d),u)return new Promise((w,b)=>{d.addEventListener("load",w),d.addEventListener("error",()=>b(new Error(`Unable to preload CSS for ${a}`)))})}))}function o(s){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=s,window.dispatchEvent(l),!l.defaultPrevented)throw s}return i.then(s=>{for(const l of s||[])l.status==="rejected"&&o(l.reason);return t().catch(o)})};function zR(e){return un("MuiCircularProgress",e)}cn("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const WR=["className","color","disableShrink","size","style","thickness","value","variant"];let yu=e=>e,Am,Nm,Bm,Dm;const hr=44,HR=ao(Am||(Am=yu` + 0% { + transform: rotate(0deg); + } + + 100% { + transform: rotate(360deg); + } +`)),VR=ao(Nm||(Nm=yu` + 0% { + stroke-dasharray: 1px, 200px; + stroke-dashoffset: 0; + } + + 50% { + stroke-dasharray: 100px, 200px; + stroke-dashoffset: -15px; + } + + 100% { + stroke-dasharray: 100px, 200px; + stroke-dashoffset: -125px; + } +`)),GR=e=>{const{classes:t,variant:n,color:r,disableShrink:i}=e,o={root:["root",n,`color${Ie(r)}`],svg:["svg"],circle:["circle",`circle${Ie(n)}`,i&&"circleDisableShrink"]};return En(o,zR,t)},KR=kt("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${Ie(n.color)}`]]}})(({ownerState:e,theme:t})=>J({display:"inline-block"},e.variant==="determinate"&&{transition:t.transitions.create("transform")},e.color!=="inherit"&&{color:(t.vars||t).palette[e.color].main}),({ownerState:e})=>e.variant==="indeterminate"&&Hl(Bm||(Bm=yu` + animation: ${0} 1.4s linear infinite; + `),HR)),YR=kt("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),qR=kt("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${Ie(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(({ownerState:e,theme:t})=>J({stroke:"currentColor"},e.variant==="determinate"&&{transition:t.transitions.create("stroke-dashoffset")},e.variant==="indeterminate"&&{strokeDasharray:"80px, 200px",strokeDashoffset:0}),({ownerState:e})=>e.variant==="indeterminate"&&!e.disableShrink&&Hl(Dm||(Dm=yu` + animation: ${0} 1.4s ease-in-out infinite; + `),VR)),gu=N.forwardRef(function(t,n){const r=Kt({props:t,name:"MuiCircularProgress"}),{className:i,color:o="primary",disableShrink:s=!1,size:l=40,style:a,thickness:u=3.6,value:f=0,variant:d="indeterminate"}=r,w=$e(r,WR),b=J({},r,{color:o,disableShrink:s,size:l,thickness:u,value:f,variant:d}),c=GR(b),m={},x={},g={};if(d==="determinate"){const y=2*Math.PI*((hr-u)/2);m.strokeDasharray=y.toFixed(3),g["aria-valuenow"]=Math.round(f),m.strokeDashoffset=`${((100-f)/100*y).toFixed(3)}px`,x.transform="rotate(-90deg)"}return se.jsx(KR,J({className:et(c.root,i),style:J({width:l,height:l},x,a),ownerState:b,ref:n,role:"progressbar"},g,w,{children:se.jsx(YR,{className:c.svg,ownerState:b,viewBox:`${hr/2} ${hr/2} ${hr} ${hr}`,children:se.jsx(qR,{className:c.circle,style:m,ownerState:b,cx:hr,cy:hr,r:(hr-u)/2,fill:"none",strokeWidth:u})})}))}),QR=N.lazy(()=>mu(()=>import("./ErrorBoundary-D491cSiK.js"),__vite__mapDeps([0,1,2])));function XR(){return se.jsx(N.Suspense,{fallback:se.jsx(gu,{}),children:se.jsx(QR,{})})}const JR=N.lazy(()=>mu(()=>import("./Home-B8j13TiT.js"),__vite__mapDeps([3,4])));function ZR(){return se.jsx(N.Suspense,{fallback:se.jsx(gu,{}),children:se.jsx(JR,{})})}const eC=N.lazy(()=>mu(()=>import("./NotFound-DE3ZJ84e.js"),__vite__mapDeps([5,1])));function tC(){return se.jsx(N.Suspense,{fallback:se.jsx(gu,{}),children:se.jsx(eC,{})})}const nC=N.lazy(()=>mu(()=>import("./Room-Q2VuNiuJ.js"),__vite__mapDeps([6,4,2])));function rC(){return se.jsx(N.Suspense,{fallback:se.jsx(gu,{}),children:se.jsx(nC,{})})}const iC=se.jsx(bi,{path:"/",element:se.jsx($R,{}),children:se.jsxs(bi,{errorElement:se.jsx(XR,{}),children:[se.jsx(bi,{index:!0,element:se.jsx(ZR,{})}),se.jsx(bi,{path:"/room",element:se.jsx(rC,{})}),se.jsx(bi,{path:"*",element:se.jsx(tC,{})})]})});function Tt(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var oC=typeof Symbol=="function"&&Symbol.observable||"@@observable",jm=oC,hc=()=>Math.random().toString(36).substring(7).split("").join("."),sC={INIT:`@@redux/INIT${hc()}`,REPLACE:`@@redux/REPLACE${hc()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${hc()}`},ll=sC;function sh(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function Av(e,t,n){if(typeof e!="function")throw new Error(Tt(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(Tt(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(Tt(1));return n(Av)(e,t)}let r=e,i=t,o=new Map,s=o,l=0,a=!1;function u(){s===o&&(s=new Map,o.forEach((x,g)=>{s.set(g,x)}))}function f(){if(a)throw new Error(Tt(3));return i}function d(x){if(typeof x!="function")throw new Error(Tt(4));if(a)throw new Error(Tt(5));let g=!0;u();const y=l++;return s.set(y,x),function(){if(g){if(a)throw new Error(Tt(6));g=!1,u(),s.delete(y),o=null}}}function w(x){if(!sh(x))throw new Error(Tt(7));if(typeof x.type>"u")throw new Error(Tt(8));if(typeof x.type!="string")throw new Error(Tt(17));if(a)throw new Error(Tt(9));try{a=!0,i=r(i,x)}finally{a=!1}return(o=s).forEach(y=>{y()}),x}function b(x){if(typeof x!="function")throw new Error(Tt(10));r=x,w({type:ll.REPLACE})}function c(){const x=d;return{subscribe(g){if(typeof g!="object"||g===null)throw new Error(Tt(11));function y(){const v=g;v.next&&v.next(f())}return y(),{unsubscribe:x(y)}},[jm](){return this}}}return w({type:ll.INIT}),{dispatch:w,subscribe:d,getState:f,replaceReducer:b,[jm]:c}}function aC(e){Object.keys(e).forEach(t=>{const n=e[t];if(typeof n(void 0,{type:ll.INIT})>"u")throw new Error(Tt(12));if(typeof n(void 0,{type:ll.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Tt(13))})}function lC(e){const t=Object.keys(e),n={};for(let o=0;o"u")throw l&&l.type,new Error(Tt(14));u[d]=c,a=a||c!==b}return a=a||r.length!==Object.keys(s).length,a?u:s}}function ul(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function uC(...e){return t=>(n,r)=>{const i=t(n,r);let o=()=>{throw new Error(Tt(15))};const s={getState:i.getState,dispatch:(a,...u)=>o(a,...u)},l=e.map(a=>a(s));return o=ul(...l)(i.dispatch),{...i,dispatch:o}}}function cC(e){return sh(e)&&"type"in e&&typeof e.type=="string"}var Nv=Symbol.for("immer-nothing"),$m=Symbol.for("immer-draftable"),rn=Symbol.for("immer-state");function Pn(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var eo=Object.getPrototypeOf;function oi(e){return!!e&&!!e[rn]}function ar(e){var t;return e?Bv(e)||Array.isArray(e)||!!e[$m]||!!((t=e.constructor)!=null&&t[$m])||wu(e)||bu(e):!1}var fC=Object.prototype.constructor.toString();function Bv(e){if(!e||typeof e!="object")return!1;const t=eo(e);if(t===null)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object?!0:typeof n=="function"&&Function.toString.call(n)===fC}function vs(e,t){vu(e)===0?Object.entries(e).forEach(([n,r])=>{t(n,r,e)}):e.forEach((n,r)=>t(r,n,e))}function vu(e){const t=e[rn];return t?t.type_:Array.isArray(e)?1:wu(e)?2:bu(e)?3:0}function xf(e,t){return vu(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Dv(e,t,n){const r=vu(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function dC(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function wu(e){return e instanceof Map}function bu(e){return e instanceof Set}function Wr(e){return e.copy_||e.base_}function kf(e,t){if(wu(e))return new Map(e);if(bu(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!t&&Bv(e))return eo(e)?{...e}:Object.assign(Object.create(null),e);const n=Object.getOwnPropertyDescriptors(e);delete n[rn];let r=Reflect.ownKeys(n);for(let i=0;i1&&(e.set=e.add=e.clear=e.delete=hC),Object.freeze(e),t&&vs(e,(n,r)=>ah(r,!0))),e}function hC(){Pn(2)}function Su(e){return Object.isFrozen(e)}var pC={};function si(e){const t=pC[e];return t||Pn(0,e),t}var ws;function jv(){return ws}function mC(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function Um(e,t){t&&(si("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Tf(e){Rf(e),e.drafts_.forEach(yC),e.drafts_=null}function Rf(e){e===ws&&(ws=e.parent_)}function Fm(e){return ws=mC(ws,e)}function yC(e){const t=e[rn];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function zm(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[rn].modified_&&(Tf(t),Pn(4)),ar(e)&&(e=cl(t,e),t.parent_||fl(t,e)),t.patches_&&si("Patches").generateReplacementPatches_(n[rn].base_,e,t.patches_,t.inversePatches_)):e=cl(t,n,[]),Tf(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==Nv?e:void 0}function cl(e,t,n){if(Su(t))return t;const r=t[rn];if(!r)return vs(t,(i,o)=>Wm(e,r,t,i,o,n)),t;if(r.scope_!==e)return t;if(!r.modified_)return fl(e,r.base_,!0),r.base_;if(!r.finalized_){r.finalized_=!0,r.scope_.unfinalizedDrafts_--;const i=r.copy_;let o=i,s=!1;r.type_===3&&(o=new Set(i),i.clear(),s=!0),vs(o,(l,a)=>Wm(e,r,i,l,a,n,s)),fl(e,i,!1),n&&e.patches_&&si("Patches").generatePatches_(r,n,e.patches_,e.inversePatches_)}return r.copy_}function Wm(e,t,n,r,i,o,s){if(oi(i)){const l=o&&t&&t.type_!==3&&!xf(t.assigned_,r)?o.concat(r):void 0,a=cl(e,i,l);if(Dv(n,r,a),oi(a))e.canAutoFreeze_=!1;else return}else s&&n.add(i);if(ar(i)&&!Su(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;cl(e,i),(!t||!t.scope_.parent_)&&fl(e,i)}}function fl(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&ah(t,n)}function gC(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:jv(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=r,o=lh;n&&(i=[r],o=bs);const{revoke:s,proxy:l}=Proxy.revocable(i,o);return r.draft_=l,r.revoke_=s,l}var lh={get(e,t){if(t===rn)return e;const n=Wr(e);if(!xf(n,t))return vC(e,n,t);const r=n[t];return e.finalized_||!ar(r)?r:r===pc(e.base_,t)?(mc(e),e.copy_[t]=Pf(r,e)):r},has(e,t){return t in Wr(e)},ownKeys(e){return Reflect.ownKeys(Wr(e))},set(e,t,n){const r=$v(Wr(e),t);if(r!=null&&r.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const i=pc(Wr(e),t),o=i==null?void 0:i[rn];if(o&&o.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(dC(n,i)&&(n!==void 0||xf(e.base_,t)))return!0;mc(e),Cf(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty(e,t){return pc(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,mc(e),Cf(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=Wr(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty(){Pn(11)},getPrototypeOf(e){return eo(e.base_)},setPrototypeOf(){Pn(12)}},bs={};vs(lh,(e,t)=>{bs[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});bs.deleteProperty=function(e,t){return bs.set.call(this,e,t,void 0)};bs.set=function(e,t,n){return lh.set.call(this,e[0],t,n,e[0])};function pc(e,t){const n=e[rn];return(n?Wr(n):e)[t]}function vC(e,t,n){var i;const r=$v(t,n);return r?"value"in r?r.value:(i=r.get)==null?void 0:i.call(e.draft_):void 0}function $v(e,t){if(!(t in e))return;let n=eo(e);for(;n;){const r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=eo(n)}}function Cf(e){e.modified_||(e.modified_=!0,e.parent_&&Cf(e.parent_))}function mc(e){e.copy_||(e.copy_=kf(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var wC=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,n,r)=>{if(typeof t=="function"&&typeof n!="function"){const o=n;n=t;const s=this;return function(a=o,...u){return s.produce(a,f=>n.call(this,f,...u))}}typeof n!="function"&&Pn(6),r!==void 0&&typeof r!="function"&&Pn(7);let i;if(ar(t)){const o=Fm(this),s=Pf(t,void 0);let l=!0;try{i=n(s),l=!1}finally{l?Tf(o):Rf(o)}return Um(o,r),zm(i,o)}else if(!t||typeof t!="object"){if(i=n(t),i===void 0&&(i=t),i===Nv&&(i=void 0),this.autoFreeze_&&ah(i,!0),r){const o=[],s=[];si("Patches").generateReplacementPatches_(t,i,o,s),r(o,s)}return i}else Pn(1,t)},this.produceWithPatches=(t,n)=>{if(typeof t=="function")return(s,...l)=>this.produceWithPatches(s,a=>t(a,...l));let r,i;return[this.produce(t,n,(s,l)=>{r=s,i=l}),r,i]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){ar(e)||Pn(8),oi(e)&&(e=bC(e));const t=Fm(this),n=Pf(e,void 0);return n[rn].isManual_=!0,Rf(t),n}finishDraft(e,t){const n=e&&e[rn];(!n||!n.isManual_)&&Pn(9);const{scope_:r}=n;return Um(r,t),zm(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const i=t[n];if(i.path.length===0&&i.op==="replace"){e=i.value;break}}n>-1&&(t=t.slice(n+1));const r=si("Patches").applyPatches_;return oi(e)?r(e,t):this.produce(e,i=>r(i,t))}};function Pf(e,t){const n=wu(e)?si("MapSet").proxyMap_(e,t):bu(e)?si("MapSet").proxySet_(e,t):gC(e,t);return(t?t.scope_:jv()).drafts_.push(n),n}function bC(e){return oi(e)||Pn(10,e),Uv(e)}function Uv(e){if(!ar(e)||Su(e))return e;const t=e[rn];let n;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=kf(e,t.scope_.immer_.useStrictShallowCopy_)}else n=kf(e,!0);return vs(n,(r,i)=>{Dv(n,r,Uv(i))}),t&&(t.finalized_=!1),n}var on=new wC,Fv=on.produce;on.produceWithPatches.bind(on);on.setAutoFreeze.bind(on);on.setUseStrictShallowCopy.bind(on);on.applyPatches.bind(on);on.createDraft.bind(on);on.finishDraft.bind(on);function zv(e){return({dispatch:n,getState:r})=>i=>o=>typeof o=="function"?o(n,r,e):i(o)}var SC=zv(),_C=zv,EC=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?ul:ul.apply(null,arguments)};function Hm(e,t){function n(...r){if(t){let i=t(...r);if(!i)throw new Error(Hn(0));return{type:e,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:e,payload:r[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=r=>cC(r)&&r.type===e,n}var Wv=class Ao extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,Ao.prototype)}static get[Symbol.species](){return Ao}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new Ao(...t[0].concat(this)):new Ao(...t.concat(this))}};function Vm(e){return ar(e)?Fv(e,()=>{}):e}function Gm(e,t,n){if(e.has(t)){let i=e.get(t);return n.update&&(i=n.update(i,t,e),e.set(t,i)),i}if(!n.insert)throw new Error(Hn(10));const r=n.insert(t,e);return e.set(t,r),r}function xC(e){return typeof e=="boolean"}var kC=()=>function(t){const{thunk:n=!0,immutableCheck:r=!0,serializableCheck:i=!0,actionCreatorCheck:o=!0}=t??{};let s=new Wv;return n&&(xC(n)?s.push(SC):s.push(_C(n.extraArgument))),s},TC="RTK_autoBatch",Hv=e=>t=>{setTimeout(t,e)},RC=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Hv(10),CC=(e={type:"raf"})=>t=>(...n)=>{const r=t(...n);let i=!0,o=!1,s=!1;const l=new Set,a=e.type==="tick"?queueMicrotask:e.type==="raf"?RC:e.type==="callback"?e.queueNotification:Hv(e.timeout),u=()=>{s=!1,o&&(o=!1,l.forEach(f=>f()))};return Object.assign({},r,{subscribe(f){const d=()=>i&&f(),w=r.subscribe(d);return l.add(f),()=>{w(),l.delete(f)}},dispatch(f){var d;try{return i=!((d=f==null?void 0:f.meta)!=null&&d[TC]),o=!i,o&&(s||(s=!0,a(u))),r.dispatch(f)}finally{i=!0}}})},PC=e=>function(n){const{autoBatch:r=!0}=n??{};let i=new Wv(e);return r&&i.push(CC(typeof r=="object"?r:void 0)),i};function OC(e){const t=kC(),{reducer:n=void 0,middleware:r,devTools:i=!0,preloadedState:o=void 0,enhancers:s=void 0}=e||{};let l;if(typeof n=="function")l=n;else if(sh(n))l=lC(n);else throw new Error(Hn(1));let a;typeof r=="function"?a=r(t):a=t();let u=ul;i&&(u=EC({trace:!1,...typeof i=="object"&&i}));const f=uC(...a),d=PC(f);let w=typeof s=="function"?s(d):d();const b=u(...w);return Av(l,o,b)}function Vv(e){const t={},n=[];let r;const i={addCase(o,s){const l=typeof o=="string"?o:o.type;if(!l)throw new Error(Hn(28));if(l in t)throw new Error(Hn(29));return t[l]=s,i},addMatcher(o,s){return n.push({matcher:o,reducer:s}),i},addDefaultCase(o){return r=o,i}};return e(i),[t,n,r]}function IC(e){return typeof e=="function"}function MC(e,t){let[n,r,i]=Vv(t),o;if(IC(e))o=()=>Vm(e());else{const l=Vm(e);o=()=>l}function s(l=o(),a){let u=[n[a.type],...r.filter(({matcher:f})=>f(a)).map(({reducer:f})=>f)];return u.filter(f=>!!f).length===0&&(u=[i]),u.reduce((f,d)=>{if(d)if(oi(f)){const b=d(f,a);return b===void 0?f:b}else{if(ar(f))return Fv(f,w=>d(w,a));{const w=d(f,a);if(w===void 0){if(f===null)return f;throw Error("A case reducer on a non-draftable value must not return undefined")}return w}}return f},l)}return s.getInitialState=o,s}var LC=Symbol.for("rtk-slice-createasyncthunk");function AC(e,t){return`${e}/${t}`}function NC({creators:e}={}){var n;const t=(n=e==null?void 0:e.asyncThunk)==null?void 0:n[LC];return function(i){const{name:o,reducerPath:s=o}=i;if(!o)throw new Error(Hn(11));typeof process<"u";const l=(typeof i.reducers=="function"?i.reducers(DC()):i.reducers)||{},a=Object.keys(l),u={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},f={addCase(p,v){const _=typeof p=="string"?p:p.type;if(!_)throw new Error(Hn(12));if(_ in u.sliceCaseReducersByType)throw new Error(Hn(13));return u.sliceCaseReducersByType[_]=v,f},addMatcher(p,v){return u.sliceMatchers.push({matcher:p,reducer:v}),f},exposeAction(p,v){return u.actionCreators[p]=v,f},exposeCaseReducer(p,v){return u.sliceCaseReducersByName[p]=v,f}};a.forEach(p=>{const v=l[p],_={reducerName:p,type:AC(o,p),createNotation:typeof i.reducers=="function"};$C(v)?FC(_,v,f,t):jC(_,v,f)});function d(){const[p={},v=[],_=void 0]=typeof i.extraReducers=="function"?Vv(i.extraReducers):[i.extraReducers],E={...p,...u.sliceCaseReducersByType};return MC(i.initialState,R=>{for(let k in E)R.addCase(k,E[k]);for(let k of u.sliceMatchers)R.addMatcher(k.matcher,k.reducer);for(let k of v)R.addMatcher(k.matcher,k.reducer);_&&R.addDefaultCase(_)})}const w=p=>p,b=new Map;let c;function m(p,v){return c||(c=d()),c(p,v)}function x(){return c||(c=d()),c.getInitialState()}function g(p,v=!1){function _(R){let k=R[p];return typeof k>"u"&&v&&(k=x()),k}function E(R=w){const k=Gm(b,v,{insert:()=>new WeakMap});return Gm(k,R,{insert:()=>{const M={};for(const[D,$]of Object.entries(i.selectors??{}))M[D]=BC($,R,x,v);return M}})}return{reducerPath:p,getSelectors:E,get selectors(){return E(_)},selectSlice:_}}const y={name:o,reducer:m,actions:u.actionCreators,caseReducers:u.sliceCaseReducersByName,getInitialState:x,...g(s),injectInto(p,{reducerPath:v,..._}={}){const E=v??s;return p.inject({reducerPath:E,reducer:m},_),{...y,...g(E,!0)}}};return y}}function BC(e,t,n,r){function i(o,...s){let l=t(o);return typeof l>"u"&&r&&(l=n()),e(l,...s)}return i.unwrapped=e,i}var Gv=NC();function DC(){function e(t,n){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...n}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...n){return t(...n)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,n){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:n}},asyncThunk:e}}function jC({type:e,reducerName:t,createNotation:n},r,i){let o,s;if("reducer"in r){if(n&&!UC(r))throw new Error(Hn(17));o=r.reducer,s=r.prepare}else o=r;i.addCase(e,o).exposeCaseReducer(t,o).exposeAction(t,s?Hm(e,s):Hm(e))}function $C(e){return e._reducerDefinitionType==="asyncThunk"}function UC(e){return e._reducerDefinitionType==="reducerWithPrepare"}function FC({type:e,reducerName:t},n,r,i){if(!i)throw new Error(Hn(18));const{payloadCreator:o,fulfilled:s,pending:l,rejected:a,settled:u,options:f}=n,d=i(e,o,f);r.exposeAction(t,d),s&&r.addCase(d.fulfilled,s),l&&r.addCase(d.pending,l),a&&r.addCase(d.rejected,a),u&&r.addMatcher(d.settled,u),r.exposeCaseReducer(t,{fulfilled:s||ca,pending:l||ca,rejected:a||ca,settled:u||ca})}function ca(){}function Hn(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}const Km={anchorOrigin:{horizontal:"center",vertical:"top"},autoHideDuration:6e3,message:"",open:!1},Of=Gv({name:"snackbar",initialState:Km,reducers:{resetSnackbar:()=>Km,setSnackbar:(e,t)=>{Object.assign(e,t.payload)}}}),Ym={email:"",id:""},If=Gv({name:"user",initialState:Ym,reducers:{resetUser:()=>Ym,setUser:(e,t)=>{const n=t.payload;Object.assign(e,n)}}}),dl={...Of.actions,...If.actions};dl.resetSnackbar,dl.resetUser;const zC=OC({reducer:{[Of.name]:Of.reducer,[If.name]:If.reducer},devTools:Jk});var uh={},WC=uu;Object.defineProperty(uh,"__esModule",{value:!0});var Kv=uh.default=void 0,HC=WC(Tv()),VC=se;Kv=uh.default=(0,HC.default)((0,VC.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 GC(e={}){const{autoHideDuration:t=null,disableWindowBlurListener:n=!1,onClose:r,open:i,resumeHideDuration:o}=e,s=Hd();N.useEffect(()=>{if(!i)return;function g(y){y.defaultPrevented||(y.key==="Escape"||y.key==="Esc")&&(r==null||r(y,"escapeKeyDown"))}return document.addEventListener("keydown",g),()=>{document.removeEventListener("keydown",g)}},[i,r]);const l=Sr((g,y)=>{r==null||r(g,y)}),a=Sr(g=>{!r||g==null||s.start(g,()=>{l(null,"timeout")})});N.useEffect(()=>(i&&a(t),s.clear),[i,t,a,s]);const u=g=>{r==null||r(g,"clickaway")},f=s.clear,d=N.useCallback(()=>{t!=null&&a(o??t*.5)},[t,o,a]),w=g=>y=>{const p=g.onBlur;p==null||p(y),d()},b=g=>y=>{const p=g.onFocus;p==null||p(y),f()},c=g=>y=>{const p=g.onMouseEnter;p==null||p(y),f()},m=g=>y=>{const p=g.onMouseLeave;p==null||p(y),d()};return N.useEffect(()=>{if(!n&&i)return window.addEventListener("focus",d),window.addEventListener("blur",f),()=>{window.removeEventListener("focus",d),window.removeEventListener("blur",f)}},[n,i,d,f]),{getRootProps:(g={})=>{const y=J({},mf(e),mf(g));return J({role:"presentation"},g,y,{onBlur:w(y),onFocus:b(y),onMouseEnter:c(y),onMouseLeave:m(y)})},onClickAway:u}}function qm(e){return e.substring(2).toLowerCase()}function KC(e,t){return t.documentElement.clientWidth(setTimeout(()=>{a.current=!0},0),()=>{a.current=!1}),[]);const f=ri(t.ref,l),d=Sr(c=>{const m=u.current;u.current=!1;const x=Vo(l.current);if(!a.current||!l.current||"clientX"in c&&KC(c,x))return;if(s.current){s.current=!1;return}let g;c.composedPath?g=c.composedPath().indexOf(l.current)>-1:g=!x.documentElement.contains(c.target)||l.current.contains(c.target),!g&&(n||!m)&&i(c)}),w=c=>m=>{u.current=!0;const x=t.props[c];x&&x(m)},b={ref:f};return o!==!1&&(b[o]=w(o)),N.useEffect(()=>{if(o!==!1){const c=qm(o),m=Vo(l.current),x=()=>{s.current=!0};return m.addEventListener(c,d),m.addEventListener("touchmove",x),()=>{m.removeEventListener(c,d),m.removeEventListener("touchmove",x)}}},[d,o]),r!==!1&&(b[r]=w(r)),N.useEffect(()=>{if(r!==!1){const c=qm(r),m=Vo(l.current);return m.addEventListener(c,d),()=>{m.removeEventListener(c,d)}}},[d,r]),se.jsx(N.Fragment,{children:N.cloneElement(t,b)})}const qC=e=>e.scrollTop;function Qm(e,t){var n,r;const{timeout:i,easing:o,style:s={}}=e;return{duration:(n=s.transitionDuration)!=null?n:typeof i=="number"?i:i[t.mode]||0,easing:(r=s.transitionTimingFunction)!=null?r:typeof o=="object"?o[t.mode]:o,delay:s.transitionDelay}}const QC=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Mf(e){return`scale(${e}, ${e**2})`}const XC={entering:{opacity:1,transform:Mf(1)},entered:{opacity:1,transform:"none"}},yc=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Yv=N.forwardRef(function(t,n){const{addEndListener:r,appear:i=!0,children:o,easing:s,in:l,onEnter:a,onEntered:u,onEntering:f,onExit:d,onExited:w,onExiting:b,style:c,timeout:m="auto",TransitionComponent:x=cr}=t,g=$e(t,QC),y=Hd(),p=N.useRef(),v=Pv(),_=N.useRef(null),E=ri(_,o.ref,n),R=V=>q=>{if(V){const he=_.current;q===void 0?V(he):V(he,q)}},k=R(f),M=R((V,q)=>{qC(V);const{duration:he,delay:K,easing:H}=Qm({style:c,timeout:m,easing:s},{mode:"enter"});let re;m==="auto"?(re=v.transitions.getAutoHeightDuration(V.clientHeight),p.current=re):re=he,V.style.transition=[v.transitions.create("opacity",{duration:re,delay:K}),v.transitions.create("transform",{duration:yc?re:re*.666,delay:K,easing:H})].join(","),a&&a(V,q)}),D=R(u),$=R(b),F=R(V=>{const{duration:q,delay:he,easing:K}=Qm({style:c,timeout:m,easing:s},{mode:"exit"});let H;m==="auto"?(H=v.transitions.getAutoHeightDuration(V.clientHeight),p.current=H):H=q,V.style.transition=[v.transitions.create("opacity",{duration:H,delay:he}),v.transitions.create("transform",{duration:yc?H:H*.666,delay:yc?he:he||H*.333,easing:K})].join(","),V.style.opacity=0,V.style.transform=Mf(.75),d&&d(V)}),ee=R(w),z=V=>{m==="auto"&&y.start(p.current||0,V),r&&r(_.current,V)};return se.jsx(x,J({appear:i,in:l,nodeRef:_,onEnter:M,onEntered:D,onEntering:k,onExit:F,onExited:ee,onExiting:$,addEndListener:z,timeout:m==="auto"?null:m},g,{children:(V,q)=>N.cloneElement(o,J({style:J({opacity:0,transform:Mf(.75),visibility:V==="exited"&&!l?"hidden":void 0},XC[V],c,o.props.style),ref:E},q))}))});Yv.muiSupportAuto=!0;function JC(e){return un("MuiSnackbarContent",e)}cn("MuiSnackbarContent",["root","message","action"]);const ZC=["action","className","message","role"],eP=e=>{const{classes:t}=e;return En({root:["root"],action:["action"],message:["message"]},JC,t)},tP=kt(Ov,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>{const t=e.palette.mode==="light"?.8:.98,n=ex(e.palette.background.default,t);return J({},e.typography.body2,{color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(n),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}})}),nP=kt("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0"}),rP=kt("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),iP=N.forwardRef(function(t,n){const r=Kt({props:t,name:"MuiSnackbarContent"}),{action:i,className:o,message:s,role:l="alert"}=r,a=$e(r,ZC),u=r,f=eP(u);return se.jsxs(tP,J({role:l,square:!0,elevation:6,className:et(f.root,o),ownerState:u,ref:n},a,{children:[se.jsx(nP,{className:f.message,ownerState:u,children:s}),i?se.jsx(rP,{className:f.action,ownerState:u,children:i}):null]}))});function oP(e){return un("MuiSnackbar",e)}cn("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const sP=["onEnter","onExited"],aP=["action","anchorOrigin","autoHideDuration","children","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onBlur","onClose","onFocus","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"],lP=e=>{const{classes:t,anchorOrigin:n}=e,r={root:["root",`anchorOrigin${Ie(n.vertical)}${Ie(n.horizontal)}`]};return En(r,oP,t)},Xm=kt("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`anchorOrigin${Ie(n.anchorOrigin.vertical)}${Ie(n.anchorOrigin.horizontal)}`]]}})(({theme:e,ownerState:t})=>{const n={left:"50%",right:"auto",transform:"translateX(-50%)"};return J({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},t.anchorOrigin.vertical==="top"?{top:8}:{bottom:8},t.anchorOrigin.horizontal==="left"&&{justifyContent:"flex-start"},t.anchorOrigin.horizontal==="right"&&{justifyContent:"flex-end"},{[e.breakpoints.up("sm")]:J({},t.anchorOrigin.vertical==="top"?{top:24}:{bottom:24},t.anchorOrigin.horizontal==="center"&&n,t.anchorOrigin.horizontal==="left"&&{left:24,right:"auto"},t.anchorOrigin.horizontal==="right"&&{right:24,left:"auto"})})}),uP=N.forwardRef(function(t,n){const r=Kt({props:t,name:"MuiSnackbar"}),i=Pv(),o={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{action:s,anchorOrigin:{vertical:l,horizontal:a}={vertical:"bottom",horizontal:"left"},autoHideDuration:u=null,children:f,className:d,ClickAwayListenerProps:w,ContentProps:b,disableWindowBlurListener:c=!1,message:m,open:x,TransitionComponent:g=Yv,transitionDuration:y=o,TransitionProps:{onEnter:p,onExited:v}={}}=r,_=$e(r.TransitionProps,sP),E=$e(r,aP),R=J({},r,{anchorOrigin:{vertical:l,horizontal:a},autoHideDuration:u,disableWindowBlurListener:c,TransitionComponent:g,transitionDuration:y}),k=lP(R),{getRootProps:M,onClickAway:D}=GC(J({},R)),[$,F]=N.useState(!0),ee=WE({elementType:Xm,getSlotProps:M,externalForwardedProps:E,ownerState:R,additionalProps:{ref:n},className:[k.root,d]}),z=q=>{F(!0),v&&v(q)},V=(q,he)=>{F(!1),p&&p(q,he)};return!x&&$?null:se.jsx(YC,J({onClickAway:D},w,{children:se.jsx(Xm,J({},ee,{children:se.jsx(g,J({appear:!0,in:x,timeout:y,direction:l==="top"?"down":"up",onEnter:V,onExited:z},_,{children:f||se.jsx(iP,J({message:m,action:s},b))}))}))}))}),cP=()=>f2();var qv={},Qv={exports:{}};/*! For license information please see cbor.js.LICENSE.txt */(function(e,t){(function(n,r){e.exports=r()})(wt,function(){return(()=>{var n={742:(s,l)=>{l.byteLength=function(x){var g=c(x),y=g[0],p=g[1];return 3*(y+p)/4-p},l.toByteArray=function(x){var g,y,p=c(x),v=p[0],_=p[1],E=new f(function(M,D,$){return 3*(D+$)/4-$}(0,v,_)),R=0,k=_>0?v-4:v;for(y=0;y>16&255,E[R++]=g>>8&255,E[R++]=255&g;return _===2&&(g=u[x.charCodeAt(y)]<<2|u[x.charCodeAt(y+1)]>>4,E[R++]=255&g),_===1&&(g=u[x.charCodeAt(y)]<<10|u[x.charCodeAt(y+1)]<<4|u[x.charCodeAt(y+2)]>>2,E[R++]=g>>8&255,E[R++]=255&g),E},l.fromByteArray=function(x){for(var g,y=x.length,p=y%3,v=[],_=16383,E=0,R=y-p;ER?R:E+_));return p===1?(g=x[y-1],v.push(a[g>>2]+a[g<<4&63]+"==")):p===2&&(g=(x[y-2]<<8)+x[y-1],v.push(a[g>>10]+a[g>>4&63]+a[g<<2&63]+"=")),v.join("")};for(var a=[],u=[],f=typeof Uint8Array<"u"?Uint8Array:Array,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",w=0,b=d.length;w0)throw new Error("Invalid string. Length must be a multiple of 4");var y=x.indexOf("=");return y===-1&&(y=g),[y,y===g?0:4-y%4]}function m(x,g,y){for(var p,v,_=[],E=g;E>18&63]+a[v>>12&63]+a[v>>6&63]+a[63&v]);return _.join("")}u[45]=62,u[95]=63},764:(s,l,a)=>{const u=a(742),f=a(645),d=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;l.Buffer=c,l.SlowBuffer=function(h){return+h!=h&&(h=0),c.alloc(+h)},l.INSPECT_MAX_BYTES=50;const w=2147483647;function b(h){if(h>w)throw new RangeError('The value "'+h+'" is invalid for option "size"');const S=new Uint8Array(h);return Object.setPrototypeOf(S,c.prototype),S}function c(h,S,T){if(typeof h=="number"){if(typeof S=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return g(h)}return m(h,S,T)}function m(h,S,T){if(typeof h=="string")return function(B,Z){if(typeof Z=="string"&&Z!==""||(Z="utf8"),!c.isEncoding(Z))throw new TypeError("Unknown encoding: "+Z);const ve=0|_(B,Z);let xe=b(ve);const Ve=xe.write(B,Z);return Ve!==ve&&(xe=xe.slice(0,Ve)),xe}(h,S);if(ArrayBuffer.isView(h))return function(B){if(He(B,Uint8Array)){const Z=new Uint8Array(B);return p(Z.buffer,Z.byteOffset,Z.byteLength)}return y(B)}(h);if(h==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof h);if(He(h,ArrayBuffer)||h&&He(h.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(He(h,SharedArrayBuffer)||h&&He(h.buffer,SharedArrayBuffer)))return p(h,S,T);if(typeof h=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const L=h.valueOf&&h.valueOf();if(L!=null&&L!==h)return c.from(L,S,T);const W=function(B){if(c.isBuffer(B)){const Z=0|v(B.length),ve=b(Z);return ve.length===0||B.copy(ve,0,0,Z),ve}return B.length!==void 0?typeof B.length!="number"||Re(B.length)?b(0):y(B):B.type==="Buffer"&&Array.isArray(B.data)?y(B.data):void 0}(h);if(W)return W;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof h[Symbol.toPrimitive]=="function")return c.from(h[Symbol.toPrimitive]("string"),S,T);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof h)}function x(h){if(typeof h!="number")throw new TypeError('"size" argument must be of type number');if(h<0)throw new RangeError('The value "'+h+'" is invalid for option "size"')}function g(h){return x(h),b(h<0?0:0|v(h))}function y(h){const S=h.length<0?0:0|v(h.length),T=b(S);for(let L=0;L=w)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+w.toString(16)+" bytes");return 0|h}function _(h,S){if(c.isBuffer(h))return h.length;if(ArrayBuffer.isView(h)||He(h,ArrayBuffer))return h.byteLength;if(typeof h!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof h);const T=h.length,L=arguments.length>2&&arguments[2]===!0;if(!L&&T===0)return 0;let W=!1;for(;;)switch(S){case"ascii":case"latin1":case"binary":return T;case"utf8":case"utf-8":return Ce(h).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*T;case"hex":return T>>>1;case"base64":return ze(h).length;default:if(W)return L?-1:Ce(h).length;S=(""+S).toLowerCase(),W=!0}}function E(h,S,T){let L=!1;if((S===void 0||S<0)&&(S=0),S>this.length||((T===void 0||T>this.length)&&(T=this.length),T<=0)||(T>>>=0)<=(S>>>=0))return"";for(h||(h="utf8");;)switch(h){case"hex":return re(this,S,T);case"utf8":case"utf-8":return q(this,S,T);case"ascii":return K(this,S,T);case"latin1":case"binary":return H(this,S,T);case"base64":return V(this,S,T);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,S,T);default:if(L)throw new TypeError("Unknown encoding: "+h);h=(h+"").toLowerCase(),L=!0}}function R(h,S,T){const L=h[S];h[S]=h[T],h[T]=L}function k(h,S,T,L,W){if(h.length===0)return-1;if(typeof T=="string"?(L=T,T=0):T>2147483647?T=2147483647:T<-2147483648&&(T=-2147483648),Re(T=+T)&&(T=W?0:h.length-1),T<0&&(T=h.length+T),T>=h.length){if(W)return-1;T=h.length-1}else if(T<0){if(!W)return-1;T=0}if(typeof S=="string"&&(S=c.from(S,L)),c.isBuffer(S))return S.length===0?-1:M(h,S,T,L,W);if(typeof S=="number")return S&=255,typeof Uint8Array.prototype.indexOf=="function"?W?Uint8Array.prototype.indexOf.call(h,S,T):Uint8Array.prototype.lastIndexOf.call(h,S,T):M(h,[S],T,L,W);throw new TypeError("val must be string, number or Buffer")}function M(h,S,T,L,W){let B,Z=1,ve=h.length,xe=S.length;if(L!==void 0&&((L=String(L).toLowerCase())==="ucs2"||L==="ucs-2"||L==="utf16le"||L==="utf-16le")){if(h.length<2||S.length<2)return-1;Z=2,ve/=2,xe/=2,T/=2}function Ve(Me,Be){return Z===1?Me[Be]:Me.readUInt16BE(Be*Z)}if(W){let Me=-1;for(B=T;Bve&&(T=ve-xe),B=T;B>=0;B--){let Me=!0;for(let Be=0;BeW&&(L=W):L=W;const B=S.length;let Z;for(L>B/2&&(L=B/2),Z=0;Z>8,xe=Z%256,Ve.push(xe),Ve.push(ve);return Ve}(S,h.length-T),h,T,L)}function V(h,S,T){return S===0&&T===h.length?u.fromByteArray(h):u.fromByteArray(h.slice(S,T))}function q(h,S,T){T=Math.min(h.length,T);const L=[];let W=S;for(;W239?4:B>223?3:B>191?2:1;if(W+ve<=T){let xe,Ve,Me,Be;switch(ve){case 1:B<128&&(Z=B);break;case 2:xe=h[W+1],(192&xe)==128&&(Be=(31&B)<<6|63&xe,Be>127&&(Z=Be));break;case 3:xe=h[W+1],Ve=h[W+2],(192&xe)==128&&(192&Ve)==128&&(Be=(15&B)<<12|(63&xe)<<6|63&Ve,Be>2047&&(Be<55296||Be>57343)&&(Z=Be));break;case 4:xe=h[W+1],Ve=h[W+2],Me=h[W+3],(192&xe)==128&&(192&Ve)==128&&(192&Me)==128&&(Be=(15&B)<<18|(63&xe)<<12|(63&Ve)<<6|63&Me,Be>65535&&Be<1114112&&(Z=Be))}}Z===null?(Z=65533,ve=1):Z>65535&&(Z-=65536,L.push(Z>>>10&1023|55296),Z=56320|1023&Z),L.push(Z),W+=ve}return function(B){const Z=B.length;if(Z<=he)return String.fromCharCode.apply(String,B);let ve="",xe=0;for(;xe"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.buffer}}),Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.byteOffset}}),c.poolSize=8192,c.from=function(h,S,T){return m(h,S,T)},Object.setPrototypeOf(c.prototype,Uint8Array.prototype),Object.setPrototypeOf(c,Uint8Array),c.alloc=function(h,S,T){return function(L,W,B){return x(L),L<=0?b(L):W!==void 0?typeof B=="string"?b(L).fill(W,B):b(L).fill(W):b(L)}(h,S,T)},c.allocUnsafe=function(h){return g(h)},c.allocUnsafeSlow=function(h){return g(h)},c.isBuffer=function(h){return h!=null&&h._isBuffer===!0&&h!==c.prototype},c.compare=function(h,S){if(He(h,Uint8Array)&&(h=c.from(h,h.offset,h.byteLength)),He(S,Uint8Array)&&(S=c.from(S,S.offset,S.byteLength)),!c.isBuffer(h)||!c.isBuffer(S))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(h===S)return 0;let T=h.length,L=S.length;for(let W=0,B=Math.min(T,L);WL.length?(c.isBuffer(B)||(B=c.from(B)),B.copy(L,W)):Uint8Array.prototype.set.call(L,B,W);else{if(!c.isBuffer(B))throw new TypeError('"list" argument must be an Array of Buffers');B.copy(L,W)}W+=B.length}return L},c.byteLength=_,c.prototype._isBuffer=!0,c.prototype.swap16=function(){const h=this.length;if(h%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let S=0;SS&&(h+=" ... "),""},d&&(c.prototype[d]=c.prototype.inspect),c.prototype.compare=function(h,S,T,L,W){if(He(h,Uint8Array)&&(h=c.from(h,h.offset,h.byteLength)),!c.isBuffer(h))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof h);if(S===void 0&&(S=0),T===void 0&&(T=h?h.length:0),L===void 0&&(L=0),W===void 0&&(W=this.length),S<0||T>h.length||L<0||W>this.length)throw new RangeError("out of range index");if(L>=W&&S>=T)return 0;if(L>=W)return-1;if(S>=T)return 1;if(this===h)return 0;let B=(W>>>=0)-(L>>>=0),Z=(T>>>=0)-(S>>>=0);const ve=Math.min(B,Z),xe=this.slice(L,W),Ve=h.slice(S,T);for(let Me=0;Me>>=0,isFinite(T)?(T>>>=0,L===void 0&&(L="utf8")):(L=T,T=void 0)}const W=this.length-S;if((T===void 0||T>W)&&(T=W),h.length>0&&(T<0||S<0)||S>this.length)throw new RangeError("Attempt to write outside buffer bounds");L||(L="utf8");let B=!1;for(;;)switch(L){case"hex":return D(this,h,S,T);case"utf8":case"utf-8":return $(this,h,S,T);case"ascii":case"latin1":case"binary":return F(this,h,S,T);case"base64":return ee(this,h,S,T);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return z(this,h,S,T);default:if(B)throw new TypeError("Unknown encoding: "+L);L=(""+L).toLowerCase(),B=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const he=4096;function K(h,S,T){let L="";T=Math.min(h.length,T);for(let W=S;WL)&&(T=L);let W="";for(let B=S;BT)throw new RangeError("Trying to access beyond buffer length")}function U(h,S,T,L,W,B){if(!c.isBuffer(h))throw new TypeError('"buffer" argument must be a Buffer instance');if(S>W||Sh.length)throw new RangeError("Index out of range")}function Y(h,S,T,L,W){I(S,L,W,h,T,7);let B=Number(S&BigInt(4294967295));h[T++]=B,B>>=8,h[T++]=B,B>>=8,h[T++]=B,B>>=8,h[T++]=B;let Z=Number(S>>BigInt(32)&BigInt(4294967295));return h[T++]=Z,Z>>=8,h[T++]=Z,Z>>=8,h[T++]=Z,Z>>=8,h[T++]=Z,T}function X(h,S,T,L,W){I(S,L,W,h,T,7);let B=Number(S&BigInt(4294967295));h[T+7]=B,B>>=8,h[T+6]=B,B>>=8,h[T+5]=B,B>>=8,h[T+4]=B;let Z=Number(S>>BigInt(32)&BigInt(4294967295));return h[T+3]=Z,Z>>=8,h[T+2]=Z,Z>>=8,h[T+1]=Z,Z>>=8,h[T]=Z,T+8}function ne(h,S,T,L,W,B){if(T+L>h.length)throw new RangeError("Index out of range");if(T<0)throw new RangeError("Index out of range")}function oe(h,S,T,L,W){return S=+S,T>>>=0,W||ne(h,0,T,4),f.write(h,S,T,L,23,4),T+4}function ye(h,S,T,L,W){return S=+S,T>>>=0,W||ne(h,0,T,8),f.write(h,S,T,L,52,8),T+8}c.prototype.slice=function(h,S){const T=this.length;(h=~~h)<0?(h+=T)<0&&(h=0):h>T&&(h=T),(S=S===void 0?T:~~S)<0?(S+=T)<0&&(S=0):S>T&&(S=T),S>>=0,S>>>=0,T||C(h,S,this.length);let L=this[h],W=1,B=0;for(;++B>>=0,S>>>=0,T||C(h,S,this.length);let L=this[h+--S],W=1;for(;S>0&&(W*=256);)L+=this[h+--S]*W;return L},c.prototype.readUint8=c.prototype.readUInt8=function(h,S){return h>>>=0,S||C(h,1,this.length),this[h]},c.prototype.readUint16LE=c.prototype.readUInt16LE=function(h,S){return h>>>=0,S||C(h,2,this.length),this[h]|this[h+1]<<8},c.prototype.readUint16BE=c.prototype.readUInt16BE=function(h,S){return h>>>=0,S||C(h,2,this.length),this[h]<<8|this[h+1]},c.prototype.readUint32LE=c.prototype.readUInt32LE=function(h,S){return h>>>=0,S||C(h,4,this.length),(this[h]|this[h+1]<<8|this[h+2]<<16)+16777216*this[h+3]},c.prototype.readUint32BE=c.prototype.readUInt32BE=function(h,S){return h>>>=0,S||C(h,4,this.length),16777216*this[h]+(this[h+1]<<16|this[h+2]<<8|this[h+3])},c.prototype.readBigUInt64LE=ht(function(h){O(h>>>=0,"offset");const S=this[h],T=this[h+7];S!==void 0&&T!==void 0||Q(h,this.length-8);const L=S+256*this[++h]+65536*this[++h]+this[++h]*2**24,W=this[++h]+256*this[++h]+65536*this[++h]+T*2**24;return BigInt(L)+(BigInt(W)<>>=0,"offset");const S=this[h],T=this[h+7];S!==void 0&&T!==void 0||Q(h,this.length-8);const L=S*2**24+65536*this[++h]+256*this[++h]+this[++h],W=this[++h]*2**24+65536*this[++h]+256*this[++h]+T;return(BigInt(L)<>>=0,S>>>=0,T||C(h,S,this.length);let L=this[h],W=1,B=0;for(;++B=W&&(L-=Math.pow(2,8*S)),L},c.prototype.readIntBE=function(h,S,T){h>>>=0,S>>>=0,T||C(h,S,this.length);let L=S,W=1,B=this[h+--L];for(;L>0&&(W*=256);)B+=this[h+--L]*W;return W*=128,B>=W&&(B-=Math.pow(2,8*S)),B},c.prototype.readInt8=function(h,S){return h>>>=0,S||C(h,1,this.length),128&this[h]?-1*(255-this[h]+1):this[h]},c.prototype.readInt16LE=function(h,S){h>>>=0,S||C(h,2,this.length);const T=this[h]|this[h+1]<<8;return 32768&T?4294901760|T:T},c.prototype.readInt16BE=function(h,S){h>>>=0,S||C(h,2,this.length);const T=this[h+1]|this[h]<<8;return 32768&T?4294901760|T:T},c.prototype.readInt32LE=function(h,S){return h>>>=0,S||C(h,4,this.length),this[h]|this[h+1]<<8|this[h+2]<<16|this[h+3]<<24},c.prototype.readInt32BE=function(h,S){return h>>>=0,S||C(h,4,this.length),this[h]<<24|this[h+1]<<16|this[h+2]<<8|this[h+3]},c.prototype.readBigInt64LE=ht(function(h){O(h>>>=0,"offset");const S=this[h],T=this[h+7];S!==void 0&&T!==void 0||Q(h,this.length-8);const L=this[h+4]+256*this[h+5]+65536*this[h+6]+(T<<24);return(BigInt(L)<>>=0,"offset");const S=this[h],T=this[h+7];S!==void 0&&T!==void 0||Q(h,this.length-8);const L=(S<<24)+65536*this[++h]+256*this[++h]+this[++h];return(BigInt(L)<>>=0,S||C(h,4,this.length),f.read(this,h,!0,23,4)},c.prototype.readFloatBE=function(h,S){return h>>>=0,S||C(h,4,this.length),f.read(this,h,!1,23,4)},c.prototype.readDoubleLE=function(h,S){return h>>>=0,S||C(h,8,this.length),f.read(this,h,!0,52,8)},c.prototype.readDoubleBE=function(h,S){return h>>>=0,S||C(h,8,this.length),f.read(this,h,!1,52,8)},c.prototype.writeUintLE=c.prototype.writeUIntLE=function(h,S,T,L){h=+h,S>>>=0,T>>>=0,L||U(this,h,S,T,Math.pow(2,8*T)-1,0);let W=1,B=0;for(this[S]=255&h;++B>>=0,T>>>=0,L||U(this,h,S,T,Math.pow(2,8*T)-1,0);let W=T-1,B=1;for(this[S+W]=255&h;--W>=0&&(B*=256);)this[S+W]=h/B&255;return S+T},c.prototype.writeUint8=c.prototype.writeUInt8=function(h,S,T){return h=+h,S>>>=0,T||U(this,h,S,1,255,0),this[S]=255&h,S+1},c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(h,S,T){return h=+h,S>>>=0,T||U(this,h,S,2,65535,0),this[S]=255&h,this[S+1]=h>>>8,S+2},c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(h,S,T){return h=+h,S>>>=0,T||U(this,h,S,2,65535,0),this[S]=h>>>8,this[S+1]=255&h,S+2},c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(h,S,T){return h=+h,S>>>=0,T||U(this,h,S,4,4294967295,0),this[S+3]=h>>>24,this[S+2]=h>>>16,this[S+1]=h>>>8,this[S]=255&h,S+4},c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(h,S,T){return h=+h,S>>>=0,T||U(this,h,S,4,4294967295,0),this[S]=h>>>24,this[S+1]=h>>>16,this[S+2]=h>>>8,this[S+3]=255&h,S+4},c.prototype.writeBigUInt64LE=ht(function(h,S=0){return Y(this,h,S,BigInt(0),BigInt("0xffffffffffffffff"))}),c.prototype.writeBigUInt64BE=ht(function(h,S=0){return X(this,h,S,BigInt(0),BigInt("0xffffffffffffffff"))}),c.prototype.writeIntLE=function(h,S,T,L){if(h=+h,S>>>=0,!L){const ve=Math.pow(2,8*T-1);U(this,h,S,T,ve-1,-ve)}let W=0,B=1,Z=0;for(this[S]=255&h;++W>0)-Z&255;return S+T},c.prototype.writeIntBE=function(h,S,T,L){if(h=+h,S>>>=0,!L){const ve=Math.pow(2,8*T-1);U(this,h,S,T,ve-1,-ve)}let W=T-1,B=1,Z=0;for(this[S+W]=255&h;--W>=0&&(B*=256);)h<0&&Z===0&&this[S+W+1]!==0&&(Z=1),this[S+W]=(h/B>>0)-Z&255;return S+T},c.prototype.writeInt8=function(h,S,T){return h=+h,S>>>=0,T||U(this,h,S,1,127,-128),h<0&&(h=255+h+1),this[S]=255&h,S+1},c.prototype.writeInt16LE=function(h,S,T){return h=+h,S>>>=0,T||U(this,h,S,2,32767,-32768),this[S]=255&h,this[S+1]=h>>>8,S+2},c.prototype.writeInt16BE=function(h,S,T){return h=+h,S>>>=0,T||U(this,h,S,2,32767,-32768),this[S]=h>>>8,this[S+1]=255&h,S+2},c.prototype.writeInt32LE=function(h,S,T){return h=+h,S>>>=0,T||U(this,h,S,4,2147483647,-2147483648),this[S]=255&h,this[S+1]=h>>>8,this[S+2]=h>>>16,this[S+3]=h>>>24,S+4},c.prototype.writeInt32BE=function(h,S,T){return h=+h,S>>>=0,T||U(this,h,S,4,2147483647,-2147483648),h<0&&(h=4294967295+h+1),this[S]=h>>>24,this[S+1]=h>>>16,this[S+2]=h>>>8,this[S+3]=255&h,S+4},c.prototype.writeBigInt64LE=ht(function(h,S=0){return Y(this,h,S,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),c.prototype.writeBigInt64BE=ht(function(h,S=0){return X(this,h,S,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),c.prototype.writeFloatLE=function(h,S,T){return oe(this,h,S,!0,T)},c.prototype.writeFloatBE=function(h,S,T){return oe(this,h,S,!1,T)},c.prototype.writeDoubleLE=function(h,S,T){return ye(this,h,S,!0,T)},c.prototype.writeDoubleBE=function(h,S,T){return ye(this,h,S,!1,T)},c.prototype.copy=function(h,S,T,L){if(!c.isBuffer(h))throw new TypeError("argument should be a Buffer");if(T||(T=0),L||L===0||(L=this.length),S>=h.length&&(S=h.length),S||(S=0),L>0&&L=this.length)throw new RangeError("Index out of range");if(L<0)throw new RangeError("sourceEnd out of bounds");L>this.length&&(L=this.length),h.length-S>>=0,T=T===void 0?this.length:T>>>0,h||(h=0),typeof h=="number")for(W=S;W=L+4;T-=3)S=`_${h.slice(T-3,T)}${S}`;return`${h.slice(0,T)}${S}`}function I(h,S,T,L,W,B){if(h>T||h= 0${Z} and < 2${Z} ** ${8*(B+1)}${Z}`:`>= -(2${Z} ** ${8*(B+1)-1}${Z}) and < 2 ** ${8*(B+1)-1}${Z}`,new de.ERR_OUT_OF_RANGE("value",ve,h)}(function(Z,ve,xe){O(ve,"offset"),Z[ve]!==void 0&&Z[ve+xe]!==void 0||Q(ve,Z.length-(xe+1))})(L,W,B)}function O(h,S){if(typeof h!="number")throw new de.ERR_INVALID_ARG_TYPE(S,"number",h)}function Q(h,S,T){throw Math.floor(h)!==h?(O(h,T),new de.ERR_OUT_OF_RANGE("offset","an integer",h)):S<0?new de.ERR_BUFFER_OUT_OF_BOUNDS:new de.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${S}`,h)}Se("ERR_BUFFER_OUT_OF_BOUNDS",function(h){return h?`${h} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),Se("ERR_INVALID_ARG_TYPE",function(h,S){return`The "${h}" argument must be of type number. Received type ${typeof S}`},TypeError),Se("ERR_OUT_OF_RANGE",function(h,S,T){let L=`The value of "${h}" is out of range.`,W=T;return Number.isInteger(T)&&Math.abs(T)>4294967296?W=ke(String(T)):typeof T=="bigint"&&(W=String(T),(T>BigInt(2)**BigInt(32)||T<-(BigInt(2)**BigInt(32)))&&(W=ke(W)),W+="n"),L+=` It must be ${S}. Received ${W}`,L},RangeError);const le=/[^+/0-9A-Za-z-_]/g;function Ce(h,S){let T;S=S||1/0;const L=h.length;let W=null;const B=[];for(let Z=0;Z55295&&T<57344){if(!W){if(T>56319){(S-=3)>-1&&B.push(239,191,189);continue}if(Z+1===L){(S-=3)>-1&&B.push(239,191,189);continue}W=T;continue}if(T<56320){(S-=3)>-1&&B.push(239,191,189),W=T;continue}T=65536+(W-55296<<10|T-56320)}else W&&(S-=3)>-1&&B.push(239,191,189);if(W=null,T<128){if((S-=1)<0)break;B.push(T)}else if(T<2048){if((S-=2)<0)break;B.push(T>>6|192,63&T|128)}else if(T<65536){if((S-=3)<0)break;B.push(T>>12|224,T>>6&63|128,63&T|128)}else{if(!(T<1114112))throw new Error("Invalid code point");if((S-=4)<0)break;B.push(T>>18|240,T>>12&63|128,T>>6&63|128,63&T|128)}}return B}function ze(h){return u.toByteArray(function(S){if((S=(S=S.split("=")[0]).trim().replace(le,"")).length<2)return"";for(;S.length%4!=0;)S+="=";return S}(h))}function fe(h,S,T,L){let W;for(W=0;W=S.length||W>=h.length);++W)S[W+T]=h[W];return W}function He(h,S){return h instanceof S||h!=null&&h.constructor!=null&&h.constructor.name!=null&&h.constructor.name===S.name}function Re(h){return h!=h}const rt=function(){const h="0123456789abcdef",S=new Array(256);for(let T=0;T<16;++T){const L=16*T;for(let W=0;W<16;++W)S[L+W]=h[T]+h[W]}return S}();function ht(h){return typeof BigInt>"u"?Vn:h}function Vn(){throw new Error("BigInt not supported")}},141:(s,l,a)=>{l.Commented=a(20),l.Diagnose=a(694),l.Decoder=a(774),l.Encoder=a(666),l.Simple=a(32),l.Tagged=a(785),l.Map=a(70),l.UI=l.Commented.comment,l.fI=l.Decoder.decodeAll,l.h8=l.Decoder.decodeFirst,l.cc=l.Decoder.decodeAllSync,l.$u=l.Decoder.decodeFirstSync,l.M=l.Diagnose.diagnose,l.cv=l.Encoder.encode,l.N2=l.Encoder.encodeCanonical,l.TG=l.Encoder.encodeOne,l.WR=l.Encoder.encodeAsync,l.Jx=l.Decoder.decodeFirstSync,l.ww={decode:l.Decoder.decodeFirstSync,encode:l.Encoder.encode,buffer:!0,name:"cbor"},l.mc=function(){l.Encoder.reset(),l.Tagged.reset()}},20:(s,l,a)=>{const u=a(830),f=a(873),d=a(774),w=a(202),{MT:b,NUMBYTES:c,SYMS:m}=a(66),{Buffer:x}=a(764);function g(p){return p>1?"s":""}class y extends u.Transform{constructor(v={}){const{depth:_=1,max_depth:E=10,no_summary:R=!1,tags:k={},preferWeb:M,encoding:D,...$}=v;super({...$,readableObjectMode:!1,writableObjectMode:!1}),this.depth=_,this.max_depth=E,this.all=new w,k[24]||(k[24]=this._tag_24.bind(this)),this.parser=new d({tags:k,max_depth:E,preferWeb:M,encoding:D}),this.parser.on("value",this._on_value.bind(this)),this.parser.on("start",this._on_start.bind(this)),this.parser.on("start-string",this._on_start_string.bind(this)),this.parser.on("stop",this._on_stop.bind(this)),this.parser.on("more-bytes",this._on_more.bind(this)),this.parser.on("error",this._on_error.bind(this)),R||this.parser.on("data",this._on_data.bind(this)),this.parser.bs.on("read",this._on_read.bind(this))}_tag_24(v){const _=new y({depth:this.depth+1,no_summary:!0});_.on("data",E=>this.push(E)),_.on("error",E=>this.emit("error",E)),_.end(v)}_transform(v,_,E){this.parser.write(v,_,E)}_flush(v){return this.parser._flush(v)}static comment(v,_={},E=null){if(v==null)throw new Error("input required");({options:_,cb:E}=function(F,ee){switch(typeof F){case"function":return{options:{},cb:F};case"string":return{options:{encoding:F},cb:ee};case"number":return{options:{max_depth:F},cb:ee};case"object":return{options:F||{},cb:ee};default:throw new TypeError("Unknown option type")}}(_,E));const R=new w,{encoding:k="hex",...M}=_,D=new y(M);let $=null;return typeof E=="function"?(D.on("end",()=>{E(null,R.toString("utf8"))}),D.on("error",E)):$=new Promise((F,ee)=>{D.on("end",()=>{F(R.toString("utf8"))}),D.on("error",ee)}),D.pipe(R),f.guessEncoding(v,k).pipe(D),$}_on_error(v){this.push("ERROR: "),this.push(v.toString()),this.push(` +`)}_on_read(v){this.all.write(v);const _=v.toString("hex");this.push(new Array(this.depth+1).join(" ")),this.push(_);let E=2*(this.max_depth-this.depth)-_.length;E<1&&(E=1),this.push(new Array(E+1).join(" ")),this.push("-- ")}_on_more(v,_,E,R){let k="";switch(this.depth++,v){case b.POS_INT:k="Positive number,";break;case b.NEG_INT:k="Negative number,";break;case b.ARRAY:k="Array, length";break;case b.MAP:k="Map, count";break;case b.BYTE_STRING:k="Bytes, length";break;case b.UTF8_STRING:k="String, length";break;case b.SIMPLE_FLOAT:k=_===1?"Simple value,":"Float,"}this.push(`${k} next ${_} byte${g(_)} +`)}_on_start_string(v,_,E,R){let k="";switch(this.depth++,v){case b.BYTE_STRING:k=`Bytes, length: ${_}`;break;case b.UTF8_STRING:k=`String, length: ${_.toString()}`}this.push(`${k} +`)}_on_start(v,_,E,R){switch(this.depth++,E){case b.ARRAY:this.push(`[${R}], `);break;case b.MAP:R%2?this.push(`{Val:${Math.floor(R/2)}}, `):this.push(`{Key:${Math.floor(R/2)}}, `)}switch(v){case b.TAG:this.push(`Tag #${_}`),_===24&&this.push(" Encoded CBOR data item");break;case b.ARRAY:_===m.STREAM?this.push("Array (streaming)"):this.push(`Array, ${_} item${g(_)}`);break;case b.MAP:_===m.STREAM?this.push("Map (streaming)"):this.push(`Map, ${_} pair${g(_)}`);break;case b.BYTE_STRING:this.push("Bytes (streaming)");break;case b.UTF8_STRING:this.push("String (streaming)")}this.push(` +`)}_on_stop(v){this.depth--}_on_value(v,_,E,R){if(v!==m.BREAK)switch(_){case b.ARRAY:this.push(`[${E}], `);break;case b.MAP:E%2?this.push(`{Val:${Math.floor(E/2)}}, `):this.push(`{Key:${Math.floor(E/2)}}, `)}const k=f.cborValueToString(v,-1/0);switch(typeof v=="string"||x.isBuffer(v)?(v.length>0&&(this.push(k),this.push(` +`)),this.depth--):(this.push(k),this.push(` +`)),R){case c.ONE:case c.TWO:case c.FOUR:case c.EIGHT:this.depth--}}_on_data(){this.push("0x"),this.push(this.all.read().toString("hex")),this.push(` +`)}}s.exports=y},66:(s,l)=>{l.MT={POS_INT:0,NEG_INT:1,BYTE_STRING:2,UTF8_STRING:3,ARRAY:4,MAP:5,TAG:6,SIMPLE_FLOAT:7},l.TAG={DATE_STRING:0,DATE_EPOCH:1,POS_BIGINT:2,NEG_BIGINT:3,DECIMAL_FRAC:4,BIGFLOAT:5,BASE64URL_EXPECTED:21,BASE64_EXPECTED:22,BASE16_EXPECTED:23,CBOR:24,URI:32,BASE64URL:33,BASE64:34,REGEXP:35,MIME:36,SET:258},l.NUMBYTES={ZERO:0,ONE:24,TWO:25,FOUR:26,EIGHT:27,INDEFINITE:31},l.SIMPLE={FALSE:20,TRUE:21,NULL:22,UNDEFINED:23},l.SYMS={NULL:Symbol.for("github.com/hildjj/node-cbor/null"),UNDEFINED:Symbol.for("github.com/hildjj/node-cbor/undef"),PARENT:Symbol.for("github.com/hildjj/node-cbor/parent"),BREAK:Symbol.for("github.com/hildjj/node-cbor/break"),STREAM:Symbol.for("github.com/hildjj/node-cbor/stream")},l.SHIFT32=4294967296,l.BI={MINUS_ONE:BigInt(-1),NEG_MAX:BigInt(-1)-BigInt(Number.MAX_SAFE_INTEGER),MAXINT32:BigInt("0xffffffff"),MAXINT64:BigInt("0xffffffffffffffff"),SHIFT32:BigInt(l.SHIFT32)}},774:(s,l,a)=>{const u=a(71),f=a(785),d=a(32),w=a(873),b=a(202),c=(a(830),a(66)),{MT:m,NUMBYTES:x,SYMS:g,BI:y}=c,{Buffer:p}=a(764),v=Symbol("count"),_=Symbol("major type"),E=Symbol("error"),R=Symbol("not found");function k(ee,z,V){const q=[];return q[v]=V,q[g.PARENT]=ee,q[_]=z,q}function M(ee,z){const V=new b;return V[v]=-1,V[g.PARENT]=ee,V[_]=z,V}class D extends Error{constructor(z,V){super(`Unexpected data: 0x${z.toString(16)}`),this.name="UnexpectedDataError",this.byte=z,this.value=V}}function $(ee,z){switch(typeof ee){case"function":return{options:{},cb:ee};case"string":return{options:{encoding:ee},cb:z};case"object":return{options:ee||{},cb:z};default:throw new TypeError("Unknown option type")}}class F extends u{constructor(z={}){const{tags:V={},max_depth:q=-1,preferWeb:he=!1,required:K=!1,encoding:H="hex",extendedResults:re=!1,preventDuplicateKeys:P=!1,...C}=z;super({defaultEncoding:H,...C}),this.running=!0,this.max_depth=q,this.tags=V,this.preferWeb=he,this.extendedResults=re,this.required=K,this.preventDuplicateKeys=P,re&&(this.bs.on("read",this._onRead.bind(this)),this.valueBytes=new b)}static nullcheck(z){switch(z){case g.NULL:return null;case g.UNDEFINED:return;case R:throw new Error("Value not found");default:return z}}static decodeFirstSync(z,V={}){if(z==null)throw new TypeError("input required");({options:V}=$(V));const{encoding:q="hex",...he}=V,K=new F(he),H=w.guessEncoding(z,q),re=K._parse();let P=re.next();for(;!P.done;){const U=H.read(P.value);if(U==null||U.length!==P.value)throw new Error("Insufficient data");K.extendedResults&&K.valueBytes.write(U),P=re.next(U)}let C=null;if(K.extendedResults)C=P.value,C.unused=H.read();else if(C=F.nullcheck(P.value),H.length>0){const U=H.read(1);throw H.unshift(U),new D(U[0],C)}return C}static decodeAllSync(z,V={}){if(z==null)throw new TypeError("input required");({options:V}=$(V));const{encoding:q="hex",...he}=V,K=new F(he),H=w.guessEncoding(z,q),re=[];for(;H.length>0;){const P=K._parse();let C=P.next();for(;!C.done;){const U=H.read(C.value);if(U==null||U.length!==C.value)throw new Error("Insufficient data");K.extendedResults&&K.valueBytes.write(U),C=P.next(U)}re.push(F.nullcheck(C.value))}return re}static decodeFirst(z,V={},q=null){if(z==null)throw new TypeError("input required");({options:V,cb:q}=$(V,q));const{encoding:he="hex",required:K=!1,...H}=V,re=new F(H);let P=R;const C=w.guessEncoding(z,he),U=new Promise((Y,X)=>{re.on("data",ne=>{P=F.nullcheck(ne),re.close()}),re.once("error",ne=>re.extendedResults&&ne instanceof D?(P.unused=re.bs.slice(),Y(P)):(P!==R&&(ne.value=P),P=E,re.close(),X(ne))),re.once("end",()=>{switch(P){case R:return K?X(new Error("No CBOR found")):Y(P);case E:return;default:return Y(P)}})});return typeof q=="function"&&U.then(Y=>q(null,Y),q),C.pipe(re),U}static decodeAll(z,V={},q=null){if(z==null)throw new TypeError("input required");({options:V,cb:q}=$(V,q));const{encoding:he="hex",...K}=V,H=new F(K),re=[];H.on("data",C=>re.push(F.nullcheck(C)));const P=new Promise((C,U)=>{H.on("error",U),H.on("end",()=>C(re))});return typeof q=="function"&&P.then(C=>q(void 0,C),C=>q(C,void 0)),w.guessEncoding(z,he).pipe(H),P}close(){this.running=!1,this.__fresh=!0}_onRead(z){this.valueBytes.write(z)}*_parse(){let z=null,V=0,q=null;for(;;){if(this.max_depth>=0&&V>this.max_depth)throw new Error(`Maximum depth ${this.max_depth} exceeded`);const[he]=yield 1;if(!this.running)throw this.bs.unshift(p.from([he])),new D(he);const K=he>>5,H=31&he,re=z==null?void 0:z[_],P=z==null?void 0:z.length;switch(H){case x.ONE:this.emit("more-bytes",K,1,re,P),[q]=yield 1;break;case x.TWO:case x.FOUR:case x.EIGHT:{const U=1<{const u=a(830),f=a(774),d=a(873),w=a(202),{MT:b,SYMS:c}=a(66);class m extends u.Transform{constructor(g={}){const{separator:y=` +`,stream_errors:p=!1,tags:v,max_depth:_,preferWeb:E,encoding:R,...k}=g;super({...k,readableObjectMode:!1,writableObjectMode:!1}),this.float_bytes=-1,this.separator=y,this.stream_errors=p,this.parser=new f({tags:v,max_depth:_,preferWeb:E,encoding:R}),this.parser.on("more-bytes",this._on_more.bind(this)),this.parser.on("value",this._on_value.bind(this)),this.parser.on("start",this._on_start.bind(this)),this.parser.on("stop",this._on_stop.bind(this)),this.parser.on("data",this._on_data.bind(this)),this.parser.on("error",this._on_error.bind(this))}_transform(g,y,p){return this.parser.write(g,y,p)}_flush(g){return this.parser._flush(y=>this.stream_errors?(y&&this._on_error(y),g()):g(y))}static diagnose(g,y={},p=null){if(g==null)throw new TypeError("input required");({options:y,cb:p}=function(M,D){switch(typeof M){case"function":return{options:{},cb:M};case"string":return{options:{encoding:M},cb:D};case"object":return{options:M||{},cb:D};default:throw new TypeError("Unknown option type")}}(y,p));const{encoding:v="hex",..._}=y,E=new w,R=new m(_);let k=null;return typeof p=="function"?(R.on("end",()=>p(null,E.toString("utf8"))),R.on("error",p)):k=new Promise((M,D)=>{R.on("end",()=>M(E.toString("utf8"))),R.on("error",D)}),R.pipe(E),d.guessEncoding(g,v).pipe(R),k}_on_error(g){this.stream_errors?this.push(g.toString()):this.emit("error",g)}_on_more(g,y,p,v){g===b.SIMPLE_FLOAT&&(this.float_bytes={2:1,4:2,8:3}[y])}_fore(g,y){switch(g){case b.BYTE_STRING:case b.UTF8_STRING:case b.ARRAY:y>0&&this.push(", ");break;case b.MAP:y>0&&(y%2?this.push(": "):this.push(", "))}}_on_value(g,y,p){if(g===c.BREAK)return;this._fore(y,p);const v=this.float_bytes;this.float_bytes=-1,this.push(d.cborValueToString(g,v))}_on_start(g,y,p,v){switch(this._fore(p,v),g){case b.TAG:this.push(`${y}(`);break;case b.ARRAY:this.push("[");break;case b.MAP:this.push("{");break;case b.BYTE_STRING:case b.UTF8_STRING:this.push("(")}y===c.STREAM&&this.push("_ ")}_on_stop(g){switch(g){case b.TAG:this.push(")");break;case b.ARRAY:this.push("]");break;case b.MAP:this.push("}");break;case b.BYTE_STRING:case b.UTF8_STRING:this.push(")")}}_on_data(){this.push(this.separator)}}s.exports=m},666:(s,l,a)=>{const u=a(830),f=a(202),d=a(873),w=a(66),{MT:b,NUMBYTES:c,SHIFT32:m,SIMPLE:x,SYMS:g,TAG:y,BI:p}=w,{Buffer:v}=a(764),_=b.SIMPLE_FLOAT<<5|c.TWO,E=b.SIMPLE_FLOAT<<5|c.FOUR,R=b.SIMPLE_FLOAT<<5|c.EIGHT,k=b.SIMPLE_FLOAT<<5|x.TRUE,M=b.SIMPLE_FLOAT<<5|x.FALSE,D=b.SIMPLE_FLOAT<<5|x.UNDEFINED,$=b.SIMPLE_FLOAT<<5|x.NULL,F=v.from([255]),ee=v.from("f97e00","hex"),z=v.from("f9fc00","hex"),V=v.from("f97c00","hex"),q=v.from("f98000","hex"),he={};let K={};class H extends u.Transform{constructor(P={}){const{canonical:C=!1,encodeUndefined:U,disallowUndefinedKeys:Y=!1,dateType:X="number",collapseBigIntegers:ne=!1,detectLoops:oe=!1,omitUndefinedProperties:ye=!1,genTypes:de=[],...Se}=P;if(super({...Se,readableObjectMode:!1,writableObjectMode:!0}),this.canonical=C,this.encodeUndefined=U,this.disallowUndefinedKeys=Y,this.dateType=function(ke){if(!ke)return"number";switch(ke.toLowerCase()){case"number":return"number";case"float":return"float";case"int":case"integer":return"int";case"string":return"string"}throw new TypeError(`dateType invalid, got "${ke}"`)}(X),this.collapseBigIntegers=!!this.canonical||ne,this.detectLoops=void 0,typeof oe=="boolean")oe&&(this.detectLoops=new WeakSet);else{if(!(oe instanceof WeakSet))throw new TypeError("detectLoops must be boolean or WeakSet");this.detectLoops=oe}if(this.omitUndefinedProperties=ye,this.semanticTypes={...H.SEMANTIC_TYPES},Array.isArray(de))for(let ke=0,I=de.length;ke{const oe=typeof P[ne];return oe!=="function"&&(!this.omitUndefinedProperties||oe!=="undefined")}),Y={};if(this.canonical&&U.sort((ne,oe)=>{const ye=Y[ne]||(Y[ne]=H.encode(ne)),de=Y[oe]||(Y[oe]=H.encode(oe));return ye.compare(de)}),C.indefinite){if(!this._pushUInt8(b.MAP<<5|c.INDEFINITE))return!1}else if(!this._pushInt(U.length,b.MAP))return!1;let X=null;for(let ne=0,oe=U.length;nene!==void 0)),U.indefinite){if(!P._pushUInt8(b.MAP<<5|c.INDEFINITE))return!1}else if(!P._pushInt(Y.length,b.MAP))return!1;if(P.canonical){const X=new H({genTypes:P.semanticTypes,canonical:P.canonical,detectLoops:!!P.detectLoops,dateType:P.dateType,disallowUndefinedKeys:P.disallowUndefinedKeys,collapseBigIntegers:P.collapseBigIntegers}),ne=new f({highWaterMark:P.readableHighWaterMark});X.pipe(ne),Y.sort(([oe],[ye])=>{X.pushAny(oe);const de=ne.read();X.pushAny(ye);const Se=ne.read();return de.compare(Se)});for(const[oe,ye]of Y){if(P.disallowUndefinedKeys&&oe===void 0)throw new Error("Invalid Map key: undefined");if(!P.pushAny(oe)||!P.pushAny(ye))return!1}}else for(const[X,ne]of Y){if(P.disallowUndefinedKeys&&X===void 0)throw new Error("Invalid Map key: undefined");if(!P.pushAny(X)||!P.pushAny(ne))return!1}return!(U.indefinite&&!P.push(F))}static _pushTypedArray(P,C){let U=64,Y=C.BYTES_PER_ELEMENT;const{name:X}=C.constructor;return X.startsWith("Float")?(U|=16,Y/=2):X.includes("U")||(U|=8),(X.includes("Clamped")||Y!==1&&!d.isBigEndian())&&(U|=4),U|={1:0,2:1,4:2,8:3}[Y],!!P._pushTag(U)&&H._pushBuffer(P,v.from(C.buffer,C.byteOffset,C.byteLength))}static _pushArrayBuffer(P,C){return H._pushBuffer(P,v.from(C))}static encodeIndefinite(P,C,U={}){if(C==null){if(this==null)throw new Error("No object to encode");C=this}const{chunkSize:Y=4096}=U;let X=!0;const ne=typeof C;let oe=null;if(ne==="string"){X=X&&P._pushUInt8(b.UTF8_STRING<<5|c.INDEFINITE);let ye=0;for(;ye{const X=[],ne=new H(C);ne.on("data",oe=>X.push(oe)),ne.on("error",Y),ne.on("finish",()=>U(v.concat(X))),ne.pushAny(P),ne.end()})}static get SEMANTIC_TYPES(){return K}static set SEMANTIC_TYPES(P){K=P}static reset(){H.SEMANTIC_TYPES={...he}}}Object.assign(he,{Array:H.pushArray,Date:H._pushDate,Buffer:H._pushBuffer,[v.name]:H._pushBuffer,Map:H._pushMap,NoFilter:H._pushNoFilter,[f.name]:H._pushNoFilter,RegExp:H._pushRegexp,Set:H._pushSet,ArrayBuffer:H._pushArrayBuffer,Uint8ClampedArray:H._pushTypedArray,Uint8Array:H._pushTypedArray,Uint16Array:H._pushTypedArray,Uint32Array:H._pushTypedArray,Int8Array:H._pushTypedArray,Int16Array:H._pushTypedArray,Int32Array:H._pushTypedArray,Float32Array:H._pushTypedArray,Float64Array:H._pushTypedArray,URL:H._pushURL,Boolean:H._pushBoxed,Number:H._pushBoxed,String:H._pushBoxed}),typeof BigUint64Array<"u"&&(he[BigUint64Array.name]=H._pushTypedArray),typeof BigInt64Array<"u"&&(he[BigInt64Array.name]=H._pushTypedArray),H.reset(),s.exports=H},70:(s,l,a)=>{const{Buffer:u}=a(764),f=a(666),d=a(774),{MT:w}=a(66);class b extends Map{constructor(m){super(m)}static _encode(m){return f.encodeCanonical(m).toString("base64")}static _decode(m){return d.decodeFirstSync(m,"base64")}get(m){return super.get(b._encode(m))}set(m,x){return super.set(b._encode(m),x)}delete(m){return super.delete(b._encode(m))}has(m){return super.has(b._encode(m))}*keys(){for(const m of super.keys())yield b._decode(m)}*entries(){for(const m of super.entries())yield[b._decode(m[0]),m[1]]}[Symbol.iterator](){return this.entries()}forEach(m,x){if(typeof m!="function")throw new TypeError("Must be function");for(const g of super.entries())m.call(this,g[1],b._decode(g[0]),this)}encodeCBOR(m){if(!m._pushInt(this.size,w.MAP))return!1;if(m.canonical){const x=Array.from(super.entries()).map(g=>[u.from(g[0],"base64"),g[1]]);x.sort((g,y)=>g[0].compare(y[0]));for(const g of x)if(!m.push(g[0])||!m.pushAny(g[1]))return!1}else for(const x of super.entries())if(!m.push(u.from(x[0],"base64"))||!m.pushAny(x[1]))return!1;return!0}}s.exports=b},32:(s,l,a)=>{const{MT:u,SIMPLE:f,SYMS:d}=a(66);class w{constructor(c){if(typeof c!="number")throw new Error("Invalid Simple type: "+typeof c);if(c<0||c>255||(0|c)!==c)throw new Error(`value must be a small positive integer: ${c}`);this.value=c}toString(){return`simple(${this.value})`}[Symbol.for("nodejs.util.inspect.custom")](c,m){return`simple(${this.value})`}encodeCBOR(c){return c._pushInt(this.value,u.SIMPLE_FLOAT)}static isSimple(c){return c instanceof w}static decode(c,m=!0,x=!1){switch(c){case f.FALSE:return!1;case f.TRUE:return!0;case f.NULL:return m?null:d.NULL;case f.UNDEFINED:return m?void 0:d.UNDEFINED;case-1:if(!m||!x)throw new Error("Invalid BREAK");return d.BREAK;default:return new w(c)}}}s.exports=w},785:(s,l,a)=>{const u=a(66),f=a(873),d=Symbol("INTERNAL_JSON");function w(_,E){if(f.isBufferish(_))_.toJSON=E;else if(Array.isArray(_))for(const R of _)w(R,E);else if(_&&typeof _=="object"&&(!(_ instanceof v)||_.tag<21||_.tag>23))for(const R of Object.values(_))w(R,E)}function b(){return f.base64(this)}function c(){return f.base64url(this)}function m(){return this.toString("hex")}const x={0:_=>new Date(_),1:_=>new Date(1e3*_),2:_=>f.bufferToBigInt(_),3:_=>u.BI.MINUS_ONE-f.bufferToBigInt(_),21:(_,E)=>(f.isBufferish(_)?E[d]=c:w(_,c),E),22:(_,E)=>(f.isBufferish(_)?E[d]=b:w(_,b),E),23:(_,E)=>(f.isBufferish(_)?E[d]=m:w(_,m),E),32:_=>new URL(_),33:(_,E)=>{if(!_.match(/^[a-zA-Z0-9_-]+$/))throw new Error("Invalid base64url characters");const R=_.length%4;if(R===1)throw new Error("Invalid base64url length");if(R===2){if("AQgw".indexOf(_[_.length-1])===-1)throw new Error("Invalid base64 padding")}else if(R===3&&"AEIMQUYcgkosw048".indexOf(_[_.length-1])===-1)throw new Error("Invalid base64 padding");return E},34:(_,E)=>{const R=_.match(/^[a-zA-Z0-9+/]+(?={0,2})$/);if(!R)throw new Error("Invalid base64 characters");if(_.length%4!=0)throw new Error("Invalid base64 length");if(R.groups.padding==="="){if("AQgw".indexOf(_[_.length-2])===-1)throw new Error("Invalid base64 padding")}else if(R.groups.padding==="=="&&"AEIMQUYcgkosw048".indexOf(_[_.length-3])===-1)throw new Error("Invalid base64 padding");return E},35:_=>new RegExp(_),258:_=>new Set(_)},g={64:Uint8Array,65:Uint16Array,66:Uint32Array,68:Uint8ClampedArray,69:Uint16Array,70:Uint32Array,72:Int8Array,73:Int16Array,74:Int32Array,77:Int16Array,78:Int32Array,81:Float32Array,82:Float64Array,85:Float32Array,86:Float64Array};function y(_,E){if(!f.isBufferish(_))throw new TypeError("val not a buffer");const{tag:R}=E,k=g[R];if(!k)throw new Error(`Invalid typed array tag: ${R}`);const M=2**(((16&R)>>4)+(3&R));return!(4&R)!==f.isBigEndian()&&M>1&&function(D,$,F,ee){const z=new DataView(D),[V,q]={2:[z.getUint16,z.setUint16],4:[z.getUint32,z.setUint32],8:[z.getBigUint64,z.setBigUint64]}[$],he=F+ee;for(let K=F;K0?this.err=k.message:this.err=k,this}}static get TAGS(){return p}static set TAGS(E){p=E}static reset(){v.TAGS={...x}}}v.INTERNAL_JSON=d,v.reset(),s.exports=v},873:(s,l,a)=>{const{Buffer:u}=a(764),f=a(202),d=a(830),w=a(66),{NUMBYTES:b,SHIFT32:c,BI:m,SYMS:x}=w,g=new TextDecoder("utf8",{fatal:!0,ignoreBOM:!0});l.utf8=p=>g.decode(p),l.utf8.checksUTF8=!0,l.isBufferish=function(p){return p&&typeof p=="object"&&(u.isBuffer(p)||p instanceof Uint8Array||p instanceof Uint8ClampedArray||p instanceof ArrayBuffer||p instanceof DataView)},l.bufferishToBuffer=function(p){return u.isBuffer(p)?p:ArrayBuffer.isView(p)?u.from(p.buffer,p.byteOffset,p.byteLength):p instanceof ArrayBuffer?u.from(p):null},l.parseCBORint=function(p,v){switch(p){case b.ONE:return v.readUInt8(0);case b.TWO:return v.readUInt16BE(0);case b.FOUR:return v.readUInt32BE(0);case b.EIGHT:{const _=v.readUInt32BE(0),E=v.readUInt32BE(4);return _>2097151?BigInt(_)*m.SHIFT32+BigInt(E):_*c+E}default:throw new Error(`Invalid additional info for int: ${p}`)}},l.writeHalf=function(p,v){const _=u.allocUnsafe(4);_.writeFloatBE(v,0);const E=_.readUInt32BE(0);if(8191&E)return!1;let R=E>>16&32768;const k=E>>23&255,M=8388607&E;if(k>=113&&k<=142)R+=(k-112<<10)+(M>>13);else{if(!(k>=103&&k<113)||M&(1<<126-k)-1)return!1;R+=M+8388608>>126-k}return p.writeUInt16BE(R),!0},l.parseHalf=function(p){const v=128&p[0]?-1:1,_=(124&p[0])>>2,E=(3&p[0])<<8|p[1];return _?_===31?v*(E?NaN:1/0):v*2**(_-25)*(1024+E):5960464477539063e-23*v*E},l.parseCBORfloat=function(p){switch(p.length){case 2:return l.parseHalf(p);case 4:return p.readFloatBE(0);case 8:return p.readDoubleBE(0);default:throw new Error(`Invalid float size: ${p.length}`)}},l.hex=function(p){return u.from(p.replace(/^0x/,""),"hex")},l.bin=function(p){let v=0,_=(p=p.replace(/\s/g,"")).length%8||8;const E=[];for(;_<=p.length;)E.push(parseInt(p.slice(v,_),2)),v=_,_+=8;return u.from(E)},l.arrayEqual=function(p,v){return p==null&&v==null||p!=null&&v!=null&&p.length===v.length&&p.every((_,E)=>_===v[E])},l.bufferToBigInt=function(p){return BigInt(`0x${p.toString("hex")}`)},l.cborValueToString=function(p,v=-1){switch(typeof p){case"symbol":{switch(p){case x.NULL:return"null";case x.UNDEFINED:return"undefined";case x.BREAK:return"BREAK"}if(p.description)return p.description;const _=p.toString().match(/^Symbol\((?.*)\)/);return _&&_.groups.name?_.groups.name:"Symbol"}case"string":return JSON.stringify(p);case"bigint":return p.toString();case"number":{const _=Object.is(p,-0)?"-0":String(p);return v>0?`${_}_${v}`:_}case"object":{const _=l.bufferishToBuffer(p);if(_){const E=_.toString("hex");return v===-1/0?E:`h'${E}'`}return typeof p[Symbol.for("nodejs.util.inspect.custom")]=="function"?p[Symbol.for("nodejs.util.inspect.custom")]():Array.isArray(p)?"[]":"{}"}}return String(p)},l.guessEncoding=function(p,v){if(typeof p=="string")return new f(p,v??"hex");const _=l.bufferishToBuffer(p);if(_)return new f(_);if((E=p)instanceof d.Readable||["read","on","pipe"].every(R=>typeof E[R]=="function"))return p;var E;throw new Error("Unknown input type")};const y={"=":"","+":"-","/":"_"};l.base64url=function(p){return l.bufferishToBuffer(p).toString("base64").replace(/[=+/]/g,v=>y[v])},l.base64=function(p){return l.bufferishToBuffer(p).toString("base64")},l.isBigEndian=function(){const p=new Uint8Array(4);return!((new Uint32Array(p.buffer)[0]=1)&p[0])}},202:(s,l,a)=>{const u=a(830),{Buffer:f}=a(764),d=new TextDecoder("utf8",{fatal:!0,ignoreBOM:!0});class w extends u.Transform{constructor(c,m,x={}){let g=null,y=null;switch(typeof c){case"object":f.isBuffer(c)?g=c:c&&(x=c);break;case"string":g=c;break;case"undefined":break;default:throw new TypeError("Invalid input")}switch(typeof m){case"object":m&&(x=m);break;case"string":y=m;break;case"undefined":break;default:throw new TypeError("Invalid inputEncoding")}if(!x||typeof x!="object")throw new TypeError("Invalid options");g==null&&(g=x.input),y==null&&(y=x.inputEncoding),delete x.input,delete x.inputEncoding;const p=x.watchPipe==null||x.watchPipe;delete x.watchPipe;const v=!!x.readError;delete x.readError,super(x),this.readError=v,p&&this.on("pipe",_=>{const E=_._readableState.objectMode;if(this.length>0&&E!==this._readableState.objectMode)throw new Error("Do not switch objectMode in the middle of the stream");this._readableState.objectMode=E,this._writableState.objectMode=E}),g!=null&&this.end(g,y)}static isNoFilter(c){return c instanceof this}static compare(c,m){if(!(c instanceof this))throw new TypeError("Arguments must be NoFilters");return c===m?0:c.compare(m)}static concat(c,m){if(!Array.isArray(c))throw new TypeError("list argument must be an Array of NoFilters");if(c.length===0||m===0)return f.alloc(0);m==null&&(m=c.reduce((p,v)=>{if(!(v instanceof w))throw new TypeError("list argument must be an Array of NoFilters");return p+v.length},0));let x=!0,g=!0;const y=c.map(p=>{if(!(p instanceof w))throw new TypeError("list argument must be an Array of NoFilters");const v=p.slice();return f.isBuffer(v)?g=!1:x=!1,v});if(x)return f.concat(y,m);if(g)return[].concat(...y).slice(0,m);throw new Error("Concatenating mixed object and byte streams not supported")}_transform(c,m,x){this._readableState.objectMode||f.isBuffer(c)||(c=f.from(c,m)),this.push(c),x()}_bufArray(){let c=this._readableState.buffer;if(!Array.isArray(c)){let m=c.head;for(c=[];m!=null;)c.push(m.data),m=m.next}return c}read(c){const m=super.read(c);if(m!=null){if(this.emit("read",m),this.readError&&m.length{this.length>=c?y(this.read(c)):this.writableFinished?p(new Error(`Stream finished before ${c} bytes were available`)):(m=v=>{this.length>=c&&y(this.read(c))},x=()=>{p(new Error(`Stream finished before ${c} bytes were available`))},g=p,this.on("readable",m),this.on("error",g),this.on("finish",x))}).finally(()=>{m&&(this.removeListener("readable",m),this.removeListener("error",g),this.removeListener("finish",x))})}promise(c){let m=!1;return new Promise((x,g)=>{this.on("finish",()=>{const y=this.read();c==null||m||(m=!0,c(null,y)),x(y)}),this.on("error",y=>{c==null||m||(m=!0,c(y)),g(y)})})}compare(c){if(!(c instanceof w))throw new TypeError("Arguments must be NoFilters");if(this===c)return 0;const m=this.slice(),x=c.slice();if(f.isBuffer(m)&&f.isBuffer(x))return m.compare(x);throw new Error("Cannot compare streams in object mode")}equals(c){return this.compare(c)===0}slice(c,m){if(this._readableState.objectMode)return this._bufArray().slice(c,m);const x=this._bufArray();switch(x.length){case 0:return f.alloc(0);case 1:return x[0].slice(c,m);default:return f.concat(x).slice(c,m)}}get(c){return this.slice()[c]}toJSON(){const c=this.slice();return f.isBuffer(c)?c.toJSON():c}toString(c,m,x){const g=this.slice(m,x);return f.isBuffer(g)?c&&c!=="utf8"?g.toString(c):d.decode(g):JSON.stringify(g)}[Symbol.for("nodejs.util.inspect.custom")](c,m){const x=this._bufArray().map(g=>f.isBuffer(g)?m.stylize(g.toString("hex"),"string"):JSON.stringify(g)).join(", ");return`${this.constructor.name} [${x}]`}get length(){return this._readableState.length}writeBigInt(c){let m=c.toString(16);if(c<0){const x=BigInt(Math.floor(m.length/2));m=(c=(BigInt(1)<{const u=a(830),f=a(202);class d extends u.Transform{constructor(b){super(b),this._writableState.objectMode=!1,this._readableState.objectMode=!0,this.bs=new f,this.__restart()}_transform(b,c,m){for(this.bs.write(b);this.bs.length>=this.__needed;){let x=null;const g=this.__needed===null?void 0:this.bs.read(this.__needed);try{x=this.__parser.next(g)}catch(y){return m(y)}this.__needed&&(this.__fresh=!1),x.done?(this.push(x.value),this.__restart()):this.__needed=x.value||1/0}return m()}*_parse(){throw new Error("Must be implemented in subclass")}__restart(){this.__needed=null,this.__parser=this._parse(),this.__fresh=!0}_flush(b){b(this.__fresh?null:new Error("unexpected end of input"))}}s.exports=d},187:s=>{var l,a=typeof Reflect=="object"?Reflect:null,u=a&&typeof a.apply=="function"?a.apply:function(E,R,k){return Function.prototype.apply.call(E,R,k)};l=a&&typeof a.ownKeys=="function"?a.ownKeys:Object.getOwnPropertySymbols?function(E){return Object.getOwnPropertyNames(E).concat(Object.getOwnPropertySymbols(E))}:function(E){return Object.getOwnPropertyNames(E)};var f=Number.isNaN||function(E){return E!=E};function d(){d.init.call(this)}s.exports=d,s.exports.once=function(E,R){return new Promise(function(k,M){function D(F){E.removeListener(R,$),M(F)}function $(){typeof E.removeListener=="function"&&E.removeListener("error",D),k([].slice.call(arguments))}_(E,R,$,{once:!0}),R!=="error"&&function(F,ee,z){typeof F.on=="function"&&_(F,"error",ee,{once:!0})}(E,D)})},d.EventEmitter=d,d.prototype._events=void 0,d.prototype._eventsCount=0,d.prototype._maxListeners=void 0;var w=10;function b(E){if(typeof E!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof E)}function c(E){return E._maxListeners===void 0?d.defaultMaxListeners:E._maxListeners}function m(E,R,k,M){var D,$,F,ee;if(b(k),($=E._events)===void 0?($=E._events=Object.create(null),E._eventsCount=0):($.newListener!==void 0&&(E.emit("newListener",R,k.listener?k.listener:k),$=E._events),F=$[R]),F===void 0)F=$[R]=k,++E._eventsCount;else if(typeof F=="function"?F=$[R]=M?[k,F]:[F,k]:M?F.unshift(k):F.push(k),(D=c(E))>0&&F.length>D&&!F.warned){F.warned=!0;var z=new Error("Possible EventEmitter memory leak detected. "+F.length+" "+String(R)+" listeners added. Use emitter.setMaxListeners() to increase limit");z.name="MaxListenersExceededWarning",z.emitter=E,z.type=R,z.count=F.length,ee=z,console&&console.warn&&console.warn(ee)}return E}function x(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function g(E,R,k){var M={fired:!1,wrapFn:void 0,target:E,type:R,listener:k},D=x.bind(M);return D.listener=k,M.wrapFn=D,D}function y(E,R,k){var M=E._events;if(M===void 0)return[];var D=M[R];return D===void 0?[]:typeof D=="function"?k?[D.listener||D]:[D]:k?function($){for(var F=new Array($.length),ee=0;ee0&&($=R[0]),$ instanceof Error)throw $;var F=new Error("Unhandled error."+($?" ("+$.message+")":""));throw F.context=$,F}var ee=D[E];if(ee===void 0)return!1;if(typeof ee=="function")u(ee,this,R);else{var z=ee.length,V=v(ee,z);for(k=0;k=0;$--)if(k[$]===R||k[$].listener===R){F=k[$].listener,D=$;break}if(D<0)return this;D===0?k.shift():function(ee,z){for(;z+1=0;M--)this.removeListener(E,R[M]);return this},d.prototype.listeners=function(E){return y(this,E,!0)},d.prototype.rawListeners=function(E){return y(this,E,!1)},d.listenerCount=function(E,R){return typeof E.listenerCount=="function"?E.listenerCount(R):p.call(E,R)},d.prototype.listenerCount=p,d.prototype.eventNames=function(){return this._eventsCount>0?l(this._events):[]}},645:(s,l)=>{l.read=function(a,u,f,d,w){var b,c,m=8*w-d-1,x=(1<>1,y=-7,p=f?w-1:0,v=f?-1:1,_=a[u+p];for(p+=v,b=_&(1<<-y)-1,_>>=-y,y+=m;y>0;b=256*b+a[u+p],p+=v,y-=8);for(c=b&(1<<-y)-1,b>>=-y,y+=d;y>0;c=256*c+a[u+p],p+=v,y-=8);if(b===0)b=1-g;else{if(b===x)return c?NaN:1/0*(_?-1:1);c+=Math.pow(2,d),b-=g}return(_?-1:1)*c*Math.pow(2,b-d)},l.write=function(a,u,f,d,w,b){var c,m,x,g=8*b-w-1,y=(1<>1,v=w===23?Math.pow(2,-24)-Math.pow(2,-77):0,_=d?0:b-1,E=d?1:-1,R=u<0||u===0&&1/u<0?1:0;for(u=Math.abs(u),isNaN(u)||u===1/0?(m=isNaN(u)?1:0,c=y):(c=Math.floor(Math.log(u)/Math.LN2),u*(x=Math.pow(2,-c))<1&&(c--,x*=2),(u+=c+p>=1?v/x:v*Math.pow(2,1-p))*x>=2&&(c++,x/=2),c+p>=y?(m=0,c=y):c+p>=1?(m=(u*x-1)*Math.pow(2,w),c+=p):(m=u*Math.pow(2,p-1)*Math.pow(2,w),c=0));w>=8;a[f+_]=255&m,_+=E,m/=256,w-=8);for(c=c<0;a[f+_]=255&c,_+=E,c/=256,g-=8);a[f+_-E]|=128*R}},717:s=>{typeof Object.create=="function"?s.exports=function(l,a){a&&(l.super_=a,l.prototype=Object.create(a.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}))}:s.exports=function(l,a){if(a){l.super_=a;var u=function(){};u.prototype=a.prototype,l.prototype=new u,l.prototype.constructor=l}}},155:s=>{var l,a,u=s.exports={};function f(){throw new Error("setTimeout has not been defined")}function d(){throw new Error("clearTimeout has not been defined")}function w(_){if(l===setTimeout)return setTimeout(_,0);if((l===f||!l)&&setTimeout)return l=setTimeout,setTimeout(_,0);try{return l(_,0)}catch{try{return l.call(null,_,0)}catch{return l.call(this,_,0)}}}(function(){try{l=typeof setTimeout=="function"?setTimeout:f}catch{l=f}try{a=typeof clearTimeout=="function"?clearTimeout:d}catch{a=d}})();var b,c=[],m=!1,x=-1;function g(){m&&b&&(m=!1,b.length?c=b.concat(c):x=-1,c.length&&y())}function y(){if(!m){var _=w(g);m=!0;for(var E=c.length;E;){for(b=c,c=[];++x1)for(var R=1;R{var l={};function a(f,d,w){w||(w=Error);var b=function(c){var m,x;function g(y,p,v){return c.call(this,function(_,E,R){return typeof d=="string"?d:d(_,E,R)}(y,p,v))||this}return x=c,(m=g).prototype=Object.create(x.prototype),m.prototype.constructor=m,m.__proto__=x,g}(w);b.prototype.name=w.name,b.prototype.code=f,l[f]=b}function u(f,d){if(Array.isArray(f)){var w=f.length;return f=f.map(function(b){return String(b)}),w>2?"one of ".concat(d," ").concat(f.slice(0,w-1).join(", "),", or ")+f[w-1]:w===2?"one of ".concat(d," ").concat(f[0]," or ").concat(f[1]):"of ".concat(d," ").concat(f[0])}return"of ".concat(d," ").concat(String(f))}a("ERR_INVALID_OPT_VALUE",function(f,d){return'The value "'+d+'" is invalid for option "'+f+'"'},TypeError),a("ERR_INVALID_ARG_TYPE",function(f,d,w){var b,c,m,x,g;if(typeof d=="string"&&(c="not ",d.substr(0,c.length)===c)?(b="must not be",d=d.replace(/^not /,"")):b="must be",function(p,v,_){return(_===void 0||_>p.length)&&(_=p.length),p.substring(_-v.length,_)===v}(f," argument"))m="The ".concat(f," ").concat(b," ").concat(u(d,"type"));else{var y=(typeof g!="number"&&(g=0),g+1>(x=f).length||x.indexOf(".",g)===-1?"argument":"property");m='The "'.concat(f,'" ').concat(y," ").concat(b," ").concat(u(d,"type"))}return m+". Received type ".concat(typeof w)},TypeError),a("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),a("ERR_METHOD_NOT_IMPLEMENTED",function(f){return"The "+f+" method is not implemented"}),a("ERR_STREAM_PREMATURE_CLOSE","Premature close"),a("ERR_STREAM_DESTROYED",function(f){return"Cannot call "+f+" after a stream was destroyed"}),a("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),a("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),a("ERR_STREAM_WRITE_AFTER_END","write after end"),a("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),a("ERR_UNKNOWN_ENCODING",function(f){return"Unknown encoding: "+f},TypeError),a("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),s.exports.q=l},753:(s,l,a)=>{var u=a(155),f=Object.keys||function(p){var v=[];for(var _ in p)v.push(_);return v};s.exports=x;var d=a(481),w=a(229);a(717)(x,d);for(var b=f(w.prototype),c=0;c{s.exports=f;var u=a(605);function f(d){if(!(this instanceof f))return new f(d);u.call(this,d)}a(717)(f,u),f.prototype._transform=function(d,w,b){b(null,d)}},481:(s,l,a)=>{var u,f=a(155);s.exports=V,V.ReadableState=z,a(187).EventEmitter;var d,w=function(I,O){return I.listeners(O).length},b=a(503),c=a(764).Buffer,m=a.g.Uint8Array||function(){},x=a(616);d=x&&x.debuglog?x.debuglog("stream"):function(){};var g,y,p,v=a(327),_=a(195),E=a(457).getHighWaterMark,R=a(281).q,k=R.ERR_INVALID_ARG_TYPE,M=R.ERR_STREAM_PUSH_AFTER_EOF,D=R.ERR_METHOD_NOT_IMPLEMENTED,$=R.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;a(717)(V,b);var F=_.errorOrDestroy,ee=["error","close","destroy","pause","resume"];function z(I,O,Q){u=u||a(753),I=I||{},typeof Q!="boolean"&&(Q=O instanceof u),this.objectMode=!!I.objectMode,Q&&(this.objectMode=this.objectMode||!!I.readableObjectMode),this.highWaterMark=E(this,I,"readableHighWaterMark",Q),this.buffer=new v,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=I.emitClose!==!1,this.autoDestroy=!!I.autoDestroy,this.destroyed=!1,this.defaultEncoding=I.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,I.encoding&&(g||(g=a(553).s),this.decoder=new g(I.encoding),this.encoding=I.encoding)}function V(I){if(u=u||a(753),!(this instanceof V))return new V(I);var O=this instanceof u;this._readableState=new z(I,this,O),this.readable=!0,I&&(typeof I.read=="function"&&(this._read=I.read),typeof I.destroy=="function"&&(this._destroy=I.destroy)),b.call(this)}function q(I,O,Q,le,Ce){d("readableAddChunk",O);var ze,fe=I._readableState;if(O===null)fe.reading=!1,function(He,Re){if(d("onEofChunk"),!Re.ended){if(Re.decoder){var rt=Re.decoder.end();rt&&rt.length&&(Re.buffer.push(rt),Re.length+=Re.objectMode?1:rt.length)}Re.ended=!0,Re.sync?re(He):(Re.needReadable=!1,Re.emittedReadable||(Re.emittedReadable=!0,P(He)))}}(I,fe);else if(Ce||(ze=function(He,Re){var rt,ht;return ht=Re,c.isBuffer(ht)||ht instanceof m||typeof Re=="string"||Re===void 0||He.objectMode||(rt=new k("chunk",["string","Buffer","Uint8Array"],Re)),rt}(fe,O)),ze)F(I,ze);else if(fe.objectMode||O&&O.length>0)if(typeof O=="string"||fe.objectMode||Object.getPrototypeOf(O)===c.prototype||(O=function(He){return c.from(He)}(O)),le)fe.endEmitted?F(I,new $):he(I,fe,O,!0);else if(fe.ended)F(I,new M);else{if(fe.destroyed)return!1;fe.reading=!1,fe.decoder&&!Q?(O=fe.decoder.write(O),fe.objectMode||O.length!==0?he(I,fe,O,!1):C(I,fe)):he(I,fe,O,!1)}else le||(fe.reading=!1,C(I,fe));return!fe.ended&&(fe.lengthO.highWaterMark&&(O.highWaterMark=function(Q){return Q>=K?Q=K:(Q--,Q|=Q>>>1,Q|=Q>>>2,Q|=Q>>>4,Q|=Q>>>8,Q|=Q>>>16,Q++),Q}(I)),I<=O.length?I:O.ended?O.length:(O.needReadable=!0,0))}function re(I){var O=I._readableState;d("emitReadable",O.needReadable,O.emittedReadable),O.needReadable=!1,O.emittedReadable||(d("emitReadable",O.flowing),O.emittedReadable=!0,f.nextTick(P,I))}function P(I){var O=I._readableState;d("emitReadable_",O.destroyed,O.length,O.ended),O.destroyed||!O.length&&!O.ended||(I.emit("readable"),O.emittedReadable=!1),O.needReadable=!O.flowing&&!O.ended&&O.length<=O.highWaterMark,oe(I)}function C(I,O){O.readingMore||(O.readingMore=!0,f.nextTick(U,I,O))}function U(I,O){for(;!O.reading&&!O.ended&&(O.length0,O.resumeScheduled&&!O.paused?O.flowing=!0:I.listenerCount("data")>0&&I.resume()}function X(I){d("readable nexttick read 0"),I.read(0)}function ne(I,O){d("resume",O.reading),O.reading||I.read(0),O.resumeScheduled=!1,I.emit("resume"),oe(I),O.flowing&&!O.reading&&I.read(0)}function oe(I){var O=I._readableState;for(d("flow",O.flowing);O.flowing&&I.read()!==null;);}function ye(I,O){return O.length===0?null:(O.objectMode?Q=O.buffer.shift():!I||I>=O.length?(Q=O.decoder?O.buffer.join(""):O.buffer.length===1?O.buffer.first():O.buffer.concat(O.length),O.buffer.clear()):Q=O.buffer.consume(I,O.decoder),Q);var Q}function de(I){var O=I._readableState;d("endReadable",O.endEmitted),O.endEmitted||(O.ended=!0,f.nextTick(Se,O,I))}function Se(I,O){if(d("endReadableNT",I.endEmitted,I.length),!I.endEmitted&&I.length===0&&(I.endEmitted=!0,O.readable=!1,O.emit("end"),I.autoDestroy)){var Q=O._writableState;(!Q||Q.autoDestroy&&Q.finished)&&O.destroy()}}function ke(I,O){for(var Q=0,le=I.length;Q=O.highWaterMark:O.length>0)||O.ended))return d("read: emitReadable",O.length,O.ended),O.length===0&&O.ended?de(this):re(this),null;if((I=H(I,O))===0&&O.ended)return O.length===0&&de(this),null;var le,Ce=O.needReadable;return d("need readable",Ce),(O.length===0||O.length-I0?ye(I,O):null)===null?(O.needReadable=O.length<=O.highWaterMark,I=0):(O.length-=I,O.awaitDrain=0),O.length===0&&(O.ended||(O.needReadable=!0),Q!==I&&O.ended&&de(this)),le!==null&&this.emit("data",le),le},V.prototype._read=function(I){F(this,new D("_read()"))},V.prototype.pipe=function(I,O){var Q=this,le=this._readableState;switch(le.pipesCount){case 0:le.pipes=I;break;case 1:le.pipes=[le.pipes,I];break;default:le.pipes.push(I)}le.pipesCount+=1,d("pipe count=%d opts=%j",le.pipesCount,O);var Ce=O&&O.end===!1||I===f.stdout||I===f.stderr?h:ze;function ze(){d("onend"),I.end()}le.endEmitted?f.nextTick(Ce):Q.once("end",Ce),I.on("unpipe",function S(T,L){d("onunpipe"),T===Q&&L&&L.hasUnpiped===!1&&(L.hasUnpiped=!0,d("cleanup"),I.removeListener("close",ht),I.removeListener("finish",Vn),I.removeListener("drain",fe),I.removeListener("error",rt),I.removeListener("unpipe",S),Q.removeListener("end",ze),Q.removeListener("end",h),Q.removeListener("data",Re),He=!0,!le.awaitDrain||I._writableState&&!I._writableState.needDrain||fe())});var fe=function(S){return function(){var T=S._readableState;d("pipeOnDrain",T.awaitDrain),T.awaitDrain&&T.awaitDrain--,T.awaitDrain===0&&w(S,"data")&&(T.flowing=!0,oe(S))}}(Q);I.on("drain",fe);var He=!1;function Re(S){d("ondata");var T=I.write(S);d("dest.write",T),T===!1&&((le.pipesCount===1&&le.pipes===I||le.pipesCount>1&&ke(le.pipes,I)!==-1)&&!He&&(d("false write response, pause",le.awaitDrain),le.awaitDrain++),Q.pause())}function rt(S){d("onerror",S),h(),I.removeListener("error",rt),w(I,"error")===0&&F(I,S)}function ht(){I.removeListener("finish",Vn),h()}function Vn(){d("onfinish"),I.removeListener("close",ht),h()}function h(){d("unpipe"),Q.unpipe(I)}return Q.on("data",Re),function(S,T,L){if(typeof S.prependListener=="function")return S.prependListener(T,L);S._events&&S._events.error?Array.isArray(S._events.error)?S._events.error.unshift(L):S._events.error=[L,S._events.error]:S.on(T,L)}(I,"error",rt),I.once("close",ht),I.once("finish",Vn),I.emit("pipe",Q),le.flowing||(d("pipe resume"),Q.resume()),I},V.prototype.unpipe=function(I){var O=this._readableState,Q={hasUnpiped:!1};if(O.pipesCount===0)return this;if(O.pipesCount===1)return I&&I!==O.pipes||(I||(I=O.pipes),O.pipes=null,O.pipesCount=0,O.flowing=!1,I&&I.emit("unpipe",this,Q)),this;if(!I){var le=O.pipes,Ce=O.pipesCount;O.pipes=null,O.pipesCount=0,O.flowing=!1;for(var ze=0;ze0,le.flowing!==!1&&this.resume()):I==="readable"&&(le.endEmitted||le.readableListening||(le.readableListening=le.needReadable=!0,le.flowing=!1,le.emittedReadable=!1,d("on readable",le.length,le.reading),le.length?re(this):le.reading||f.nextTick(X,this))),Q},V.prototype.addListener=V.prototype.on,V.prototype.removeListener=function(I,O){var Q=b.prototype.removeListener.call(this,I,O);return I==="readable"&&f.nextTick(Y,this),Q},V.prototype.removeAllListeners=function(I){var O=b.prototype.removeAllListeners.apply(this,arguments);return I!=="readable"&&I!==void 0||f.nextTick(Y,this),O},V.prototype.resume=function(){var I=this._readableState;return I.flowing||(d("resume"),I.flowing=!I.readableListening,function(O,Q){Q.resumeScheduled||(Q.resumeScheduled=!0,f.nextTick(ne,O,Q))}(this,I)),I.paused=!1,this},V.prototype.pause=function(){return d("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(d("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},V.prototype.wrap=function(I){var O=this,Q=this._readableState,le=!1;for(var Ce in I.on("end",function(){if(d("wrapped end"),Q.decoder&&!Q.ended){var fe=Q.decoder.end();fe&&fe.length&&O.push(fe)}O.push(null)}),I.on("data",function(fe){d("wrapped data"),Q.decoder&&(fe=Q.decoder.write(fe)),Q.objectMode&&fe==null||(Q.objectMode||fe&&fe.length)&&(O.push(fe)||(le=!0,I.pause()))}),I)this[Ce]===void 0&&typeof I[Ce]=="function"&&(this[Ce]=function(fe){return function(){return I[fe].apply(I,arguments)}}(Ce));for(var ze=0;ze{s.exports=x;var u=a(281).q,f=u.ERR_METHOD_NOT_IMPLEMENTED,d=u.ERR_MULTIPLE_CALLBACK,w=u.ERR_TRANSFORM_ALREADY_TRANSFORMING,b=u.ERR_TRANSFORM_WITH_LENGTH_0,c=a(753);function m(p,v){var _=this._transformState;_.transforming=!1;var E=_.writecb;if(E===null)return this.emit("error",new d);_.writechunk=null,_.writecb=null,v!=null&&this.push(v),E(p);var R=this._readableState;R.reading=!1,(R.needReadable||R.length{var u,f=a(155);function d(C){var U=this;this.next=null,this.entry=null,this.finish=function(){(function(Y,X,ne){var oe=Y.entry;for(Y.entry=null;oe;){var ye=oe.callback;X.pendingcb--,ye(void 0),oe=oe.next}X.corkedRequestsFree.next=Y})(U,C)}}s.exports=V,V.WritableState=z;var w,b={deprecate:a(927)},c=a(503),m=a(764).Buffer,x=a.g.Uint8Array||function(){},g=a(195),y=a(457).getHighWaterMark,p=a(281).q,v=p.ERR_INVALID_ARG_TYPE,_=p.ERR_METHOD_NOT_IMPLEMENTED,E=p.ERR_MULTIPLE_CALLBACK,R=p.ERR_STREAM_CANNOT_PIPE,k=p.ERR_STREAM_DESTROYED,M=p.ERR_STREAM_NULL_VALUES,D=p.ERR_STREAM_WRITE_AFTER_END,$=p.ERR_UNKNOWN_ENCODING,F=g.errorOrDestroy;function ee(){}function z(C,U,Y){u=u||a(753),C=C||{},typeof Y!="boolean"&&(Y=U instanceof u),this.objectMode=!!C.objectMode,Y&&(this.objectMode=this.objectMode||!!C.writableObjectMode),this.highWaterMark=y(this,C,"writableHighWaterMark",Y),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var X=C.decodeStrings===!1;this.decodeStrings=!X,this.defaultEncoding=C.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(ne){(function(oe,ye){var de=oe._writableState,Se=de.sync,ke=de.writecb;if(typeof ke!="function")throw new E;if(function(O){O.writing=!1,O.writecb=null,O.length-=O.writelen,O.writelen=0}(de),ye)(function(O,Q,le,Ce,ze){--Q.pendingcb,le?(f.nextTick(ze,Ce),f.nextTick(P,O,Q),O._writableState.errorEmitted=!0,F(O,Ce)):(ze(Ce),O._writableState.errorEmitted=!0,F(O,Ce),P(O,Q))})(oe,de,Se,ye,ke);else{var I=H(de)||oe.destroyed;I||de.corked||de.bufferProcessing||!de.bufferedRequest||K(oe,de),Se?f.nextTick(he,oe,de,I,ke):he(oe,de,I,ke)}})(U,ne)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=C.emitClose!==!1,this.autoDestroy=!!C.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new d(this)}function V(C){var U=this instanceof(u=u||a(753));if(!U&&!w.call(V,this))return new V(C);this._writableState=new z(C,this,U),this.writable=!0,C&&(typeof C.write=="function"&&(this._write=C.write),typeof C.writev=="function"&&(this._writev=C.writev),typeof C.destroy=="function"&&(this._destroy=C.destroy),typeof C.final=="function"&&(this._final=C.final)),c.call(this)}function q(C,U,Y,X,ne,oe,ye){U.writelen=X,U.writecb=ye,U.writing=!0,U.sync=!0,U.destroyed?U.onwrite(new k("write")):Y?C._writev(ne,U.onwrite):C._write(ne,oe,U.onwrite),U.sync=!1}function he(C,U,Y,X){Y||function(ne,oe){oe.length===0&&oe.needDrain&&(oe.needDrain=!1,ne.emit("drain"))}(C,U),U.pendingcb--,X(),P(C,U)}function K(C,U){U.bufferProcessing=!0;var Y=U.bufferedRequest;if(C._writev&&Y&&Y.next){var X=U.bufferedRequestCount,ne=new Array(X),oe=U.corkedRequestsFree;oe.entry=Y;for(var ye=0,de=!0;Y;)ne[ye]=Y,Y.isBuf||(de=!1),Y=Y.next,ye+=1;ne.allBuffers=de,q(C,U,!0,U.length,ne,"",oe.finish),U.pendingcb++,U.lastBufferedRequest=null,oe.next?(U.corkedRequestsFree=oe.next,oe.next=null):U.corkedRequestsFree=new d(U),U.bufferedRequestCount=0}else{for(;Y;){var Se=Y.chunk,ke=Y.encoding,I=Y.callback;if(q(C,U,!1,U.objectMode?1:Se.length,Se,ke,I),Y=Y.next,U.bufferedRequestCount--,U.writing)break}Y===null&&(U.lastBufferedRequest=null)}U.bufferedRequest=Y,U.bufferProcessing=!1}function H(C){return C.ending&&C.length===0&&C.bufferedRequest===null&&!C.finished&&!C.writing}function re(C,U){C._final(function(Y){U.pendingcb--,Y&&F(C,Y),U.prefinished=!0,C.emit("prefinish"),P(C,U)})}function P(C,U){var Y=H(U);if(Y&&(function(ne,oe){oe.prefinished||oe.finalCalled||(typeof ne._final!="function"||oe.destroyed?(oe.prefinished=!0,ne.emit("prefinish")):(oe.pendingcb++,oe.finalCalled=!0,f.nextTick(re,ne,oe)))}(C,U),U.pendingcb===0&&(U.finished=!0,C.emit("finish"),U.autoDestroy))){var X=C._readableState;(!X||X.autoDestroy&&X.endEmitted)&&C.destroy()}return Y}a(717)(V,c),z.prototype.getBuffer=function(){for(var C=this.bufferedRequest,U=[];C;)U.push(C),C=C.next;return U},function(){try{Object.defineProperty(z.prototype,"buffer",{get:b.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}(),typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(w=Function.prototype[Symbol.hasInstance],Object.defineProperty(V,Symbol.hasInstance,{value:function(C){return!!w.call(this,C)||this===V&&C&&C._writableState instanceof z}})):w=function(C){return C instanceof this},V.prototype.pipe=function(){F(this,new R)},V.prototype.write=function(C,U,Y){var X,ne=this._writableState,oe=!1,ye=!ne.objectMode&&(X=C,m.isBuffer(X)||X instanceof x);return ye&&!m.isBuffer(C)&&(C=function(de){return m.from(de)}(C)),typeof U=="function"&&(Y=U,U=null),ye?U="buffer":U||(U=ne.defaultEncoding),typeof Y!="function"&&(Y=ee),ne.ending?function(de,Se){var ke=new D;F(de,ke),f.nextTick(Se,ke)}(this,Y):(ye||function(de,Se,ke,I){var O;return ke===null?O=new M:typeof ke=="string"||Se.objectMode||(O=new v("chunk",["string","Buffer"],ke)),!O||(F(de,O),f.nextTick(I,O),!1)}(this,ne,C,Y))&&(ne.pendingcb++,oe=function(de,Se,ke,I,O,Q){if(!ke){var le=function(He,Re,rt){return He.objectMode||He.decodeStrings===!1||typeof Re!="string"||(Re=m.from(Re,rt)),Re}(Se,I,O);I!==le&&(ke=!0,O="buffer",I=le)}var Ce=Se.objectMode?1:I.length;Se.length+=Ce;var ze=Se.length-1))throw new $(C);return this._writableState.defaultEncoding=C,this},Object.defineProperty(V.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(V.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),V.prototype._write=function(C,U,Y){Y(new _("_write()"))},V.prototype._writev=null,V.prototype.end=function(C,U,Y){var X=this._writableState;return typeof C=="function"?(Y=C,C=null,U=null):typeof U=="function"&&(Y=U,U=null),C!=null&&this.write(C,U),X.corked&&(X.corked=1,this.uncork()),X.ending||function(ne,oe,ye){oe.ending=!0,P(ne,oe),ye&&(oe.finished?f.nextTick(ye):ne.once("finish",ye)),oe.ended=!0,ne.writable=!1}(this,X,Y),this},Object.defineProperty(V.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(V.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function(C){this._writableState&&(this._writableState.destroyed=C)}}),V.prototype.destroy=g.destroy,V.prototype._undestroy=g.undestroy,V.prototype._destroy=function(C,U){U(C)}},850:(s,l,a)=>{var u,f=a(155);function d(M,D,$){return D in M?Object.defineProperty(M,D,{value:$,enumerable:!0,configurable:!0,writable:!0}):M[D]=$,M}var w=a(610),b=Symbol("lastResolve"),c=Symbol("lastReject"),m=Symbol("error"),x=Symbol("ended"),g=Symbol("lastPromise"),y=Symbol("handlePromise"),p=Symbol("stream");function v(M,D){return{value:M,done:D}}function _(M){var D=M[b];if(D!==null){var $=M[p].read();$!==null&&(M[g]=null,M[b]=null,M[c]=null,D(v($,!1)))}}function E(M){f.nextTick(_,M)}var R=Object.getPrototypeOf(function(){}),k=Object.setPrototypeOf((d(u={get stream(){return this[p]},next:function(){var M=this,D=this[m];if(D!==null)return Promise.reject(D);if(this[x])return Promise.resolve(v(void 0,!0));if(this[p].destroyed)return new Promise(function(z,V){f.nextTick(function(){M[m]?V(M[m]):z(v(void 0,!0))})});var $,F=this[g];if(F)$=new Promise(function(z,V){return function(q,he){z.then(function(){V[x]?q(v(void 0,!0)):V[y](q,he)},he)}}(F,this));else{var ee=this[p].read();if(ee!==null)return Promise.resolve(v(ee,!1));$=new Promise(this[y])}return this[g]=$,$}},Symbol.asyncIterator,function(){return this}),d(u,"return",function(){var M=this;return new Promise(function(D,$){M[p].destroy(null,function(F){F?$(F):D(v(void 0,!0))})})}),u),R);s.exports=function(M){var D,$=Object.create(k,(d(D={},p,{value:M,writable:!0}),d(D,b,{value:null,writable:!0}),d(D,c,{value:null,writable:!0}),d(D,m,{value:null,writable:!0}),d(D,x,{value:M._readableState.endEmitted,writable:!0}),d(D,y,{value:function(F,ee){var z=$[p].read();z?($[g]=null,$[b]=null,$[c]=null,F(v(z,!1))):($[b]=F,$[c]=ee)},writable:!0}),D));return $[g]=null,w(M,function(F){if(F&&F.code!=="ERR_STREAM_PREMATURE_CLOSE"){var ee=$[c];return ee!==null&&($[g]=null,$[b]=null,$[c]=null,ee(F)),void($[m]=F)}var z=$[b];z!==null&&($[g]=null,$[b]=null,$[c]=null,z(v(void 0,!0))),$[x]=!0}),M.on("readable",E.bind(null,$)),$}},327:(s,l,a)=>{function u(m,x){var g=Object.keys(m);if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(m);x&&(y=y.filter(function(p){return Object.getOwnPropertyDescriptor(m,p).enumerable})),g.push.apply(g,y)}return g}function f(m,x,g){return x in m?Object.defineProperty(m,x,{value:g,enumerable:!0,configurable:!0,writable:!0}):m[x]=g,m}function d(m,x){for(var g=0;g0?this.tail.next=p:this.head=p,this.tail=p,++this.length}},{key:"unshift",value:function(y){var p={data:y,next:this.head};this.length===0&&(this.tail=p),this.head=p,++this.length}},{key:"shift",value:function(){if(this.length!==0){var y=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,y}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(y){if(this.length===0)return"";for(var p=this.head,v=""+p.data;p=p.next;)v+=y+p.data;return v}},{key:"concat",value:function(y){if(this.length===0)return w.alloc(0);for(var p,v,_,E=w.allocUnsafe(y>>>0),R=this.head,k=0;R;)p=R.data,v=E,_=k,w.prototype.copy.call(p,v,_),k+=R.data.length,R=R.next;return E}},{key:"consume",value:function(y,p){var v;return yE.length?E.length:y;if(R===E.length?_+=E:_+=E.slice(0,y),(y-=R)==0){R===E.length?(++v,p.next?this.head=p.next:this.head=this.tail=null):(this.head=p,p.data=E.slice(R));break}++v}return this.length-=v,_}},{key:"_getBuffer",value:function(y){var p=w.allocUnsafe(y),v=this.head,_=1;for(v.data.copy(p),y-=v.data.length;v=v.next;){var E=v.data,R=y>E.length?E.length:y;if(E.copy(p,p.length-y,0,R),(y-=R)==0){R===E.length?(++_,v.next?this.head=v.next:this.head=this.tail=null):(this.head=v,v.data=E.slice(R));break}++_}return this.length-=_,p}},{key:c,value:function(y,p){return b(this,function(v){for(var _=1;_{var u=a(155);function f(b,c){w(b,c),d(b)}function d(b){b._writableState&&!b._writableState.emitClose||b._readableState&&!b._readableState.emitClose||b.emit("close")}function w(b,c){b.emit("error",c)}s.exports={destroy:function(b,c){var m=this,x=this._readableState&&this._readableState.destroyed,g=this._writableState&&this._writableState.destroyed;return x||g?(c?c(b):b&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,u.nextTick(w,this,b)):u.nextTick(w,this,b)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(b||null,function(y){!c&&y?m._writableState?m._writableState.errorEmitted?u.nextTick(d,m):(m._writableState.errorEmitted=!0,u.nextTick(f,m,y)):u.nextTick(f,m,y):c?(u.nextTick(d,m),c(y)):u.nextTick(d,m)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(b,c){var m=b._readableState,x=b._writableState;m&&m.autoDestroy||x&&x.autoDestroy?b.destroy(c):b.emit("error",c)}}},610:(s,l,a)=>{var u=a(281).q.ERR_STREAM_PREMATURE_CLOSE;function f(){}s.exports=function d(w,b,c){if(typeof b=="function")return d(w,null,b);b||(b={}),c=function(M){var D=!1;return function(){if(!D){D=!0;for(var $=arguments.length,F=new Array($),ee=0;ee<$;ee++)F[ee]=arguments[ee];M.apply(this,F)}}}(c||f);var m=b.readable||b.readable!==!1&&w.readable,x=b.writable||b.writable!==!1&&w.writable,g=function(){w.writable||p()},y=w._writableState&&w._writableState.finished,p=function(){x=!1,y=!0,m||c.call(w)},v=w._readableState&&w._readableState.endEmitted,_=function(){m=!1,v=!0,x||c.call(w)},E=function(M){c.call(w,M)},R=function(){var M;return m&&!v?(w._readableState&&w._readableState.ended||(M=new u),c.call(w,M)):x&&!y?(w._writableState&&w._writableState.ended||(M=new u),c.call(w,M)):void 0},k=function(){w.req.on("finish",p)};return function(M){return M.setHeader&&typeof M.abort=="function"}(w)?(w.on("complete",p),w.on("abort",R),w.req?k():w.on("request",k)):x&&!w._writableState&&(w.on("end",g),w.on("close",g)),w.on("end",_),w.on("finish",p),b.error!==!1&&w.on("error",E),w.on("close",R),function(){w.removeListener("complete",p),w.removeListener("abort",R),w.removeListener("request",k),w.req&&w.req.removeListener("finish",p),w.removeListener("end",g),w.removeListener("close",g),w.removeListener("finish",p),w.removeListener("end",_),w.removeListener("error",E),w.removeListener("close",R)}}},167:s=>{s.exports=function(){throw new Error("Readable.from is not available in the browser")}},946:(s,l,a)=>{var u,f=a(281).q,d=f.ERR_MISSING_ARGS,w=f.ERR_STREAM_DESTROYED;function b(y){if(y)throw y}function c(y,p,v,_){_=function(k){var M=!1;return function(){M||(M=!0,k.apply(void 0,arguments))}}(_);var E=!1;y.on("close",function(){E=!0}),u===void 0&&(u=a(610)),u(y,{readable:p,writable:v},function(k){if(k)return _(k);E=!0,_()});var R=!1;return function(k){if(!E&&!R)return R=!0,function(M){return M.setHeader&&typeof M.abort=="function"}(y)?y.abort():typeof y.destroy=="function"?y.destroy():void _(k||new w("pipe"))}}function m(y){y()}function x(y,p){return y.pipe(p)}function g(y){return y.length?typeof y[y.length-1]!="function"?b:y.pop():b}s.exports=function(){for(var y=arguments.length,p=new Array(y),v=0;v0,function($){_||(_=$),$&&R.forEach(m),D||(R.forEach(m),E(_))})});return p.reduce(x)}},457:(s,l,a)=>{var u=a(281).q.ERR_INVALID_OPT_VALUE;s.exports={getHighWaterMark:function(f,d,w,b){var c=function(m,x,g){return m.highWaterMark!=null?m.highWaterMark:x?m[g]:null}(d,b,w);if(c!=null){if(!isFinite(c)||Math.floor(c)!==c||c<0)throw new u(b?w:"highWaterMark",c);return Math.floor(c)}return f.objectMode?16:16384}}},503:(s,l,a)=>{s.exports=a(187).EventEmitter},509:(s,l,a)=>{var u=a(764),f=u.Buffer;function d(b,c){for(var m in b)c[m]=b[m]}function w(b,c,m){return f(b,c,m)}f.from&&f.alloc&&f.allocUnsafe&&f.allocUnsafeSlow?s.exports=u:(d(u,l),l.Buffer=w),w.prototype=Object.create(f.prototype),d(f,w),w.from=function(b,c,m){if(typeof b=="number")throw new TypeError("Argument must not be a number");return f(b,c,m)},w.alloc=function(b,c,m){if(typeof b!="number")throw new TypeError("Argument must be a number");var x=f(b);return c!==void 0?typeof m=="string"?x.fill(c,m):x.fill(c):x.fill(0),x},w.allocUnsafe=function(b){if(typeof b!="number")throw new TypeError("Argument must be a number");return f(b)},w.allocUnsafeSlow=function(b){if(typeof b!="number")throw new TypeError("Argument must be a number");return u.SlowBuffer(b)}},830:(s,l,a)=>{s.exports=f;var u=a(187).EventEmitter;function f(){u.call(this)}a(717)(f,u),f.Readable=a(481),f.Writable=a(229),f.Duplex=a(753),f.Transform=a(605),f.PassThrough=a(725),f.finished=a(610),f.pipeline=a(946),f.Stream=f,f.prototype.pipe=function(d,w){var b=this;function c(_){d.writable&&d.write(_)===!1&&b.pause&&b.pause()}function m(){b.readable&&b.resume&&b.resume()}b.on("data",c),d.on("drain",m),d._isStdio||w&&w.end===!1||(b.on("end",g),b.on("close",y));var x=!1;function g(){x||(x=!0,d.end())}function y(){x||(x=!0,typeof d.destroy=="function"&&d.destroy())}function p(_){if(v(),u.listenerCount(this,"error")===0)throw _}function v(){b.removeListener("data",c),d.removeListener("drain",m),b.removeListener("end",g),b.removeListener("close",y),b.removeListener("error",p),d.removeListener("error",p),b.removeListener("end",v),b.removeListener("close",v),d.removeListener("close",v)}return b.on("error",p),d.on("error",p),b.on("end",v),b.on("close",v),d.on("close",v),d.emit("pipe",b),d}},553:(s,l,a)=>{var u=a(509).Buffer,f=u.isEncoding||function(v){switch((v=""+v)&&v.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function d(v){var _;switch(this.encoding=function(E){var R=function(k){if(!k)return"utf8";for(var M;;)switch(k){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return k;default:if(M)return;k=(""+k).toLowerCase(),M=!0}}(E);if(typeof R!="string"&&(u.isEncoding===f||!f(E)))throw new Error("Unknown encoding: "+E);return R||E}(v),this.encoding){case"utf16le":this.text=c,this.end=m,_=4;break;case"utf8":this.fillLast=b,_=4;break;case"base64":this.text=x,this.end=g,_=3;break;default:return this.write=y,void(this.end=p)}this.lastNeed=0,this.lastTotal=0,this.lastChar=u.allocUnsafe(_)}function w(v){return v<=127?0:v>>5==6?2:v>>4==14?3:v>>3==30?4:v>>6==2?-1:-2}function b(v){var _=this.lastTotal-this.lastNeed,E=function(R,k,M){if((192&k[0])!=128)return R.lastNeed=0,"�";if(R.lastNeed>1&&k.length>1){if((192&k[1])!=128)return R.lastNeed=1,"�";if(R.lastNeed>2&&k.length>2&&(192&k[2])!=128)return R.lastNeed=2,"�"}}(this,v);return E!==void 0?E:this.lastNeed<=v.length?(v.copy(this.lastChar,_,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(v.copy(this.lastChar,_,0,v.length),void(this.lastNeed-=v.length))}function c(v,_){if((v.length-_)%2==0){var E=v.toString("utf16le",_);if(E){var R=E.charCodeAt(E.length-1);if(R>=55296&&R<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=v[v.length-2],this.lastChar[1]=v[v.length-1],E.slice(0,-1)}return E}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=v[v.length-1],v.toString("utf16le",_,v.length-1)}function m(v){var _=v&&v.length?this.write(v):"";if(this.lastNeed){var E=this.lastTotal-this.lastNeed;return _+this.lastChar.toString("utf16le",0,E)}return _}function x(v,_){var E=(v.length-_)%3;return E===0?v.toString("base64",_):(this.lastNeed=3-E,this.lastTotal=3,E===1?this.lastChar[0]=v[v.length-1]:(this.lastChar[0]=v[v.length-2],this.lastChar[1]=v[v.length-1]),v.toString("base64",_,v.length-E))}function g(v){var _=v&&v.length?this.write(v):"";return this.lastNeed?_+this.lastChar.toString("base64",0,3-this.lastNeed):_}function y(v){return v.toString(this.encoding)}function p(v){return v&&v.length?this.write(v):""}l.s=d,d.prototype.write=function(v){if(v.length===0)return"";var _,E;if(this.lastNeed){if((_=this.fillLast(v))===void 0)return"";E=this.lastNeed,this.lastNeed=0}else E=0;return E=0?(F>0&&(k.lastNeed=F-1),F):--$=0?(F>0&&(k.lastNeed=F-2),F):--$=0?(F>0&&(F===2?F=0:k.lastNeed=F-3),F):0}(this,v,_);if(!this.lastNeed)return v.toString("utf8",_);this.lastTotal=E;var R=v.length-(E-this.lastNeed);return v.copy(this.lastChar,0,R),v.toString("utf8",_,R)},d.prototype.fillLast=function(v){if(this.lastNeed<=v.length)return v.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);v.copy(this.lastChar,this.lastTotal-this.lastNeed,0,v.length),this.lastNeed-=v.length}},927:(s,l,a)=>{function u(f){try{if(!a.g.localStorage)return!1}catch{return!1}var d=a.g.localStorage[f];return d!=null&&String(d).toLowerCase()==="true"}s.exports=function(f,d){if(u("noDeprecation"))return f;var w=!1;return function(){if(!w){if(u("throwDeprecation"))throw new Error(d);u("traceDeprecation")?console.trace(d):console.warn(d),w=!0}return f.apply(this,arguments)}}},361:()=>{},616:()=>{}},r={};function i(s){var l=r[s];if(l!==void 0)return l.exports;var a=r[s]={exports:{}};return n[s](a,a.exports,i),a.exports}i.d=(s,l)=>{for(var a in l)i.o(l,a)&&!i.o(s,a)&&Object.defineProperty(s,a,{enumerable:!0,get:l[a]})},i.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),i.o=(s,l)=>Object.prototype.hasOwnProperty.call(s,l),i.r=s=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})};var o={};return(()=>{i.r(o),i.d(o,{Commented:()=>s.Commented,Decoder:()=>s.Decoder,Diagnose:()=>s.Diagnose,Encoder:()=>s.Encoder,Map:()=>s.Map,Simple:()=>s.Simple,Tagged:()=>s.Tagged,comment:()=>s.UI,decode:()=>s.Jx,decodeAll:()=>s.fI,decodeAllSync:()=>s.cc,decodeFirst:()=>s.h8,decodeFirstSync:()=>s.$u,diagnose:()=>s.M,encode:()=>s.cv,encodeAsync:()=>s.WR,encodeCanonical:()=>s.N2,encodeOne:()=>s.TG,leveldb:()=>s.ww,reset:()=>s.mc});var s=i(141)})(),o})()})})(Qv);var fP=Qv.exports,_u={},dP=wt&&wt.__awaiter||function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function l(f){try{u(r.next(f))}catch(d){s(d)}}function a(f){try{u(r.throw(f))}catch(d){s(d)}}function u(f){f.done?o(f.value):i(f.value).then(l,a)}u((r=r.apply(e,t||[])).next())})},hP=wt&&wt.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(u){return function(f){return a([u,f])}}function a(u){if(r)throw new TypeError("Generator is already executing.");for(;s&&(s=0,u[0]&&(n=0)),n;)try{if(r=1,i&&(o=u[0]&2?i.return:u[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,u[1])).done)return o;switch(i=0,o&&(u=[u[0]&2,o.value]),u[0]){case 0:case 1:o=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,i=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(o=n.trys,!(o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]t.maxPresenceInterval*2&&delete t.presence[n]},this.maxPresenceInterval)},e.prototype.destroy=function(){this.interval!==null&&clearInterval(this.interval),this.updateHandle!==null&&clearTimeout(this.updateHandle),this.db.unsubscribe(this.key,this.onMessage)},e.prototype.onMessage=function(t){var n,r=t.value;r.client!==this.clientId&&(this.presence=hl(hl({},this.presence),(n={},n[r.client]={value:r.value,lastSeen:Date.now()},n)),this.callback(this.presence))},e.prototype.update=function(){var t=this;this.db.send({type:"push",action:{type:"relay"},value:{value:this.state,client:this.clientId},key:this.key}),this.nextUpdate=Date.now()+this.maxPresenceInterval,this.lastUpdate=Date.now(),this.updateHandle=setTimeout(function(){t.update()},this.maxPresenceInterval)},e.prototype.updateState=function(t){var n=this;if(JSON.stringify(t)!==JSON.stringify(this.state)){this.state=t;var r=this.lastUpdate+this.minPresenceInterval;rthis.sizeThreshold&&this.lastConfirmedSeq!==0){var r=this.compactable.packState(this.lastConfirmedState);(n=this.db)===null||n===void 0||n.send({type:"push",action:{type:"compact",seq:this.lastConfirmedSeq},value:{reset:r},key:this.key})}},e}();to.Compactor=wP;var bP=wt&&wt.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();Tu.__esModule=!0;Tu.Reducer=void 0;var Xv=to,SP=function(e){bP(t,e);function t(n,r){var i=e.call(this)||this;return i.reducer=n,i.initState=r,i.optimistic=!0,i}return t.prototype.applyAction=function(n,r){return this.reducer(n,r)},t.prototype.initialState=function(){return this.initState},t}(Xv.Compactable),_P=function(){function e(t){var n=new SP(t.reducer,t.initialValue);this.compactor=new Xv.Compactor({key:t.key,compactable:n,sizeThreshold:t.sizeThreshold,db:t.db,callback:t.callback}),this.dispatch=this.dispatch.bind(this)}return e.prototype.subscribe=function(){this.compactor.subscribe()},e.prototype.destroy=function(){this.compactor.destroy()},e.prototype.dispatch=function(t){this.compactor.dispatch(t)},e}();Tu.Reducer=_P;var Ru={};Ru.__esModule=!0;Ru.StateListener=void 0;var EP=function(){function e(t){var n=this,r;this.lastUpdateSent=0,this.lastValue=null,this.debounceTimeout=null,this.state=null,this.callback=t.callback,this.db=t.db,this.key=t.key,this.setStateOptimistic=this.setStateOptimistic.bind(this),this.sendUpdate=this.sendUpdate.bind(this),this.randId=Math.random().toString(36).substring(7),this.debounceMillis=(r=t.debounceMillis)!==null&&r!==void 0?r:20,this.handler=function(i){var o=i.value;o.i!==n.randId&&n.callback(o.v)}}return e.prototype.subscribe=function(){this.db.subscribe(this.key,this.handler)},e.prototype.destroy=function(){this.db.unsubscribe(this.key,this.handler)},e.prototype.onMessage=function(t){this.callback(t.value),this.state=t.value},e.prototype.sendUpdate=function(){var t;this.debounceTimeout!==null&&(clearTimeout(this.debounceTimeout),this.debounceTimeout=null);var n={v:this.lastValue,i:this.randId};(t=this.db)===null||t===void 0||t.send({type:"push",action:{type:"replace"},value:n,key:this.key})},e.prototype.setStateOptimistic=function(t){this.callback(t),this.lastValue=t;var n=performance.now();n-this.lastUpdateSent{for(var n in t)Cu(e,n,{get:t[n],enumerable:!0})},Jv=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of TP(t))!CP.call(e,i)&&i!==n&&Cu(e,i,{get:()=>t[i],enumerable:!(r=kP(t,i))||r.enumerable});return e},OP=(e,t,n)=>(n=e!=null?xP(RP(e)):{},Jv(!e||!e.__esModule?Cu(n,"default",{value:e,enumerable:!0}):n,e)),IP=e=>Jv(Cu({},"__esModule",{value:!0}),e),MP=(e,t,n)=>new Promise((r,i)=>{var o=a=>{try{l(n.next(a))}catch(u){i(u)}},s=a=>{try{l(n.throw(a))}catch(u){i(u)}},l=a=>a.done?r(a.value):Promise.resolve(a.value).then(o,s);l((n=n.apply(e,t)).next())}),Zv={};PP(Zv,{DatabaseContext:()=>ch,DriftDBProvider:()=>AP,RoomQRCode:()=>BP,StatusIndicator:()=>$P,useConnectionStatus:()=>r1,useDatabase:()=>ci,useLatency:()=>i1,usePresence:()=>jP,useSharedReducer:()=>DP,useSharedState:()=>NP,useUniqueClientId:()=>n1});var GP=IP(Zv),no=qv,ut=OP(N),jn=se,e1="_driftdb_room";function t1(){return new URL(document.location.href).searchParams.get(e1)}function LP(e){const t=new URL(document.location.href);t.searchParams.set(e1,e),window.history.replaceState({},"",t.toString())}function AP(e){const t=(0,ut.useRef)(null);return t.current===null&&(t.current=new no.DbConnection),ut.default.useEffect(()=>{let n=new no.Api(e.api),r;e.room?r=e.room:r=t1();let i;return r?i=n.getRoom(r):i=n.newRoom(),i.then(o=>{var s;e.room||LP(o.room),(s=t.current)==null||s.connect(o.socket_url,e.useBinary)}),()=>{var o;(o=t.current)==null||o.disconnect()}},[e.room,e.useBinary,e.api]),(0,jn.jsx)(ch.Provider,{value:t.current,children:e.children})}var ch=ut.default.createContext(null);function ci(){const e=ut.default.useContext(ch);if(e===null)throw new Error("useDatabase must be used within a DriftDBProvider");return e}function NP(e,t){const n=ci(),[r,i]=ut.default.useState(t),o=(0,ut.useRef)(null);(0,ut.useEffect)(()=>(o.current=new no.StateListener({key:e,db:n,callback:i}),o.current.subscribe(),()=>{o.current.destroy()}),[]);const s=(0,ut.useCallback)(l=>{var a,u,f;if(typeof l=="function"){const d=(a=o.current.state)!=null?a:t,w=l(d);(u=o.current)==null||u.setStateOptimistic(w)}else(f=o.current)==null||f.setStateOptimistic(l)},[t]);return[r,s]}function BP(){const e=ci(),[t,n]=(0,ut.useState)(null);return(0,ut.useEffect)(()=>{const r=()=>{t1()!==null&&n(document.location.href)};return e.statusListener.addListener(r),()=>{e.statusListener.removeListener(r)}},[e]),t?(0,jn.jsx)("img",{src:`https://api.jamsocket.live/qrcode?url=${t}`}):(0,jn.jsx)(jn.Fragment,{})}function n1(){const e=(0,ut.useRef)();return typeof window>"u"?null:(e.current||(e.current=(0,no.uniqueClientId)()),e.current)}function DP(e,t,n,r=i=>i){const i=ci(),o=(0,ut.useRef)(null);o.current===null&&(o.current=structuredClone(r(n)));const[s,l]=ut.default.useState(o.current),a=ut.default.useRef(null);a.current===null&&(a.current=new no.Reducer({key:e,reducer:t,initialValue:o.current,sizeThreshold:30,db:i,callback:l})),(0,ut.useEffect)(()=>(a.current.subscribe(),()=>{a.current.destroy()}),[]);const u=a.current.dispatch;return[s,u]}function r1(){const e=ci(),[t,n]=ut.default.useState({connected:!1});return ut.default.useEffect(()=>{const r=i=>{n(i)};return e==null||e.statusListener.addListener(r),()=>{e==null||e.statusListener.removeListener(r)}},[e]),t}function i1(){const e=ci(),[t,n]=(0,ut.useState)(null);return ut.default.useEffect(()=>{const r=()=>MP(this,null,function*(){const o=yield e==null?void 0:e.testLatency();n(o)}),i=setInterval(r,5e3);return r(),()=>{clearInterval(i)}},[e]),t}function jP(e,t){const n=ci(),r=n1(),[i,o]=(0,ut.useState)({}),s=(0,ut.useRef)();return s.current===void 0&&(s.current=new no.PresenceListener({key:e,db:n,clientId:r,initialState:t,callback:o})),(0,ut.useEffect)(()=>(s.current.subscribe(),()=>{s.current.destroy()}),[s.current]),s.current.updateState(t),i}function $P(){const e=r1(),t=i1(),n=t===null?"...":Math.round(t).toString();let r;return e.connected?r="green":r="red",(0,jn.jsxs)("div",{style:{display:"inline-block",border:"1px solid #ccc",background:"#eee",borderRadius:10,padding:10},children:["DriftDB status:"," ",(0,jn.jsx)("span",{style:{color:r,fontWeight:"bold"},children:e.connected?"Connected":"Disconnected"}),e.connected?(0,jn.jsxs)(jn.Fragment,{children:[" ",(0,jn.jsxs)("span",{style:{fontSize:"70%",color:"#aaa"},children:[(0,jn.jsx)("a",{target:"_blank",rel:"noreferrer",style:{textDecoration:"none",color:"#aaa"},href:e.debugUrl,children:"(ui)"}),"(",n,"ms)"]})]}):null]})}const UP=e2;function FP(){const e=cP(),t=UP(i=>i.snackbar),n=N.useCallback((i,o)=>o!=="clickaway"&&e(dl.resetSnackbar()),[e,dl]),r=se.jsx(Mv,{size:"small","aria-label":"Close",color:"inherit",onClick:n,children:se.jsx(Kv,{fontSize:"small"})});return se.jsx(uP,{action:r,onClose:n,...t})}const zP=Nk(vf(iC),{basename:Xk});function WP(){return se.jsxs(N.StrictMode,{children:[se.jsx(Ux,{}),se.jsxs(l2,{store:zC,children:[se.jsx(Hk,{router:zP}),se.jsx(FP,{})]})]})}const HP=p0(document.getElementById("root"));HP.render(se.jsx(WP,{}));export{el as $,q0 as A,VT as B,Rd as C,Pv as D,cr as E,qC as F,Bx as G,Qm as H,Sr as I,mf as J,vE as K,Mm as L,WE as M,Yv as N,bT as O,Ov as P,RE as Q,kE as R,TT as S,kR as T,VP as U,FE as V,UE as W,$E as X,Mv as Y,hR as Z,$e as _,qk as a,un as b,Kt as c,J as d,et as e,En as f,cn as g,GP as h,Ie as i,se as j,hs as k,nx as l,ZE as m,ri as n,_E as o,Y0 as p,wE as q,N as r,kt as s,jE as t,kk as u,us as v,ST as w,Wn as x,SE as y,Vo as z}; diff --git a/assets/index-aj_2YNOP.css b/assets/index-aj_2YNOP.css new file mode 100644 index 0000000..e3ea588 --- /dev/null +++ b/assets/index-aj_2YNOP.css @@ -0,0 +1 @@ +@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(/party-game-template/assets/roboto-cyrillic-ext-300-normal-Chhwl1Jq.woff2) format("woff2"),url(/party-game-template/assets/roboto-cyrillic-ext-300-normal-BLLmCegk.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(/party-game-template/assets/roboto-cyrillic-300-normal-DJfICpyc.woff2) format("woff2"),url(/party-game-template/assets/roboto-cyrillic-300-normal-Dg7J0kAT.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(data:font/woff2;base64,d09GMgABAAAAAAXcABIAAAAAChAAAAV+AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGhQbHhw0BmAAXghYCYM8EQwKg3yDXwsUABIUATYCJAMkBCAFgnwHIAyCOhuqCCAuDrI5ZN4aokERTSyd8sbnRhCPOT/nSbL5I3uJOVkEOmLbY09VmSg+s7XZR8z2UPVFzdPPH95petP0dBQVoUgu+1/NvnDlsFu1bLZnPtp/9TZG4R6s2iHuHinG8i80DiPfXaFiKo9+oTAOlEMIi8PciP2lbTwhqe7chkVUBQSIAQDBRxAECKlFFzJ0eHQySGIAUgAO4c44Imqnv6i9oQq0lzWwyhZYXdBUcx6AsNu1WSdtEQPnkuMESEM7pl9mqQImBxgY1QCfy4gJcWHgDzSMEycHS71LChLIdQCmt4MkUEQABQiXIoL4RBn93fLxUbiAIo+EvYZx/4CCVEjvs3TZR/d+KY2uf2Brysgkn1T2GE8NUzzFePIJ5Q4ozc1HVW1SmEIul2LNIWN6o2qmKXSQUlcTNfeKQpWFsieK476NC2BpOwaD+IxQyNnsXfI/O7ROGIjMm2uDYp3QkPJglPx2qKytWDayQW2dhKI2GZ6YbpRBJ5KToxZPJMNpWUExGpMiex9iE9kOFJmSKafI1AyHA7M61vYlGRmeNmgyOUznRBZ9tCKHo0Jqwl8761iPsdemE9MT0nH/0BocOLRs5jgagg9N5PCQ5t6qdrjHlOVod7nmgeF1upa11U+ip4geWGfJnjxJTBpxuF8Wak42ybZaHjrzQuBZw38Stckw7embuKn7ZkunqKa0M0NntAm2wcB6TFJ6SLDt5TIWQ2vbelhBRG0OxdY3t5Cx5KSL3eVARFl0lw/Hp5oP01r/rM/qYJMp6Zgcv6sQuu6DTuZZ24GvwwmZGWEbgms20UYPlTcDQeGjUhQAEABQbJh+Qospn+KFz3H4SYkukTK6/ysK88WDovzOgu27yiokV81WWCmr8nftf+uj8OQXWg68++mZj9+eNnXwnfDkW4qDb0en3tW7ZsmQCWdGvD5t4usb0vIxHPuYXjIbxLyig8O2/kbbPr1BkznHJUevG39z4umTHeTwxtRq15UnT3eWo4nsn2qhbnYWeN+3evHZn1rHa/q3/Qsvf906Ci97vnik3/6yB7qO+Bu1oYDsmhVGRjdJHJzYHkwRGw54uDkA+yF3KO10du5viRWLlJQ9MFa0vLRwuI7gxrx7LMMyqOxqhEq/f4ZNeMmf4o2A4F7eWTk9h7+K4fctMefMu0gp2vzvjp14o98gMG0l+SlyR2TIXIKR4s0lgqFVhnuv+Q0wJdVDHR0gctB696O6IZDJSNGaArPdua+yjl2lmtBCKAG/HECAOHANKOVq5YIAqklxwEftn/MK+v7uV/kA8NhPRe0B4HWZ/Ok/yf+vB9V+I0CAAkDAW52LIejxT5IbFlRD6FmBPs1ieuWX+4Szkm51B/PM6tjcIQQIOEc5GYghAOSDQm1EHAF8liKCmACYy8UVFSrZiyryuViut8oNog7NqTIuXMkm31gCltM0BOvwxM7R+lVsKaCOAooog2FLLQ2UYkcV5RTBqKERRiN2RBNBECHEkkQINjhiiz2J1FJILU3UYkM05ZRSRhOpMBpopJxaaqABOx1wwg0vAvYiJtGxcinNVFFAQ7pSaoKojTraadDGJKLFlDBqqaX0KgYlghqKsIUS8KCqjsTAlkZihNF4vB/VAqMYW0QAII1i+pU2trK0gRdZ1Ub4PLJ4wnmeZ0cLfWWQbMO5VGdDHPWsHXeqnmXx7jWsW+ZHuYbN4OLxniNOWO8ohRR3fttsT6MOLzzFTxjsbKKREnh0MNZW7AhdO6KUSfH+4WWjrU/B58t7bSz/5Zt5WyyNt0yc/U237Mf6qeZbBlTT1jzwPnTwN90ygdfxOb6JUzRIUB14Hu/rKtCP1OsgTJ1h/Qg0KH9r3szn+EVOzQBX3y0dErMOihluSRoBAAAA) format("woff2"),url(data:font/woff;base64,d09GRgABAAAAAAToAA4AAAAABYQAAQABAAAAAAAAAAAAAAAAAAAAAAAAAABHREVGAAABRAAAABQAAAAUAA8ACUdQT1MAAAFYAAAAHgAAAB5EdEx1R1NVQgAAAXgAAAAzAAAANJMNggJPUy8yAAABrAAAAEsAAABgc6Xg4WNtYXAAAAH4AAAAQAAAAF4+Y+J/Z2FzcAAAAjgAAAAMAAAADAAIABNnbHlmAAACRAAAARIAAAEUGjg/4WhlYWQAAANYAAAANgAAADb8WdJpaGhlYQAAA5AAAAAfAAAAJAqpBZJobXR4AAADsAAAAB8AAAAkFzL/w2xvY2EAAAPQAAAAEwAAABQBMAGDbWF4cAAAA+QAAAAcAAAAIAArAOpuYW1lAAAEAAAAANMAAAF8HEg5EXBvc3QAAATUAAAAEwAAACD/bQBkAAEAAAAMAAAAAAAAAAEACAABAAEAAQAAAAoAHAAcAAFERkxUAAgABAAAAAD//wAAAAAAAHjaY2BkYGDgYjACQhYXN58QBrnkyqIcBqn0otRsBqmcxJI8BikGEGABEf//g0gA3Y0JHgB42iXFsRFAMAAAwE8ijCED6HQqncrZIq190ljBKhZyCt+81J1hksktz4TxPz1qRASwkgBgO47Nyrj3XurQoiJc0C35VhTpA7fWCdMAeNpjYGBgAmJmIBYBkoxgmoXBC0jzMXAA5djAKngZFBgWyPv+/w/kofBBOv5/+//kf/qD3WDdPAwIwAQA0KYN+QABAAIACAAC//8AD3jaDcwBRANhGAbg9/v++3fS1P6rayC6bWYKtGsDCVApGAHUJQUQApUaUVIqCAlAFgIGIAhNyagNEQACOVMEyn23AeB5oLEBqIKuQyGBPiQxCHie8ZQhMqQ8KpGnCtE0N8rSkXtKfrISIY4iXf+raTuq8va/4Z0o4OCEA4BRjUMr1I3eNArQMFvZDExpysmNWU7aTnE2w8ZNOX7RMVZ4JnIXy9MFMVWIztVe56358/3a/uLTF2nVaJPKV8/k397Ix2OKbBqXd/m9lkjaNEH9YKxau7yuW9AYAGjId1VW+e5I2s7nS7RyfPAwJ1u8PLm4ZF3SjCtNWljbny/mjipxLIdxqIs9m4eeBWwkJAd0AcfKVS8AAAABAAAAAiMSqglmyl8PPPUAGQgAAAAAAMTwES4AAAAA1QFS4/og/dUJGghzAAAACQACAAAAAAAAeNpjYGRgYM/5x8PAwGn+S+GfK6cUUAQVcAIAbC0ESQB42mPuYUhhgALGTxDMmsVQy7SNIR7M3vCvGQBr4QgGAHjaY2Bg0ITDBIY6IOwCABGXArQAeNpjYGRgYOBk6GcQY4hkYAXzEICNgREAGPMBFnjaTYw1kgIBFAV73TfecKKN1l2SdcE9wxmrwp1rcAKOwfF4OPWt+40Au1hssLa5B6QYzniNEwYzXueY/ow3VvLNFd7ilOKMt5XHZnwsAoemqsoLl6rOpC7IUtXkcTBlFerYXFLEVWZSpqHdUOLjn0++CRDVPueGC66IUCGnaWrO8eFi48gSmNRpyCuUMSZvX3PLI68Tu5I9EsHEpkWRLPXVf2Gs/OtTXqVHfZHM/qAy+KWisiliyv4pk+dC9E5RZRBZfNWYmElDU6etXeBiBO+kNXoAeNpjYGYAg/9ZDCkMWAAAKh8B0QA=) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(/party-game-template/assets/roboto-greek-300-normal-Bx8edVml.woff2) format("woff2"),url(/party-game-template/assets/roboto-greek-300-normal-D3gN5oZ1.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(/party-game-template/assets/roboto-vietnamese-300-normal-PZa9KE_J.woff2) format("woff2"),url(/party-game-template/assets/roboto-vietnamese-300-normal-CAomnZLO.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(/party-game-template/assets/roboto-latin-ext-300-normal-BzRVPTS2.woff2) format("woff2"),url(/party-game-template/assets/roboto-latin-ext-300-normal-Djx841zm.woff) format("woff");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(/party-game-template/assets/roboto-latin-300-normal-BizgZZ3y.woff2) format("woff2"),url(/party-game-template/assets/roboto-latin-300-normal-BZ6gvbSO.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(/party-game-template/assets/roboto-cyrillic-ext-400-normal-D76n7Daw.woff2) format("woff2"),url(/party-game-template/assets/roboto-cyrillic-ext-400-normal-b0JluIOJ.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(/party-game-template/assets/roboto-cyrillic-400-normal-BiRJyiea.woff2) format("woff2"),url(/party-game-template/assets/roboto-cyrillic-400-normal-JN0iKxGs.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(data:font/woff2;base64,d09GMgABAAAAAAXYABIAAAAACgAAAAV8AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGhQbHhw0BmAAXghUCYM8EQwKg2iDTgsUABIUATYCJAMkBCAFgnQHIAyCSRucCFFUkDIBfhzkZKcmnOCkolAQnoSyxYqFpYXieXb+xgO83X+ee8cPWukL624junMJs9RsoCpuxSopamF+Pi97f6xC6QrJFHRKpFCmII8L4C95A3y0rJouCIdkJgncD/oHj/4Ptd1Rm0IYXCtKb1yQDmO4797U2dlr/Om01LkOVpT2L12pLVa73QtgLIKxr2n9efiAIhiyAGBi25Coekds8qZninvglyCgAwhKQRDQspY1tF9oNA0iKTQN4IRtO0c8LdtzW2orwfLCWqaCzZfl11dfBsTdnaQ3h2kZ2eOZEwgbeF/yBVwQgZ2DvRwJfK0Dj4wLA3+w4XAB/M8FxYoIY9AzkO6S7TOGwEWk2ZbiCu/nOQToKUU5oq4x6zbE1HUGA3Rl83vzuil5fuJX+RchWrDatW53jdtwnlgZhpwlhXP0dtJr7vYxsPT/PLq40lhiT5ruQpdOGGT7LM3N6cMWw/ws9PIfIIcEwLJDUR3FYQgfiUJzxskPq2Qy1ggbiezOIJylETciLCiNZCMFSKaDJqeFHmOPg5ePsYC2syXS6aE6P7V6nJwhSOIdAc0Ke4n7Xb8SyWqkqXiaf5zcKrRPwvfqdPtrZBtL2slMnRuMa42LvcxYpRRZvA/n8T7tUCIaeZ2q3j7uEhVDkc8XZrrMEm9RfK85lv64HemnFa6lmfuYFI7x/oVR8InaSyj5acula+ve+LU96YKCxZUXd9MwGtXGUoutAUxK5q2NmLMD2mz+aZ2N4WzsRo9j+buXk1pEpRttzy1KfocMeUz6dmDs9k7cweWb9rsbsde9m5w+h/OOcb2wOG7o3RICJCrFpqEEFRhZH9oDuAjooYPPICPCo0jTpMlTRj1BOey1KZvbSstFFVnKclSBPKn7/nPJ6C8PU1DPT6+kYz8/gBNueLjm39PQ/QP9dT+ltmVK4aRWsRS+SabvokUfQ1Z/zGWygF8Mr9+/8b206dV6Ljp9GGVza+Jnt9+d8hVurXeJt93vjq6U3ZwJkOx4aa9k2z3+d04j7me6E29d13G+Vvxzc/2x9y4pOP96WSx98PKAi/qn3un2CdsyOa1xdLjn/jNOzIUF+AcAFPL/LuBa/t/+/00Wx7+LZarhcLSj7qhqn2s859Wt3etQ2/+kfRxqzc5ou8fJDwOT0QDzOKLLr2WqruDlpp0t2a9YhvLuvI6qnb1VNjpkZXJDl/FYKm5xTmMZ2tdaepL9fasvEPAi1srweZuqi+ubWBAA9duqOh3Aq2fXLZ48tfLYbwcI6FRFSox5GgsC4uTo+6gDX3L73r+JVpUAH39Qk4BvUOKXX+7fO5WxrANQiSBQXPZPRnXwL6t/kZURIvyq5E7nKYd/+oHsWlclBNZezqf/HAGhco/laHwB9IjiFIGA0gW4QlrhDPtsR9DxoiPqeXgx8S2mzZGZYXLk1qLzPbQCLlIvLSaeKN70nUj5TPIVKsUgsWqVoFQqU4hRrQ6jDiVahCAhYiUJsZwjklEiVgFWPdZyiRglGlTKVysFo1adMqxqRNRGB07ceCHMeI4bn835eBCWSYtaZUqUqmdxhRPCsFgl1zMIEaoVIhECVMoeIbGn6hD5JrKmH9WIUYTEBZpLoIi4tu4srS3CQRWXBjxE2jOODD23Tq8ZEC06EsK9yPGl5oa3Y1q4+6JJksQg5/nLSZoT4710FclcN06s6pO8JjvU0YoUM1dnec4lZWdJvIclqegQ1wVLSasxL8rVZtzuOy/2LOk8wKOF3qSrG3TEOel5b59dOyR9f+fF65a2B/EBlR2CR1LhYu2/fT32swx1OFfBLqCUehyHLE7hXvwPdkoD9sNc7GoobUO8bPge7JR6nItTeA3/g5/SgNk+RYQ6q0mgOgA=) format("woff2"),url(data:font/woff;base64,d09GRgABAAAAAATkAA4AAAAABXwAAQABAAAAAAAAAAAAAAAAAAAAAAAAAABHREVGAAABRAAAABQAAAAUAA8ACUdQT1MAAAFYAAAAHgAAAB5EdEx1R1NVQgAAAXgAAAAzAAAANJMNggJPUy8yAAABrAAAAEsAAABgdAng+GNtYXAAAAH4AAAAQAAAAF4+Y+J/Z2FzcAAAAjgAAAAMAAAADAAIABNnbHlmAAACRAAAARQAAAEUnMz0sGhlYWQAAANYAAAANgAAADb8atJ6aGhlYQAAA5AAAAAfAAAAJAq6BalobXR4AAADsAAAAB8AAAAkF+P/e2xvY2EAAAPQAAAAEwAAABQBMQGDbWF4cAAAA+QAAAAcAAAAIAArAOVuYW1lAAAEAAAAAM4AAAF0G504anBvc3QAAATQAAAAEwAAACD/bQBkAAEAAAAMAAAAAAAAAAEACAABAAEAAQAAAAoAHAAcAAFERkxUAAgABAAAAAD//wAAAAAAAHjaY2BkYGDgYjACQhYXN58QBrnkyqIcBqn0otRsBqmcxJI8BikGEGABEf//g0gA3Y0JHgB42iXFsRFAMAAAwE8ijCE76FQ6lbNFRlGr01jBKhZyCt+81B3hlMktT4TxPz1qRASwkABg3ffVwrj1XurQoiJc0M35VhTpA+O9Ck4AeNpjYGBgAmJmIBYBkoxgmoXBC0jzMXAA5djAKngZFBgWyPv+/w/kofBBOv5/+//kf/qD3WDdPAwIwAQA0KYN+QABAAIACAAC//8ADwAFAGQAAAMoBbAAAwAGAAkADAAPAAAhIREhAxEBAREBAyEBNQEhAyj9PALENv7u/roBDOQCA/7+AQL9/QWw+qQFB/19Anf7EQJ4/V4CXogCXgAAAgB2/+wFCQXEABEAHwAAARQCBCMiJAInNTQSJDMyBBIVJxACIyICBxUUEjMyEjcFCZD++LCs/vaTApIBC6yvAQuQv9C7ttED07m6zAMCqdb+waipATnOadIBQqup/r/VAgEDARX+6/Zr+/7hAQ/9AAIAbwRwAskF1gAFAA0AAAETMxUDIwEzFRYXByY1AZF0xN9Z/t6oA1BJsgSUAUIV/sMBUlt7VTtfu////jL/7AVPBdYAJgAFRgAABwAG/cMAAAABAAAAAiMSo8X+nl8PPPUAGQgAAAAAAMTwES4AAAAA1QFS9Pob/dUJMAhzAAAACQACAAAAAAAAeNpjYGRgYM/5x8PAwOn5S/qfF6cBUAQVcAIAb4cEcQB42mPuYUhhgALG3xDM2sBQxqzAkA9mH/tnBABopAdwAHjaY2Bg0ITDRIY6IOwCABGeArUAeNpjYGRgYOBk6GcQYwhhYAXzEICNgREAGIoBEXjaXY4BBgJRFEVPVSnSCkIgoKkKUSBJIqESIKp+05BpzFRpI62gBbTErvGNkes+977nfB8ocSJHJl8GtnxtzlDhY3OWKm+bc6l9PpULNAhsLlJjbXNVCc7cpIABLekZy2FHIB90NWpXQlxdL3jaGXwizUibOTPGTFiw0mzSxaHNUsRevslNNSP6LnpHyEYtFOvp5lOPiQ49+gzj1lbr/zHp98ZywEtbDxf9PqE6SlOukivOqM3wOeAojbhIdZYJFcXNEMkhD80jzg9HQTQoAAB42mNgZgCD/1kMKQxYAAAqHwHRAA==) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(/party-game-template/assets/roboto-greek-400-normal-LPh2sqOm.woff2) format("woff2"),url(/party-game-template/assets/roboto-greek-400-normal-IIc_WWwF.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(/party-game-template/assets/roboto-vietnamese-400-normal-DhTUfTw_.woff2) format("woff2"),url(/party-game-template/assets/roboto-vietnamese-400-normal-D5pJwT9g.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(/party-game-template/assets/roboto-latin-ext-400-normal-DgXbz5gU.woff2) format("woff2"),url(/party-game-template/assets/roboto-latin-ext-400-normal-BSFkPfbf.woff) format("woff");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(/party-game-template/assets/roboto-latin-400-normal-DXyFPIdK.woff2) format("woff2"),url(/party-game-template/assets/roboto-latin-400-normal-BVyCgWwA.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(/party-game-template/assets/roboto-cyrillic-ext-500-normal-BJvL3D7h.woff2) format("woff2"),url(/party-game-template/assets/roboto-cyrillic-ext-500-normal-37WQE4S0.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(/party-game-template/assets/roboto-cyrillic-500-normal-_hamcpv8.woff2) format("woff2"),url(/party-game-template/assets/roboto-cyrillic-500-normal-YnJLGrUm.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(data:font/woff2;base64,d09GMgABAAAAAAXwABIAAAAACiQAAAWUAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGhQbHhw0BmAAXghcCYM8EQwKg3CDVwsUABIUATYCJAMkBCAFgwAHIAyCUxvDCECO0yW2MxHcwQN9m/Zmd7GAt056LBXDUnN6hagTcSJGKmInrhNO9dPUA1Hd9gmGUIldvZjF5GpN7d6GXSYqHkE4sOrvQ/cXxAKTi9BxlRWyDoCEqmRbISus7GNs4WxzgFD/DgjABgAIzAgEAsgim2xELLe4GjMaQCYDwDcsZCHaXqd07tw0yNSeTcmBQT/YvmV4O4DU1ap2ifgNAxguMywC4RuWqS/T3YC1DIiaVIC3Iu+W5RGFr8TIGLrHZQo64moAbaVBoqOjKqHGnvGoCJ6vUQgcmFEwAgp2dK7xlZzVFgqIXTN/ZD7L9Hz0yD35VwEU5vMc53IV5/Idm6TZq1arUm2lcRvPAuPH2hivXI4rs4J97GI8qh+rtpLx2pm4DJLxxslMMD6JS2nEY9IwGD9AAEiCRdJSXj8qxFmJB0XmqIxNG7WorS0hKYK6Hu+LSdEWkkpQivn+kFSDeq5UZ+VW1s9I6KfppxV0nabn6r3tXVKbZSnrVcnTEhFdUpU+XVIdv4wmvNP0ZCKxMiQ1RTItc1oCinq/Clk/dVb/h6QhWLS3Oru8vqJeHoh5ZTRmJ/n9elw+SczIJ8MCfyIRksazpHuNvX2TzxdMo8b5IWnWwaoCi7peEu80vHOGXx4IA97TZiSGIE+2fFDgA6KdUp0Vj/kD5Tx2YMO9VhiEmEl4V3vEQtISLKqqj8dQtT8xmBWUwbgFKwktsgVH54gT+mkt9nooikbnN3OiGltMUP1qJOGVMzgLpH7iQRdU8To77UEZrYt1GjIaIrZ5EGKx8GwECmaUTAYnABYAPPvSmkB6iIPYBt7BwFvViQKSWU2dO90Ooznvvdu5Y3dvv3mgydkvBvC7HHjro6zTPnmnVhx899MzP367pvrgO/HLvFXNgbetp78pdjdaqV/dVl6vqX5DzH0Wg3xWTTZhMLkPxbf9aN3+6bWqaD4hmtVUxSfpN84/1XPHPaPj77hoHS9Vvn5RHH5yl+e2C6O89p/2y/3ilhseRHxT/dPDhptuuTfzR/6UxZek1r464fO1zYGq0VZlV1G8LO/uxOMzmI0hF0wY/78POABjJ/OdocvwZtrmcrs9K6TNJXlpKzPKLJfaX0ISj1Qi3lFFX5soBDWurrSmIFtIG3bkJpl5VGa9l7aR5PaDFJd0vJezIK359ABacrx6YlPaiEa0M6TNNTpeyKxAvf8t728Amp93ac4CpDUitZckFklemiKJTB60LmkCExPbrIg0+pogAJvFpIGiGDXFBAJQZnjuPl6+ttW5+nfzFDMAz/7kDgO8Liq/+2fm/6/PJvNmwIICgADT4JgNLAN89dj6FghmF4t6Bl0KYiyvMByjuwfpwd7nubFsBGDhbCZSyoAAwAEKSg5GBGCmm4rQLECLRzuTYCrXmRQcXNCscpo1MBmYzbBkBEW15Ni/HHptscWIlUSIsH35PWHajWjXqVdSmJRNekQY1KdT0rDNkjaLUKzABnGlqsSFWEiYHCqldEjZIiVEiaQufbYaUitpk836pAzTJaYvYBHLWIWryaFhqFJSj9k5qN0mfYH64RukjNhpkz491xLRQqOvTp6UlJ7XJukUGNYpjM56gwbpVMrxzTh3TeL5xbcd44/CqACQ6afLfK60BSQB0sKhBETaKbb3eMC5MmeW14U5wANieXjmVDcy/QGlNLpwxgRnp+avCvvHpzWqnSFnrm+iw87YWbEu5G0zRRdL25kbC1fOm2JnOdxVunKGXdb2juKl/l7rudubwM62ra1o6TQ7e3Bm9nibjWPDsoDPs4q0y2EKSH7t09MHxovNabmBct2W9IHsumzDWwH3Q0QAXgaYwrPxbsyAT7c1vQ5bcX/WqQuyFFCCuM9/BPCxLY3EDZ6NL2KGr2upiUznKVBH5gvU2nyxGQA=) format("woff2"),url(data:font/woff;base64,d09GRgABAAAAAATsAA4AAAAABYgAAQABAAAAAAAAAAAAAAAAAAAAAAAAAABHREVGAAABRAAAABQAAAAUAA8ACUdQT1MAAAFYAAAAHgAAAB5EdEx1R1NVQgAAAXgAAAAzAAAANJMNggJPUy8yAAABrAAAAE0AAABgdG3hCmNtYXAAAAH8AAAAQAAAAF4+Y+J/Z2FzcAAAAjwAAAAMAAAADAAIABNnbHlmAAACSAAAARAAAAESY99A82hlYWQAAANYAAAANgAAADb8n9JyaGhlYQAAA5AAAAAfAAAAJArvBcJobXR4AAADsAAAAB8AAAAkGAT/TWxvY2EAAAPQAAAAEwAAABQBLwGBbWF4cAAAA+QAAAAcAAAAIAArAN9uYW1lAAAEAAAAANYAAAGAHGI533Bvc3QAAATYAAAAEwAAACD/bQBkAAEAAAAMAAAAAAAAAAEACAABAAEAAQAAAAoAHAAcAAFERkxUAAgABAAAAAD//wAAAAAAAHjaY2BkYGDgYjACQhYXN58QBrnkyqIcBqn0otRsBqmcxJI8BikGEGABEf//g0gA3Y0JHgB42mNgZpnB+IWBlYGBdRarMQMDozyEZr7IkMbEwMAAxFDgABRkQALu/v7uIEF5XzaGfwwMaeyzmBgUGBjng+RYrFg3MCgAITMADeIKxAAAAHjaY2BgYAJiZiAWAZKMYJqFwQtI8zFwAOXYwCp4GRQYFsj7/v8P5KHwQTr+f/v/5H/6g91g3TwMCMAEANCmDfkAAQACAAgAAv//AA942g2PJVREURRF731/Hh93h3GtowUtuEvBHSIknE7GO+7uLn3h9IW7O/8N04/sDRRKATgdnQAO7MABnMENQC73kHMeiB7IydGMck4nhJIdC3tgS+h8RjjGkAgCnfjpobzQRGp+PUitkE/ym0k+AIFy6x2V0B1wBwkAehORUqEiWrPJUyUTefrxJqJUEN7H29No8DRTSRu7n55kt53YiV5Yil4dKMwP9CyS5b6BWTJ1zFZHRzFyL/0Io0eH2foRfUHCrLeZT+wH4cP2ViGqJMf0xGbiAoBeRh9OiUYfXz9eY8bWqoOLPHY4ySWmToi6MMKHbWJmQUN0bPaa1cqCbZyltqYGaDQAD3bCLMA/wjpXMwABAAAAAiMSEj1jSl8PPPUAGQgAAAAAAMTwES4AAAAA1QFS7Pok/dUJXAhzAAAACQACAAAAAAAAeNpjYGRgYM/5x8PAwJn9S+WfI2cMUAQVcAIAdi8EvwB42mPuYUhhgALGfxDM2saQxqzDkA5mn/knAwBo+QdjAHjaY2Bg0ITDBIZaIOwEABGOArEAeNpjYGRgYOBk6GcQY/BjYAXzEICNgREAGAwBC3jaTY+1dQNAEAXHzC7AkSJHZobEzEyZScyMfagC1aHiNIHoHc3fWwSmiTLGyPgM8EO7yyMs0eryKIs0uzw2ZB8f4gmWyXZ5UvtHlxcliFN25Tli3VXDxRr/5D0hfyOqHEVi/qZJaIuQpUTEs84Dt5xzyRPv3qts6b3BGzmCnrJnlUcihElQIcOXXKSkypElgP5sss0+x6jYYFN+I0JM/zT/FIez6TOc7VxLngZFdQwn6efYlK7JuWKkiahuyRJiTTol7Qrw1o8qocKJPEWqWIG1DvezNmIAAHjaY2BmAIP/WQwpDFgAACofAdEA) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(/party-game-template/assets/roboto-greek-500-normal-Bg8BLohm.woff2) format("woff2"),url(/party-game-template/assets/roboto-greek-500-normal-CdRewbqV.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(/party-game-template/assets/roboto-vietnamese-500-normal-p0V0BAAE.woff2) format("woff2"),url(/party-game-template/assets/roboto-vietnamese-500-normal-LvuCHq7y.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(/party-game-template/assets/roboto-latin-ext-500-normal-OQJhyaXd.woff2) format("woff2"),url(/party-game-template/assets/roboto-latin-ext-500-normal-DvHxAkTn.woff) format("woff");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(/party-game-template/assets/roboto-latin-500-normal-C6iW8rdg.woff2) format("woff2"),url(/party-game-template/assets/roboto-latin-500-normal-rpP1_v3s.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:700;src:url(/party-game-template/assets/roboto-cyrillic-ext-700-normal-CyZgh00P.woff2) format("woff2"),url(/party-game-template/assets/roboto-cyrillic-ext-700-normal-DXzexxfu.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:700;src:url(/party-game-template/assets/roboto-cyrillic-700-normal-jruQITdB.woff2) format("woff2"),url(/party-game-template/assets/roboto-cyrillic-700-normal-BJaAVvFw.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:700;src:url(data:font/woff2;base64,d09GMgABAAAAAAWwABIAAAAACcAAAAVTAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGhQbHhw0BmAAXghICYM8EQwKg0iDMwsUABIUATYCJAMkBCAFgn4HIAyCKRtfCCCeBTkZ2iuxGWKJyeMZv66OCKiaZs+C2PYBKynriFkOIRw+g/RKasP0I2Tp7+2q9xfi7wUbK2iEHqhniZB3rvwq15s+McjkCIq28lPzNpOz6381+8JXa2p3NywTFUsoPFi19wHiAoKxcTWy7qYKLfvKspIVUta28e98NkNGfL1Saoy9g4AKICgIgoCSXWQgCxYNTUGIBJpgg22cCgGyrP3XF1yQdvCC6CzmIwxLnosAt/vj5LbogZT0yrQShPZyIH7ZQREGFZjjiOGtLF492gsUtK8M0uCg/JUR1JDrIJmWZmoo/ygYL3bjLzwPD7AMaFUQySHSouZS+8pjnYMgXNq8mgd/9PCX8m9BZJhfbtawij6MddmzXnMGDujW2EdCdJVa3Fd4Mk1Csl2nNNMt10tiuFXn3BNacx+KIDNiOYaO1X2E7Oh4gPxftmBXX9F/7704DGyNdtu7kOhHYsRmoaQvhzFb60H//EUTc7kKeljbsvSAQ7qI2gxmDMhnsfYk8VAxmqL1dTtFG+oMzulIrxsPVCgaOEwiqQKKhx1Uo44YKodIbn9HZim7XB4XrJkbn8O9BVWcs4DXMgztxidrMHiSZCqnQu6YYtrdtqccGPLFXEnKFoIU18+5s07p2HIIDHMZPEdmq1v6d5QwT4y9E+Ad0jZE//yFubK3ZjG5N6bTmQvnoiK9l3RxWGSXT851d9l7GQWHJTbrt5ChjP33VNg7B4dLalu2yO62CbD/AyFwyQZzLfSLvzqmI73y0i6klzzQCaxcdNjCZnM+e2uUdV+uruoi9E8ukAcDESmImrSBIuhipGYJHoqtWJm9W+ontE9EUxK3YefWXFHlp7edcrrNEXL4HtGHhcOBr3/Ou49KWz55Z1M4991Pt3/8tv3OfVPa8toGe6+Xt765+XRVuHrpoLLXN25480YY8ow0eyY+cA8IzHc+b+FJJ+WTP70hJnteQjTxmnWf73/zsvl9rt1/b/X2q+Z5vuTNKxf1uXpEz7Pf+8Zo3276/vLLbvrGJ4s/vOn3Ky+74TufLOl18aqjpr/s/vmsPbjJK1qby2snpvtz1PuaKhQIXATycv+Dc2j0bJ6ekL4ps7COfkLVF6XMUtgIepWjcoCfzl3q5ZTUeVVhCUuf7qpg6paropis9dOYsXKSXRNIqt1eio8R2goGYHINRsTc2S1kpdI68676G0FAUHXvmHLAspDln/WsECAMyzFZ+hRTYfWLAgioFPMJUZRLojwBUf8uteOfn9u7bcbvhd4F8MxPnUcB8HpY98Y/Y/5/vXhxYRFRFIFA/ohGheIW1TcmjhG0gGK8zQGqoaGH0otsitupzPd5rtETQdFOPYwIFEArkWicIAEFB/EXkiL2cu/lCCrucEQKbnXEejgbnDhSgzgcOT1MpVplHhxiqbN4NRBUq/M8Ay//bhMbEU+ywErgYmci8lgkWiQY0q9TtxGTunEq8MpMkBhJlkg4HSQuZjNECxbZSTzo9s3lKtVqBKCM5by7lsan5zekOumw17oFdtarxAKJbKR6PSVWLuJT+nmY8Kh2Li7UhGN6EUi7knLEP7VCZMbzB5oxa6/MKqWZ4eQQHg13O5QPyU6KUhh+f9Q1jaVxRiGGvZJzJ+/RkOuVruwzWJPplctvT4kN98p3TCrJivMqNIzOSYnuFWtGkFdJtbyhJNWj/Nvrj1t4hFwJzw/P/A3vk8taw/F3YacRxkwn3LUH3tGJd7V247SOaBcE0wl3jZJEZ+ga/Yds4aQQ6Wi3FJ3imZRIIIqRPiHIbp9wl47pDD2l/+nWrQahT1oivVBjuF0jxwMAAA==) format("woff2"),url(data:font/woff;base64,d09GRgABAAAAAATsAA4AAAAABYgAAQABAAAAAAAAAAAAAAAAAAAAAAAAAABHREVGAAABRAAAABQAAAAUAA8ACUdQT1MAAAFYAAAAHgAAAB5EdEx1R1NVQgAAAXgAAAAzAAAANJMNggJPUy8yAAABrAAAAE4AAABgdTXg+WNtYXAAAAH8AAAAQAAAAF4+Y+J/Z2FzcAAAAjwAAAAMAAAADAAIABNnbHlmAAACSAAAARQAAAEUTyyJzmhlYWQAAANcAAAANgAAADb819JcaGhlYQAAA5QAAAAfAAAAJAsmBdVobXR4AAADtAAAAB8AAAAkF/f/LGxvY2EAAAPUAAAAEwAAABQBLwGDbWF4cAAAA+gAAAAcAAAAIAArAN9uYW1lAAAEBAAAANQAAAF+HF85GnBvc3QAAATYAAAAEwAAACD/bQBkAAEAAAAMAAAAAAAAAAEACAABAAEAAQAAAAoAHAAcAAFERkxUAAgABAAAAAD//wAAAAAAAHjaY2BkYGDgYjACQhYXN58QBrnkyqIcBqn0otRsBqmcxJI8BikGEGABEf//g0gA3Y0JHgB42k2HNwGEQAAE57IM8PDdV3Q0BBd4Ipe0CMAEgsh586J0JwcMmML8QHhnq5FMApIbASg+CNM0xAcvtsyQuUJuV7QA+m96/I1qBfuaCnwAAHjaY2BgYAJiZiAWAZKMYJqFwQtI8zFwAOXYwCp4GRQYFsj7/v8P5KHwQTr+f/v/5H/6g91g3TwMCMAEANCmDfkAAQACAAgAAv//AA8ABQBkAAADKAWwAAMABgAJAAwADwAAISERIQMRAQERAQMhATUBIQMo/TwCxDb+7v66AQzkAgP+/gEC/f0FsPqkBQf9fQJ3+xECeP1eAl6IAl4AAAIAVv/sBS4FxAAQAB4AAAEUAgQjIiQCJzU0EiQgBBIVJTQmIyIGBxUUFjMyNjcFLpj+5be1/uScAZsBGwFsARub/tCkmJekAaSal6IBArfX/rywrgFD0kjXAUevr/651gHl7uvjR9/27eMAAAIAWwRvAssF1wAFAA4AAAETMxUDIwEzFRYXByYmNQGJb9PmXP7SrQFMU0pdBJsBPBX+wQFUXnw4ViOJXQD///4X/+wFdAXXACYABUYAAAcABv28AAAAAQAAAAIjEjlU04RfDzz1ABkIAAAAAADE8BEuAAAAANUBUtb6MP3VCYcIcwABAAkAAgAAAAAAAHjaY2BkYGDP+cfDwMDZ9cvgnylnO1AEFXACAHx/BQkAeNpj7mFIYYACxn8QzNrGEMYszxANZp/5Jw4AZykHNQB42mNgYNCEw3iGOiDsAgARkAKzAHjaY2BkYGDgZOhnEGPwY2AF8xCAjYERABgMAQt42mJgYOBgSGNgZmBk4QSy4xh2QdmMDDwM66BsJqCaZRA2kBRjmABlsyCxWQFVjyUWQgEQRW8isoafSLhLwd0t4+7O7nk4nDfug4XZyzYp3nzZZlkw4SBsCOMQzg/Y6bIR95UdyluzY6zsgqliQ1bsJfeKFMmRIEWZhqQNN3ac1NXREx/ENuKSCwa01bNT11T+CuNR68JDgMjDc8oL/PUan96X/ssmxBuu7JgyRn98prhkZVgLY3UN5eVY0ccuK8ZCMKh/uvYPT/+Id5wkB9hvI3U1mnjaY2BmAIP/WQwpDFgAACofAdEA) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:700;src:url(/party-game-template/assets/roboto-greek-700-normal-Bs05n1ZH.woff2) format("woff2"),url(/party-game-template/assets/roboto-greek-700-normal-1IZ-NEfb.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:700;src:url(/party-game-template/assets/roboto-vietnamese-700-normal-CBbheh0s.woff2) format("woff2"),url(/party-game-template/assets/roboto-vietnamese-700-normal-B4Nagvlm.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:700;src:url(/party-game-template/assets/roboto-latin-ext-700-normal-DchBbzVz.woff2) format("woff2"),url(/party-game-template/assets/roboto-latin-ext-700-normal-Ba-CAIIA.woff) format("woff");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:700;src:url(/party-game-template/assets/roboto-latin-700-normal-CbYYDfWS.woff2) format("woff2"),url(/party-game-template/assets/roboto-latin-700-normal-BWcFiwQV.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD} diff --git a/assets/roboto-cyrillic-300-normal-DJfICpyc.woff2 b/assets/roboto-cyrillic-300-normal-DJfICpyc.woff2 new file mode 100644 index 0000000..a57fbdc Binary files /dev/null and b/assets/roboto-cyrillic-300-normal-DJfICpyc.woff2 differ diff --git a/assets/roboto-cyrillic-300-normal-Dg7J0kAT.woff b/assets/roboto-cyrillic-300-normal-Dg7J0kAT.woff new file mode 100644 index 0000000..f7e96bf Binary files /dev/null and b/assets/roboto-cyrillic-300-normal-Dg7J0kAT.woff differ diff --git a/assets/roboto-cyrillic-400-normal-BiRJyiea.woff2 b/assets/roboto-cyrillic-400-normal-BiRJyiea.woff2 new file mode 100644 index 0000000..a4962e9 Binary files /dev/null and b/assets/roboto-cyrillic-400-normal-BiRJyiea.woff2 differ diff --git a/assets/roboto-cyrillic-400-normal-JN0iKxGs.woff b/assets/roboto-cyrillic-400-normal-JN0iKxGs.woff new file mode 100644 index 0000000..44e012a Binary files /dev/null and b/assets/roboto-cyrillic-400-normal-JN0iKxGs.woff differ diff --git a/assets/roboto-cyrillic-500-normal-YnJLGrUm.woff b/assets/roboto-cyrillic-500-normal-YnJLGrUm.woff new file mode 100644 index 0000000..281affc Binary files /dev/null and b/assets/roboto-cyrillic-500-normal-YnJLGrUm.woff differ diff --git a/assets/roboto-cyrillic-500-normal-_hamcpv8.woff2 b/assets/roboto-cyrillic-500-normal-_hamcpv8.woff2 new file mode 100644 index 0000000..26c8c8c Binary files /dev/null and b/assets/roboto-cyrillic-500-normal-_hamcpv8.woff2 differ diff --git a/assets/roboto-cyrillic-700-normal-BJaAVvFw.woff b/assets/roboto-cyrillic-700-normal-BJaAVvFw.woff new file mode 100644 index 0000000..1ebc045 Binary files /dev/null and b/assets/roboto-cyrillic-700-normal-BJaAVvFw.woff differ diff --git a/assets/roboto-cyrillic-700-normal-jruQITdB.woff2 b/assets/roboto-cyrillic-700-normal-jruQITdB.woff2 new file mode 100644 index 0000000..41637e5 Binary files /dev/null and b/assets/roboto-cyrillic-700-normal-jruQITdB.woff2 differ diff --git a/assets/roboto-cyrillic-ext-300-normal-BLLmCegk.woff b/assets/roboto-cyrillic-ext-300-normal-BLLmCegk.woff new file mode 100644 index 0000000..1118c98 Binary files /dev/null and b/assets/roboto-cyrillic-ext-300-normal-BLLmCegk.woff differ diff --git a/assets/roboto-cyrillic-ext-300-normal-Chhwl1Jq.woff2 b/assets/roboto-cyrillic-ext-300-normal-Chhwl1Jq.woff2 new file mode 100644 index 0000000..a69131b Binary files /dev/null and b/assets/roboto-cyrillic-ext-300-normal-Chhwl1Jq.woff2 differ diff --git a/assets/roboto-cyrillic-ext-400-normal-D76n7Daw.woff2 b/assets/roboto-cyrillic-ext-400-normal-D76n7Daw.woff2 new file mode 100644 index 0000000..e3d708f Binary files /dev/null and b/assets/roboto-cyrillic-ext-400-normal-D76n7Daw.woff2 differ diff --git a/assets/roboto-cyrillic-ext-400-normal-b0JluIOJ.woff b/assets/roboto-cyrillic-ext-400-normal-b0JluIOJ.woff new file mode 100644 index 0000000..6994a4d Binary files /dev/null and b/assets/roboto-cyrillic-ext-400-normal-b0JluIOJ.woff differ diff --git a/assets/roboto-cyrillic-ext-500-normal-37WQE4S0.woff b/assets/roboto-cyrillic-ext-500-normal-37WQE4S0.woff new file mode 100644 index 0000000..76b4607 Binary files /dev/null and b/assets/roboto-cyrillic-ext-500-normal-37WQE4S0.woff differ diff --git a/assets/roboto-cyrillic-ext-500-normal-BJvL3D7h.woff2 b/assets/roboto-cyrillic-ext-500-normal-BJvL3D7h.woff2 new file mode 100644 index 0000000..70865a5 Binary files /dev/null and b/assets/roboto-cyrillic-ext-500-normal-BJvL3D7h.woff2 differ diff --git a/assets/roboto-cyrillic-ext-700-normal-CyZgh00P.woff2 b/assets/roboto-cyrillic-ext-700-normal-CyZgh00P.woff2 new file mode 100644 index 0000000..660850e Binary files /dev/null and b/assets/roboto-cyrillic-ext-700-normal-CyZgh00P.woff2 differ diff --git a/assets/roboto-cyrillic-ext-700-normal-DXzexxfu.woff b/assets/roboto-cyrillic-ext-700-normal-DXzexxfu.woff new file mode 100644 index 0000000..1994356 Binary files /dev/null and b/assets/roboto-cyrillic-ext-700-normal-DXzexxfu.woff differ diff --git a/assets/roboto-greek-300-normal-Bx8edVml.woff2 b/assets/roboto-greek-300-normal-Bx8edVml.woff2 new file mode 100644 index 0000000..b61eed3 Binary files /dev/null and b/assets/roboto-greek-300-normal-Bx8edVml.woff2 differ diff --git a/assets/roboto-greek-300-normal-D3gN5oZ1.woff b/assets/roboto-greek-300-normal-D3gN5oZ1.woff new file mode 100644 index 0000000..0d6b888 Binary files /dev/null and b/assets/roboto-greek-300-normal-D3gN5oZ1.woff differ diff --git a/assets/roboto-greek-400-normal-IIc_WWwF.woff b/assets/roboto-greek-400-normal-IIc_WWwF.woff new file mode 100644 index 0000000..f8226bb Binary files /dev/null and b/assets/roboto-greek-400-normal-IIc_WWwF.woff differ diff --git a/assets/roboto-greek-400-normal-LPh2sqOm.woff2 b/assets/roboto-greek-400-normal-LPh2sqOm.woff2 new file mode 100644 index 0000000..a7f32b6 Binary files /dev/null and b/assets/roboto-greek-400-normal-LPh2sqOm.woff2 differ diff --git a/assets/roboto-greek-500-normal-Bg8BLohm.woff2 b/assets/roboto-greek-500-normal-Bg8BLohm.woff2 new file mode 100644 index 0000000..ae4de2f Binary files /dev/null and b/assets/roboto-greek-500-normal-Bg8BLohm.woff2 differ diff --git a/assets/roboto-greek-500-normal-CdRewbqV.woff b/assets/roboto-greek-500-normal-CdRewbqV.woff new file mode 100644 index 0000000..a6edbba Binary files /dev/null and b/assets/roboto-greek-500-normal-CdRewbqV.woff differ diff --git a/assets/roboto-greek-700-normal-1IZ-NEfb.woff b/assets/roboto-greek-700-normal-1IZ-NEfb.woff new file mode 100644 index 0000000..26c5994 Binary files /dev/null and b/assets/roboto-greek-700-normal-1IZ-NEfb.woff differ diff --git a/assets/roboto-greek-700-normal-Bs05n1ZH.woff2 b/assets/roboto-greek-700-normal-Bs05n1ZH.woff2 new file mode 100644 index 0000000..19fc4b1 Binary files /dev/null and b/assets/roboto-greek-700-normal-Bs05n1ZH.woff2 differ diff --git a/assets/roboto-latin-300-normal-BZ6gvbSO.woff b/assets/roboto-latin-300-normal-BZ6gvbSO.woff new file mode 100644 index 0000000..e58cf24 Binary files /dev/null and b/assets/roboto-latin-300-normal-BZ6gvbSO.woff differ diff --git a/assets/roboto-latin-300-normal-BizgZZ3y.woff2 b/assets/roboto-latin-300-normal-BizgZZ3y.woff2 new file mode 100644 index 0000000..72226f5 Binary files /dev/null and b/assets/roboto-latin-300-normal-BizgZZ3y.woff2 differ diff --git a/assets/roboto-latin-400-normal-BVyCgWwA.woff b/assets/roboto-latin-400-normal-BVyCgWwA.woff new file mode 100644 index 0000000..4333e5a Binary files /dev/null and b/assets/roboto-latin-400-normal-BVyCgWwA.woff differ diff --git a/assets/roboto-latin-400-normal-DXyFPIdK.woff2 b/assets/roboto-latin-400-normal-DXyFPIdK.woff2 new file mode 100644 index 0000000..2d7b215 Binary files /dev/null and b/assets/roboto-latin-400-normal-DXyFPIdK.woff2 differ diff --git a/assets/roboto-latin-500-normal-C6iW8rdg.woff2 b/assets/roboto-latin-500-normal-C6iW8rdg.woff2 new file mode 100644 index 0000000..88c1773 Binary files /dev/null and b/assets/roboto-latin-500-normal-C6iW8rdg.woff2 differ diff --git a/assets/roboto-latin-500-normal-rpP1_v3s.woff b/assets/roboto-latin-500-normal-rpP1_v3s.woff new file mode 100644 index 0000000..cae9ed1 Binary files /dev/null and b/assets/roboto-latin-500-normal-rpP1_v3s.woff differ diff --git a/assets/roboto-latin-700-normal-BWcFiwQV.woff b/assets/roboto-latin-700-normal-BWcFiwQV.woff new file mode 100644 index 0000000..83c45bc Binary files /dev/null and b/assets/roboto-latin-700-normal-BWcFiwQV.woff differ diff --git a/assets/roboto-latin-700-normal-CbYYDfWS.woff2 b/assets/roboto-latin-700-normal-CbYYDfWS.woff2 new file mode 100644 index 0000000..22f6f53 Binary files /dev/null and b/assets/roboto-latin-700-normal-CbYYDfWS.woff2 differ diff --git a/assets/roboto-latin-ext-300-normal-BzRVPTS2.woff2 b/assets/roboto-latin-ext-300-normal-BzRVPTS2.woff2 new file mode 100644 index 0000000..14af54a Binary files /dev/null and b/assets/roboto-latin-ext-300-normal-BzRVPTS2.woff2 differ diff --git a/assets/roboto-latin-ext-300-normal-Djx841zm.woff b/assets/roboto-latin-ext-300-normal-Djx841zm.woff new file mode 100644 index 0000000..60256b1 Binary files /dev/null and b/assets/roboto-latin-ext-300-normal-Djx841zm.woff differ diff --git a/assets/roboto-latin-ext-400-normal-BSFkPfbf.woff b/assets/roboto-latin-ext-400-normal-BSFkPfbf.woff new file mode 100644 index 0000000..3658dd2 Binary files /dev/null and b/assets/roboto-latin-ext-400-normal-BSFkPfbf.woff differ diff --git a/assets/roboto-latin-ext-400-normal-DgXbz5gU.woff2 b/assets/roboto-latin-ext-400-normal-DgXbz5gU.woff2 new file mode 100644 index 0000000..20c87e6 Binary files /dev/null and b/assets/roboto-latin-ext-400-normal-DgXbz5gU.woff2 differ diff --git a/assets/roboto-latin-ext-500-normal-DvHxAkTn.woff b/assets/roboto-latin-ext-500-normal-DvHxAkTn.woff new file mode 100644 index 0000000..c40790e Binary files /dev/null and b/assets/roboto-latin-ext-500-normal-DvHxAkTn.woff differ diff --git a/assets/roboto-latin-ext-500-normal-OQJhyaXd.woff2 b/assets/roboto-latin-ext-500-normal-OQJhyaXd.woff2 new file mode 100644 index 0000000..c8dc755 Binary files /dev/null and b/assets/roboto-latin-ext-500-normal-OQJhyaXd.woff2 differ diff --git a/assets/roboto-latin-ext-700-normal-Ba-CAIIA.woff b/assets/roboto-latin-ext-700-normal-Ba-CAIIA.woff new file mode 100644 index 0000000..2ed8a11 Binary files /dev/null and b/assets/roboto-latin-ext-700-normal-Ba-CAIIA.woff differ diff --git a/assets/roboto-latin-ext-700-normal-DchBbzVz.woff2 b/assets/roboto-latin-ext-700-normal-DchBbzVz.woff2 new file mode 100644 index 0000000..327eb66 Binary files /dev/null and b/assets/roboto-latin-ext-700-normal-DchBbzVz.woff2 differ diff --git a/assets/roboto-vietnamese-300-normal-CAomnZLO.woff b/assets/roboto-vietnamese-300-normal-CAomnZLO.woff new file mode 100644 index 0000000..cd2c4cd Binary files /dev/null and b/assets/roboto-vietnamese-300-normal-CAomnZLO.woff differ diff --git a/assets/roboto-vietnamese-300-normal-PZa9KE_J.woff2 b/assets/roboto-vietnamese-300-normal-PZa9KE_J.woff2 new file mode 100644 index 0000000..a7026d4 Binary files /dev/null and b/assets/roboto-vietnamese-300-normal-PZa9KE_J.woff2 differ diff --git a/assets/roboto-vietnamese-400-normal-D5pJwT9g.woff b/assets/roboto-vietnamese-400-normal-D5pJwT9g.woff new file mode 100644 index 0000000..cdeb26c Binary files /dev/null and b/assets/roboto-vietnamese-400-normal-D5pJwT9g.woff differ diff --git a/assets/roboto-vietnamese-400-normal-DhTUfTw_.woff2 b/assets/roboto-vietnamese-400-normal-DhTUfTw_.woff2 new file mode 100644 index 0000000..cfd043d Binary files /dev/null and b/assets/roboto-vietnamese-400-normal-DhTUfTw_.woff2 differ diff --git a/assets/roboto-vietnamese-500-normal-LvuCHq7y.woff b/assets/roboto-vietnamese-500-normal-LvuCHq7y.woff new file mode 100644 index 0000000..3a0c0f7 Binary files /dev/null and b/assets/roboto-vietnamese-500-normal-LvuCHq7y.woff differ diff --git a/assets/roboto-vietnamese-500-normal-p0V0BAAE.woff2 b/assets/roboto-vietnamese-500-normal-p0V0BAAE.woff2 new file mode 100644 index 0000000..34c639c Binary files /dev/null and b/assets/roboto-vietnamese-500-normal-p0V0BAAE.woff2 differ diff --git a/assets/roboto-vietnamese-700-normal-B4Nagvlm.woff b/assets/roboto-vietnamese-700-normal-B4Nagvlm.woff new file mode 100644 index 0000000..595fe84 Binary files /dev/null and b/assets/roboto-vietnamese-700-normal-B4Nagvlm.woff differ diff --git a/assets/roboto-vietnamese-700-normal-CBbheh0s.woff2 b/assets/roboto-vietnamese-700-normal-CBbheh0s.woff2 new file mode 100644 index 0000000..c175453 Binary files /dev/null and b/assets/roboto-vietnamese-700-normal-CBbheh0s.woff2 differ diff --git a/assets/useSetDocumentTitle-DxFv05Kl.js b/assets/useSetDocumentTitle-DxFv05Kl.js new file mode 100644 index 0000000..86fa3c4 --- /dev/null +++ b/assets/useSetDocumentTitle-DxFv05Kl.js @@ -0,0 +1 @@ +import{r as e}from"./index-DpzKuOVF.js";function r(t){e.useEffect(()=>{document.title=t})}export{r as u}; diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000..bcd5dfd Binary files /dev/null and b/favicon.ico differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..8d81b11 --- /dev/null +++ b/index.html @@ -0,0 +1,7 @@ +Party Game Template | remarkablegames
\ No newline at end of file diff --git a/logo192.png b/logo192.png new file mode 100644 index 0000000..fc44b0a Binary files /dev/null and b/logo192.png differ diff --git a/logo512.png b/logo512.png new file mode 100644 index 0000000..a4e47a6 Binary files /dev/null and b/logo512.png differ diff --git a/manifest.json b/manifest.json new file mode 100644 index 0000000..a708d2f --- /dev/null +++ b/manifest.json @@ -0,0 +1,25 @@ +{ + "short_name": "Party Game Template", + "name": "Party Game Template", + "icons": [ + { + "src": "favicon.ico", + "sizes": "64x64 32x32 24x24 16x16", + "type": "image/x-icon" + }, + { + "src": "logo192.png", + "type": "image/png", + "sizes": "192x192" + }, + { + "src": "logo512.png", + "type": "image/png", + "sizes": "512x512" + } + ], + "start_url": ".", + "display": "standalone", + "theme_color": "#000000", + "background_color": "#ffffff" +}