1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,96892,e=>{"use strict";let t=(0,e.i(456420).default)("arrow-up",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]);e.s(["ArrowUp",0,t],96892)},929272,e=>{"use strict";let t=(0,e.i(456420).default)("square",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]);e.s(["Square",0,t],929272)},881149,e=>{"use strict";var t=e.i(843476),a=e.i(975157);e.s(["GradientSpinner",0,function({className:e}){return(0,t.jsxs)("span",{"aria-hidden":!0,className:(0,a.cn)("relative inline-block size-4 shrink-0 overflow-hidden rounded-full","bg-[linear-gradient(135deg,#ffd6cf_0%,#fbecac_45%,#cfedd4_100%)]",e),children:[(0,t.jsx)("span",{className:"absolute -inset-1 animate-liquid-slow bg-[radial-gradient(circle_at_35%_35%,#c7ddf9_0%,transparent_62%)]"}),(0,t.jsx)("span",{className:"absolute -inset-1 animate-liquid-fast bg-[radial-gradient(circle_at_62%_58%,#ebd0f4_0%,transparent_60%)]"})]})},"GradientSweep",0,function({className:e,onDone:r}){return(0,t.jsx)("div",{"aria-hidden":!0,className:(0,a.cn)("pointer-events-none absolute inset-0 overflow-hidden",e),children:(0,t.jsx)("div",{onAnimationEnd:r,className:"animate-gradient-sweep absolute inset-y-0 left-0 w-full"})})}])},765982,446181,e=>{"use strict";var t=e.i(843476),a=e.i(271645),r=e.i(96892),s=e.i(632781),n=e.i(929272),i=e.i(975157),l=e.i(519455),o=e.i(881149);function c({text:e,className:r}){let[s,n]=(0,a.useState)({cur:e,prev:null,gen:0});return(0,a.useEffect)(()=>{n(t=>e===t.cur?t:{cur:e,prev:t.cur,gen:t.gen+1})},[e]),(0,t.jsxs)("span",{"aria-hidden":!0,className:(0,i.cn)("pointer-events-none absolute grid grid-cols-[100%] select-none text-start text-content-tertiary",r),children:[null!==s.prev&&(0,t.jsx)("span",{className:"animate-placeholder-out truncate [grid-area:1/1] motion-reduce:hidden",children:s.prev},`out-${s.gen}`),(0,t.jsx)("span",{className:(0,i.cn)("truncate [grid-area:1/1]",s.gen>0&&"animate-placeholder-in motion-reduce:animate-none"),children:s.cur},`in-${s.gen}`)]})}e.s(["RotatingPlaceholder",0,c],446181),2e3.toLocaleString(),e.s(["PromptInput",0,function({value:e,onChange:d,onSubmit:u,placeholder:m,disabled:f,loading:p,onStop:h,autoFocus:x,focusSignal:g,size:b="lg",submitAriaLabel:v="Send",className:y}){let j="lg"===b,[w,N]=a.useState(!1),S=a.useRef(0),k=a.useRef(null);return a.useEffect(()=>{x&&(k.current?.focus(),N(!0))},[x]),a.useEffect(()=>{g&&(k.current?.focus(),N(!0))},[g]),a.useLayoutEffect(()=>{let t=k.current;if(t){if(!e){t.style.height="";return}t.style.height="0px",t.style.height=`${t.scrollHeight}px`}},[e]),(0,t.jsxs)("div",{className:(0,i.cn)("relative",y),children:[(0,t.jsx)("textarea",{ref:k,value:e,onChange:e=>d(e.target.value),onKeyDown:e=>{"Enter"!==e.key||e.shiftKey||(e.preventDefault(),u())},onPointerDown:()=>{S.current=Date.now()},onFocus:()=>{Date.now()-S.current<150&&N(!0)},rows:1,maxLength:2e3,disabled:f,placeholder:m,className:(0,i.cn)("block w-full resize-none bg-surface-page text-base outline-none transition-shadow placeholder:text-transparent disabled:opacity-60 md:text-sm",!e&&"overflow-hidden",j?"h-15 max-h-48 rounded-[30px] py-[18px] pl-6 pr-16 shadow-card focus-visible:shadow-lift md:h-14 md:rounded-[28px]":"h-12 max-h-40 rounded-[24px] py-3 pl-4 pr-12 ring ring-border-subtle shadow-card focus-visible:shadow-lift md:h-11 md:rounded-[22px]")}),!e&&m&&(0,t.jsx)(c,{text:m,className:(0,i.cn)("inset-0 text-base md:text-sm",j?"py-[18px] pl-6 pr-16":"py-3 pl-4 pr-12")}),w&&(0,t.jsx)(o.GradientSweep,{className:j?"rounded-[30px] md:rounded-[28px]":"rounded-[24px] md:rounded-[22px]",onDone:()=>N(!1)}),(0,t.jsx)(l.Button,{size:j?"icon":"icon-sm","aria-label":p&&h?"Stop":v,onClick:p&&h?h:u,disabled:(!p||!h)&&(f||p||!e.trim()),className:(0,i.cn)("absolute",j?"bottom-2.5 right-2.5 size-10 md:bottom-2 md:right-2":"bottom-2 right-2 md:bottom-1.5 md:right-1.5"),children:p&&h?(0,t.jsx)(n.Square,{className:(0,i.cn)(j?"size-3.5":"size-3","fill-current"),strokeWidth:0}):p?(0,t.jsx)(s.Loader2,{className:(0,i.cn)(j?"size-5":"size-4","animate-spin")}):(0,t.jsx)(r.ArrowUp,{className:j?"size-5":"size-4"})})]})}],765982)},870402,e=>{"use strict";var t=e.i(271645);function a(e){try{return window.sessionStorage.getItem(e)??""}catch{return""}}function r(e,t){try{t?window.sessionStorage.setItem(e,t):window.sessionStorage.removeItem(e)}catch{}}e.s(["DESCRIBE_FORM_DRAFT_KEY",0,"nf-describe-form-draft","loadSessionDraft",0,a,"saveSessionDraft",0,r,"useSessionDraft",0,function(e){let[s,n]=(0,t.useState)("");return(0,t.useEffect)(()=>{let t=a(e);t&&n(e=>e||t)},[e]),[s,function(t){n(t),r(e,t)}]}])},461966,e=>{"use strict";var t=e.i(843476),a=e.i(522016),r=e.i(271645),s=e.i(618566),n=e.i(846696),i=e.i(519455),l=e.i(765982),o=e.i(238967),c=e.i(95187);let d=(0,c.createServerReference)("401c867679d7f8bbbbd5d8dad373fe3f8d96b639cc",c.callServer,void 0,c.findSourceMapURL,"generateFormAction");var u=e.i(870402);let m=["A job application form to hire a software engineer","An RSVP form for a wedding","A feedback survey to improve my coffee shop","A lead form to book demos for my SaaS","A signup form to grow a weekly newsletter"],f=["Contact form","Customer feedback survey","Event RSVP","Job application","Newsletter signup","Bug report"];function p(e){(0,u.saveSessionDraft)(u.DESCRIBE_FORM_DRAFT_KEY,e)}e.s(["PromptHero",0,function({isAuthed:e,suggestions:c=!0}){let h=(0,s.useRouter)(),x=(0,o.useAuthed)(),g=e??x??!1,[b,v]=(0,r.useState)(""),[y,j]=(0,r.useState)(0),[w,N]=(0,r.useTransition)();function S(e=b){let t=e.trim();t&&!w&&(p(""),g?N(async()=>{let e=await d(t);e?.error&&(p(t),n.toast.error(e.error))}):h.push("/auth/register?prompt="+encodeURIComponent(t)))}return(0,r.useEffect)(()=>{let e=(0,u.loadSessionDraft)(u.DESCRIBE_FORM_DRAFT_KEY);e&&v(t=>t||e)},[]),(0,r.useEffect)(()=>
1{if(b)return;let e=setInterval(()=>{j(e=>(e+1)%m.length)},5e3);return()=>clearInterval(e)},[b]),(0,t.jsxs)("div",{className:"relative mx-auto w-full max-w-2xl",children:[(0,t.jsx)(l.PromptInput,{size:"lg",value:b,onChange:function(e){v(e),p(e)},onSubmit:()=>S(),placeholder:`e.g. ${m[y]}`,disabled:w,loading:w,submitAriaLabel:"Build form"}),c&&(0,t.jsxs)("div",{className:"mt-4 flex flex-wrap justify-center gap-2",children:[f.map(e=>(0,t.jsx)(i.Button,{type:"button",variant:"white",size:"sm",onClick:()=>S(e),disabled:w,className:"px-3.5 text-xs",children:e},e)),(0,t.jsx)(i.Button,{asChild:!0,variant:"white",size:"sm",className:"px-3.5 text-xs",children:(0,t.jsx)(a.default,{href:"/templates",children:"See all templates"})})]})]})}],461966)},643957,e=>{"use strict";let t=(0,e.i(456420).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["default",0,t])},689664,e=>{"use strict";var t=e.i(643957);e.s(["Check",()=>t.default])},539816,e=>{"use strict";function t(e,a="/dashboard"){let r=String(e??"");return r.startsWith("/")&&!r.startsWith("//")?r:a}e.s(["authUrlFor",0,function(e,t){return`/auth/${e}?redirectTo=${encodeURIComponent(t)}`},"pricingUrlFrom",0,function(e){let a=t(e);return"/dashboard"===a?"/pricing":`/pricing?from=${encodeURIComponent(a)}`},"safeRedirect",0,t])},905455,e=>{"use strict";var t=e.i(843476),a=e.i(271645),r=e.i(975157);e.s(["SegmentedControl",0,function({value:e,onChange:s,options:n,variant:i="default",ariaLabel:l,className:o}){let c="ghost"===i,d=a.useRef(null),[u,m]=a.useState(null),[f,p]=a.useState(!1),h=a.useCallback(()=>{let e=d.current;if(!e)return;let t=e.querySelector('[aria-selected="true"]');t&&m({x:t.offsetLeft,y:t.offsetTop,w:t.offsetWidth})},[]);return a.useLayoutEffect(h,[h,e,n.length]),a.useEffect(()=>{let e=d.current;if(!e||"u"<typeof ResizeObserver)return;let t=new ResizeObserver(h);return t.observe(e),()=>t.disconnect()},[h]),a.useEffect(()=>{if(u&&!f){let e=requestAnimationFrame(()=>p(!0));return()=>cancelAnimationFrame(e)}},[u,f]),(0,t.jsxs)("div",{ref:d,role:"tablist","aria-label":l,className:(0,r.cn)("relative isolate flex items-center text-sm",c?"h-8 gap-1":"h-[34px] rounded-full bg-surface-subtle p-px",o),children:[u&&(0,t.jsx)("span",{"aria-hidden":!0,className:(0,r.cn)("pointer-events-none absolute top-0 left-0 -z-10 h-8 rounded-full will-change-transform",c?"bg-surface-subtle":"bg-background shadow-card",f&&"transition-[transform,width] duration-200 ease-out motion-reduce:transition-none"),style:{width:u.w,transform:`translate(${u.x}px, ${u.y}px)`}}),n.map(a=>(0,t.jsx)("button",{type:"button",role:"tab","aria-selected":e===a.value,onClick:()=>s(a.value),className:(0,r.cn)("flex h-8 items-center rounded-full px-3.5 font-medium transition-colors duration-200",e===a.value?"text-content-primary":"text-content-tertiary hover:text-content-primary"),children:(0,t.jsxs)("span",{className:"relative",children:[a.label,a.badge&&(0,t.jsx)("span",{className:"absolute -right-2.5 -top-0.5 size-2 rounded-full bg-[#FF272B]","aria-label":"New activity"})]})},a.value))]})}])},232173,e=>{"use strict";var t=e.i(95187);let a=(0,t.createServerReference)("40105d89b20bb1f0b70b50f795645797a499dab6d6",t.callServer,void 0,t.findSourceMapURL,"createPortalAction");e.s(["createPortalAction",0,a])},832239,e=>{"use strict";var t=e.i(843476),a=e.i(271645),r=e.i(522016),s=e.i(632781),n=e.i(618566),i=e.i(846696),l=e.i(519455),o=e.i(95187);let c=(0,o.createServerReference)("60da3b6b9dfec4290970f9d12c8ab6c649880a0c0c",o.callServer,void 0,o.findSourceMapURL,"createCheckoutAction");var d=e.i(232173),u=e.i(539816);function m({isAuthed:e=!1,isPro:n=!1,from:o,annual:f,className:p}){let[h,x]=(0,a.useTransition)(),g=(0,u.authUrlFor)("register",`/pricing?billing=${f?"annual"
1:"monthly"}${o?`&from=${encodeURIComponent((0,u.safeRedirect)(o))}`:""}`);return n?(0,t.jsxs)(l.Button,{variant:"white",size:"pill",className:p,onClick:function(){x(async()=>{let e=await (0,d.createPortalAction)(o??"/pricing");e.url?window.location.href=e.url:i.toast.error(e.error??"Could not open the billing portal.")})},disabled:h,children:[h?(0,t.jsx)(s.Loader2,{className:"size-4 animate-spin"}):null,"Your plan · Manage billing"]}):e?(0,t.jsxs)(l.Button,{size:"pill",className:p,onClick:function(){x(async()=>{let e=await c(f?"yearly":"monthly",o);e.url?window.location.href=e.url:i.toast.error(e.error??"Could not start checkout.")})},disabled:h,children:[h?(0,t.jsx)(s.Loader2,{className:"size-4 animate-spin"}):null,"Upgrade to Pro"]}):(0,t.jsx)(l.Button,{asChild:!0,size:"pill",className:p,children:(0,t.jsx)(r.default,{href:g,children:"Upgrade to Pro"})})}e.s(["ProCta",0,m,"ProCtaFromUrl",0,function(e){let a="annual"===(0,n.useSearchParams)().get("billing");return(0,t.jsx)(m,{...e,annual:a})}],832239)},701573,e=>{"use strict";var t=e.i(843476),a=e.i(271645),r=e.i(522016),s=e.i(689664),n=e.i(519455),i=e.i(905455),l=e.i(130414),o=e.i(272948);function c(){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.GlowDrift,{className:"pointer-events-none absolute inset-0 -z-10 animate-hue-drift bg-[radial-gradient(140%_140%_at_50%_0%,rgb(251,240,198)_0%,rgb(252,244,214)_55%,rgba(255,254,249,0)_100%)] opacity-40 dark:opacity-15"}),(0,t.jsx)(o.HeroMesh,{desktopOnly:!0,className:"pointer-events-none absolute inset-0 -z-10 [mask-image:radial-gradient(140%_140%_at_50%_0%,black_0%,black_55%,transparent_100%)] opacity-40 dark:opacity-15"})]})}var d=e.i(832239);let u=["Unlimited forms & submissions","All question types, logic & recall","Themes, embeds & analytics","File uploads up to 10 MB","100 AI prompts / month","Small Nicelyformed badge on forms"],m=["Everything in Free","1,000 AI prompts / month","No badge on your forms","File uploads up to 100 MB"];e.s(["PricingPlans",0,function({ctaHref:e,isAuthed:l=!1,isPro:o=!1,from:f,initialAnnual:p=!1}){let[h,x]=(0,a.useState)(p),g=h?"$199":"$19.99",b=h?"/year":"/month";return(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"mb-12 flex justify-center",children:(0,t.jsx)(i.SegmentedControl,{value:h?"annual":"monthly",onChange:function(e){x("annual"===e);let t=new URL(window.location.href);t.searchParams.set("billing",e),window.history.replaceState(null,"",t)},ariaLabel:"Billing period",options:[{value:"monthly",label:"Monthly"},{value:"annual",label:(0,t.jsxs)("span",{className:"flex items-center gap-2",children:["Annual",(0,t.jsx)("span",{className:"-mr-2.5 flex h-6 items-center rounded-full bg-[#FF272B] px-2.5 pb-px text-xs font-semibold text-white",children:"2 months free"})]})}]})}),(0,t.jsxs)("div",{className:"mx-auto grid max-w-4xl divide-y divide-border-subtle overflow-hidden rounded ring ring-border-subtle md:grid-cols-2 md:divide-x md:divide-y-0 ",children:[(0,t.jsxs)("div",{className:"flex flex-col bg-white p-8 dark:bg-neutral-900",children:[(0,t.jsx)("h3",{className:"font-serif text-[28px] font-medium leading-[1.15] tracking-[-0.04em] sm:text-3xl lg:text-[32px]",children:"Free"}),(0,t.jsx)("p",{className:"mt-1 text-sm text-muted-foreground",children:"Everything you need to get started."}),(0,t.jsxs)("div",{className:"mt-6 flex items-baseline gap-1",children:[(0,t.jsx)("span",{className:"text-4xl font-bold tracking-tight",children:"$0"}),(0,t.jsx)("span",{className:"text-muted-foreground",children:"/forever"})]}),(0,t.jsx)(n.Button,{asChild:!0,variant:"secondary",size:"pill",className:"mt-6 w-full",children:(0,t.jsx)(r.default,{href:e,children:"Get started"})}),(0,t.jsx)("ul",{className:"mt-8 space-y-3",children:u.map(e=>(0,t.jsxs)("li",{className:"flex items-start gap-3 text-sm",children:[(0,t.jsx)(s.Check,{className:"mt-0.5 size-4 shrink-0 text-primary"}),(0,t.jsx)("span",{children:e})]},e))})]}),(0,t.jsxs)("div",{className:"relative isolate flex flex-col bg-white p-8 dark:bg-neutral-900",children:[(0,t.jsx)(c,{}),(0,t.jsx)("h3",{className:"font-serif text-[28px] font-medium leading-[1.15] tracking-[-0.04em] sm:text-3xl lg:text-[32px]",children:"Pro"}),(0,t.jsx)("p",{className:"mt-1 text-sm text-muted-foreground",children:"For makers and team
1s who ship."}),(0,t.jsxs)("div",{className:"mt-6 flex items-baseline gap-1",children:[(0,t.jsx)("span",{className:"text-4xl font-bold tracking-tight",children:g}),(0,t.jsx)("span",{className:"text-muted-foreground",children:b})]}),h&&(0,t.jsx)("p",{className:"mt-1 text-xs text-muted-foreground",children:"Billed once annually · two months free"}),(0,t.jsx)(d.ProCta,{isAuthed:l,isPro:o,from:f,annual:h,className:"mt-6 w-full"}),(0,t.jsx)("ul",{className:"mt-8 space-y-3",children:m.map(e=>(0,t.jsxs)("li",{className:"flex items-start gap-3 text-sm",children:[(0,t.jsx)(s.Check,{className:"mt-0.5 size-4 shrink-0 text-primary"}),(0,t.jsx)("span",{children:e})]},e))})]})]})]})}],701573)},31026,e=>{e.v(t=>Promise.all(["static/chunks/1yv07b9clkx5e.js"].map(t=>e.l(t))).then(()=>t(208146)))}]);
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.