(function(){(function(){(function(){(function(){(function(){(function(){(function(){(function(){var i=window.CoverLetterGen;if(!i)return;var r="cover-letter-generator-toast";function d(t,e){var a=document.getElementById(r);a&&a.remove();var p=e?"Auto Fill incomplete":"Auto Fill complete",n=typeof t=="string"?t:t&&t.description||"";!n&&t&&t.title&&(p=t.title,n=t.description||"");var o=document.createElement("div");o.id=r,o.setAttribute("role","alert"),o.style.cssText="position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:min(360px, calc(100vw - 32px));padding:12px 16px;border-radius:8px;font-size:13px;font-family:system-ui,-apple-system,sans-serif;line-height:1.45;z-index:2147483647;box-shadow:0 4px 12px rgba(0,0,0,0.12);border:1px solid "+(e?"rgba(185,28,28,0.3)":"rgba(255,255,255,0.2)")+";"+(e?"background:rgb(254 226 226);color:rgb(153 27 27);":"background:rgb(34 197 94);color:rgb(255 255 255);"),o.innerHTML='<strong style="display:block;font-weight:600;margin-bottom:4px;font-size:13px;">'+l(p)+'</strong><span style="display:block;font-size:12px;opacity:0.95;">'+l(n)+"</span>",document.body.appendChild(o),setTimeout(function(){o.remove()},5e3)}function l(t){if(typeof t!="string")return"";var e=document.createElement("div");return e.textContent=t,e.innerHTML}i.toast={show:d}})();
//# sourceMappingURL=toast.js-S0rI3IZd.js.map
})()
})()
})()
})()
})()
})()
})()
