PageSourceSearch

https://outlyne.com/assets/PromptCreditsButton-DoC664A2.js

js outlyne.com collected 2026-10-09 22:57:46 UTC 2,624 bytes, 4 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="ec756d88-c57b-5334-b0ed-daf2e9be8ab0")}catch(e){}}();
3(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`e5562179835c32ffe550d671740078b14d817c08`}}catch{}})();import{t as e}from"./jsx-runtime-C84qV8ig.js";import{t}from"./compiler-runtime-8pZOvhkd.js";import{t as n}from"./clsx-DAvcGpWD.js";import{s as r}from"./UserContext-DmiukG3Y.js";import{f as i,n as a}from"./popovers-zeL5AeKR.js";import{t as o}from"./AddCreditsPopover-tYLl_Zki.js";import{t as s}from"./usePremiumCTA-B4_NaEEf.js";var c=e(),l=e=>(0,c.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:10,height:10,viewBox:`0 0 10 10`,...e,children:[(0,c.jsx)(`path`,{fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:1.2,d:`m2.665 2.665 4.67 4.67`}),(0,c.jsx)(`path`,{fill:`none`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:1.2,d:`M7.335 2.665l-4.67 4.67`})]}),u=e=>(0,c.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:21,height:21,viewBox:`0 0 21 21`,...e,children:(0,c.jsx)(`path`,{fill:`currentColor`,d:`M.201 19.792a1 1 0 0 1 .025-.224L2.24 10.5.224 1.432A1.033 1.033 0 0 1 1.693.284l18.584 9.292a1.076 1.076 0 0 1 0 1.848L1.693 20.716a1.033 1.033 0 0 1-1.494-.924M4.124 11.533 2.71 17.899l14.8-7.4-14.8-7.4 1.414 6.366h7.432a1 1 0 1 1 0 2.065Z`})}),d=t();function f(e){let t=(0,d.c)(14),{isOutOfCredits:l,tone:u}=e,f=l!==void 0&&l,p=u===void 0?`normal`:u,{isLoading:m,plan:h}=r(),{isAnonymous:g,prepareSignup:_}=s();if(!g&&m)return null;let v;t[0]!==g||t[1]!==f||t[2]!==h||t[3]!==_?(v=g?{handleClick:()=>_(`ai_credits`),label:`Sign Up to Continue`,popoverTarget:a}:h===`free`?{handleClick:void 0,label:f?`Upgrade to Continue`:`Upgrade`,popoverTarget:i}:{handleClick:void 0,label:f?`Add Credits to Continue`:`Add Credits`,popoverTarget:
vendor: 535 bytes, lines 3-4
3o},t[0]=g,t[1]=f,t[2]=h,t[3]=_,t[4]=v):v=t[4];let{handleClick:y,label:b,popoverTarget:x}=v,S=`is-${p}`,C;t[5]===S?C=t[6]:(C=n(`prompt-credits-btn`,S),t[5]=S,t[6]=C);let w;t[7]===b?w=t[8]:(w=(0,c.jsx)(`span`,{children:b}),t[7]=b,t[8]=w);let T;return t[9]!==y||t[10]!==x||t[11]!==C||t[12]!==w?(T=(0,c.jsx)(`button`,{className:C,onClick:y,popoverTarget:x,popoverTargetAction:`show`,type:`button`,children:w}),t[9]=y,t[10]=x,t[11]=C,t[12]=w,t[13]=T):T=t[13],T}export{u as n,l as r,f as t};
4//# debugId=ec756d88-c57b-5334-b0ed-daf2e9be8ab0

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.