PageSourceSearch

https://santacruceradeaguas.com/o/frontend-js-clay-web/__liferay__/exports/@clayui$alert.js

js santacruceradeaguas.com collected 2026-10-06 09:33:00 UTC 3,979 bytes, 2 lines download raw bytes

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