PageSourceSearch

https://founder-spark-63.lovable.app/assets/notifyError-B5A7t736.js

js founder-spark-63.lovable.app collected 2026-10-03 03:33:10 UTC 14,686 bytes, 6 lines download raw bytes

1import{c,av as p,g as a}from"./index-Dq2zLArw.js";/**
2 * @license lucide-react v0.462.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */const h=c("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]),d={atomize:{title:"Couldn't generate drafts right now",description:"We hit a snag generating your social drafts. Try again in a moment — your article is safe."},"seo-optimize":{title:"Couldn't generate SEO suggestions",description:"The optimizer didn't respond. Try again in a moment, or use the manual edits in the SEO panel."},"geo-optimize":{title:"Couldn't generate GEO upgrade",description:"The AI editor didn't respond. Try again in a moment."},"linkedin-publish":{title:"LinkedIn post didn't go out",description:"We couldn't publish to LinkedIn. Check your connection in Profile → Integrations and try again."},"twitter-publish":{title:"X post didn't go out",description:"We couldn't publish to X. Check your connection in Profile → Integrations."},"threads-publish":{title:"Threads post didn't go out",description:"We couldn't publish to Threads. Check your connection in Profile → Integrations."},"carousel-pdf":{title:"Carousel PDF couldn't be built",description:"The slides didn't embed cleanly. You can retry, or fall back to a standard image gallery."},"carousel-slide":{title:"Couldn't generate carousel slide",description:"One slide failed to render. Try generating again."},"linkedin-images":{title:"Couldn't generate slide images",description:"Image generation failed. Try again — we don't charge for failed runs."}
6,"content-plan":{title:"Couldn't generate content plan",description:"The planner didn't respond. Try again in a moment."},"draft-from-plan":{title:"Couldn't draft this article",description:"Our writer didn't respond. Try again — your plan item is safe."},hooks:{title:"Couldn't generate hooks",description:"We couldn't fetch hook ideas right now. Try again shortly."},faqs:{title:"Couldn't generate FAQs",description:"FAQ generation didn't complete. Try again."},"meta-description":{title:"Couldn't generate meta description",description:"Try again — or write the meta description manually in the SEO panel."},"agent-chat":{title:"Agent didn't respond",description:"The assistant hit a hiccup. Try sending the message again."},"viral-research":{title:"Research didn't complete",description:"We couldn't fetch trending content right now. Try again in a moment."},"keyword-research":{title:"Keyword research failed",description:"We couldn't fetch keyword data. Try again in a moment."},"writing-patterns":{title:"Couldn't analyze writing patterns",description:"Try again in a moment."},"media-upload":{title:"Upload didn't complete",description:"Check your file size and connection, then try again."},"save-article":{title:"Couldn't save your changes",description:"We'll keep retrying in the background. Avoid closing this tab."},schedule:{title:"Couldn't schedule this post",description:"Try again, or pick a different time slot."},cms:{title:"CMS sync failed",description:"Check your CMS credentials in Profile → Integrations and try again."},generic:{title:"Something went wrong",description:"We logged the issue. Try again in a moment — or click Report to flag it."}},l={AI_TEMPORARILY_UNAVAILABLE:{title:"AI is briefly busy",description:"Our writing engine is recovering. Try again in a minute — your work is saved. Our team has been alerted.",severity:"warning"},AI_QUOTA_EXHAUSTED:{title:"AI is briefly busy",description:"Our writing engine is recovering. Try again in a minute — your work is saved. Our team has been alerted.",severity:"warning"},AI_RATE_LIMIT:{title:"AI is briefly busy",description:"Wait about 30 seconds and try again — your work is saved.",severity:"warning"},AI_PARSE_ERROR:{title:"AI returned an unexpected response",description:"Try again — usually works on the second attempt.",severity:"warning"},AI_ERROR:{title:"AI service hiccup",description:"Try again in a moment.",severity:"error"},NOT_CONNECTED:{title:"Account not connected",description:"Connect this account in Profile → Integrations first.",severity:"warning"},TOKEN_EXPIRED:{title:"Connection expired",description:"Reconnect this account in Profile → Integrations.",severity:"warning"},DAILY_LIMIT_REACHED:{title:"Daily limit reached",description:"You've hit today's posting cap. It resets at midnight UTC.",severity:"warning"},LIFETIME_LIMIT_REACHED:{title:"Plan limit reached",description:"Upgrade your plan to keep publishing.",severity:"warning"},NO_SLIDES_EMBEDDED:{title:"Carousel slides didn't render",description:"Try generating the carousel again, or post as an image gallery.",severity:"error"},PUBLISH_FAILED:{title:"Publish didn't complete",description:"Try again — your draft is saved.",severity:"error"},UNAUTHORIZED:{title:"Sign in required",description:"Refresh the page and sign in again.",severity:"warning"},SOURCE_TOO_SHORT:{title:"Need more content first",description:"Add more body text to your article before atomizing.",severity:"info"},NO_SOURCE_CONTENT:{title:"Write your first article first",description:"We need at least one published piece to build a useful 30-day plan around your real topics.",severity:"info"},EXTERNAL_API_DOWN:{title:"External service unavailable",description:"The third-party service is having issues. Try again shortly.",severity:"error"},INTERNAL_ERROR:{title:"Something went wrong",description:"We logged the issue. Try again, or click Report to flag it.",severity:"error"},NEWSLETTER_DISABLED:{title:"Newsletter is off",description:"Enable your newsletter in Profile → Newsletter before sending.",severity:"warning"},UPSTREAM_RATE_LIMIT:{title:"Third-party rate limit",description:"The destination platform is rate-limiting us. Wait a minute and try again.",severity:"warning"},UPSTREAM_ERROR:{title:"Third-party service error",description:"The destination platform returned an error. Try again shortly.",severity:"error"},INVALID_TOKEN:{title:"Connection needs reconnecting",description:"Your access token is invali
6d or expired. Reconnect in Profile → Integrations.",severity:"warning"},SUBSCRIPTION_REQUIRED:{title:"Subscription required",description:"Upgrade your plan to use this feature.",severity:"warning"},USAGE_LIMIT_REACHED:{title:"Usage limit reached",description:"You've hit your plan's limit. Upgrade to continue.",severity:"warning"},VALIDATION_FAILED:{title:"Check your inputs",description:"Some fields are missing or invalid.",severity:"warning"},POST_NOT_FOUND:{title:"Post not found",description:"We couldn't find that article. It may have been deleted.",severity:"error"},ACCESS_CODE_NO_BILLING:{title:"No billing on access code",description:"Your access code doesn't include billing portal access. Contact support if you need to update payment details.",severity:"info"},AI_RATE_LIMITED:{title:"AI is briefly busy",description:"Wait about 30 seconds and try again — your work is saved.",severity:"warning"},AI_SERVICE_ERROR:{title:"AI service hiccup",description:"Try again in a moment.",severity:"error"},BAD_REQUEST:{title:"Check your inputs",description:"Some fields are missing or look invalid.",severity:"warning"},CHECKOUT_FAILED:{title:"Couldn't start checkout",description:"Try again in a moment. If it keeps failing, contact support.",severity:"error"},DISCONNECT_FAILED:{title:"Couldn't disconnect",description:"Try again in a moment.",severity:"error"},DOCUMENT_UPLOAD_FAILED:{title:"Upload didn't complete",description:"Check the file and try again.",severity:"error"},EMPTY_DRAFT:{title:"Draft is empty",description:"Add some content before continuing.",severity:"info"},FORBIDDEN:{title:"Access denied",description:"You don't have permission to do that.",severity:"warning"},GEO_UPGRADE_SKIPPED:{title:"GEO upgrade skipped",description:"The content already looks well-optimized for AI engines.",severity:"info"},INSERT_FAILED:{title:"Couldn't save",description:"We hit a snag saving that. Try again.",severity:"error"},INSUFFICIENT_CONTEXT:{title:"Need more context",description:"Add more details so the AI has enough to work with.",severity:"info"},INTERNAL:{title:"Something went wrong",description:"We logged the issue. Try again, or click Report to flag it.",severity:"error"},INVALID_ACTION:{title:"Action not allowed",description:"That action isn't available right now.",severity:"warning"},INVALID_EMAIL:{title:"Invalid email",description:"Double-check the email address and try again.",severity:"warning"},INVALID_INPUT:{title:"Check your inputs",description:"One or more fields look invalid.",severity:"warning"},INVALID_STATE:{title:"Can't do that right now",description:"Refresh the page and try again.",severity:"warning"},LOOKUP_FAILED:{title:"Lookup failed",description:"We couldn't find what you were looking for. Try again.",severity:"error"},MISSING_CODE:{title:"Missing code",description:"Enter the code and try again.",severity:"warning"},MISSING_PERPLEXITY_KEY:{title:"Research engine unavailable",description:"The research API isn't configured right now. Try again later or contact support.",severity:"error"},MISSING_PLAN_ITEM:{title:"Plan item missing",description:"We couldn't find that plan item. It may have been removed.",severity:"warning"},NOT_SUBSCRIBED:{title:"Subscription required",description:"Upgrade your plan to use this feature.",severity:"warning"},PLAN_ITEM_NOT_FOUND:{title:"Plan item not found",description:"That plan item may have been deleted. Refresh and try again.",severity:"warning"},PORTAL_FAILED:{title:"Couldn't open billing portal",description:"Try again in a moment. Contact support if it persists.",severity:"error"},PROBE_FAILED:{title:"Connection check failed",description:"We couldn't verify the connection. Try again or reconnect from Profile → Integrations.",severity:"error"},SHOPIFY_PUBLISH_FAILED:{title:"Shopify publish failed",description:"Couldn't publish to Shopify. Check your store connection in Profile → Integrations.",severity:"error"},STORAGE_FAILED:{title:"Storage error",description:"We couldn't save that file. Try again.",severity:"error"},STRIPE_NOT_CONFIGURED:{title:"Billing not configured",description:"Payments aren't set up. Contact support.",severity:"error"},STRIPE_UNAVAILABLE:{title:"Billing temporarily unavailable",description:"Stripe is unreachable. Try again in a moment.",severity:"error"},TOKEN_EXCHANGE_FAILED:{title:"Couldn't complete connection",description:"The OAuth handshake failed. Try connecting again from Profile → Integrations.",severity:"error"},TRACK_FAILED:{title:"Tracking failed",description:"We couldn't record that action. It won't affect your content.",severity:"warning"},UGC_POST_FAILED:{title:"LinkedIn post failed",description:"LinkedIn rejected the post. Try again or check Profile → Integrations.",severity:"error"},UNAUTHENTICATED:{title:"Sign in required",description:"Refresh the page and sign in again.",severity:"warning"},UNEXPECTED:{title:"Unexpected error",description:"Something went wrong. Try again, or click Report.",severity:"error"},UNKNOWN_ERROR:{title:"Something went wrong",description:"We logged it. Try again, or click Report to flag it.",severity:"error"},UPDATE_FAILED:{title:"Couldn't update",description:"We hit a snag saving your changes. Try again.",severity:"error"},USER_NOT_FOUND:{title:"Account not found",description:"We couldn't find that account. Refresh and try again.",severity:"warning"},WORDPRESS_PUBLISH_FAILED:{title:"WordPress publish failed",description:"Couldn't publish to WordPress. Check your site connection in Profile → Integrations.",severity:"error"},THREAD_PARTIAL:{title:"Thread published partially",description:"We posted the first part but a later reply failed. Retry from Distribute to finish the thread.",severity:"warning"},ALL_RECIPIENTS_SUPPRESSED:{title:"Nothing sent",description:"Every recipient on this list is on your suppression list. Add new subscribers, then send again.",severity:"info"},SENDER_PAUSED:{title:"Newsletter sending paused",description:"Sending is on hold to protect your deliverability. Clean up bounced addresses in Newsletter → Health, then resume.",severity:"warning"},DAILY_QUOTA_EXCEEDED:{title:"Daily send limit reached",description:"You've hit today's newsletter cap. Try again tomorrow, or contact support to raise the limit.",severity:"warning"},RATE_LIMITED:{title:"Rate limited",description:"The destination platform is throttling us. Wait a minute and retry.",severity:"warning"},THREAD_FAILED:{title:"Thread didn't post",description:"We couldn't publish this thread. Check your X connection in Profile → Integrations.",severity:"error"},CMS_PARTIAL:{title:"Article published, CMS sync failed",description:"Your article is live, but cross-posting to your CMS failed. Retry from Schedule → Needs Attention.",severity:"warning"},TRIAL_QUOTA_EXCEEDED:{title:"Trial daily limit reached",description:"You've hit today's trial cap. Upgrade to remove the limit, or come back in 24 hours.",severity:"warning"}};function s(i){const t=i.toLowerCase();return t.includes("non-2xx")||t.includes("functionshttperror")||t.includes("functionsrelayerror")||t.includes("failed to fetch")||t.includes("networkerror")||t.includes("load failed")||t.includes("typeerror: fetch")||t==="unknown error"}function g(i,t="generic"){const r=d[t]||d.generic;if(i&&typeof i=="object"){const e=i,o=e.errorCode;if(o&&l[o]){const n=l[o];
6return{title:n.title,description:n.description,severity:n.severity,errorCode:o,raw:e.error||e.message}}if(e instanceof Error){const n=e.message||"";return s(n)?{title:r.title,description:r.description,severity:"error",raw:n}:{title:r.title,description:n.slice(0,160),severity:"error",raw:n}}}if(i instanceof Error){const e=i.message||"";if(!s(e)&&e.length>0&&e.length<200)return{title:r.title,description:e,severity:"error",raw:e}}return typeof i=="string"&&!s(i)?{title:r.title,description:i.slice(0,160),severity:"error",raw:i}:{title:r.title,description:r.description,severity:"error",raw:i?JSON.stringify(i).slice(0,300):void 0}}function y(i,t,r={}){const e=g(i,t);p(`feature.${t}`,e.raw||e.title,{...r,errorCode:e.errorCode,feature:t});const o={feature:t,errorCode:e.errorCode,errorMessage:e.raw||e.title,title:e.title,description:e.description,context:r};return(e.severity==="warning"?a.warning:a.error)(e.title,{description:e.description,duration:8e3,action:{label:"Report",onClick:()=>{window.dispatchEvent(new CustomEvent("issue-report:open",{detail:o}))}}}),e}const E=Object.freeze(Object.defineProperty({__proto__:null,notifyError:y},Symbol.toStringTag,{value:"Module"}));export{h as C,E as a,y as n};

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.