PageSourceSearch

https://decisionalignmentblueprint.base44.app/static/useToastBridge--TRrH8cW.js

js decisionalignmentblueprint.base44.app collected 2026-10-03 03:13:58 UTC 1,251 bytes, 1 lines download raw bytes

1import{o as e}from"./rolldown-runtime-C0FnF6B9.js";import{p as t}from"./axiosClient-DnVO32-R.js";import{_ as n,b as r}from"./vendor-react-Ccu8BlQU.js";import{z as i}from"./apiErrors-CPej_EdQ.js";import{n as a,t as o}from"./toaster-D-Mmk26f.js";import{n as s}from"./toast-8IacIur2.js";var c=e(r()),l=n(),u=(0,c.createContext)(!1),d=s;function f({children:e}){return(0,l.jsx)(u.Provider,{value:!0,children:e})}function p({children:e,toasterMode:t}){return(0,c.useEffect)(()=>()=>{a.dismiss()},[]),(0,l.jsxs)(f,{children:[e,t?(0,l.jsx)(i,{mode:t,children:(0,l.jsx)(o,{})}):(0,l.jsx)(o,{})]})}function m(){let e=(0,c.useContext)(u),{toast:n}=t();return{toast:(0,c.useCallback)(({title:t,description:r,variant:i=`default`,duration:o,id:s,action:c})=>{if(!e){n({title:t,description:r,variant:i===`warning`?`default`:i,duration:o,...c?{action:(0,l.jsx)(d,{altText:c.label,onClick:c.onClick,children:c.label})}:{}});return}let u=t??r??``,f={...t&&r?{description:r}:{},...o===void 0?{}:{duration:o},...s===void 0?{}:{id:s},...c?{secondaryButton:c.label,onSecondary:c.onClick}:{}};i===`destructive`?a.error(u,f):i===`warning`?a.warning(u,f):i===`success`?a.success(u,f):a(u,f)},[e,n])}}function h(){return(0,c.useContext)(u)}export{m as i,f as n,h as r,p 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.