PageSourceSearch

https://seomaker.ai/_nuxt-v2/Pm2tYQQI.js

js seomaker.ai collected 2026-10-05 12:36:45 UTC 1,376 bytes, 1 lines download raw bytes

1import{yt as e}from"./BPsVqlsv.js";import{t}from"./DUEcuDoL.js";var n={info:5e3,success:5e3,warning:8e3,error:1e4},r=4,i=new Map,a=new Map,o=0;function s(){let s=t(`ui-toasts`,()=>[]),c=e(()=>s.value.slice(0,r));function l(e){let t=i.get(e);t&&(clearTimeout(t.handle),i.delete(e)),a.delete(e)}function u(e,t){t<=0||i.set(e,{handle:setTimeout(()=>p(e),t),expiresAt:Date.now()+t})}function d(){let e=new Set(c.value.map(e=>e.id));for(let t of[...i.keys()])e.has(t)||l(t);for(let e of c.value)!i.has(e.id)&&!a.has(e.id)&&u(e.id,e.timeout)}function f(e){let t=e.tone??`info`,r=e.key?s.value.find(t=>t.key===e.key):void 0;if(r)return Object.assign(r,e,{tone:t,timeout:e.timeout??n[t]}),l(r.id),d(),r.id;o+=1;let i={...e,id:`toast-${o}`,tone:t,timeout:e.timeout??n[t]};return s.value=[...s.value,i],d(),i.id}function p(e){l(e),s.value=s.value.filter(t=>t.id!==e),d()}function m(){for(let e of[...i.keys()])l(e);s.value=[]}function h(e){let t=i.get(e);t&&(clearTimeout(t.handle),i.delete(e),a.set(e,Math.max(0,t.expiresAt-Date.now())))}function g(e){let t=a.get(e);t!==void 0&&(a.delete(e),u(e,t))}function _(e){s.value.find(t=>t.id===e)?.action?.handler(),p(e)}let v=e=>(t,n={})=>f({...n,message:t,tone:e});return{toasts:s,visible:c,show:f,info:v(`info`),success:v(`success`),warning:v(`warning`),error:v(`error`),dismiss:p,dismissAll:m,pause:h,resume:g,runAction:_}}export{s 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.