/*!
 * sonner-vanilla v0.1.2
 * https://www.npmjs.com/package/sonner-vanilla
 * Based on sonner by Emil Kowalski
 * Licensed under MIT
 */

var y=1,v=class{constructor(){this.subscribers=[];this.toasts=[];this.dismissedToasts=new Set}subscribe(e){return this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}}publish(e){this.subscribers.forEach(t=>t(e))}addToast(e){this.publish(e),this.toasts=[...this.toasts,e]}create(e){let{message:t,...i}=e,a=typeof e?.id=="number"||e.id&&String(e.id).length>0?e.id:y++,l=this.toasts.find(s=>s.id===a),c=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(a)&&this.dismissedToasts.delete(a),l?this.toasts=this.toasts.map(s=>s.id===a?(this.publish({...s,...e,id:a,title:t}),{...s,...e,id:a,dismissible:c,title:t}):s):this.addToast({title:t,...i,dismissible:c,id:a}),a}dismiss(e){return e?(this.dismissedToasts.add(e),requestAnimationFrame(()=>this.subscribers.forEach(t=>t({id:e,dismiss:!0})))):this.toasts.forEach(t=>{this.subscribers.forEach(i=>i({id:t.id,dismiss:!0}))}),e}message(e,t){return this.create({...t,message:e})}error(e,t){return this.create({...t,message:e,type:"error"})}success(e,t){return this.create({...t,type:"success",message:e})}info(e,t){return this.create({...t,type:"info",message:e})}warning(e,t){return this.create({...t,type:"warning",message:e})}loading(e,t){return this.create({...t,type:"loading",message:e})}withType(e,t,i){return this.create({...i,type:e,message:t})}promise(e,t){if(!t)return;let i;t.loading!==void 0&&(i=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let a=Promise.resolve(typeof e=="function"?e():e),l=i!==void 0,c,s=a.then(async o=>{if(c=["resolve",o],C(o)&&!o.ok){l=!1;let r=typeof t.error=="function"?await t.error(`HTTP error! status: ${o.status}`):t.error,p=typeof t.description=="function"?await t.description(`HTTP error! status: ${o.status}`):t.description;this.create({id:i,type:"error",description:p,message:r})}else if(o instanceof Error){l=!1;let r=typeof t.error=="function"?await t.error(o):t.error,p=typeof t.description=="function"?await t.description(o):t.description;this.create({id:i,type:"error",description:p,message:r})}else if(t.success!==void 0){l=!1;let r=typeof t.success=="function"?await t.success(o):t.success,p=typeof t.description=="function"?await t.description(o):t.description;this.create({id:i,type:"success",description:p,message:r})}}).catch(async o=>{if(c=["reject",o],t.error!==void 0){l=!1;let r=typeof t.error=="function"?await t.error(o):t.error,p=typeof t.description=="function"?await t.description(o):t.description;this.create({id:i,type:"error",description:p,message:r})}}).finally(()=>{l&&(this.dismiss(i),i=void 0),t.finally?.()}),n=()=>new Promise((o,r)=>s.then(()=>c[0]==="reject"?r(c[1]):o(c[1])).catch(r));return typeof i!="string"&&typeof i!="number"?{unwrap:n}:Object.assign(i,{unwrap:n})}custom(e,t){let i=t?.id??y++;return this.addToast({...t,id:i,custom:e}),i}getActiveToasts(){return this.toasts.filter(e=>!this.dismissedToasts.has(e.id))}};function C(d){return d!==null&&typeof d=="object"&&"ok"in d&&typeof d.ok=="boolean"&&"status"in d&&typeof d.status=="number"}var u=new v,A=(d,e)=>{let t=e?.id??y++;return u.addToast({title:d,...e,id:t}),t},L=()=>u.toasts,P=()=>u.getActiveToasts(),O=Object.assign(A,{success:u.success.bind(u),info:u.info.bind(u),warning:u.warning.bind(u),error:u.error.bind(u),message:u.message.bind(u),promise:u.promise.bind(u),dismiss:u.dismiss.bind(u),loading:u.loading.bind(u),custom:u.custom.bind(u),withType:u.withType.bind(u)},{getHistory:L,getToasts:P});function g(d){switch(d){case"success":return H;case"info":return I;case"warning":return N;case"error":return M;default:return null}}function w(d,e){let t=document.createElement("div");t.className=["sonner-loading-wrapper",e].filter(Boolean).join(" "),t.dataset.visible=String(d);let i=document.createElement("div");i.className="sonner-spinner";for(let a=0;a<12;a++){let l=document.createElement("div");l.className="sonner-loading-bar",i.appendChild(l)}return t.appendChild(i),t}var H=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" height="20" width="20">
  <path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z" clip-rule="evenodd" />
</svg>`,N=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" height="20" width="20">
  <path fill-rule="evenodd" d="M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z" clip-rule="evenodd" />
</svg>`,I=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" height="20" width="20">
  <path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z" clip-rule="evenodd" />
</svg>`,M=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" height="20" width="20">
  <path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z" clip-rule="evenodd" />
</svg>`,E=`<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
  <line x1="18" y1="6" x2="6" y2="18"></line>
  <line x1="6" y1="6" x2="18" y2="18"></line>
</svg>`;function T(d){return typeof d=="object"&&d!==null&&"label"in d&&"onClick"in d}var B=3,S="24px",D="16px",k=4e3,$=356,R=14,j=45,F=200;function h(...d){return d.filter(Boolean).join(" ")}function z(d){let[e,t]=d.split("-"),i=[];return e&&i.push(e),t&&i.push(t),i}function x(){if(typeof window>"u"||typeof document>"u")return"ltr";let d=document.documentElement.getAttribute("dir");return d==="auto"||!d?window.getComputedStyle(document.documentElement).direction:d}function V(d,e){let t={};return[d,e].forEach((i,a)=>{let l=a===1,c=l?"--mobile-offset":"--offset",s=l?D:S;function n(o){["top","right","bottom","left"].forEach(r=>{t[`${c}-${r}`]=typeof o=="number"?`${o}px`:o})}typeof i=="number"||typeof i=="string"?n(i):typeof i=="object"&&i!==null?["top","right","bottom","left"].forEach(o=>{let r=o;i[r]===void 0?t[`${c}-${o}`]=s:t[`${c}-${o}`]=typeof i[r]=="number"?`${i[r]}px`:String(i[r])}):n(s)}),t}var b=class{constructor(e={}){this.container=null;this.listEl=null;this.toastInstances=new Map;this.heights=[];this.expanded=!1;this.interacting=!1;this.unsubscribe=null;this.boundListHandlers=null;this.actualTheme="light";this.isDocumentHidden=!1;this.handleKeyDown=e=>{let{hotkey:t}=this.options;t.length>0&&t.every(a=>e[a]||e.code===a)&&(this.setExpanded(!0),this.listEl?.focus()),e.code==="Escape"&&this.listEl?.contains(document.activeElement)&&this.setExpanded(!1)};this.handleVisibilityChange=()=>{this.isDocumentHidden=document.hidden,this.toastInstances.forEach(e=>{this.isDocumentHidden?this.pauseTimer(e):this.startTimer(e)})};this.options={id:e.id??"",invert:e.invert??!1,theme:e.theme??"light",position:e.position??"bottom-right",hotkey:e.hotkey??["altKey","KeyT"],richColors:e.richColors??!1,expand:e.expand??!1,duration:e.duration??k,gap:e.gap??R,visibleToasts:e.visibleToasts??B,closeButton:e.closeButton??!1,className:e.className??"",style:e.style??{},offset:e.offset??S,mobileOffset:e.mobileOffset??D,dir:e.dir??x(),swipeDirections:e.swipeDirections??void 0,containerAriaLabel:e.containerAriaLabel??"Notifications",toastOptions:e.toastOptions??{}}}mount(e=document.body){let t=typeof e=="string"?document.querySelector(e):e;if(!t){console.error("Toaster: target element not found");return}this.setupTheme(),this.createContainer(),t.appendChild(this.container),this.setupEventListeners(),this.subscribeToState()}unmount(){document.removeEventListener("keydown",this.handleKeyDown),document.removeEventListener("visibilitychange",this.handleVisibilityChange),this.listEl&&this.boundListHandlers&&(this.listEl.removeEventListener("mouseenter",this.boundListHandlers.mouseenter),this.listEl.removeEventListener("mousemove",this.boundListHandlers.mousemove),this.listEl.removeEventListener("mouseleave",this.boundListHandlers.mouseleave),this.listEl.removeEventListener("pointerdown",this.boundListHandlers.pointerdown),this.listEl.removeEventListener("pointerup",this.boundListHandlers.pointerup)),this.boundListHandlers=null,this.unsubscribe?.(),this.container?.remove(),this.container=null,this.listEl=null,this.toastInstances.clear()}setupTheme(){if(this.options.theme!=="system"){this.actualTheme=this.options.theme;return}if(typeof window<"u"&&window.matchMedia){let e=window.matchMedia("(prefers-color-scheme: dark)");this.actualTheme=e.matches?"dark":"light",e.addEventListener("change",t=>{this.actualTheme=t.matches?"dark":"light",this.listEl?.setAttribute("data-sonner-theme",this.actualTheme)})}}createContainer(){let[e,t]=this.options.position.split("-");this.container=document.createElement("section");let i=this.options.hotkey.join("+").replace(/Key/g,"").replace(/Digit/g,"");this.container.setAttribute("aria-label",`${this.options.containerAriaLabel} ${i}`),this.container.setAttribute("tabindex","-1"),this.container.setAttribute("aria-live","polite"),this.container.setAttribute("aria-relevant","additions text"),this.container.setAttribute("aria-atomic","false"),this.listEl=document.createElement("ol"),this.listEl.setAttribute("data-sonner-toaster",""),this.listEl.setAttribute("data-sonner-theme",this.actualTheme),this.listEl.setAttribute("data-y-position",e),this.listEl.setAttribute("data-x-position",t),this.listEl.setAttribute("dir",this.options.dir==="auto"?x():this.options.dir),this.listEl.setAttribute("tabindex","-1"),this.options.className&&(this.listEl.className=this.options.className),this.listEl.style.setProperty("--front-toast-height","0px"),this.listEl.style.setProperty("--width",`${$}px`),this.listEl.style.setProperty("--gap",`${this.options.gap}px`);let a=V(this.options.offset,this.options.mobileOffset);Object.entries(a).forEach(([l,c])=>{this.listEl.style.setProperty(l,c)}),Object.assign(this.listEl.style,this.options.style),this.container.appendChild(this.listEl)}setupEventListeners(){document.addEventListener("keydown",this.handleKeyDown),document.addEventListener("visibilitychange",this.handleVisibilityChange),this.boundListHandlers={mouseenter:()=>this.setExpanded(!0),mousemove:()=>this.setExpanded(!0),mouseleave:()=>{this.interacting||this.setExpanded(!1)},pointerdown:e=>{e.target.dataset.dismissible!=="false"&&(this.interacting=!0)},pointerup:()=>{this.interacting=!1}},this.listEl?.addEventListener("mouseenter",this.boundListHandlers.mouseenter),this.listEl?.addEventListener("mousemove",this.boundListHandlers.mousemove),this.listEl?.addEventListener("mouseleave",this.boundListHandlers.mouseleave),this.listEl?.addEventListener("pointerdown",this.boundListHandlers.pointerdown),this.listEl?.addEventListener("pointerup",this.boundListHandlers.pointerup)}setExpanded(e){this.expanded=e,this.toastInstances.forEach(t=>{t.element.dataset.expanded=String(e||this.options.expand)}),this.updatePositions()}subscribeToState(){this.unsubscribe=u.subscribe(e=>{if(e.dismiss)this.dismissToast(e.id);else{let t=e;if(this.options.id){if(t.toasterId!==this.options.id)return}else if(t.toasterId)return;this.addOrUpdateToast(t)}})}addOrUpdateToast(e){let t=this.toastInstances.get(e.id);t?this.updateToastElement(t,e):this.createToast(e)}createToast(e){let[t,i]=(e.position||this.options.position).split("-"),a=e.duration??this.options.toastOptions?.duration??this.options.duration,l=e.dismissible!==!1,c=e.closeButton??this.options.toastOptions?.closeButton??this.options.closeButton,s=e.type,n=document.createElement("li");n.setAttribute("tabindex","0"),n.setAttribute("data-sonner-toast",""),n.setAttribute("data-styled",String(!e.custom&&!e.unstyled&&!this.options.toastOptions?.unstyled)),n.setAttribute("data-mounted","false"),n.setAttribute("data-promise",String(!!e.promise)),n.setAttribute("data-swiped","false"),n.setAttribute("data-removed","false"),n.setAttribute("data-visible","true"),n.setAttribute("data-y-position",t),n.setAttribute("data-x-position",i),n.setAttribute("data-front","true"),n.setAttribute("data-swiping","false"),n.setAttribute("data-dismissible",String(l)),n.setAttribute("data-type",s||""),n.setAttribute("data-invert",String(e.invert??this.options.invert)),n.setAttribute("data-swipe-out","false"),n.setAttribute("data-expanded",String(this.expanded||this.options.expand)),n.setAttribute("data-rich-colors",String(e.richColors??this.options.richColors)),e.testId&&n.setAttribute("data-testid",e.testId),n.className=h(this.options.toastOptions?.className,e.className,this.options.toastOptions?.classNames?.toast,e.classNames?.toast,this.options.toastOptions?.classNames?.[s],e.classNames?.[s]),this.buildToastContent(n,e,c);let o={toast:e,element:n,mounted:!1,removed:!1,height:0,offset:0,remainingTime:a,closeTimerStart:0,swiping:!1,swipeDirection:null,pointerStart:null,dragStartTime:null,isSwiped:!1};this.setupSwipeHandlers(o,l),this.listEl?.prepend(n),this.toastInstances.set(e.id,o),requestAnimationFrame(()=>{let r=n.getBoundingClientRect().height;o.height=r,this.heights.unshift({toastId:e.id,height:r,position:e.position||this.options.position}),n.dataset.mounted="true",this.updatePositions(),s!=="loading"&&e.promise===void 0&&a!==1/0&&this.startTimer(o)})}buildToastContent(e,t,i){let a=t.type;if(t.custom){let s;if(typeof t.custom=="string"){let n=document.createElement("div");n.innerHTML=t.custom,s=n.firstElementChild||n}else typeof t.custom=="function"?s=t.custom(t.id):s=t.custom;e.appendChild(s);return}if(i&&a!=="loading"){let s=document.createElement("button");s.setAttribute("aria-label","Close toast"),s.setAttribute("data-close-button",""),s.className=h(this.options.toastOptions?.classNames?.closeButton,t.classNames?.closeButton),s.innerHTML=E,s.addEventListener("click",()=>{t.dismissible!==!1&&(this.removeToast(t),t.onDismiss?.(t))}),e.appendChild(s)}if(a||t.icon){let s=document.createElement("div");if(s.setAttribute("data-icon",""),s.className=h(this.options.toastOptions?.classNames?.icon,t.classNames?.icon),t.type==="loading"&&!t.icon){let n=w(!0,h(this.options.toastOptions?.classNames?.loader,t.classNames?.loader));s.appendChild(n)}else if(t.icon)typeof t.icon=="string"?s.innerHTML=t.icon:s.appendChild(t.icon);else{let n=g(a);n&&(s.innerHTML=n)}e.appendChild(s)}let l=document.createElement("div");l.setAttribute("data-content",""),l.className=h(this.options.toastOptions?.classNames?.content,t.classNames?.content);let c=document.createElement("div");if(c.setAttribute("data-title",""),c.className=h(this.options.toastOptions?.classNames?.title,t.classNames?.title),c.textContent=t.title||"",l.appendChild(c),t.description){let s=document.createElement("div");s.setAttribute("data-description",""),s.className=h(this.options.toastOptions?.descriptionClassName,t.descriptionClassName,this.options.toastOptions?.classNames?.description,t.classNames?.description),s.textContent=t.description,l.appendChild(s)}if(e.appendChild(l),t.cancel&&T(t.cancel)){let s=document.createElement("button");s.setAttribute("data-button",""),s.setAttribute("data-cancel",""),s.className=h(this.options.toastOptions?.classNames?.cancelButton,t.classNames?.cancelButton),s.textContent=t.cancel.label,Object.assign(s.style,t.cancelButtonStyle||this.options.toastOptions?.cancelButtonStyle),s.addEventListener("click",n=>{t.dismissible!==!1&&(t.cancel.onClick(n),this.removeToast(t))}),e.appendChild(s)}if(t.action&&T(t.action)){let s=document.createElement("button");s.setAttribute("data-button",""),s.setAttribute("data-action",""),s.className=h(this.options.toastOptions?.classNames?.actionButton,t.classNames?.actionButton),s.textContent=t.action.label,Object.assign(s.style,t.actionButtonStyle||this.options.toastOptions?.actionButtonStyle),s.addEventListener("click",n=>{t.action.onClick(n),n.defaultPrevented||this.removeToast(t)}),e.appendChild(s)}}setupSwipeHandlers(e,t){let{element:i,toast:a}=e,l=a.position||this.options.position,c=this.options.swipeDirections??z(l);i.addEventListener("pointerdown",s=>{s.button!==2&&(a.type==="loading"||!t||(e.dragStartTime=new Date,e.pointerStart={x:s.clientX,y:s.clientY},s.target.setPointerCapture(s.pointerId),s.target.tagName!=="BUTTON"&&(e.swiping=!0,i.dataset.swiping="true")))}),i.addEventListener("pointermove",s=>{if(!e.pointerStart||!t||(window.getSelection()?.toString().length??0)>0)return;let o=s.clientY-e.pointerStart.y,r=s.clientX-e.pointerStart.x;!e.swipeDirection&&(Math.abs(r)>1||Math.abs(o)>1)&&(e.swipeDirection=Math.abs(r)>Math.abs(o)?"x":"y");let p={x:0,y:0},f=m=>1/(1.5+Math.abs(m)/20);if(e.swipeDirection==="y"){if(c.includes("top")||c.includes("bottom"))if(c.includes("top")&&o<0||c.includes("bottom")&&o>0)p.y=o;else{let m=o*f(o);p.y=Math.abs(m)<Math.abs(o)?m:o}}else if(e.swipeDirection==="x"&&(c.includes("left")||c.includes("right")))if(c.includes("left")&&r<0||c.includes("right")&&r>0)p.x=r;else{let m=r*f(r);p.x=Math.abs(m)<Math.abs(r)?m:r}(Math.abs(p.x)>0||Math.abs(p.y)>0)&&(e.isSwiped=!0,i.dataset.swiped="true"),i.style.setProperty("--swipe-amount-x",`${p.x}px`),i.style.setProperty("--swipe-amount-y",`${p.y}px`)}),i.addEventListener("pointerup",()=>{if(!t)return;let s=parseFloat(i.style.getPropertyValue("--swipe-amount-x")||"0"),n=parseFloat(i.style.getPropertyValue("--swipe-amount-y")||"0"),o=e.dragStartTime?new Date().getTime()-e.dragStartTime.getTime():1e3,r=e.swipeDirection==="x"?s:n,p=Math.abs(r)/o;Math.abs(r)>=j||p>.11?(a.onDismiss?.(a),e.swipeDirection==="x"?i.dataset.swipeDirection=s>0?"right":"left":i.dataset.swipeDirection=n>0?"down":"up",i.dataset.swipeOut="true",this.removeToast(a)):(i.style.setProperty("--swipe-amount-x","0px"),i.style.setProperty("--swipe-amount-y","0px")),e.isSwiped=!1,e.swiping=!1,e.swipeDirection=null,e.pointerStart=null,i.dataset.swiped="false",i.dataset.swiping="false"})}updateToastElement(e,t){let{element:i}=e;e.toast=t,i.dataset.type=t.type||"";let a=i.querySelector("[data-title]");a&&(a.textContent=t.title||"");let l=i.querySelector("[data-description]");t.description?(l||(l=document.createElement("div"),l.setAttribute("data-description",""),i.querySelector("[data-content]")?.appendChild(l)),l.textContent=t.description):l&&l.remove();let c=i.querySelector("[data-icon]");if(c&&t.type&&t.type!=="loading"){let s=g(t.type);s&&(c.innerHTML=s)}t.type!=="loading"&&(e.remainingTime=t.duration??this.options.duration,this.startTimer(e))}startTimer(e){let{toast:t}=e;t.promise&&t.type==="loading"||t.duration===1/0||t.type==="loading"||this.expanded||this.interacting||this.isDocumentHidden||(clearTimeout(e.closeTimeout),e.closeTimerStart=Date.now(),e.closeTimeout=setTimeout(()=>{t.onAutoClose?.(t),this.removeToast(t)},e.remainingTime))}pauseTimer(e){if(e.closeTimerStart>0){let t=Date.now()-e.closeTimerStart;e.remainingTime=Math.max(0,e.remainingTime-t)}clearTimeout(e.closeTimeout)}dismissToast(e){let t=this.toastInstances.get(e);t&&(t.element.dataset.removed="true",this.removeToast(t.toast))}removeToast(e){let t=this.toastInstances.get(e.id);!t||t.removed||(t.removed=!0,t.element.dataset.removed="true",clearTimeout(t.closeTimeout),this.heights=this.heights.filter(i=>i.toastId!==e.id),setTimeout(()=>{t.element.remove(),this.toastInstances.delete(e.id),u.dismiss(e.id),this.updatePositions()},F),this.updatePositions())}updatePositions(){let{visibleToasts:e,gap:t,expand:i}=this.options,a=this.heights.map(n=>this.toastInstances.get(n.toastId)).filter(n=>n!==void 0&&!n.removed),l=a.length>0?a[0].height:0,c=this.expanded||i;a.forEach((n,o)=>{let{element:r}=n;if(!(o===0)&&!c){let f=r.getBoundingClientRect().height;f>0&&(r.style.height=`${f}px`)}}),a.length>1&&this.listEl?.offsetHeight;let s=0;a.forEach((n,o)=>{let{element:r}=n,p=o===0,f=o<e;r.dataset.index=String(o),r.dataset.visible=String(f);let m=o*t+s;n.offset=m,r.style.setProperty("--index",String(o)),r.style.setProperty("--toasts-before",String(o)),r.style.setProperty("--z-index",String(a.length-o)),r.style.setProperty("--offset",`${m}px`),r.style.setProperty("--initial-height",`${n.height}px`),c?r.style.height=`${n.height}px`:p?r.style.height="":r.style.height=`${l}px`,s+=n.height}),this.listEl&&a.length>0&&this.listEl.style.setProperty("--front-toast-height",`${l}px`),a.forEach((n,o)=>{n.element.dataset.front=String(o===0)})}};function _(d){return new b(d)}export{E as CloseIcon,u as ToastState,b as Toaster,w as createLoader,_ as createToaster,g as getAsset,T as isAction,O as toast};

