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{r as c}from"./Cp_JqFo_.js";import{c as G,g as ie,u as ae,s as $,a as le,r as De}from"./BcnqZn3H.js";import{o as B,T as He,g as Fe,a as ve,d as Ke,P as je,G as Be,u as ze}from"./D-n-Biwv.js";import{g as ce,m as Ue}from"./DwhFQSyn.js";import{u as z}from"./C1PM8vbM.js";import{j as D}from"./WQT7eQJ_.js";import{u as We}from"./Dk6bHVpR.js";import{a as $e,i as Ve}from"./C9E1rNUM.js";import{P as Ge}from"./CaW5v5KW.js";import{u as ue,a as Re,b as Ye}from"./irJe47J5.js";import{e as qe}from"./BKQC8mT0.js";import{u as Xe}from"./C2-Gy2YL.js";function Te(...e){return e.reduce((t,o)=>o==null?t:function(...i){t.apply(this,i),o.apply(this,i)},()=>{})}function _e(e,t=166){let o;function n(...i){const r=()=>{e.apply(this,i)};clearTimeout(o),o=setTimeout(r,t)}return n.clear=()=>{clearTimeout(o)},n}function Y(e){return B(e).defaultView||window}function Ae(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}function Je(e,t){if(!e)return t;if(typeof e=="function"||typeof t=="function")return i=>{const r=typeof t=="function"?t(i):t,a=typeof e=="function"?e({...i,...r}):e,l=G(i?.className,r?.className,a?.className);return{...r,...a,...!!l&&{className:l},...r?.style&&a?.style&&{style:{...r.style,...a.style}},...r?.sx&&a?.sx&&{sx:[...Array.isArray(r.sx)?r.sx:[r.sx],...Array.isArray(a.sx)?a.sx:[a.sx]]}}};const o=t,n=G(o?.className,e?.className);return{...t,...e,...!!n&&{className:n},...o?.style&&e?.style&&{style:{...o.style,...e.style}},...o?.sx&&e?.sx&&{sx:[...Array.isArray(o.sx)?o.sx:[o.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}const Qe={entering:{opacity:1},entered:{opacity:1}},Ze=c.forwardRef(function(t,o){const n=Xe(),i={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:r,appear:a=!0,children:l,easing:f,in:E,onEnter:k,onEntered:v,onEntering:S,onExit:d,onExited:m,onExiting:L,style:T,timeout:h=i,TransitionComponent:x=He,...s}=t,u=c.useRef(null),g=ue(u,Fe(l),o),P=M=>b=>{if(M){const p=u.current;b===void 0?M(p):M(p,b)}},R=P(S),y=P((M,b)=>{Ke(M);const p=ve({style:T,timeout:h,easing:f},{mode:"enter"});M.style.webkitTransition=n.transitions.create("opacity",p),M.style.transition=n.transitions.create("opacity",p),k&&k(M,b)}),I=P(v),O=P(L),A=P(M=>{const b=ve({style:T,timeout:h,easing:f},{mode:"exit"});M.style.webkitTransition=n.transitions.create("opacity",b),M.style.transition=n.transitions.create("opacity",b),d&&d(M)}),H=P(m),U=M=>{r&&r(u.current,M)};return D.jsx(x,{appear:a,in:E,nodeRef:u,onEnter:y,onEntered:I,onEntering:R,onExit:A,onExited:H,onExiting:O,addEndListener:U,timeout:h,...s,children:(M,{ownerState:b,...p})=>c.cloneElement(l,{style:{opacity:0,visibility:M==="exited"&&!E?"hidden":void 0,...Qe[M],...T,...l.props.style},ref:g,...p})})});function et(e){return ie("MuiBackdrop",e)}ce("MuiBackdrop",["root","invisible"]);const tt=e=>{const{classes:t,invisible:o}=e;return le({root:["root",o&&"invisible"]},et,t)},ot=$("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.invisible&&t.invisible]}})({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",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),nt=c.forwardRef(function(t,o){const n=ae({props:t,name:"MuiBackdrop"}),{children:i,className:r,component:a="div",invisible:l=!1,open:f,components:E={},componentsProps:k={},slotProps:v={},slots:S={},TransitionComponent:d,transitionDuration:m,...L}=n,T={...n,component:a,invisible:l},h=tt(T),x={transition:d,root:E.Root,...S},s={...k,...v},u={slots:x,slotProps:s},[g,P]=z("root",{elementType:ot,externalForwardedProps:u,className:G(h.root,r),ownerState:T}),[R,y]=z("transition",{elementType:Ze,externalForwardedProps:u,ownerState:T});return D.jsx(R,{in:f,timeout:m,...L,...y,children:D.jsx(g,{"aria-hidden":!0,...P,classes:h,ref:o,children:i})})});function rt(e){const t=B(e);return t.body===e?Y(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function te(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function we(e){return parseInt(Y(e).getComputedStyle(e).paddingRight,10)||0}function st(e){const o=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),n=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return o||n}function ke(e,t,o,n,i){const r=[t,o,...n];[].forEach.call(e.children,a=>{const l=!r.includes(a),f=!st(a);l&&f&&te(a,i)})}function he(e,t){let o=-1;return e.some((n,i)=>t(n)?(o=i,!0):!1),o}function it(e,t){const o=[],n=e.container;if(!t.disableScrollLock){if(rt(n)){const a=Ae(Y(n));o.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${we(n)+a}px`;const l=B(n).querySelectorAll(".mui-fixed");[].forEach.call(l,f=>{o.push({value:f.style.paddingRight,property:"padding-right",el:f}),f.style.paddingRight=`${we(f)+a}px`})}let r;if(n.parentNode instanceof DocumentFragment)r=B(n).body;else{const a=n.parentElement,l=Y(n);r=a?.nodeName==="HTML"&&l.getComputedStyle(a).overflowY==="scroll"?a: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:a,property:l})=>{r?a.style.setProperty(l,r):a.style.removeProperty(l)})}}function at(e){const t=[];return[].forEach.call(e.children,o=>{o.getAttribute("aria-hidden")==="true"&&t.push(o)}),t}class lt{constructor(){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&&te(t.modalRef,!1);const i=at(o);ke(o,t.mount,t.modalRef,i,!0);const r=he(this.containers,a=>a.container===o);return r!==-1?(this.containers[r].modals.push(t),n):(this.containers.push({modals:[t],container:o,restore:null,hiddenSiblings:i}),n)}mount(t,o){const n=he(this.containers,r=>r.modals.includes(t)),i=this.containers[n];i.restore||(i.restore=it(i,o))}remove(t,o=!0){const n=this.modals.indexOf(t);if(n===-1)return n;const i=he(this.containers,a=>a.modals.includes(t)),r=this.containers[i];if(r.modals.splice(r.modals.indexOf(t),1),this.modals.splice(n,1),r.modals.length===0)r.restore&&r.restore(),t.modalRef&&te(t.modalRef,o),ke(r.container,t.mount,t.modalRef,r.hiddenSiblings,!1),this.containers.splice(i,1);else{const a=r.modals[r.modals.length-1];a.modalRef&&te(a.modalRef,!1)}return n}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const ct=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function ut(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 dt(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 ft(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||dt(e))}function pt(e){const t=[],o=[];return Array.from(e.querySelectorAll(ct)).forEach((n,i)=>{const r=ut(n);r===-1||!ft(n)||(r===0?t.push(n):o.push({documentOrder:i,tabIndex:r,node:n}))}),o.sort((n,i)=>n.tabIndex===i.tabIndex?n.documentOrder-i.documentOrder:n.tabIndex-i.tabIndex).map(n=>n.node).concat(t)}function ht(){return!0}function mt(e){const{children:t,disableAutoFocus:o=!1,disableEnforceFocus:n=!1,disableRestoreFocus:i=!1,getTabbable:r=pt,isEnabled:a=ht,open:l}=e,f=c.useRef(!1),E=c.useRef(null),k=c.useRef(null),v=c.useRef(null),S=c.useRef(null),d=c.useRef(!1),m=c.useRef(null),L=ue(Fe(t),m),T=c.useRef(null);c.useEffect(()=>{!l||!m.current||(d.current=!o)},[o,l]),c.useEffect(()=>{if(!l||!m.current)return;const s=B(m.current);return m.current.contains(s.activeElement)||(m.current.hasAttribute("tabIndex")||m.current.setAttribute("tabIndex","-1"),d.current&&m.current.focus()),()=>{i||(v.current&&v.current.focus&&(f.current=!0,v.current.focus()),v.current=null)}},[l]),c.useEffect(()=>{if(!l||!m.current)return;const s=B(m.current),u=R=>{T.current=R,!(n||!a()||R.key!=="Tab")&&s.activeElement===m.current&&R.shiftKey&&(f.current=!0,k.current&&k.current.focus())},g=()=>{const R=m.current;if(R===null)return;if(!s.hasFocus()||!a()||f.current){f.current=!1;return}if(R.contains(s.activeElement)||n&&s.activeElement!==E.current&&s.activeElement!==k.current)return;if(s.activeElement!==S.current)S.current=null;else if(S.current!==null)return;if(!d.current)return;let y=[];if((s.activeElement===E.current||s.activeElement===k.current)&&(y=r(m.current)),y.length>0){const I=!!(T.current?.shiftKey&&T.current?.key==="Tab"),O=y[0],A=y[y.length-1];typeof O!="string"&&typeof A!="string"&&(I?A.focus():O.focus())}else R.focus()};s.addEventListener("focusin",g),s.addEventListener("keydown",u,!0);const P=setInterval(()=>{s.activeElement&&s.activeElement.tagName==="BODY"&&g()},50);return()=>{clearInterval(P),s.removeEventListener("focusin",g),s.removeEventListener("keydown",u,!0)}},[o,n,i,a,l,r]);const h=s=>{v.current===null&&(v.current=s.relatedTarget),d.current=!0,S.current=s.target;const u=t.props.onFocus;u&&u(s)},x=s=>{v.current===null&&(v.current=s.relatedTarget),d.current=!0};return D.jsxs(c.Fragment,{children:[D.jsx("div",{tabIndex:l?0:-1,onFocus:x,ref:E,"data-testid":"sentinelStart"}),c.cloneElement(t,{ref:L,onFocus:h}),D.jsx("div",{tabIndex:l?0:-1,onFocus:x,ref:k,"data-testid":"sentinelEnd"})]})}function gt(e){return typeof e=="function"?e():e}function yt(e){return e?e.props.hasOwnProperty("in"):!1}const Me=()=>{},re=new lt;function bt(e){const{container:t,disableEscapeKeyDown:o=!1,disableScrollLock:n=!1,closeAfterTransition:i=!1,onTransitionEnter:r,onTransitionExited:a,children:l,onClose:f,open:E,rootRef:k}=e,v=c.useRef({}),S=c.useRef(null),d=c.useRef(null),m=ue(d,k),[L,T]=c.useState(!E),h=yt(l);let x=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(x=!1);const s=()=>B(S.current),u=()=>(v.current.modalRef=d.current,v.current.mount=S.current,v.current),g=()=>{re.mount(u(),{disableScrollLock:n}),d.current&&(d.current.scrollTop=0)},P=Re(()=>{const b=gt(t)||s().body;re.add(u(),b),d.current&&g()}),R=()=>re.isTopModal(u()),y=Re(b=>{S.current=b,b&&(E&&R()?g():d.current&&te(d.current,x))}),I=c.useCallback(()=>{re.remove(u(),x)},[x]);c.useEffect(()=>()=>{I()},[I]),c.useEffect(()=>{E?P():(!h||!i)&&I()},[E,I,h,i,P]);const O=b=>p=>{b.onKeyDown?.(p),!(p.key!=="Escape"||p.which===229||!R())&&(o||(p.stopPropagation(),f&&f(p,"escapeKeyDown")))},A=b=>p=>{b.onClick?.(p),p.target===p.currentTarget&&f&&f(p,"backdropClick")};return{getRootProps:(b={})=>{const p=qe(e);delete p.onTransitionEnter,delete p.onTransitionExited;const W={...p,...b};return{role:"presentation",...W,onKeyDown:O(W),ref:m}},getBackdropProps:(b={})=>{const p=b;return{"aria-hidden":!0,...p,onClick:A(p),open:E}},getTransitionProps:()=>{const b=()=>{T(!1),r&&r()},p=()=>{T(!0),a&&a(),i&&I()};return{onEnter:Te(b,l?.props.onEnter??Me),onExited:Te(p,l?.props.onExited??Me)}},rootRef:m,portalRef:y,isTopModal:R,exited:L,hasTransition:h}}function Et(e){return ie("MuiModal",e)}ce("MuiModal",["root","hidden","backdrop"]);const xt=e=>{const{open:t,exited:o,classes:n}=e;return le({root:["root",!t&&o&&"hidden"],backdrop:["backdrop"]},Et,n)},Pt=$("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,!o.open&&o.exited&&t.hidden]}})(Ue(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:t})=>!t.open&&t.exited,style:{visibility:"hidden"}}]}))),vt=$(nt,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),Rt=c.forwardRef(function(t,o){const n=ae({name:"MuiModal",props:t}),{BackdropComponent:i=vt,BackdropProps:r,classes:a,className:l,closeAfterTransition:f=!1,children:E,container:k,component:v,components:S={},componentsProps:d={},disableAutoFocus:m=!1,disableEnforceFocus:L=!1,disableEscapeKeyDown:T=!1,disablePortal:h=!1,disableRestoreFocus:x=!1,disableScrollLock:s=!1,hideBackdrop:u=!1,keepMounted:g=!1,onBackdropClick:P,onClose:R,onTransitionEnter:y,onTransitionExited:I,open:O,slotProps:A={},slots:H={},theme:U,...M}=n,b={...n,closeAfterTransition:f,disableAutoFocus:m,disableEnforceFocus:L,disableEscapeKeyDown:T,disablePortal:h,disableRestoreFocus:x,disableScrollLock:s,hideBackdrop:u,keepMounted:g},{getRootProps:p,getBackdropProps:W,getTransitionProps:q,portalRef:N,isTopModal:K,exited:Z,hasTransition:oe}=bt({...b,rootRef:o}),V={...b,exited:Z},X=xt(V),_={};if(E.props.tabIndex===void 0&&(_.tabIndex="-1"),oe){const{onEnter:C,onExited:F}=q();_.onEnter=C,_.onExited=F}const ne={slots:{root:S.Root,backdrop:S.Backdrop,...H},slotProps:{...d,...A}},[de,fe]=z("root",{ref:o,elementType:Pt,externalForwardedProps:{...ne,...M,component:v},getSlotProps:p,ownerState:V,className:G(l,X?.root,!V.open&&V.exited&&X?.hidden)}),[pe,w]=z("backdrop",{ref:r?.ref,elementType:i,externalForwardedProps:ne,shouldForwardComponentProp:!0,additionalProps:r,getSlotProps:C=>W({...C,onClick:F=>{P&&P(F),C?.onClick&&C.onClick(F)}}),className:G(r?.className,X?.backdrop),ownerState:V});return!g&&!O&&(!oe||Z)?null:D.jsx(je,{ref:N,container:k,disablePortal:h,children:D.jsxs(de,{...fe,children:[!u&&i?D.jsx(pe,{...w}):null,D.jsx(mt,{disableEnforceFocus:L,disableAutoFocus:m,disableRestoreFocus:x,isEnabled:K,open:O,children:c.cloneElement(E,_)})]})})});function me(e,t,o){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:o?null:e.firstChild}function Ce(e,t,o){return e===t?o?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:o?null:e.lastChild}function Le(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.startsWith(t.keys.join(""))}function ee(e,t,o,n,i,r){let a=!1,l=i(e,t,t?o:!1);for(;l;){if(l===e.firstChild){if(a)return!1;a=!0}const f=n?!1:l.disabled||l.getAttribute("aria-disabled")==="true";if(!l.hasAttribute("tabindex")||!Le(l,r)||f)l=i(e,l,o);else return l.focus(),!0}return!1}const Tt=c.forwardRef(function(t,o){const{actions:n,autoFocus:i=!1,autoFocusItem:r=!1,children:a,className:l,disabledItemsFocusable:f=!1,disableListWrap:E=!1,onKeyDown:k,variant:v="selectedMenu",...S}=t,d=c.useRef(null),m=c.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Ye(()=>{i&&d.current.focus()},[i]),c.useImperativeHandle(n,()=>({adjustStyleForScrollbar:(s,{direction:u})=>{const g=!d.current.style.width;if(s.clientHeight{const u=d.current,g=s.key;if(s.ctrlKey||s.metaKey||s.altKey){k&&k(s);return}const R=B(u).activeElement;if(g==="ArrowDown")s.preventDefault(),ee(u,R,E,f,me);else if(g==="ArrowUp")s.preventDefault(),ee(u,R,E,f,Ce);else if(g==="Home")s.preventDefault(),ee(u,null,E,f,me);else if(g==="End")s.preventDefault(),ee(u,null,E,f,Ce);else if(g.length===1){const y=m.current,I=g.toLowerCase(),O=performance.now();y.keys.length>0&&(O-y.lastTime>500?(y.keys=[],y.repeating=!0,y.previousKeyMatched=!0):y.repeating&&I!==y.keys[0]&&(y.repeating=!1)),y.lastTime=O,y.keys.push(I);const A=R&&!y.repeating&&Le(R,y);y.previousKeyMatched&&(A||ee(u,R,!1,f,me,y))?s.preventDefault():y.previousKeyMatched=!1}k&&k(s)},T=ue(d,o);let h=-1;c.Children.forEach(a,(s,u)=>{if(!c.isValidElement(s)){h===u&&(h+=1,h>=a.length&&(h=-1));return}s.props.disabled||(v==="selectedMenu"&&s.props.selected||h===-1)&&(h=u),h===u&&(s.props.disabled||s.props.muiSkipListHighlight||s.type.muiSkipListHighlight)&&(h+=1,h>=a.length&&(h=-1))});const x=c.Children.map(a,(s,u)=>{if(u===h){const g={};return r&&(g.autoFocus=!0),s.props.tabIndex===void 0&&v==="selectedMenu"&&(g.tabIndex=0),c.cloneElement(s,g)}return s});return D.jsx($e,{role:"menu",ref:T,className:l,onKeyDown:L,tabIndex:i?0:-1,...S,children:x})});function wt(e){return ie("MuiPopover",e)}ce("MuiPopover",["root","paper"]);function Se(e,t){let o=0;return typeof t=="number"?o=t:t==="center"?o=e.height/2:t==="bottom"&&(o=e.height),o}function Ie(e,t){let o=0;return typeof t=="number"?o=t:t==="center"?o=e.width/2:t==="right"&&(o=e.width),o}function Ne(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function se(e){return typeof e=="function"?e():e}const kt=e=>{const{classes:t}=e;return le({root:["root"],paper:["paper"]},wt,t)},Mt=$(Rt,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Oe=$(Ge,{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}),Ct=c.forwardRef(function(t,o){const n=ae({props:t,name:"MuiPopover"}),{action:i,anchorEl:r,anchorOrigin:a={vertical:"top",horizontal:"left"},anchorPosition:l,anchorReference:f="anchorEl",children:E,className:k,container:v,elevation:S=8,marginThreshold:d=16,open:m,PaperProps:L={},slots:T={},slotProps:h={},transformOrigin:x={vertical:"top",horizontal:"left"},TransitionComponent:s,transitionDuration:u="auto",TransitionProps:g={},disableScrollLock:P=!1,...R}=n,y=c.useRef(),I={...n,anchorOrigin:a,anchorReference:f,elevation:S,marginThreshold:d,transformOrigin:x,TransitionComponent:s,transitionDuration:u,TransitionProps:g},O=kt(I),A=c.useCallback(()=>{if(f==="anchorPosition")return l;const w=se(r),F=(w&&w.nodeType===1?w:B(y.current).body).getBoundingClientRect();return{top:F.top+Se(F,a.vertical),left:F.left+Ie(F,a.horizontal)}},[r,a.horizontal,a.vertical,l,f]),H=c.useCallback(w=>({vertical:Se(w,x.vertical),horizontal:Ie(w,x.horizontal)}),[x.horizontal,x.vertical]),U=c.useCallback(w=>{const C={width:w.offsetWidth,height:w.offsetHeight},F=H(C);if(f==="none")return{top:null,left:null,transformOrigin:Ne(F)};const ge=A();let J=ge.top-F.vertical,Q=ge.left-F.horizontal;const ye=J+C.height,be=Q+C.width,Ee=Y(se(r)),xe=Ee.innerHeight-d,Pe=Ee.innerWidth-d;if(d!==null&&Jxe){const j=ye-xe;J-=j,F.vertical+=j}if(d!==null&&QPe){const j=be-Pe;Q-=j,F.horizontal+=j}return{top:`${Math.round(J)}px`,left:`${Math.round(Q)}px`,transformOrigin:Ne(F)}},[r,f,A,H,d]),[M,b]=c.useState(m),p=c.useCallback(()=>{const w=y.current;if(!w)return;const C=U(w);C.top!==null&&w.style.setProperty("top",C.top),C.left!==null&&(w.style.left=C.left),w.style.transformOrigin=C.transformOrigin,b(!0)},[U]);c.useEffect(()=>(P&&window.addEventListener("scroll",p),()=>window.removeEventListener("scroll",p)),[r,P,p]);const W=()=>{p()},q=()=>{b(!1)};c.useEffect(()=>{m&&p()}),c.useImperativeHandle(i,()=>m?{updatePosition:()=>{p()}}:null,[m,p]),c.useEffect(()=>{if(!m)return;const w=_e(()=>{p()}),C=Y(se(r));return C.addEventListener("resize",w),()=>{w.clear(),C.removeEventListener("resize",w)}},[r,m,p]);let N=u;const K={slots:{transition:s,...T},slotProps:{transition:g,paper:L,...h}},[Z,oe]=z("transition",{elementType:Be,externalForwardedProps:K,ownerState:I,getSlotProps:w=>({...w,onEntering:(C,F)=>{w.onEntering?.(C,F),W()},onExited:C=>{w.onExited?.(C),q()}}),additionalProps:{appear:!0,in:m}});u==="auto"&&!Z.muiSupportAuto&&(N=void 0);const V=v||(r?B(se(r)).body:void 0),[X,{slots:_,slotProps:ne,...de}]=z("root",{ref:o,elementType:Mt,externalForwardedProps:{...K,...R},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:T.backdrop},slotProps:{backdrop:Je(typeof h.backdrop=="function"?h.backdrop(I):h.backdrop,{invisible:!0})},container:V,open:m},ownerState:I,className:G(O.root,k)}),[fe,pe]=z("paper",{ref:y,className:O.paper,elementType:Oe,externalForwardedProps:K,shouldForwardComponentProp:!0,additionalProps:{elevation:S,style:M?void 0:{opacity:0}},ownerState:I});return D.jsx(X,{...de,...!Ve(X)&&{slots:_,slotProps:ne,disableScrollLock:P},children:D.jsx(Z,{...oe,timeout:N,children:D.jsx(fe,{...pe,children:E})})})});function St(e){return ie("MuiMenu",e)}ce("MuiMenu",["root","paper","list"]);const It={vertical:"top",horizontal:"right"},Nt={vertical:"top",horizontal:"left"},Ft=e=>{const{classes:t}=e;return le({root:["root"],paper:["paper"],list:["list"]},St,t)},At=$(Ct,{shouldForwardProp:e=>De(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Lt=$(Oe,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),Ot=$(Tt,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),qt=c.forwardRef(function(t,o){const n=ae({props:t,name:"MuiMenu"}),{autoFocus:i=!0,children:r,className:a,disableAutoFocusItem:l=!1,MenuListProps:f={},onClose:E,open:k,PaperProps:v={},PopoverClasses:S,transitionDuration:d="auto",TransitionProps:{onEntering:m,...L}={},variant:T="selectedMenu",slots:h={},slotProps:x={},...s}=n,u=ze(),g={...n,autoFocus:i,disableAutoFocusItem:l,MenuListProps:f,onEntering:m,PaperProps:v,transitionDuration:d,TransitionProps:L,variant:T},P=Ft(g),R=i&&!l&&k,y=c.useRef(null),I=(N,K)=>{y.current&&y.current.adjustStyleForScrollbar(N,{direction:u?"rtl":"ltr"}),m&&m(N,K)},O=N=>{N.key==="Tab"&&(N.preventDefault(),E&&E(N,"tabKeyDown"))};let A=-1;c.Children.map(r,(N,K)=>{c.isValidElement(N)&&(N.props.disabled||(T==="selectedMenu"&&N.props.selected||A===-1)&&(A=K))});const H={slots:h,slotProps:{list:f,transition:L,paper:v,...x}},U=We({elementType:h.root,externalSlotProps:x.root,ownerState:g,className:[P.root,a]}),[M,b]=z("paper",{className:P.paper,elementType:Lt,externalForwardedProps:H,shouldForwardComponentProp:!0,ownerState:g}),[p,W]=z("list",{className:G(P.list,f.className),elementType:Ot,shouldForwardComponentProp:!0,externalForwardedProps:H,getSlotProps:N=>({...N,onKeyDown:K=>{O(K),N.onKeyDown?.(K)}}),ownerState:g}),q=typeof H.slotProps.transition=="function"?H.slotProps.transition(g):H.slotProps.transition;return D.jsx(At,{onClose:E,anchorOrigin:{vertical:"bottom",horizontal:u?"right":"left"},transformOrigin:u?It:Nt,slots:{root:h.root,paper:M,backdrop:h.backdrop,...h.transition&&{transition:h.transition}},slotProps:{root:U,paper:b,backdrop:typeof x.backdrop=="function"?x.backdrop(g):x.backdrop,transition:{...q,onEntering:(...N)=>{I(...N),q?.onEntering?.(...N)}}},open:k,ref:o,transitionDuration:d,ownerState:g,...s,classes:S,children:D.jsx(p,{actions:y,autoFocus:i&&(A===-1||l),autoFocusItem:R,variant:T,...W,children:r})})});export{nt as B,Ze as F,qt as M,Ct as P,Rt as a,Tt as b,Te as c,_e as d,mt as e,Je as m,Y as o};