PageSourceSearch

https://apps.awatcloud.com/assets/B02_dSN3.js

js awatcloud.com collected 2026-10-08 08:45:00 UTC 14,294 bytes, 1 lines download raw bytes

1import{D as e,N as t,b as n}from"./Ssl5WjxV.js";import{d as r,i,s as a}from"./C4CXnTcG.js";import{C as o,D as s,O as c,d as l,f as u,h as d,k as f,l as p,w as m,y as h}from"./CJcG5UPG.js";import{i as g,n as _,o as v,p as y,r as b,u as x}from"./Bq_TObDB.js";import{i as S,t as C}from"./DQud5Z5r.js";function w(...e){return e.reduce((e,t)=>t==null?e:function(...n){e.apply(this,n),t.apply(this,n)},()=>{})}function T(e){return y(e).defaultView||window}function E(e=window){let t=e.document.documentElement.clientWidth;return e.innerWidth-t}var D=t(e());function O(e){return c(`MuiPaper`,e)}s(`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`.split(`.`));var k=t(n()),A=e=>{let{square:t,elevation:n,variant:r,classes:i}=e;return h({root:[`root`,r,!t&&`rounded`,r===`elevation`&&`elevation${n}`]},O,i)},j=d(`div`,{name:`MuiPaper`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant===`elevation`&&t[`elevation${n.elevation}`]]}})(u(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create(`box-shadow`),variants:[{props:({ownerState:e})=>!e.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:`outlined`},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:`elevation`},style:{boxShadow:`var(--Paper-shadow)`,backgroundImage:`var(--Paper-overlay)`}}]}))),M=D.forwardRef(function(e,t){let n=l({props:e,name:`MuiPaper`}),o=i(),{className:s,component:c=`div`,elevation:u=1,square:d=!1,variant:p=`elevation`,...m}=n,h={...n,component:c,elevation:u,square:d,variant:p};return(0,k.jsx)(j,{as:c,ownerState:h,className:f(A(h).root,s),ref:t,...m,style:{...p===`elevation`&&{"--Paper-shadow":(o.vars||o).shadows[u],...o.vars&&{"--Paper-overlay":o.vars.overlays?.[u]},...!o.vars&&o.palette.mode===`dark`&&{"--Paper-overlay":`linear-gradient(${r(`#fff`,a(u))}, ${r(`#fff`,a(u))})`}},...m.style}})}),N={entering:{opacity:1},entered:{opacity:1}},P=D.forwardRef(function(e,t){let n=i(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:a,appear:o=!0,children:s,easing:c,in:l,onEnter:u,onEntered:d,onEntering:f,onExit:m,onExited:h,onExiting:_,style:y,timeout:S=r,TransitionComponent:C=v,...w}=e,T=D.useRef(null),E=p(T,x(s),t),O=e=>t=>{if(e){let n=T.current;t===void 0?e(n):e(n,t)}},A=O(f),j=O((e,t)=>{g(e);let r=b({style:y,timeout:S,easing:c},{mode:`enter`});e.style.webkitTransition=n.transitions.create(`opacity`,r),e.style.transition=n.transitions.create(`opacity`,r),u&&u(e,t)}),M=O(d),P=O(_),F=O(e=>{let t=b({style:y,timeout:S,easing:c},{mode:`exit`});e.style.webkitTransition=n.transitions.create(`opacity`,t),e.style.transition=n.transitions.create(`opacity`,t),m&&m(e)}),I=O(h);return(0,k.jsx)(C,{appear:o,in:l,nodeRef:T,onEnter:j,onEntered:M,onEntering:A,onExit:F,onExited:I,onExiting:P,addEndListener:e=>{a&&a(T.current,e)},timeout:S,...w,children:(e,{ownerState:t,...n})=>D.cloneElement(s,{style:{opacity:0,visibility:e===`exited`&&!l?`hidden`:void 0,...N[e],...y,...s.props.style},ref:E,...n})})});function F(e){return c(`MuiBackdrop`,e)}s(`MuiBackdrop`,[`root`,`invisible`]);var I=e=>{let{classes:t,invisible:n}=e;return h({root:[`root`,n&&`invisible`]},F,t)},L=d(`div`,{name:`MuiBackdrop`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.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`}}]}),R=D.forwardRef(function(e,t){let n=l({props:e,name:`MuiBackdrop`}),{children:r,className:i,component:a=`div`,invisible:o=!1,open:s,components:c={},componentsProps:u={},slotProps:d={},slots:p={},TransitionComponent:m,transitionDuration:h,...g}=n,_={...n,component:a,invisible:o},v=I(_),y={slots:{transition:m,root:c.Root,...p},slotProps:{...u,...d}},[b,x]=C(`root`,{elementType:L,externalForwardedProps:y,className:f(v.root,i),ownerState:_}),[S,w]=C(`transition`,{elementType:P,externalForwardedProps:y,ownerState:_});return(0,k.jsx)(S,{in:s,timeout:h,...g,...w,children:(0,k.jsx)(b,{"aria-hidden":!0,...x,classes:v,ref:t,children:r})})});function z(e){let t=y(e);return t.body===e?T(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function B(e,t){t?e.setAttribute(`aria-hidden`,`true`):e.removeAttribute(`aria-hidden`)}function V(e){return parseInt(T(e).getComputedStyle(e).paddingRight,10)||0}function H(e){let t=[`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 t||n}function U(e,t,n,r,i){let a=[t,n,...r];[].forEach.call(e.children,e=>{let t=!a.includes(e),n=!H(e);t&&n&&B(e,i)})}function W(e,t){let n=-1;return e.some((e,r)=>t(e)?(n=r,!0):!1),n}function G(e,t){let n=[],r=e.container;if(!t.disableScrollLock){if(z(r)){let e=E(T(r));n.push({value:r.style.paddingRight,property:`padding-right`,el:r}),r.style.paddingRight=`${V(r)+e}px`;let t=y(r).querySelectorAll(`.mui-fixed`);[].forEach.call(t,t=>{n.push({value:t.style.paddingRight,property:`padding-right`,el:t}),t.style.paddingRight=`${V(t)+e}px`})}let e;if(r.parentNode instanceof DocumentFragment)e=y(r).body;else{let t=r.parentElement,n=T(r);e=t?.nodeName===`HTML`&&n.getComputedStyle(t).overflowY===`scroll`?t:r}n.push({value:e.style.overflow,property:`overflow`,el:e},{value:e.style.overflowX,property:`overflow-x`,el:e},{value:e.style.overflowY,property:`overflow-y`,el:e}),e.style.overflow=`hidden`}return()=>
vendor: 8,277 bytes, line 1
1{n.forEach(({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)})}}function K(e){let t=[];return[].forEach.call(e.children,e=>{e.getAttribute(`aria-hidden`)===`true`&&t.push(e)}),t}var q=class{constructor(){this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(n!==-1)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&B(e.modalRef,!1);let r=K(t);U(t,e.mount,e.modalRef,r,!0);let i=W(this.containers,e=>e.container===t);return i===-1?(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n):(this.containers[i].modals.push(e),n)}mount(e,t){let n=W(this.containers,t=>t.modals.includes(e)),r=this.containers[n];r.restore||=G(r,t)}remove(e,t=!0){let n=this.modals.indexOf(e);if(n===-1)return n;let r=W(this.containers,t=>t.modals.includes(e)),i=this.containers[r];if(i.modals.splice(i.modals.indexOf(e),1),this.modals.splice(n,1),i.modals.length===0)i.restore&&i.restore(),e.modalRef&&B(e.modalRef,t),U(i.container,e.mount,e.modalRef,i.hiddenSiblings,!1),this.containers.splice(r,1);else{let e=i.modals[i.modals.length-1];e.modalRef&&B(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}},J=[`input`,`select`,`textarea`,`a[href]`,`button`,`[tabindex]`,`audio[controls]`,`video[controls]`,`[contenteditable]:not([contenteditable="false"])`].join(`,`);function Y(e){let 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 X(e){if(e.tagName!==`INPUT`||e.type!==`radio`||!e.name)return!1;let t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`),n=t(`[name="${e.name}"]:checked`);return n||=t(`[name="${e.name}"]`),n!==e}function Z(e){return!(e.disabled||e.tagName===`INPUT`&&e.type===`hidden`||X(e))}function ee(e){let t=[],n=[];return Array.from(e.querySelectorAll(J)).forEach((e,r)=>{let i=Y(e);i===-1||!Z(e)||(i===0?t.push(e):n.push({documentOrder:r,tabIndex:i,node:e}))}),n.sort((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex).map(e=>e.node).concat(t)}function te(){return!0}function Q(e){let{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:a=ee,isEnabled:s=te,open:c}=e,l=D.useRef(!1),u=D.useRef(null),d=D.useRef(null),f=D.useRef(null),p=D.useRef(null),m=D.useRef(!1),h=D.useRef(null),g=o(x(t),h),_=D.useRef(null);D.useEffect(()=>{!c||!h.current||(m.current=!n)},[n,c]),D.useEffect(()=>{if(!c||!h.current)return;let e=y(h.current);return h.current.contains(e.activeElement)||(h.current.hasAttribute(`tabIndex`)||h.current.setAttribute(`tabIndex`,`-1`),m.current&&h.current.focus()),()=>{i||(f.current&&f.current.focus&&(l.current=!0,f.current.focus()),f.current=null)}},[c]),D.useEffect(()=>{if(!c||!h.current)return;let e=y(h.current),t=t=>{_.current=t,!(r||!s()||t.key!==`Tab`)&&e.activeElement===h.current&&t.shiftKey&&(l.current=!0,d.current&&d.current.focus())},n=()=>{let t=h.current;if(t===null)return;if(!e.hasFocus()||!s()||l.current){l.current=!1;return}if(t.contains(e.activeElement)||r&&e.activeElement!==u.current&&e.activeElement!==d.current)return;if(e.activeElement!==p.current)p.current=null;else if(p.current!==null)return;if(!m.current)return;let n=[];if((e.activeElement===u.current||e.activeElement===d.current)&&(n=a(h.current)),n.length>0){let e=!!(_.current?.shiftKey&&_.current?.key===`Tab`),t=n[0],r=n[n.length-1];typeof t!=`string`&&typeof r!=`string`&&(e?r.focus():t.focus())}else t.focus()};e.addEventListener(`focusin`,n),e.addEventListener(`keydown`,t,!0);let i=setInterval(()=>{e.activeElement&&e.activeElement.tagName===`BODY`&&n()},50);return()=>{clearInterval(i),e.removeEventListener(`focusin`,n),e.removeEventListener(`keydown`,t,!0)}},[n,r,i,s,c,a]);let v=e=>{f.current===null&&(f.current=e.relatedTarget),m.current=!0,p.current=e.target;let n=t.props.onFocus;n&&n(e)},b=e=>{f.current===null&&(f.current=e.relatedTarget),m.current=!0};return(0,k.jsxs)(D.Fragment,{children:[(0,k.jsx)(`div`,{tabIndex:c?0:-1,onFocus:b,ref:u,"data-testid":`sentinelStart`}),D.cloneElement(t,{ref:g,onFocus:v}),(0,k.jsx)(`div`,{tabIndex:c?0:-1,onFocus:b,ref:d,"data-testid":`sentinelEnd`})]})}function ne(e){return typeof e==`function`?e():e}function re(e){return e?e.props.hasOwnProperty(`in`):!1}var ie=()=>{},$=new q;function ae(e){let{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,closeAfterTransition:i=!1,onTransitionEnter:a,onTransitionExited:s,children:c,onClose:l,open:u,rootRef:d}=e,f=D.useRef({}),p=D.useRef(null),h=D.useRef(null),g=o(h,d),[_,v]=D.useState(!u),b=re(c),x=!0;(e[`aria-hidden`]===`false`||e[`aria-hidden`]===!1)&&(x=!1);let C=()=>y(p.current),T=()=>(f.current.modalRef=h.current,f.current.mount=p.current,f.current),E=()=>{$.mount(T(),{disableScrollLock:r}),h.current&&(h.current.scrollTop=0)},O=m(()=>{let e=ne(t)||C().body;$.add(T(),e),h.current&&E()}),k=()=>$.isTopModal(T()),A=m(e=>{p.current=e,e&&(u&&k()?E():h.current&&B(h.current,x))}),j=D.useCallback(()=>{$.remove(T(),x)},[x]);D.useEffect(()=>()=>{j()},[j]),D.useEffect(()=>{u?O():(!b||!i)&&j()},[u,j,b,i,O]);let M=e=>t=>{e.onKeyDown?.(t),!(t.key!==`Escape`||t.which===229||!k())&&(n||(t.stopPropagation(),l&&l(t,`escapeKeyDown`)))},N=e=>t=>{e.onClick?.(t),t.target===t.currentTarget&&l&&l(t,`backdropClick`)};return{getRootProps:(t={})=>{let n=S(e);delete n.onTransitionEnter,delete n.onTransitionExited;let r={...n,...t};return{role:`presentation`,...r,onKeyDown:M(r),ref:g}},getBackdropProps:(e={})=>{let t=e;return{"aria-hidden":!0,...t,onClick:N(t),open:u}},getTransitionProps:()=>({onEnter:w(()=>{v(!1),a&&a()},c?.props.onEnter??ie),onExited:w(()=>{v(!0),s&&s(),i&&j()},c?.props.onExited??ie)}),rootRef:g,portalRef:A,isTopModal:k,exited:_,hasTransition:b}}function oe(e){return c(`MuiModal`,e)}s(`MuiModal`,[`root`,`hidden`,`backdrop`]);var se=e=>{let{open:t,exited:n,classes:r}=e;return h({root:[`root`,!t&&n&&`hidden`],backdrop:[`backdrop`]},oe,r)},ce=d(`div`,{name:`MuiModal`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(u(({theme:e})=>({position:`fixed`,zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:e})=>!e.open&&e.exited,style:{visibility:`hidden`}}]}))),le=d(R,{name:`MuiModal`,slot:`Backdrop`,overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),ue=D.forwardRef(function(e,t){let n=l({name:`MuiModal`,props:e}),{BackdropComponent:r=le,BackdropProps:i,classes:a,className:o,closeAfterTransition:s=!1,children:c,container:u,component:d,components:p={},componentsProps:m={},disableAutoFocus:h=!1,disableEnforceFocus:g=!1,disableEscapeKeyDown:v=!1,disablePortal:y=!1,disableRestoreFocus:b=!1,disableScrollLock:x=!1,hideBackdrop:S=!1,keepMounted:w=!1,onBackdropClick:T,onClose:E,onTransitionEnter:O,onTransitionExited:A,open:j,slotProps:M={},slots:N={},theme:P,...F}=n,I={...n,closeAfterTransition:s,disableAutoFocus:h,disableEnforceFocus:g,disableEscapeKeyDown:v,disablePortal:y,disableRestoreFocus:b,disableScrollLock:x,hideBackdrop:S,keepMounted:w},{getRootProps:L,getBackdropProps:R,getTransitionProps:z,portalRef:B,isTopModal:V,exited:H,hasTransition:U}=ae({...I,rootRef:t}),W={...I,exited:H},G=se(W),K={};if(c.props.tabIndex===void 0&&(K.tabIndex=`-1`),U){let{onEnter:e,onExited:t}=z();K.onEnter=e,K.onExited=t}let q={slots:{root:p.Root,backdrop:p.Backdrop,...N},slotProps:{...m,...M}},[J,Y]=C(`root`,{ref:t,elementType:ce,externalForwardedProps:{...q,...F,component:d},getSlotProps:L,ownerState:W,className:f(o,G?.root,!W.open&&W.exited&&G?.hidden)}),[X,Z]=C(`backdrop`,{ref:i?.ref,elementType:r,externalForwardedProps:q,shouldForwardComponentProp:!0,additionalProps:i,getSlotProps:e=>R({...e,onClick:t=>{T&&T(t),e?.onClick&&e.onClick(t)}}),className:f(i?.className,G?.backdrop),ownerState:W});return!w&&!j&&(!U||H)?null:(0,k.jsx)(_,{ref:B,container:u,disablePortal:y,children:(0,k.jsxs)(J,{...Y,children:[!S&&r?(0,k.jsx)(X,{...Z}):null,(0,k.jsx)(Q,{disableEnforceFocus:g,disableAutoFocus:h,disableRestoreFocus:b,isEnabled:V,open:j,children:D.cloneElement(c,K)})]})})});export{M as a,w as c,P as i,Q as n,E as o,R as r,T as s,ue as t};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.