1import{r as e}from"./framework-qeFN-NPv.js";import{t}from"./link-B47HHGry.js";var n=e();function r({plan:e,templateName:r,compact:i=!1,returnHref:a,scope:o=`template`}){let s=e===`pro`||e===`monthly`||e===`annual`||e===`lifetime`,c=o===`all`&&s;return(0,n.jsxs)(`div`,{role:`status`,"aria-live":`polite`,style:{display:`grid`,gridTemplateColumns:i?`auto minmax(0, 1fr) auto`:`auto minmax(0, 1fr)`,alignItems:`center`,gap:i?10:14,padding:i?`11px 13px`:`15px 17px`,border:`1px solid rgba(22,163,74,0.28)`,borderRadius:i?14:16,background:`linear-gradient(135deg, rgba(240,253,244,0.98), rgba(236,253,245,0.78))`,color:`var(--mk-ink, var(--s-ink, #14201a))`},children:[(0,n.jsx)(`span`,{"aria-hidden":`true`,style:{display:`grid`,placeItems:`center`,width:i?26:32,height:i?26:32,borderRadius:999,background:`linear-gradient(180deg, #2fbb63, #16a34a)`,color:`#fff`,fontSize:i?14:16,fontWeight:900},children:`â`}),(0,n.jsxs)(`div`,{style:{minWidth:0},children:[(0,n.jsx)(`strong`,{style:{display:`block`,fontSize:i?13:15,lineHeight:1.25},children:c?`All portfolios unlocked`:s?`Pro access is active`:`Payment confirmed`}),(0,n.jsx)(`span`,{style:{display:`block`,marginTop:3,color:`var(--mk-ink-2, var(--s-ink-2, #5b6b62))`,fontSize:i?11.5:13,lineHeight:1.45},children:c?`Your monthly Pro plan is active. You now have access to every portfolio system and README template.`:s?`${r?`${r} is ready. `:``}You can now use premium portfolio systems, generate drafts, export, and publish.`:`${r?`${r} is ready. `:``}Your purchase is active and your portfolio work can continue.`})]}),c&&!i?(0,n.jsxs)(`div`,{style:{gridColumn:`2`,display:`flex`,flexWrap:`wrap`,gap:8,marginTop:7},children:[(0,n.jsx)(t,{href:a??`/portfolio`,style:{whiteSpace:`nowrap`,padding:`8px 12px`,borderRadius:999,background:`#15803d`,color:`#fff`,textDecoration:`none`,fontSize:12,fontWeight:850},children:`Explore portfolios`}),(0,n.jsx)(t,{href:`/readme-builder`,style:{whiteSpace:`nowrap`,padding:`8px 12px`,borderRadius:999,border:`1px solid rgba(22,163,74,0.28)`,background:`rgba(255,255,255,0.72)`,color:`var(--mk-blue-ink, var(--s-accent-ink, #0f7a37))`,textDecoration:`none`,fontSize:12,fontWeight:850},children:`Explore README templates`})]}):i&&a?(0,n.jsx)(t,{href:a,style:{whiteSpace:`nowrap`,padding:`7px 10px`,borderRadius:999,border:`1px solid rgba(22,163,74,0.28)`,background:`rgba(255,255,255,0.72)`,color:`var(--mk-blue-ink, var(--s-accent-ink, #0f7a37))`,textDecoration:`none`,fontSize:11.5,fontWeight:850},children:`Open portfolios`}):null]})}export{r as t};
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.