import{aM as Y,an as w,at as C,ar as v,ak as S,al as R,r as T,ap as y,ah as s,j as n,am as B,as as Z,aN as b,aO as G,aP as Q,aQ as u,aR as x,R as U,s as F,h as I}from"./vendor-ClLR6ncd.js";import{a as V}from"./model-BBaroEiB.js";import{L as P}from"./Link-BLwKPJFF.js";const $=Y({createStyledComponent:C("div",{name:"MuiContainer",slot:"Root",overridesResolver:(a,t)=>{const{ownerState:o}=a;return[t.root,t[`maxWidth${v(String(o.maxWidth))}`],o.fixed&&t.fixed,o.disableGutters&&t.disableGutters]}}),useThemeProps:a=>w({props:a,name:"MuiContainer"})});function W(a){return S("MuiSkeleton",a)}R("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]);const J=["animation","className","component","height","style","variant","width"];let l=a=>a,c,p,m,f;const E=a=>{const{classes:t,variant:o,animation:e,hasChildren:i,width:h,height:r}=a;return Z({root:["root",o,e,i&&"withChildren",i&&!h&&"fitContent",i&&!r&&"heightAuto"]},W,t)},q=x(c||(c=l`
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }

  100% {
    opacity: 1;
  }
`)),O=x(p||(p=l`
  0% {
    transform: translateX(-100%);
  }

  50% {
    /* +0.5s of delay between each loop */
    transform: translateX(100%);
  }

  100% {
    transform: translateX(100%);
  }
`)),D=C("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(a,t)=>{const{ownerState:o}=a;return[t.root,t[o.variant],o.animation!==!1&&t[o.animation],o.hasChildren&&t.withChildren,o.hasChildren&&!o.width&&t.fitContent,o.hasChildren&&!o.height&&t.heightAuto]}})(({theme:a,ownerState:t})=>{const o=b(a.shape.borderRadius)||"px",e=G(a.shape.borderRadius);return s({display:"block",backgroundColor:a.vars?a.vars.palette.Skeleton.bg:Q(a.palette.text.primary,a.palette.mode==="light"?.11:.13),height:"1.2em"},t.variant==="text"&&{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:`${e}${o}/${Math.round(e/.6*10)/10}${o}`,"&:empty:before":{content:'"\\00a0"'}},t.variant==="circular"&&{borderRadius:"50%"},t.variant==="rounded"&&{borderRadius:(a.vars||a).shape.borderRadius},t.hasChildren&&{"& > *":{visibility:"hidden"}},t.hasChildren&&!t.width&&{maxWidth:"fit-content"},t.hasChildren&&!t.height&&{height:"auto"})},({ownerState:a})=>a.animation==="pulse"&&u(m||(m=l`
      animation: ${0} 2s ease-in-out 0.5s infinite;
    `),q),({ownerState:a,theme:t})=>a.animation==="wave"&&u(f||(f=l`
      position: relative;
      overflow: hidden;

      /* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */
      -webkit-mask-image: -webkit-radial-gradient(white, black);

      &::after {
        animation: ${0} 2s linear 0.5s infinite;
        background: linear-gradient(
          90deg,
          transparent,
          ${0},
          transparent
        );
        content: '';
        position: absolute;
        transform: translateX(-100%); /* Avoid flash during server-side hydration */
        bottom: 0;
        left: 0;
        right: 0;
        top: 0;
      }
    `),O,(t.vars||t).palette.action.hover)),z=T.forwardRef(function(t,o){const e=w({props:t,name:"MuiSkeleton"}),{animation:i="pulse",className:h,component:r="span",height:d,style:j,variant:K="text",width:k}=e,g=y(e,J),A=s({},e,{animation:i,component:r,variant:K,hasChildren:!!g.children}),M=E(A);return n.jsx(D,s({as:r,ref:o,className:B(M.root,h),ownerState:A},g,{style:s({width:k,height:d},j)}))}),L="data:image/png;base64,[encoded data, 5432 characters]",N={width:266,height:"100%"};function tt({style:a={}}){var i;const[t,o]=U.useState(!1),e=V();return n.jsxs(n.Fragment,{children:[t?null:n.jsx(z,{variant:"rectangular",...N}),n.jsxs(P,{component:F,to:"/",sx:{textDecoration:"none",display:"flex",flexDirection:"row",alignItems:"center",gap:1,height:1},children:[n.jsx("img",{style:t?a:{display:"none"},alt:"logo",onLoad:()=>{o(!0)},src:L}),t?n.jsx(I,{component:"span",variant:"h5",color:"text.disabled",letterSpacing:"-0.06em",fontWeight:"bold",fontSize:"1.2rem",children:(i=e.data)==null?void 0:i.shortVersion}):null]})]})}export{$ as C,tt as L};
