PageSourceSearch

https://roadmap.sh/assets/billing-BFLIoaPy.js

js roadmap.sh collected 2026-09-24 17:10:01 UTC 970 bytes, 1 lines download raw bytes

1import{q as o}from"./queryOptions-C9woPjwX.js";import{i as p}from"./jwt-DhNkEzhq.js";import{h as s}from"./http-CTVYXoFf.js";import{f as t}from"./number-zVSOld3Q.js";function h(){return o({queryKey:["billing-details"],queryFn:async()=>s("/v1-billing-details"),select:r=>({...r,isPaidUser:r.status==="active",isProViaGift:r.provider==="gift",isProViaTeam:!!r.proTeam,proTeamName:r.proTeam?.name,proTeamAvatar:r.proTeam?.avatar}),enabled:!!p()})}function q(r){return o({queryKey:["course-price",r],queryFn:async()=>s(`/v1-course-price/${r.courseSlug}`)})}function v(){return o({queryKey:["subscription-pricing"],queryFn:async()=>{const r=await s("/v1-subscription-pricing"),{monthly:e,yearly:n,currency:i}=r,a=t(e,i),c=t(n,i),u=t(Math.round(n/12),i),y=Math.round((e*12-n)/(e*12)*100),l=Math.floor((e*12-n)/e);return{...r,monthlyLabel:a,yearlyLabel:c,yearlyAsMonthlyLabel:u,yearlySavingsPercent:y,monthsFreeWithYearly:l}},staleTime:1e3*60*15})}export{h as b,q as c,v as s};

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.