"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("react"),r=require("./Toaster.js"),o=Symbol.for("devcenterToasts");exports.DEVCENTER_TOASTS_SYMBOL=o,exports.ToastContainer=function(){var s=t.useState(null),u=s[0],a=s[1],n=function(){return a(null)},i=function(e,t){return a({message:e,autoHideDuration:t})},c=i;return t.useEffect((function(){window[o]={createToast:i,removeToast:n,showToast:c}}),[]),u?e.jsx(r.Toaster,{message:u.message,autoHideDuration:u.autoHideDuration,onDismiss:n}):null};
