PageSourceSearch

https://aimealplangenerator.com/_next/static/chunks/6b4895eb0da9200c.js

js aimealplangenerator.com collected 2026-10-08 11:07:09 UTC 3,537 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,133713,e=>{"use strict";var i=e.i(578938);e.s(["useCurrentUser",0,()=>{let{data:e,error:r}=i.authClient.useSession();return r?(console.error("useCurrentUser, error:",r),null):e?.user}])},664992,e=>{"use strict";var i=e.i(141519),r=e.i(791027);let s=(0,r.createServerReference)("7fd7edce28791b7865c3186fb07335f484293b3ae9",r.callServer,void 0,r.findSourceMapURL,"createCheckoutAction");var n=e.i(920932),a=e.i(945228),c=e.i(133713),l=e.i(537225),t=e.i(177227),m=e.i(419159),o=e.i(267763),d=e.i(754219);let p=a.websiteConfig.price.plans.pro?.prices??[],h=p.find(e=>e.interval===t.PlanIntervals.MONTH)?.priceId,u=p.find(e=>e.interval===t.PlanIntervals.YEAR)?.priceId;function g({userId:e,priceId:r,label:n}){let a=(0,m.useTranslations)("Home"),[c,l]=(0,o.useState)(!1),t=async()=>{l(!0);try{let i=await s({userId:e,planId:"pro",priceId:r}),n=i?.data?.success?i.data.data?.url:null;n?window.location.href=n:d.toast.error(a("pricing.checkoutFailed"))}catch{d.toast.error(a("pricing.checkoutFailed"))}finally{l(!1)}};return(0,i.jsx)("button",{type:"button",className:"mm-btn mm-btn-orange mm-btn-block",onClick:t,disabled:c,children:c?a("pricing.loading"):n})}function b(){let e=(0,m.useTranslations)("Home"),[r,s]=(0,o.useState)(!0),a=(0,c.useCurrentUser)(),t=(0,l.useMounted)(),d=e.raw("pricing.free.features"),p=e.raw("pricing.pro.features"),b=r?u:h,j=e("pricing.pro.cta"),x=t&&a&&b?(0,i.jsx)(g,{userId:a.id,priceId:b,label:j}):(0,i.jsx)(n.LoginWrapper,{mode:"modal",asChild:!0,callbackUrl:"/pricing",children:(0,i.jsx)("button",{type:"button",className:"mm-btn mm-btn-orange mm-btn-block",children:j})});return(0,i.jsx)("section",{className:"mm-section",style:{paddingTop:40},children:(0,i.jsxs)("div",{className:"mm-wrap",children:[(0,i.jsxs)("div",{className:"mm-sechead mm-center",children:[(0,i.jsx)("div",{className:"mm-eyebrow",children:e("pricing.eyebrow")}),(0,i.jsx)("h1",{className:"mm-display",children:e.rich("pricing.h2",{em:e=>(0,i.jsx)("em",{children:e})})})]}),(0,i.jsx)("div",{className:"mm-ptoggle-wrap",children:(0,i.jsxs)("div",{className:"mm-ptoggle",children:[(0,i.jsx)("button",{type:"button",className:r?"on":"",onClick:()=>s(!0),children:e("pricing.annual")}),(0,i.jsx)("button",{type:"button",className:r?"":"on",onClick:()=>s(!1),children:e("pricing.monthly")})]})}),(0,i.jsxs)("div",{className:"mm-price",children:[(0,i.jsxs)("div",{className:"mm-plan",children:[(0,i.jsx)("div",{className:"mm-pt",children:e("pricing.free.pt")}),(0,i.jsx)("div",{className:"mm-amt",children:e("pricing.free.amt")}),(0,i.jsx)("ul",{children:d.map(e=>(0,i.jsx)("li",{children:e},e))}),(0,i.jsx)("a",{className:"mm-btn mm-btn-ghost mm-btn-block",href:"/",children:e("pricing.free.cta")})]}),(0,i.jsxs)("div",{className:"mm-plan mm-pro",children:[r&&(0,i.jsx)("span",{className:"mm-save",children:e("pricing.pro.save")}),(0,i.jsx)("div",{className:"mm-pt",children:e(r?"pricing.pro.pt":"pricing.pro.ptMonthly")}),(0,i.jsxs)("div",{className:"mm-amt",children:[e(r?"pricing.pro.amt":"pricing.pro.amtMonthly"),(0,i.jsxs)("span",{children:[" ",e("pricing.pro.amtUnit")]})]}),(0,i.jsx)("div",{className:"mm-billed",children:r?e.rich("pricing.pro.billed",{s:e=>(0,i.jsx)("s",{children:e})}):e("pricing.pro.saveHint")}),(0,i.jsx)("ul",{children:p.map(e=>(0,i.jsx)("li",{children:e},e))}),x,r&&(0,i.jsx)("div",{className:"mm-monthly-alt",children:e("pricing.pro.monthlyAlt")})]})]})]})})}e.s(["MacroPricing",()=>b],664992)}]);

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.