PageSourceSearch

https://inkarnate.com/assets/chunk-1470840250-1-81-19.js

js inkarnate.com collected 2026-09-24 10:07:43 UTC 2,349 bytes, 2 lines download raw bytes

1var e=25e3;const t={worldbuilders:2e6,countries:190,mapsCreatedFallback:11e6,cloneableMapsFallback:175e3,availableAssets:e,assetsByTier:{free:787,base:7500,creator:e,studio:e},assetsByStyle:{fantasyWorld:3409,fantasyBattlemaps:12348,fantasyRegional:7212,watercolorBattlemaps:3489,watercolorCities:6290,battlemapsClassic:898,parchmentWorld:2389,parchmentWorld2:2998,sciFiBattlemaps:1290}},formatExactMarketingCount=e=>e.toLocaleString("en-US");let r=function(e){return e.Free="free",e.Monthly="monthly",e.Yearly="yearly",e.BaseMonthly="base_monthly",e.BaseYearly="base_yearly",e.CreatorMonthly="creator_monthly",e.CreatorYearly="creator_yearly",e.StudioMonthly="studio_monthly",e.StudioYearly="studio_yearly",e}({});const a={[r.Free]:"free",[r.Monthly]:"base",[r.Yearly]:"base",[r.BaseMonthly]:"base",[r.BaseYearly]:"base",[r.CreatorMonthly]:"creator",[r.CreatorYearly]:"creator",[r.StudioMonthly]:"studio",[r.StudioYearly]:"studio"},tierOf=e=>(e=>{const t=a[e];if(!t)throw new Error(`Unknown pricing plan id: ${e}`);return t})(e.id);r.Free,r.CreatorMonthly,r.CreatorYearly,r.StudioMonthly,r.StudioYearly;function formatNumber(e){return null==e?"0":e>1e6?`${Math.floor(e/1e6)}M+`:e>1e3?`${Math.floor(e/1e3)}K+`:e.toString()}const formatFeatureNumber=e=>e>=1e6?"Unlimited":e.toLocaleString("en-US"),formatPrice=e=>new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",minimumFractionDigits:2}).format(e/100),hasPrice=e=>"number"==typeof e.amount&&Number.isFinite(e.amount)&&e.amount>=0,formatPriceNoCents=e=>e%100!=0?formatPrice(e):new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",maximumFractionDigits:0}).format(e/100),safeColor=e=>{const t=e?.trim();return t&&!/["'<>]/.test(t)?t:"var(--color-neutral-white)"},getActivePlans=e=>{const t=e.find(e=>e.id===r.Free),a=[...e].sort((e,t)=>e.amount-t.amount);return{yearly:[t,...a.filter(e=>"year"===e.interval)].filter(e=>void 0!==e),monthly:[t,...a.filter(e=>e.id.includes("monthly"))].filter(e=>void 0!==e)}},getPlanName=(e,t=!1)=>{const r=e.name.replace(" Yearly","").replace(" Monthly","");return t?`${r}`:r};export{formatPriceNoCents as a,hasPrice as c,t as d,formatExactMarketingCount as f,formatPrice as i,safeColor as l,formatFeatureNumber as n,getActivePlans as o,formatNumber as r,getPlanName as s,r as t,tierOf as u};
2//# sourceMappingURL=chunk-1470840250-1-81-19.js.map

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.