PageSourceSearch

https://slatebot.ai/_next/static/chunks/app/(workspace)/layout-4ef…?dpl=dpl_2Nuu6omr4npNWnSXyBzumx3yJQkb

js slatebot.ai collected 2026-10-05 15:05:35 UTC 2,854 bytes, 1 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];if(null!=t)for(var s in t)t.hasOwnProperty(s)&&(e[s]=t[s])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:sl8-app":!0})}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9694],{19206:(e,r,t)=>{Promise.resolve().then(t.bind(t,23638)),Promise.resolve().then(t.bind(t,53710)),Promise.resolve().then(t.bind(t,81596)),Promise.resolve().then(t.bind(t,18904)),Promise.resolve().then(t.bind(t,41435)),Promise.resolve().then(t.bind(t,27434))},23638:(e,r,t)=>{"use strict";t.d(r,{CreditWarningBanner:()=>h});var s=t(68987),a=t(2315),n=t(1343),o=t(55755),d=t(61376),i=t(52928),l=t(41230),u=t(78525),c=t(11576),p=t(71519);let b="credit-banner-dismissed:";function h(){let e=(0,n.useRouter)(),{user:r}=(0,l.w)(),{data:t}=(0,u.J)(!!r),[h,m]=(0,a.useState)({ok:!1,low:!1,zero:!1,past_due:!1}),f=t?.subscription,g=t?.subscriptionStatus==="past_due",k=t?.balance??0,w=f?.credits??0,x=w>0?Math.round(k/w*100):0,y=!!f&&k<=0,_=!!f&&x<10&&x>0,v=g?"past_due":y?"zero":_?"low":"ok";if((0,a.useEffect)(()=>{"ok"===v||"1"===window.sessionStorage.getItem(`${b}${v}`)&&m(e=>({...e,[v]:!0}))},[v]),!r||"ok"===v||h[v])return null;let M="zero"===v||"past_due"===v,N="past_due"===v?"Your payment failed. Update your payment method to restore access.":"zero"===v?"You're out of credits. Upgrade your plan to keep building.":`Running low — ${k.toLocaleString()} credits left (${x}%). Upgrade soon.`;return(0,s.jsxs)("div",{role:"alert",className:(0,p.cn)("flex items-center gap-3 px-4 py-2 backdrop-blur-xl border-b",M?"bg-red-500/10 dark:bg-red-500/15 border-red-500/30 text-red-700 dark:text-red-300":"bg-amber-500/10 dark:bg-amber-500/15 border-amber-500/30 text-amber-800 dark:text-amber-200"),children:[(0,s.jsx)(o.A,{className:"h-4 w-4 shrink-0"}),(0,s.jsx)("span",{className:"flex-1 text-sm font-medium truncate",children:N}),(0,s.jsx)(i.$,{size:"sm",variant:"glass",className:"h-7 rounded-full px-3 text-xs font-medium shrink-0",onClick:()=>"past_due"===v?(0,c.M)():e.push("/checkout"),children:"past_due"===v?"Update payment":"Upgrade"}),(0,s.jsx)(i.$,{size:"icon",variant:"ghost","aria-label":"Dismiss credit warning",className:"h-7 w-7 rounded-full shrink-0 hover:bg-black/5 dark:hover:bg-white/10",onClick:()=>{window.sessionStorage.setItem(`${b}${v}`,"1"),m(e=>({...e,[v]:!0}))},children:(0,s.jsx)(d.A,{className:"h-3.5 w-3.5"})})]})}}},e=>{e.O(0,[1453,2826,5306,7866,6014,8884,7861,8536,3579,7182,4033,9536,8767,2615,7527,677,6358,1519,670,1128,1596,920,8904,5449,9793,8441,2265,7358],()=>e(e.s=19206)),_N_E=e.O()}]);

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.