1import{ClayIconSpriteContext as V}from"../../../frontend-js-clay-web/__liferay__/exports/@clayui$icon.js";import D from"../../../frontend-js-clay-web/__liferay__/exports/@clayui$icon.js";var d=D;import{Col as W,Container as Y,ContainerFluid as $,ContentCol as j,ContentRow as q,ContentSection as G,Row as J,Sheet as K,SheetFooter as Q,SheetHeader as X,SheetSection as Z,SheetRow as ee}from"../../../frontend-js-clay-web/__liferay__/exports/@clayui$layout.js";import M from"../../../frontend-js-clay-web/__liferay__/exports/@clayui$layout.js";var r=M;import{}from"../../../frontend-js-react-web/__liferay__/exports/classnames.js";import F from"../../../frontend-js-react-web/__liferay__/exports/classnames.js";var s=F;import{Children as se,Component as le,Fragment as ue,Profiler as me,PureComponent as ce,StrictMode as fe,Suspense as Ce,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED as de,cloneElement as pe,createContext as ye,createElement as _e,createFactory as xe,createRef as be,forwardRef as Te,isValidElement as Ae,lazy as Se,memo as Ne,startTransition as ge,unstable_act as Ee,useCallback as Le,useContext as we,useDebugValue as Ie,useDeferredValue as ve,useEffect as De,useId as Me,useImperativeHandle as Fe,useInsertionEffect as he,useLayoutEffect as Re,useMemo as He,useReducer as Oe,useRef as ke,useState as Pe,useSyncExternalStore as Ve,useTransition as Be,version as Ue}from"../../../frontend-js-react-web/__liferay__/exports/react.js";import h from"../../../frontend-js-react-web/__liferay__/exports/react.js";var e=h;function c({children:t,className:a,...o}){return e.createElement("div",{className:s(a,"alert-footer"),...o},t)}c.displayName="ClayAlertFooter";function p({children:t,className:a,...o}){return e.createElement("div",{...o,className:s(a,"alert-container container")},e.createElement("div",{className:"alert-notifications alert-notifications-fixed"},t))}p.displayName="ClayToastContainer";function R(t,a=()=>{}){let o=e.useRef(0),l=e.useRef(void 0),u=e.useRef(t===!0?1e4:t),m=()=>{},i=()=>{};return t&&(m=()=>{l.current&&(u.current=u.current-(Date.now()-o.current),clearTimeout(l.current),l.current=void 0)},i=()=>{o.current=Date.now(),l.current=window.setTimeout(a,u.current)}),e.useEffect(()=>{if(t)return i(),m},[]),{pauseAutoCloseTimer:m,startAutoCloseTimer:i}}var H={danger:"exclamation-full",info:"info-circle",secondary:"password-policies",success:"check-circle-full",warning:"warning-full"},A=["inline","feedback"];function f({actions:t,autoClose:a,children:o,className:l,closeButtonAriaLabel:u="Close",containerClassName:m,displayType:i="info",hideCloseIcon:N=!1,onClose:C,role:g="alert",spritemap:y,symbol:E,title:_,variant:n,...L}){let{pauseAutoCloseTimer:w,startAutoCloseTimer:I}=R(a,C),v=({children:T})=>n==="stripe"?e.createElement("div",{className:s("container",m)},T):e.createElement(e.Fragment,null,T),x=C&&!N,b=()=>e.createElement("span",{className:"alert-indicator"},e.createElement(d,{spritemap:y,symbol:E||H[i]}));return e.createElement("div",{...L,className:s(l,"alert",{"alert-dismissible":x,"alert-feedback alert-indicator-start":n==="feedback","alert-fluid":n==="stripe","alert-inline":n==="inline",[`alert-${i}`]:i}),onMouseOut:I,onMouseOver:w},e.createElement(v,null,e.createElement(r.ContentRow,{className:"alert-autofit-row",role:g},!A.includes(n)&&e.createElement(r.ContentCol,null,e.createElement(r.ContentSection,null,e.createElement(b,null))),e.createElement(r.ContentCol,{expand:!0},e.createElement(r.ContentSection,null,A.includes(n)&&e.createElement(b,null),_&&e.createElement("strong",{className:"lead"},_),o,n!=="inline"&&t&&e.createElement(c,null,t))),n==="inline"&&t&&e.createElement(r.ContentCol,null,e.createElement(r.ContentSection,null,t))),x&&e.createElement("button",{"aria-label":u,className:"close",onClick:C,type:"button"},e.createElement(d,{spritemap:y,symbol:"times"}))))}f.displayName="ClayAlert";f.Footer=c;f.ToastContainer=p;var S=f;var ot=S;export{ot as default}; 2//# sourceMappingURL=@clayui$alert.(H7NIKHMB).js.map
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.