PageSourceSearch

https://prompthero.com/_next/static/chunks/app/(main)/(content)/plans/page-d52d274410b9d906.js

js prompthero.com collected 2026-10-01 11:33:47 UTC 23,692 bytes, 2 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a06284-765c-73f0-b0a8-308f37c77092")}catch(e){}}();(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2515],{6026:(e,t,r)=>{"use strict";r.d(t,{E:()=>o});var a=r(54568),s=r(91397),n=r(6596),i=r(64318);let l=(0,s.F)("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});function o({className:e,variant:t,asChild:r=!1,...s}){let d=r?n.DX:"span";return(0,a.jsx)(d,{"data-slot":"badge",className:(0,i.cn)(l({variant:t}),e),...s})}},6596:(e,t,r)=>{"use strict";let a,s,n;r.d(t,{DX:()=>d});var i=r(7620),l=r(33670),o=r(54568),d=((n=i.forwardRef((e,t)=>{let{children:r,...a}=e;if(i.isValidElement(r)){var s;let e,n,o=(s=r,(n=(e=Object.getOwnPropertyDescriptor(s.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?s.ref:(n=(e=Object.getOwnPropertyDescriptor(s,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?s.props.ref:s.props.ref||s.ref),d=function(e,t){let r={...t};for(let a in t){let s=e[a],n=t[a];/^on[A-Z]/.test(a)?s&&n?r[a]=(...e)=>{let t=n(...e);return s(...e),t}:s&&(r[a]=s):"style"===a?r[a]={...s,...n}:"className"===a&&(r[a]=[s,n].filter(Boolean).join(" "))}return{...e,...r}}(a,r.props);return r.type!==i.Fragment&&(d.ref=t?(0,l.t)(t,o):o),i.cloneElement(r,d)}return i.Children.count(r)>1?i.Children.only(null):null})).displayName="Slot.SlotClone",a=n,(s=i.forwardRef((e,t)=>{let{children:r,...s}=e,n=i.Children.toArray(r),l=n.find(u);if(l){let e=l.props.children,r=n.map(t=>t!==l?t:i.Children.count(e)>1?i.Children.only(null):i.isValidElement(e)?e.props.children:null);return(0,o.jsx)(a,{...s,ref:t,children:i.isValidElement(e)?i.cloneElement(e,void 0,r):null})}return(0,o.jsx)(a,{...s,ref:t,children:r})})).displayName="Slot.Slot",s),c=Symbol("radix.slottable");function u(e){return i.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===c}},17161:(e,t,r)=>{"use strict";async function a(e){let{planSlug:t,creditAmount:r}=e,a="extra_credits"===t||void 0!==r,s=await fetch(a?"/api/checkout/credits":"/api/checkout_sessions",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(a?{creditAmount:r??1e3}:{planSlug:t})});if(!s.ok){let e=await s.json().catch(()=>({}));throw Error(e.error||e.message||"Failed to create checkout session")}let{url:n}=await s.json();window.location.href=n}r.d(t,{d:()=>a})},21426:(e,t,r)=>{"use strict";r.d(t,{PlansPublic:()=>x});var a=r(54568),s=r(34309),n=r(56242),i=r(65587),l=r.n(i),o=r(7620),d=r(99263),c=r(98305),u=r(6026),m=r(28465),p=r(89531),h=r(59406);function x(){let[e,t]=(0,o.useState)("yearly");return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"full-bleed",children:(0,a.jsx)(c.A,{claimHref:"/auth/sign-in"})}),(0,a.jsxs)("div",{className:"flex flex-col gap-6 max-w-6xl mx-auto py-4 px-4 lg:px-6",children:[(0,a.jsxs)("div",{className:"text-center space-y-2",children:[(0,a.jsx)("h1",{className:"text-3xl font-bold sm:text-4xl",children:"Generate stunning AI images, your way"}),(0,a.jsx)("p",{className:"text-base text-muted-foreground max-w-2xl mx-auto",children:"Private generations, every AI model, and priority speed. Start free, then upgrade the moment you need more."})]}),(0,a.jsxs)("div",{className:"flex flex-col items-center gap-4",children:[(0,a.jsxs)("fieldset",{className:"flex items-center rounded-lg bg-muted p-1",children:[(0,a.jsx)("legend",{className:"sr-only",children:"Billing period"}),(0,a.jsx)("button",{"aria-pressed":"monthly"===e,type:"button",onClick:()=>t("monthly"),className:`min-h-11 rounded-md px-4 py-2 text-sm font-medium transition-all cursor-pointer outline-none focus-visible:ring-ring/50 focus-visible:ring-[3px] ${"monthly"===e?"bg-background text-foreground shadow-sm":"text-muted-foreground hover:text-foreground"}`,children:"Monthly"}),(0,a.jsx)("button",{"aria-pressed":"yearly"===e,type:"button",onClick:()=>t("yearly"),className:`min-h-11 rounded-md px-4 py-2 text-sm font-medium transition-all cursor-pointer outline-none focus-visible:ring-ring/50 focus-visible:ring-[3px] ${"yearly"===e?"bg-background text-foreground shadow-sm":"text-muted-foreground hover:text-foreground"}`,children:"Yearly"})]}),(0,a.jsx)("div",{className:"flex min-h-6 items-center justify-center text-center",children:"yearly"===e&&(0,a.jsx)("div",{className:"rounded-full bg-linear-to-r from-orange-500 via-pink-500 to-purple-600 px-3 py-1 text-sm font-semibold text-white",children:"\uD83D\uDD25 Save 15% with yearly billing. Get two months for free!"})})]}),(0,a.jsx)("div",{className:"grid md:grid-cols-3 gap-8 lg:gap-8",children:h.l.map(t=>{let r=t.icon,n="monthly"===e?t.monthly:t.yearly;
1return(0,a.jsxs)(p.Zp,{className:`relative ${t.popular?"ring-2 ring-pink-500 shadow-lg shadow-pink-500/10 scale-105":""}`,children:[t.popular&&(0,a.jsx)("div",{className:"absolute -top-4 left-1/2 transform -translate-x-1/2",children:(0,a.jsx)(u.E,{className:"border-0 bg-linear-to-r from-orange-500 via-pink-500 to-purple-600 px-4 py-1 text-white",children:"Most Popular"})}),(0,a.jsxs)(p.aR,{className:"text-center pb-4",children:[(0,a.jsx)("div",{className:"flex justify-center mb-4",children:(0,a.jsx)("div",{className:`p-3 rounded-lg text-white ${"starter"===t.id?"bg-linear-to-br from-orange-400 to-pink-400":"pro"===t.id?"bg-linear-to-br from-purple-500 to-pink-500":"bg-muted text-foreground"}`,children:(0,a.jsx)(r,{className:"size-6"})})}),(0,a.jsx)(p.ZB,{className:"text-xl",children:t.name}),(0,a.jsx)(p.BT,{className:"text-sm",children:t.description}),(0,a.jsxs)("div",{className:"flex flex-col items-center gap-1 mt-4",children:[(0,a.jsxs)("div",{className:"flex items-center justify-center gap-1",children:[(0,a.jsxs)("span",{className:"text-3xl font-bold",children:["$",Math.floor(n.price)]}),(0,a.jsx)("span",{className:"text-muted-foreground",children:"/ mo"})]}),(0,a.jsx)("div",{className:"h-5 flex items-center",children:"yearly"===e&&"free"!==t.id&&"yearlyPrice"in n&&(0,a.jsxs)("div",{className:"text-sm text-muted-foreground",children:["billed yearly ($","yearlyPrice"in n?n.yearlyPrice:0,"/year)"]})})]})]}),(0,a.jsxs)(p.Wu,{className:"space-y-4",children:["free"===t.id?(0,a.jsx)(m.$,{asChild:!0,variant:"outline",className:"w-full",size:"lg",children:(0,a.jsx)(l(),{href:"/auth/sign-in",children:"Get Started Free"})}):(0,a.jsx)(m.$,{asChild:!0,variant:t.popular?"default":"outline",className:t.popular?"w-full border-0 bg-linear-to-r from-orange-500 via-pink-500 to-purple-600 text-white hover:opacity-90":"w-full",size:"lg",children:(0,a.jsxs)(l(),{href:"/auth/sign-in",children:["Get Started with ",t.name]})}),(0,a.jsx)("ul",{className:"space-y-3",children:t.features.map((r,i)=>{let l=0===i&&"free"!==t.id;return r.endsWith(":")?(0,a.jsx)("li",{className:"pt-2",children:(0,a.jsx)("span",{className:"text-sm font-semibold text-foreground",children:r})},r):(0,a.jsxs)("li",{className:"flex items-start gap-3",children:[l?(0,a.jsx)("span",{className:"size-4 mt-0.5 shrink-0 brightness-0 flex items-center justify-center text-sm",children:"✨"}):(0,a.jsx)(s.A,{className:"size-4 text-green-600 dark:text-green-400 mt-0.5 shrink-0"}),(0,a.jsx)("span",{className:"text-sm",children:l?"monthly"===e?(0,a.jsxs)(a.Fragment,{children:[(0,d.n)(n.credits)," ",r,"/month"]}):(0,a.jsxs)(a.Fragment,{children:[(0,d.n)(n.credits)," total ",r]}):r})]},r)})})]})]},t.id)})}),(0,a.jsxs)("div",{className:"mt-8",children:[(0,a.jsxs)("div",{className:"text-center space-y-4 mb-6",children:[(0,a.jsx)("h2",{className:"text-2xl font-semibold",children:"Need Extra Credits?"}),(0,a.jsx)("p",{className:"text-muted-foreground",children:"Purchase credits that never expire and roll over month to month."})]}),(0,a.jsx)("div",{className:"grid gap-6 md:grid-cols-2 max-w-2xl mx-auto",children:h.o.map(e=>(0,a.jsxs)(p.Zp,{className:`relative w-full ${e.popular?"ring-2 ring-pink-500":""}`,children:[e.popular&&(0,a.jsx)("div",{className:"absolute -top-3 left-1/2 transform -translate-x-1/2",children:(0,a.jsx)(u.E,{className:"border-0 bg-linear-to-r from-orange-500 via-pink-500 to-purple-600 px-3 py-0.5 text-xs text-white",children:"Best Value"})}),(0,a.jsxs)(p.aR,{className:"text-center",children:[(0,a.jsx)("div",{className:"flex justify-center mb-4",children:(0,a.jsx)("div",{className:"p-3 rounded-lg bg-linear-to-br from-orange-400 to-pink-400 text-white",children:(0,a.jsx)(n.A,{className:"size-6"})})}),(0,a.jsxs)(p.ZB,{className:"text-lg",children:[(0,d.n)(e.credits)," Credits"]}),(0,a.jsx)(p.BT,{children:e.description}),(0,a.jsx)("div",{className:"flex items-center justify-center gap-1 mt-4",children:(0,a.jsxs)("span",{className:"text-2xl font-bold",children:["$",e.price]})}),(0,a.jsxs)("div",{className:"text-xs text-muted-foreground",children:[e.pricePerCredit," per credit"]})]}),(0,a.jsx)(p.Wu,{children:(0,a.jsx)(m.$,{asChild:!0,variant:e.popular?"default":"outline",className:e.popular?"w-full border-0 bg-linear-to-r from-orange-500 via-pink-500 to-purple-600 text-white hover:opacity-90":"w-full",size:"lg",children:(0,a.jsx)(l(),{href:"/auth/sign-in",children:"Sign Up to Buy"})})})]},e.id))})]}),(0,a.jsxs)("div",{className:"mt-12 text-center space-y-6",children:[(0,a.jsx)("h2",{className:"text-2xl font-semibold",children:"Frequently Asked Questions"}),(0,a.jsxs)("div",{className:"grid md:grid-cols-2 gap-6 text-left max-w-4xl mx-auto",children:[(0,a.jsxs)("div",{className:"space-y-3",children:[(0,a.jsx)("h3",{className:"font-semibold",children:"Can I just buy credits and skip the subscription?"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"Yes! You can buy credits and generate without a subscription. Credit generations are public, which means stricter content moderation and standard speeds. For private images, creative freedom and faster generation, check out our plans."})]}),(0,a.jsxs)("div",{className:"space-y-3",children:[(0,a.jsx)("h3",{className:"font-semibold",children:"Can I change plans anytime?"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"Yes, you can upgrade or downgrade your plan at any time. Paid changes take effect after payment succeeds; until then, your current paid plan remains active."})]}),(0,a.jsxs)("div",{className:"space-y-3",children:[(0,a.jsx)("h3",{className:"font-semibold",children:"Do unused credits expire?"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"No! Unused credits roll over and accumulate. They never expire."})]}),(0,a.jsxs)("div",{className:"space-y-3",children:[(0,a.jsx)("h3",{className:"font-semibold",children:"What payment methods do you accept?"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"We accept all major credit cards, PayPal, and other popular payment methods."})]}),(0,a.jsxs)("div",{className:"space-y-3",children:[(0,a.jsx)("h3",{className:"font-semibold",children:"Is there a free plan?"}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"Yes! You can start with a free account to try PromptHero before upgrading. Students and artists can also contact [email protected] for extended access."})]})]})]})]})]})}},28267:(e,t,r)=>{Promise.resolve().then(r.bind(r,21426))},28465:(e,t,r)=>{"use strict";r.d(t,{$:()=>o,r:()=>l});var a=r(54568),s=r(91397),n=r(6596),i=r(64318);let l=(0,s.F)("inline-flex items-center justify-center gap-2 cursor-pointer whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function o({className:e,variant:t,size:r,asChild:s=!1,...d}){let c=s?n.DX:"button";return(0,a.jsx)(c,{"data-slot":"button",className:(0,i.cn)(l({variant:t,size:r,className:e})),...d})}},33670:(e,t,r)=>{"use strict";r.d(t,{s:()=>i,t:()=>n});var a=r(7620);function s(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function n(...e){return t=>{let r=!1,a=e.map(e=>{let a=s(e,t);return r||"function"!=typeof a||(r=!0),a});if(r)return()=>{for(let t=0;t<a.length;t++){let r=a[t];"function"==typeof r?r():s(e[t],null)}}}}function i(...e){return a.useCallback(n(...e),e)}},34309:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(81007).A)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},40414:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(81007).A)("crown",[["path",{d:"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z",key:"1vdc57"}],["path",{d:"M5 21h14",key:"11awu3"}]])},56242:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(81007).A)("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]])},59406:(e,t,r)=>{"use strict";r.d(t,{l:()=>i,o:()=>l});var a=r(94411),s=r(40414),n=r(56242);let i=[{id:"free",slug:null,name:"Free",description:"Get started with limited access.",monthly:{price:0,credits:0},yearly:{price:0,yearlyPrice:0,credits:0},icon:a.A,features:["Limited daily generations","Standard speed, lower priority","All creations are public","For personal use only"],popular:!1},{id:"starter",slug:"starter",name:"Starter",description:"For enthusiasts creating occasionally.",monthly:{price:19,credits:300},yearly:{price:16.16,yearlyPrice:194,credits:3600},icon:s.A,features:["generation credits","Private, unlisted generations","Access to every AI model","Faster generation speed","Enhanced profile with PRO badge","Showcase your pinned prompts","Add socials and a featured image"],popular:!1},{id:"pro",slug:"pro",name:"Pro",description:"For experts creating daily.",monthly:{price:29,credits:600},yearly:{price:24.66,yearlyPrice:296,credits:7200},icon:n.A,features:["generation credits","Everything in Starter, plus:","Fewer content restrictions","Maximum speed (priority queue)","Social links and upgraded branding","Priority access to upcoming PRO tools"],popular:!0}],l=[{id:"credits-1000",credits:1e3,price:59,pricePerCredit:"$0.059",description:"For regular creators.",popular:!1},{id:"credits-2000",credits:2e3,price:99,pricePerCredit:"$0.049",description:"Best price per credit.",popular:!0}]},64318:(e,t,r)=>{"use strict";r.d(t,{IM:()=>i,cn:()=>n,vv:()=>l});var a=r(9917),s=r(2809);function n(...e){return(0,s.QP)((0,a.$)(e))}r(40459);let i=e=>
1"string"==typeof e&&e.trim()&&e.trim().split(/\s+/).filter(Boolean).map(e=>e[0]).join("").toUpperCase()||"?";function l(e,t){let{currency:r="USD",locale:a="en-US",minimumFractionDigits:s,maximumFractionDigits:n,noDecimals:i}=t??{};return new Intl.NumberFormat(a,{style:"currency",currency:r,minimumFractionDigits:i?0:s,maximumFractionDigits:i?0:n}).format(e)}},81007:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var a=r(7620);let s=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},n=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim();var i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let l=(0,a.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:s,className:l="",children:o,iconNode:d,...c},u)=>(0,a.createElement)("svg",{ref:u,...i,width:t,height:t,stroke:e,strokeWidth:s?24*Number(r)/Number(t):r,className:n("lucide",l),...!o&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(c)&&{"aria-hidden":"true"},...c},[...d.map(([e,t])=>(0,a.createElement)(e,t)),...Array.isArray(o)?o:[o]])),o=(e,t)=>{let r=(0,a.forwardRef)(({className:r,...i},o)=>(0,a.createElement)(l,{ref:o,iconNode:t,className:n(`lucide-${s(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,r),...i}));return r.displayName=s(e),r}},89531:(e,t,r)=>{"use strict";r.d(t,{BT:()=>o,Wu:()=>c,X9:()=>d,ZB:()=>l,Zp:()=>n,aR:()=>i,wL:()=>u});var a=r(54568),s=r(64318);function n({className:e,...t}){return(0,a.jsx)("div",{"data-slot":"card",className:(0,s.cn)("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",e),...t})}function i({className:e,...t}){return(0,a.jsx)("div",{"data-slot":"card-header",className:(0,s.cn)("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",e),...t})}function l({className:e,...t}){return(0,a.jsx)("div",{"data-slot":"card-title",className:(0,s.cn)("leading-none font-semibold",e),...t})}function o({className:e,...t}){return(0,a.jsx)("div",{"data-slot":"card-description",className:(0,s.cn)("text-muted-foreground text-sm",e),...t})}function d({className:e,...t}){return(0,a.jsx)("div",{"data-slot":"card-action",className:(0,s.cn)("col-start-2 row-span-2 row-start-1 self-start justify-self-end",e),...t})}function c({className:e,...t}){return(0,a.jsx)("div",{"data-slot":"card-content",className:(0,s.cn)("px-6",e),...t})}function u({className:e,...t}){return(0,a.jsx)("div",{"data-slot":"card-footer",className:(0,s.cn)("flex items-center px-6 [.border-t]:pt-6",e),...t})}},91397:(e,t,r)=>{"use strict";r.d(t,{F:()=>i});var a=r(9917);let s=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,n=a.$,i=(e,t)=>r=>{var a;if((null==t?void 0:t.variants)==null)return n(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:i,defaultVariants:l}=t,o=Object.keys(i).map(e=>{let t=null==r?void 0:r[e],a=null==l?void 0:l[e];if(null===t)return null;let n=s(t)||s(a);return i[e][n]}),d=r&&Object.entries(r).reduce((e,t)=>{let[r,a]=t;return void 0===a||(e[r]=a),e},{});return n(e,o,null==t||null==(a=t.compoundVariants)?void 0:a.reduce((e,t)=>{let{class:r,className:a,...s}=t;return Object.entries(s).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...l,...d}[t]):({...l,...d})[t]===r})?[...e,r,a]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}},94411:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(81007).A)("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]])},98305:(e,t,r)=>{"use strict";r.d(t,{A:()=>p});
1var a=r(54568),s=r(65587),n=r.n(s),i=r(7620),l=r(66888),o=r(99865),d=r(17161);let c="ph_pricing_promo_deadline",u=["a1","a2","a3","a4","a5","a6"],m=["b1","b2","b3","b4","b5","b6"];function p({claimHref:e,claimPlanSlug:t}){let r,s,h,x=function(){let[e,t]=(0,i.useState)(86400);return(0,i.useEffect)(()=>{let e=function(){let e=Number((0,o.nw)(c).value);if(e&&e>Date.now())return e;let t=Date.now()+864e5;return(0,o.eK)(c,String(t)),t}();function r(){let r=Math.floor((e-Date.now())/1e3);r<=0&&(e=Date.now()+864e5,(0,o.eK)(c,String(e)),r=86400),t(r)}r();let a=setInterval(r,1e3);return()=>clearInterval(a)},[]),e}(),[f,g]=(0,i.useState)(!1);async function v(){if(t)try{g(!0),await (0,d.d)({planSlug:t})}catch(e){l.oR.error(e instanceof Error?e.message:"Could not start checkout."),g(!1)}}let y=(0,a.jsxs)("span",{className:"mx-9 inline-flex items-center gap-3 text-[13px] tracking-wide",children:[(0,a.jsx)("span",{className:"rounded-md bg-white/15 px-2 py-0.5 font-semibold tabular-nums backdrop-blur-sm",children:(r=String(Math.floor(x/3600)).padStart(2,"0"),s=String(Math.floor(x%3600/60)).padStart(2,"0"),h=String(x%60).padStart(2,"0"),`${r}:${s}:${h}`)}),(0,a.jsx)("span",{className:"font-medium text-white/95",children:"Limited time offer: 2 months for free with annual plan"}),(0,a.jsx)("span",{"aria-hidden":!0,className:"text-white/40",children:"✦"})]}),b="group inline-flex shrink-0 items-center gap-1.5 whitespace-nowrap rounded-full bg-white px-3.5 py-1 text-xs font-semibold text-pink-600 shadow-sm ring-1 ring-black/5 transition hover:-translate-y-px hover:shadow-md disabled:opacity-70",j=(0,a.jsx)("span",{"aria-hidden":!0,className:"transition-transform duration-200 group-hover:translate-x-0.5",children:"→"});return(0,a.jsx)("div",{className:"relative isolate overflow-hidden bg-linear-to-r from-orange-500 via-pink-500 to-purple-600 text-white shadow-sm",children:(0,a.jsxs)("div",{className:"flex items-center gap-4 py-2 pr-4 pl-1",children:[(0,a.jsx)("div",{className:"flex-1 overflow-hidden",children:(0,a.jsxs)("div",{className:"flex w-max animate-ph-marquee",children:[(0,a.jsx)("div",{className:"flex",children:u.map(e=>(0,a.jsx)(i.Fragment,{children:y},e))}),(0,a.jsx)("div",{className:"flex","aria-hidden":!0,children:m.map(e=>(0,a.jsx)(i.Fragment,{children:y},e))})]})}),e?(0,a.jsxs)(n(),{href:e,className:b,children:["Claim yearly deal ",j]}):(0,a.jsx)("button",{type:"button",onClick:v,disabled:f,className:b,children:f?"Redirecting...":(0,a.jsxs)(a.Fragment,{children:["Claim yearly deal ",j]})})]})})}},99263:(e,t,r)=>{"use strict";function a(e){return e.toLocaleString("en-US")}r.d(t,{n:()=>a})},99865:(e,t,r)=>{"use strict";function a(){return window.localStorage}function s(e,t=a){try{return{available:!0,value:t().getItem(e)}}catch{return{available:!1,value:null}}}function n(e,t,r=a){try{return r().setItem(e,t),!0}catch{return!1}}function i(e,t=a){try{return t().removeItem(e),!0}catch{return!1}}r.d(t,{eK:()=>n,hB:()=>i,nw:()=>s})}},e=>{e.O(0,[3357,5587,6888,587,6573,7342,7358],()=>e(e.s=28267)),_N_E=e.O()}]);
2//# chunkId=01a06284-765c-73f0-b0a8-308f37c77092

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.