Deprecated: Function get_magic_quotes_gpc() is deprecated in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 99
Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 619
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 832
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
import{j as k}from"./WQT7eQJ_.js";import{r}from"./Cp_JqFo_.js";import{a2 as de}from"./CoIuAmXb.js";import{j as me,h as fe,g as ge}from"./uO0M6TKV.js";import{b as he}from"./tXFli0Gf.js";import{u as G}from"./C2-Gy2YL.js";import{c as ve,a as B}from"./irJe47J5.js";import{e as H}from"./BKQC8mT0.js";import{g as W,u as _,s as O,c as be,a as q,w as ke,f as M}from"./BcnqZn3H.js";import{g as K,m as V}from"./DwhFQSyn.js";import{u as A}from"./C1PM8vbM.js";import{C as we}from"./Bbn5NVSr.js";import{P as Ce}from"./CaW5v5KW.js";import{G as ye}from"./D-n-Biwv.js";import{S as Se}from"./We5XCFYO.js";import{A as xe}from"./DIqW5IfG.js";import{L as Ee}from"./DdpBUzX3.js";function Le(t={}){const{autoHideDuration:e=null,disableWindowBlurListener:s=!1,onClose:a,open:c,resumeHideDuration:g}=t,m=ve();r.useEffect(()=>{if(!c)return;function o(n){n.defaultPrevented||n.key==="Escape"&&a?.(n,"escapeKeyDown")}return document.addEventListener("keydown",o),()=>{document.removeEventListener("keydown",o)}},[c,a]);const u=B((o,n)=>{a?.(o,n)}),h=B(o=>{!a||o==null||m.start(o,()=>{u(null,"timeout")})});r.useEffect(()=>(c&&h(e),m.clear),[c,e,h,m]);const f=o=>{a?.(o,"clickaway")},i=m.clear,p=r.useCallback(()=>{e!=null&&h(g??e*.5)},[e,g,h]),y=o=>n=>{const l=o.onBlur;l?.(n),p()},w=o=>n=>{const l=o.onFocus;l?.(n),i()},C=o=>n=>{const l=o.onMouseEnter;l?.(n),i()},x=o=>n=>{const l=o.onMouseLeave;l?.(n),p()};return r.useEffect(()=>{if(!s&&c)return window.addEventListener("focus",p),window.addEventListener("blur",i),()=>{window.removeEventListener("focus",p),window.removeEventListener("blur",i)}},[s,c,p,i]),{getRootProps:(o={})=>{const n={...H(t),...H(o)};return{role:"presentation",...o,...n,onBlur:y(n),onFocus:w(n),onMouseEnter:C(n),onMouseLeave:x(n)}},onClickAway:f}}function Te(t){return W("MuiSnackbarContent",t)}K("MuiSnackbarContent",["root","message","action"]);const Pe=t=>{const{classes:e}=t;return q({root:["root"],action:["action"],message:["message"]},Te,e)},Re=O(Ce,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(t,e)=>e.root})(V(({theme:t})=>{const e=t.palette.mode==="light"?.8:.98,s=ke(t.palette.background.default,e);return{...t.typography.body2,color:t.vars?t.vars.palette.SnackbarContent.color:t.palette.getContrastText(s),backgroundColor:t.vars?t.vars.palette.SnackbarContent.bg:s,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(t.vars||t).shape.borderRadius,flexGrow:1,[t.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}}})),Ae=O("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(t,e)=>e.message})({padding:"8px 0"}),Me=O("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(t,e)=>e.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),Oe=r.forwardRef(function(e,s){const a=_({props:e,name:"MuiSnackbarContent"}),{action:c,className:g,message:m,role:u="alert",...h}=a,f=a,i=Pe(f);return k.jsxs(Re,{role:u,square:!0,elevation:6,className:be(i.root,g),ownerState:f,ref:s,...h,children:[k.jsx(Ae,{className:i.message,ownerState:f,children:m}),c?k.jsx(Me,{className:i.action,ownerState:f,children:c}):null]})});function je(t){return W("MuiSnackbar",t)}K("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const De=t=>{const{classes:e,anchorOrigin:s}=t,a={root:["root",`anchorOrigin${M(s.vertical)}${M(s.horizontal)}`]};return q(a,je,e)},Fe=O("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:s}=t;return[e.root,e[`anchorOrigin${M(s.anchorOrigin.vertical)}${M(s.anchorOrigin.horizontal)}`]]}})(V(({theme:t})=>({zIndex:(t.vars||t).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center",variants:[{props:({ownerState:e})=>e.anchorOrigin.vertical==="top",style:{top:8,[t.breakpoints.up("sm")]:{top:24}}},{props:({ownerState:e})=>e.anchorOrigin.vertical!=="top",style:{bottom:8,[t.breakpoints.up("sm")]:{bottom:24}}},{props:({ownerState:e})=>e.anchorOrigin.horizontal==="left",style:{justifyContent:"flex-start",[t.breakpoints.up("sm")]:{left:24,right:"auto"}}},{props:({ownerState:e})=>e.anchorOrigin.horizontal==="right",style:{justifyContent:"flex-end",[t.breakpoints.up("sm")]:{right:24,left:"auto"}}},{props:({ownerState:e})=>e.anchorOrigin.horizontal==="center",style:{[t.breakpoints.up("sm")]:{left:"50%",right:"auto",transform:"translateX(-50%)"}}}]}))),Ie=r.forwardRef(function(e,s){const a=_({props:e,name:"MuiSnackbar"}),c=G(),g={enter:c.transitions.duration.enteringScreen,exit:c.transitions.duration.leavingScreen},{action:m,anchorOrigin:{vertical:u,horizontal:h}={vertical:"bottom",horizontal:"left"},autoHideDuration:f=null,children:i,className:p,ClickAwayListenerProps:y,ContentProps:w,disableWindowBlurListener:C=!1,message:x,onBlur:L,onClose:o,onFocus:n,onMouseEnter:l,onMouseLeave:j,open:T,resumeHideDuration:d,slots:v={},slotProps:P={},TransitionComponent:D,transitionDuration:F=g,TransitionProps:{onEnter:I,onExited:N,...X}={},...Y}=a,E={...a,anchorOrigin:{vertical:u,horizontal:h},autoHideDuration:f,disableWindowBlurListener:C,TransitionComponent:D,transitionDuration:F},J=De(E),{getRootProps:Q,onClickAway:Z}=Le({...E}),[ee,z]=r.useState(!0),te=S=>{z(!0),N&&N(S)},oe=(S,b)=>{z(!1),I&&I(S,b)},R={slots:{transition:D,...v},slotProps:{content:w,clickAwayListener:y,transition:X,...P}},[ne,re]=A("root",{ref:s,className:[J.root,p],elementType:Fe,getSlotProps:Q,externalForwardedProps:{...R,...Y},ownerState:E}),[se,{ownerState:ae,...ie}]=A("clickAwayListener",{elementType:we,externalForwardedProps:R,getSlotProps:S=>({onClickAway:(...b)=>{S.onClickAway?.(...b),Z(...b)}}),ownerState:E}),[ce,le]=A("content",{elementType:Oe,shouldForwardComponentProp:!0,externalForwardedProps:R,additionalProps:{message:x,action:m},ownerState:E}),[ue,pe]=A("transition",{elementType:ye,externalForwardedProps:R,getSlotProps:S=>({onEnter:(...b)=>{S.onEnter?.(...b),oe(...b)},onExited:(...b)=>{S.onExited?.(...b),te(...b)}}),additionalProps:{appear:!0,in:T,timeout:F,direction:u==="top"?"down":"up"},ownerState:E});return!T&&ee?null:k.jsx(se,{...ie,...v.clickAwayListener&&{ownerState:ae},children:k.jsx(ne,{...re,children:k.jsx(ue,{...pe,children:i||k.jsx(ce,{...le})})})})});function tt(t,e){const s=new CustomEvent("show-toast",{detail:{severity:t,message:e}});window.dispatchEvent(s)}const U=250,$=7e3,Ne=500;function ot(){const e=me(he("root"))?.toast,s=r.useRef(null),a=G(),[c,g]=r.useState(null),[m,u]=r.useState(!1),[h,f]=r.useState(100),i=r.useRef(null),p=r.useRef(null),y=r.useRef(0),w=r.useRef(null);r.useEffect(()=>()=>{w.current&&(clearTimeout(w.current),w.current=null),i.current&&(cancelAnimationFrame(i.current),i.current=null),s.current=null},[]);const C=r.useCallback(()=>{i.current&&(cancelAnimationFrame(i.current),i.current=null)},[]),x=r.useCallback(()=>{f(100),y.current=0,p.current=null,w.current=null,C()},[C]),L=r.useCallback(()=>{const d=Date.now(),v=p.current?d-p.current:0;p.current=d,y.current+=v;const P=Math.max(0,Math.round(100-y.current/$*100));f(P),y.current<$+Ne?i.current=requestAnimationFrame(L):u(!1)},[]),o=r.useCallback(()=>{i.current||(p.current=Date.now(),i.current=requestAnimationFrame(L))},[L]),n=r.useCallback(d=>{x(),m&&c?(u(!1),w.current=setTimeout(()=>{g(d),u(!0),o()},U)):(g(d),u(!0),o())},[m,x,c,o]),l=fe(),j=ge();r.useEffect(()=>{l.state==="idle"&&e?.message&&e?.severity&&s.current!==e.message&&(s.current=e.message,n({severity:e.severity,message:e.message}))},[l.state,e?.message,e?.severity,n]),r.useEffect(()=>{j.pathname!==l.location?.pathname&&l.state==="loading"&&s.current&&(s.current=null)},[j.pathname,l.location?.pathname,l.state]),r.useEffect(()=>{const d=v=>{if(v.type==="show-toast"&&v instanceof CustomEvent){const P=de.parse(v.detail);n(P)}};return window.addEventListener("show-toast",d),()=>{window.removeEventListener("show-toast",d)}},[n]),r.useEffect(()=>{const d=()=>{document.visibilityState==="hidden"?C():o()};return document.addEventListener("visibilitychange",d),()=>{document.removeEventListener("visibilitychange",d)}},[C,o]);const T={success:a.vars.palette.docker.green[600],error:a.vars.palette.docker.red[600],warning:a.vars.palette.docker.amber[600],info:a.vars.palette.docker.blue[600]};return k.jsx(Ie,{"data-testid":"docker-toast",open:m,onClose:(d,v)=>{v==="escapeKeyDown"&&u(!1)},slots:{transition:Se},slotProps:{transition:{direction:"left",timeout:U,onExited:x}},sx:{width:{xs:`calc(100vw - ${a.spacing(6)})`,md:a.spacing(50)}},anchorOrigin:{vertical:"bottom",horizontal:"right"},children:k.jsxs(xe,{severity:c?.severity,sx:{width:"100%"},onMouseEnter:C,onMouseLeave:o,onClose:()=>{u(!1)},children:[c?.message,k.jsx(Ee,{"aria-label":"Percentage of time left until toast closes",value:h,variant:"determinate",color:"inherit",sx:{position:"absolute",bottom:0,left:0,right:0,height:a.spacing(.5),borderBottomLeftRadius:a.spacing(.5),borderBottomRightRadius:a.spacing(.5),"& .MuiLinearProgress-bar1":{backgroundColor:c?T[c.severity]:T.info}}})]})})}export{ot as T,tt as s};