PageSourceSearch

https://www.billgenerator.ai/_next/static/chunks/app/pricing/page-…?dpl=dpl_3SJEvuUsC1sQrKwgKmLfswF7cmGK

js billgenerator.ai collected 2026-10-05 15:13:02 UTC 10,033 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6907],{1008:(e,t,r)=>{"use strict";r.d(t,{U:()=>a});var n=r(46618);function a(){return(0,n.createBrowserClient)("https://qocaqyqwganzswrnmjyw.supabase.co","sb_publishable_1fki8t6vdLxDp_7D3XpqIw_XiaurcA7")}},5360:(e,t,r)=>{"use strict";r.d(t,{PricingClient:()=>m});var n=r(15781),a=r(68769),s=r(80389),i=r.n(s),o=r(56354),l=r(68854),c=r(26870),u=r(57969),d=r(35064),h=r(58896);function m(e){let{plan:t}=e,r=(0,c.useRouter)(),[s,m]=(0,a.useState)(!1);(0,a.useEffect)(()=>{(0,d.u4)({event:"view_pricing"})},[]);let p=async e=>{try{var n;let r=await (0,u.n)("/api/v1/checkout",{method:"POST",body:{product_id:t.product_id,customer_name:e}});(null==(n=r.data)?void 0:n.checkout_url)&&(window.location.href=r.data.checkout_url)}catch(e){401===(null==e?void 0:e.status)&&r.push("/login?redirect=/pricing")}},f=async()=>{if((0,d.u4)({event:"begin_checkout",currency:"USD"===t.currency?"USD":"INR",value:Math.round(t.price_cents/100),product_id:t.product_id}),""===await (0,h.C)())return void m(!0);await p()};return(0,n.jsxs)("div",{className:"mx-auto max-w-xl px-4 sm:px-6 lg:px-8",children:[(0,n.jsxs)("div",{className:"rounded-3xl border-2 border-[var(--color-coral)] ring-1 ring-[var(--color-coral)]/20 shadow-[var(--shadow-card-hover)] p-8 sm:p-10 relative bg-white",children:[(0,n.jsx)("div",{className:"absolute -top-3 left-1/2 -translate-x-1/2",children:(0,n.jsx)("span",{className:"inline-block rounded-full bg-[var(--color-coral-dark)] px-3 py-1 text-[10px] font-bold uppercase tracking-wider text-white shadow-md",children:"Lifetime Deal"})}),(0,n.jsx)("h3",{className:"text-2xl font-display font-extrabold tracking-tight",children:"Lifetime Access"}),(0,n.jsx)("p",{className:"mt-1 text-sm text-[var(--color-muted)]",children:"Pay once, generate unlimited bills forever."}),(0,n.jsxs)("div",{className:"mt-6 flex items-baseline gap-2",children:[(0,n.jsx)("span",{className:"text-5xl font-display font-extrabold tracking-tight",children:(0,l.$g)(t.price_cents,t.currency)}),(0,n.jsx)("span",{className:"text-sm text-[var(--color-muted)]",children:"one-time"})]}),(0,n.jsx)("ul",{className:"mt-6 space-y-3 text-sm",children:l.gT.map(e=>(0,n.jsxs)("li",{className:"flex items-start gap-2.5",children:[(0,n.jsx)("svg",{className:"h-4 w-4 text-[var(--color-wood-dark)] shrink-0 mt-0.5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2.5,children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 13l4 4L19 7"})}),e]},e))}),(0,n.jsx)(o.$n,{variant:"coral",size:"lg",className:"mt-8 w-full cursor-pointer",onClick:f,children:"Get Lifetime Access"}),(0,n.jsxs)("p",{className:"mt-4 text-center text-xs text-[var(--color-muted)]",children:["One-time payment. Cancel anytime — there's nothing to cancel. Backed by our"," ",(0,n.jsx)(i(),{href:"/refund",className:"underline hover:text-[var(--color-foreground)]",children:"refund policy"}),"."]})]}),(0,n.jsx)(h.m,{open:s,onOpenChange:m,onSubmit:e=>{m(!1),p(e)}})]})}},14266:(e,t,r)=>{"use strict";r.d(t,{Faq:()=>i});var n=r(15781),a=r(68769);let s=[{q:"What does Lifetime Access give me?",a:"Unlimited bill generation forever — every PDF, PNG, JPG, and bulk export, with no per-download charge. One payment, no recurring fees."},{q:"Can I try before I buy?",a:"Yes — sign up and get 10 free credits. That's enough to generate a few bills and decide whether you like the app before going lifetime."},{q:"Is this really one-time, with no subscription?",a:"Correct. There's no monthly or yearly fee. You pay once and the access stays with your account forever."},{q:"What formats can I export?",a:"PDF, PNG, and JPG. All print-ready and high-quality."},{q:"What is bulk generation?",a:"Upload a CSV with many rows and get a ZIP of bills back. With Lifetime Access, bulk jobs cost zero credits no matter how many rows."},{q:"What currency is the price in?",a:"Pricing is shown in Indian Rupees (INR) for the launch. International payers can still check out — your bank handles the currency conversion at the standard rate."}];function i(){let[e,t]=(0,a.useState)(null);return(0,n.jsxs)("div",{className:"max-w-2xl mx-auto",children:[(0,n.jsx)("h2",{className:"font-display text-3xl font-extrabold tracking-tight text-center mb-8",children:"Frequently Asked Questions"}),(0,n.jsx)("div",{className:"space-y-2",children:s.map((r,a)=>(0,n.jsxs)("div",{className:"rounded-2xl border overflow-hidden",children:[(0,n.jsxs)("button",{className:"flex w-full items-center justify-between px-5 py-4 text-left text-sm font-medium cursor-pointer",onClick:()=>t(e===a?null:a),children:[r.q,(0,n.jsx)("svg",{className:"h-4 w-4 shrink-0 text-[var(--color-muted)] transition-transform ".concat(e===a?"rotate-180":""),fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 9l-7 7-7-7"})})]}),e===a&&(0,n.jsx)("div",{className:"px-5 pb-4 text-sm text-[var(--color-muted)]",children:r.a})]},a))})]})}},33686:(e,t,r)=>{Promise.resolve().then(r.bind(r,14266)),Promise.resolve().then(r.bind(r,5360)),Promise.resolve().then(r.t.bind(r,80389,23)),Promise.resolve().then(r.bind(r,9897)),Promise.resolve().then(r.bind(r,2010)),Promise.resolve().then(r.bind(r,31037))},35064:(e,t,r)=>{"use strict";function n(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];let a=window.op;"function"==typeof a&&a(e,...r)}function a(e){var t;let r=window;r.dataLayer=r.dataLayer||[],r.dataLayer.push(e);let{event:a,...s}=e;n("track",a,s),null==(t=r.posthog)||t.capture(a,s)}function s(e,t){let r={};(null==t?void 0:t.isLifetime)!==void 0&&(r.is_lifetime=t.isLifetime),(null==t?void 0:t.planType)&&(r.plan_type=t.planType),n("identify",{profileId:e,email:null==t?void 0:t.email,properties:r})}function i(){n("clear")}function o(e){n("setGlobalProperties",e)}r.d(t,{G:()=>s,lh:()=>o,u4:()=>a,xN:()=>i})},57969:(e,t,r)=>{"use strict";r.d(t,{h:()=>a,n:()=>i});var n=r(1008);
1class a extends Error{constructor(e,t,r){super(r),this.status=e,this.code=t,this.name="ApiError"}}function s(e,t,r){let n={timestamp:new Date().toISOString(),level:e,message:t,source:"client",...r};"error"===e?console.error(JSON.stringify(n)):"warn"===e?console.warn(JSON.stringify(n)):console.log(JSON.stringify(n))}async function i(e){var t,r,i,o,l,c,u,d;let h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},m=Date.now(),p=(null!=(r=h.method)?r:"GET").toUpperCase(),f=(0,n.U)(),{data:{session:x}}=await f.auth.getSession(),v={"Content-Type":"application/json",...h.headers};(null==x?void 0:x.access_token)&&(v.Authorization="Bearer ".concat(x.access_token));let g=await fetch(e,{...h,headers:v,body:h.body?JSON.stringify(h.body):void 0}),y=await g.json(),w=Date.now()-m,b=null==y||null==(t=y.meta)?void 0:t.request_id;if(!g.ok)throw s("warn","API request failed",{method:p,path:e,status:g.status,duration_ms:w,request_id:b,error_code:null==(i=y.error)?void 0:i.code,error_message:null==(o=y.error)?void 0:o.message}),new a(g.status,null!=(u=null==(l=y.error)?void 0:l.code)?u:"UNKNOWN",null!=(d=null==(c=y.error)?void 0:c.message)?d:"Something went wrong");return s("info","API request",{method:p,path:e,status:g.status,duration_ms:w,request_id:b}),y}},58896:(e,t,r)=>{"use strict";r.d(t,{C:()=>o,m:()=>l});var n=r(15781),a=r(68769),s=r(56354),i=r(1008);async function o(){var e;let t=(0,i.U)(),{data:{user:r}}=await t.auth.getUser();if(!r)return null;let n=null==(e=r.user_metadata)?void 0:e.full_name;return"string"==typeof n?n.trim():""}function l(e){let{open:t,onOpenChange:r,onSubmit:i}=e,[o,l]=(0,a.useState)(""),[c,u]=(0,a.useState)(!1);return(0,n.jsx)(s.lG,{open:t,onOpenChange:r,children:(0,n.jsxs)(s.Cf,{children:[(0,n.jsxs)(s.c7,{children:[(0,n.jsx)(s.L3,{children:"What name should we put on the invoice?"}),(0,n.jsx)(s.rr,{children:"We only ask once. This is the name that appears on your receipt."})]}),(0,n.jsxs)("form",{onSubmit:function(e){e.preventDefault();let t=o.trim();t&&(u(!0),i(t))},className:"space-y-4",children:[(0,n.jsxs)("div",{className:"space-y-1.5",children:[(0,n.jsx)(s.JU,{htmlFor:"checkoutName",children:"Full name"}),(0,n.jsx)(s.pd,{id:"checkoutName",type:"text",placeholder:"Your name",value:o,onChange:e=>l(e.target.value),required:!0,autoFocus:!0,autoComplete:"name",maxLength:100,className:"h-11"})]}),(0,n.jsx)(s.$n,{type:"submit",variant:"coral",size:"lg",className:"w-full",disabled:c||!o.trim(),children:c?(0,n.jsx)(s.y$,{}):"Continue to payment"})]})]})})}},68854:(e,t,r)=>{"use strict";r.d(t,{ZA:()=>i,gT:()=>u,eZ:()=>s,$g:()=>c,jE:()=>a,qI:()=>o});var n=r(37101);function a(e){var t,r;return(null==(t=e.groups)?void 0:t.length)?e.groups.flatMap(e=>e.fields):null!=(r=e.fields)?r:[]}function s(e){let t=Array.isArray(e)?e:a(e),r={};for(let e of t){let t;switch(e.type){case"number":t=n.au.number();break;case"checkbox":t=n.zM();break;case"items":t=n.YO(n.g1(n.Yj(),n.L5()));break;default:var s;if(t=n.Yj(),("select"===e.type||"radio"===e.type)&&(null==(s=e.options)?void 0:s.length)){let r=e.options.map(e=>"string"==typeof e?e:e.value);t=n.k5(r)}}e.required||(t=t.optional()),r[e.name]=t}return n.Ik(r)}let i={download:5,ai_edit:2,bulk_per_item:10};function o(e){var t;let r=e.filter(e=>"lifetime"===e.plan_tier);return 0===r.length?null:null!=(t=r.find(e=>"INR"===e.currency))?t:r[0]}function l(e,t){let r=String(Math.abs(e));if("western"===t)return r.replace(/\B(?=(\d{3})+(?!\d))/g,",");if(r.length<=3)return r;let n=r.slice(-3);return r.slice(0,-3).replace(/\B(?=(\d{2})+(?!\d))/g,",")+","+n}function c(e,t){let r=Math.round(e/100),n=r<0?"-":"";return"INR"===t?"".concat(n,"₹").concat(l(r,"indian")):"USD"===t?"".concat(n,"$").concat(l(r,"western")):"".concat(n).concat(l(r,"western")," ").concat(t)}let u=["Unlimited single + bulk generation","All bill templates","PDF, PNG, JPG exports","Saved bills + transaction history","Future templates included","No subscription, no auto-renewal"]}},e=>{e.O(0,[389,4186,845,912,6354,2680,2585,7358],()=>e(e.s=33686)),_N_E=e.O()}]);

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.