PageSourceSearch

https://dataskeptic.com/assets/PricingRenderer-BcCNczwL.js

js dataskeptic.com collected 2026-10-01 10:18:16 UTC 3,437 bytes, 1 lines download raw bytes

1import{j as r,H as p,S as y,P as u,B as S}from"./index-DN4Mwqf7.js";import{C as s}from"./Card-cLjeqwtT.js";function B({page:m}){var c;const a=m.pricingConfig||{},g=a.title||"Choose Your Plan",x=a.subtitle||"Select the perfect plan for your needs",h=(c=a.showFreeTier)!=null?c:!0,f=a.freeFeatures||["Basic access","Limited features"],b=a.products||[],v=(e,t)=>{if(!e)return"Free";const i=(e/100).toFixed(2),l=t==="year"?"/year":"/month";return"$".concat(i).concat(l)},n=[];return h&&n.push({id:"free",name:"Free",price:0,interval:"month",features:f,popular:!1,buttonText:"Get Started",buttonAction:()=>window.location.href="/signup"}),b.forEach(e=>{var t,i,l,d;const o=(t=e.prices)==null?void 0:t[0];n.push({id:e.id,name:e.name,description:e.description,price:(o==null?void 0:o.unit_amount)||0,interval:((i=o==null?void 0:o.recurring)==null?void 0:i.interval)||"month",features:((l=e.marketing_features)==null?void 0:l.map(j=>j.name))||e.features||[],popular:((d=e.metadata)==null?void 0:d.popular)==="true",buttonText:"Subscribe",buttonAction:()=>{window.location.href="/checkout?price=".concat(o==null?void 0:o.id)}})}),r.jsxs("div",{className:"website-v2-page pricing-page",style:{padding:"2rem"},children:[r.jsxs("div",{className:"pricing-header",style:{textAlign:"center",marginBottom:"3rem"},children:[r.jsx(p,{as:"h1",style:{fontSize:"2.5rem",marginBottom:"0.5rem"},children:g}),r.jsx("p",{style:{fontSize:"1.2rem",color:"#666",maxWidth:"600px",margin:"0 auto"},children:x})]}),n.length===0&&r.jsxs(y,{placeholder:!0,textAlign:"center",children:[r.jsxs(p,{icon:!0,children:[r.jsx(u,{name:"tag"}),"No Subscription Plans Available"]}),r.jsx("p",{children:"There are no subscription plans configured yet. Please check Admin → Billing Products."})]}),n.length>0&&r.jsx("div",{className:"pricing-grid",style:{display:"grid",gridTemplateColumns:"repeat(".concat(Math.min(n.length,4),", 1fr)"),gap:"1.5rem",maxWidth:"1200px",margin:"0 auto",padding:"0 1rem"},children:n.map(e=>r.jsxs(s,{fluid:!0,style:{border:e.popular?"2px solid #2185d0":"1px solid #e0e0e0",borderRadius:"12px",boxShadow:e.popular?"0 8px 30px rgba(33, 133, 208, 0.15)":"0 2px 10px rgba(0,0,0,0.08)",position:"relative",overflow:"visible"},children:[e.popular&&r.jsx("div",{style:{position:"absolute",top:"-12px",left:"50%",transform:"translateX(-50%)",background:"#2185d0",color:"white",padding:"4px 16px",borderRadius:"20px",fontSize:"12px",fontWeight:"bold",textTransform:"uppercase"},children:"Most Popular"}),r.jsxs(s.Content,{style:{padding:"2rem",textAlign:"center"},children:[r.jsx(s.Header,{style:{fontSize:"1.5rem",marginBottom:"0.5rem"},children:e.name}),e.description&&r.jsx(s.Meta,{style:{marginBottom:"1rem",color:"#666"},children:e.description}),r.jsx("div",{style:{fontSize:"2.5rem",fontWeight:"bold",color:"#333",margin:"1rem 0"},children:v(e.price,e.interval)})]}),r.jsxs(s.Content,{style:{padding:"1.5rem",background:"#fafafa"},children:[r.jsx("div",{style:{minHeight:"150px"},children:e.features.map((t,i)=>r.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"0.5rem",marginBottom:"0.75rem",color:"#333"},children:[r.jsx(u,{name:"check",color:"green"}),r.jsx("span",{children:t})]},i))}),r.jsx(S,{primary:e.popular||e.price===0,fluid:!0,size:"large",onClick:e.buttonAction,style:{marginTop:"1rem",borderRadius:"8px",background:e.popular?"#2185d0":e.price===0?"#21ba45":void 0},children:e.buttonText})]})]},e.id))})]})}export{B as default};

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.