PageSourceSearch

https://puro.education/assets/use-toast-BUOCLamr.js

js puro.education collected 2026-10-10 02:44:18 UTC 437 bytes, 1 lines download raw bytes

1import{ab as r}from"./index-BC6Ih8e-.js";function f(s,n){return s!=null&&s!==""?s:n??""}function u({title:s,description:n,variant:e,action:a,duration:d,id:m}={}){const t=f(s,n),i={description:s!=null&&s!==""?n:void 0,action:a,duration:d,id:m},o=e==="destructive"?r.error(t,i):r(t,i);return{id:o,dismiss:()=>r.dismiss(o),update:c=>(r.dismiss(o),u(c))}}function g(){return{toast:u,dismiss:s=>r.dismiss(s),toasts:[]}}export{u as t,g as u};

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.