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:i}){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:i,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),i=e.i(96892),r=e.i(632781),n=e.i(929272),s=e.i(975157),l=e.i(519455),o=e.i(881149);function c({text:e,className:i}){let[r,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,s.cn)("pointer-events-none absolute grid grid-cols-[100%] select-none text-start text-content-tertiary",i),children:[null!==r.prev&&(0,t.jsx)("span",{className:"animate-placeholder-out truncate [grid-area:1/1] motion-reduce:hidden",children:r.prev},`out-${r.gen}`),(0,t.jsx)("span",{className:(0,s.cn)("truncate [grid-area:1/1]",r.gen>0&&"animate-placeholder-in motion-reduce:animate-none"),children:r.cur},`in-${r.gen}`)]})}e.s(["RotatingPlaceholder",0,c],446181),2e3.toLocaleString(),e.s(["PromptInput",0,function({value:e,onChange:d,onSubmit:u,placeholder:h,disabled:m,loading:p,onStop:g,autoFocus:f,focusSignal:x,size:b="lg",submitAriaLabel:k="Send",className:v}){let y="lg"===b,[w,_]=a.useState(!1),S=a.useRef(0),E=a.useRef(null);return a.useEffect(()=>{f&&(E.current?.focus(),_(!0))},[f]),a.useEffect(()=>{x&&(E.current?.focus(),_(!0))},[x]),a.useLayoutEffect(()=>{let t=E.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,s.cn)("relative",v),children:[(0,t.jsx)("textarea",{ref:E,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&&_(!0)},rows:1,maxLength:2e3,disabled:m,placeholder:h,className:(0,s.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",y?"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&&h&&(0,t.jsx)(c,{text:h,className:(0,s.cn)("inset-0 text-base md:text-sm",y?"py-[18px] pl-6 pr-16":"py-3 pl-4 pr-12")}),w&&(0,t.jsx)(o.GradientSweep,{className:y?"rounded-[30px] md:rounded-[28px]":"rounded-[24px] md:rounded-[22px]",onDone:()=>_(!1)}),(0,t.jsx)(l.Button,{size:y?"icon":"icon-sm","aria-label":p&&g?"Stop":k,onClick:p&&g?g:u,disabled:(!p||!g)&&(m||p||!e.trim()),className:(0,s.cn)("absolute",y?"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&&g?(0,t.jsx)(n.Square,{className:(0,s.cn)(y?"size-3.5":"size-3","fill-current"),strokeWidth:0}
1):p?(0,t.jsx)(r.Loader2,{className:(0,s.cn)(y?"size-5":"size-4","animate-spin")}):(0,t.jsx)(i.ArrowUp,{className:y?"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 i(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,i,"useSessionDraft",0,function(e){let[r,n]=(0,t.useState)("");return(0,t.useEffect)(()=>{let t=a(e);t&&n(e=>e||t)},[e]),[r,function(t){n(t),i(e,t)}]}])},461966,e=>{"use strict";var t=e.i(843476),a=e.i(522016),i=e.i(271645),r=e.i(618566),n=e.i(846696),s=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 h=["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"],m=["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 g=(0,r.useRouter)(),f=(0,o.useAuthed)(),x=e??f??!1,[b,k]=(0,i.useState)(""),[v,y]=(0,i.useState)(0),[w,_]=(0,i.useTransition)();function S(e=b){let t=e.trim();t&&!w&&(p(""),x?_(async()=>{let e=await d(t);e?.error&&(p(t),n.toast.error(e.error))}):g.push("/auth/register?prompt="+encodeURIComponent(t)))}return(0,i.useEffect)(()=>{let e=(0,u.loadSessionDraft)(u.DESCRIBE_FORM_DRAFT_KEY);e&&k(t=>t||e)},[]),(0,i.useEffect)(()=>{if(b)return;let e=setInterval(()=>{y(e=>(e+1)%h.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){k(e),p(e)},onSubmit:()=>S(),placeholder:`e.g. ${h[v]}`,disabled:w,loading:w,submitAriaLabel:"Build form"}),c&&(0,t.jsxs)("div",{className:"mt-4 flex flex-wrap justify-center gap-2",children:[m.map(e=>(0,t.jsx)(s.Button,{type:"button",variant:"white",size:"sm",onClick:()=>S(e),disabled:w,className:"px-3.5 text-xs",children:e},e)),(0,t.jsx)(s.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)},26495,e=>{"use strict";let t=(0,e.i(456420).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["default",0,t])},716327,e=>{"use strict";var t=e.i(26495);e.s(["ChevronDown",()=>t.default])},786563,e=>{"use strict";let t=(0,e.i(456420).default)("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"}]]);e.s(["Star",0,t],786563)},689664,e=>{"use strict";var t=e.i(643957);e.s(["Check",()=>t.default])},986253,e=>{"use strict";let t=(0,e.i(456420).default)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);e.s(["default",0,t])},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])},144716,e=>{"use strict";let t=(0,e.i(456420).default)("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);e.s(["default",0,t])},693008,e=>{"use strict";var t=e.i(927639);e.i(156669);var a=e.i(20371),i=e.i(229823),r=e.i(132280),n=e.i(322153),s=e.i(412091),l=e.i(189968),o=e.i(796895),c=e.i(372563),d=e.i(566810),u=e.i(930771),h=e.i(328802),m=e.i(831023),p=e.i(720041),g=e.i(348848),f=e.i(952554),x=e.i(104389),b=e.i(33111),k=e.i(150571),v=e.i(127008),y=e.i(601009),w=e.i(329826),_=e.i(457866),S=e.i(788799),E=e.i(734958),L=e.i(863828);let C={text:"Short answer",email:"Email",phone:"Phone",link:"Link",textarea:"Long answer",number:"Number",date:"Date",time:"Time",checkbox:"Multiple choice",radio:"Single choice",select:"Dropdown",ranking:"Ranking",matrix:"Matrix",rating:"Rating",linear_scale:"Linear scale",file:"File upload",h1:"Heading 1",h2:"Heading 2",h3:"Heading 3",paragraph:"Paragraph",bulleted_list:"Bulleted list",quote:"Quote",divider:"Divider",image:"Image",page_break:"Page break"},j={text:["text","short","input","name","single line","string","field"],email:["email","mail","address","@"],phone:["phone","tel","telephone","mobile","number"],link:["link","url","website","web address","http","https","site","portfolio","linkedin"],textarea:["textarea","long","paragraph answer","multi line","comment","message","essay"],number:["number","numeric","integer","amount","quantity","age"],date:["date","calendar","day","birthday","when"],time:["time","clock","hour"],checkbox:["checkbox","checkboxes","multiple","multi select","many","tick"],radio:["radio","single","one","choice","option","yes no","yes/no","boolean"],select:["select","dropdown","drop down","list","menu","country"],ranking:["ranking","rank","order","sort","priority"],matrix:["matrix","grid","table","likert","rows columns"],rating:["rating","stars","star","score","review"],linear_scale:["linear","scale","nps","1 to 10","slider","range","opinion"],file:["file","upload","attachment","document","photo","pdf","cv","resume"],h1:["h1","heading","title","header","large heading","big"],h2:["h2","heading","subheading","header","medium heading"],h3:["h3","heading","small heading","header","subtitle"],paragraph:["paragraph","text","p","body","description","note","copy","plain"],bulleted_list:["bullet","bulleted list","bullets","list","ul","unordered","points","item"],quote:["quote","blockquote","quotation","callout","testimonial","citation"],divider:["divider","hr","line","separator","rule","break"],image:["image","img","picture","photo","media","logo","gif"],page_break:["page break","page","break","step","section","next page","multi step"]},N={text:v.ShortAnswer,email:n.Email,phone:x.Phone,link:u.Link,textarea:h.LongAnswer,number:g.NumberSign,date:a.Calendar,time:_.Time,checkbox:p.MultipleChoice,radio:y.SingleChoice,select:r.Dropdown,ranking:k.Ranking,matrix:m.Matrix,rating:w.Star,linear_scale:d.LinearScale,file:S.Upload,h1:s.Heading1,h2:l.Heading2,h3:o.Heading3,paragraph:b.Pilcrow,bulleted_list:E.BulletedList,quote:L.Quote,divider:i.Divider,image:c.Image,page_break:f.PageBreak},D=["text","textarea","email","phone","link","number","select","radio","checkbox","ranking","matrix","date","time","rating","linear_scale","file"],R=["h1","h2","h3","paragraph","bulleted_list","quote","divider","image","page_break"],A=0;function M(e){let t={block_type:e,name:(A+=1,`${e}_${Date.now().toString(36)}${A}`),label:"",data:{}};switch(e){case"checkbox":case"radio":case"select":return{...t,options:["",""]};case"ranking":return{...t,options:["","",""]};case"matrix":return{...t,options:["","",""],data:{rows:["","",""]}};case"rating":return{...t,data:{scaleStart:1,scaleEnd:5}};case"linear_scale":return{...t,data:{scaleStart:0,scaleEnd:10}};case"h1":case"h2":case"h3":case"paragraph":case"bulleted_list":case"quote":return{...t,data:{text:""}}
1;case"divider":case"page_break":return{...t,data:{}};case"image":return{...t,data:{url:""}};case"email":return{...t,label:"Email address"};case"phone":return{...t,label:"Phone number"};case"date":return{...t,label:"Date"};case"time":return{...t,label:"Time"};case"file":return{...t,label:"Upload a file"};default:return t}}e.s(["BLOCK_ICONS",0,N,"BLOCK_KEYWORDS",0,j,"BLOCK_LABELS",0,C,"BLOG_PALETTE",0,{input:[],layout:["h1","h2","h3","paragraph","bulleted_list","quote","divider","image"],blockFont:{h1:"font-serif text-[32px] font-medium leading-[1.2] tracking-[-0.04em]",h2:"font-serif text-[28px] font-medium leading-[1.25] tracking-[-0.04em]",h3:"font-serif text-2xl font-medium tracking-[-0.03em]"}},"FORM_PALETTE",0,{input:D,layout:R},"INPUT_MENU",0,D,"LAYOUT_MENU",0,R,"blockMatches",0,function(e,t){let a=t.trim().toLowerCase();if(!a)return!0;let i=[C[e].toLowerCase(),...j[e]];if(i.some(e=>e.includes(a)))return!0;let r=a.split(/\s+/);return i.some(e=>{let t=e.split(/[\s/]+/);return r.every(e=>t.some(t=>t.startsWith(e)))})},"createBlock",0,M,"trimTrailingLines",0,function(e){let a=e.length;for(;a>0&&(0,t.isBlankLine)(e[a-1]);)a-=1;return a===e.length?e:e.slice(0,a)},"withTrailingLine",0,function(e){let a=e[e.length-1];if(a&&(0,t.isBlankLine)(a))return e;let i="paragraph_tail";for(let t=2;e.some(e=>e.name===i);t+=1)i=`paragraph_tail${t}`;return[...e,{...M("paragraph"),name:i}]}])},867927,e=>{"use strict";var t=e.i(986253);e.s(["ChevronRight",()=>t.default])},994004,950786,e=>{"use strict";var t=e.i(456420);let a=(0,t.default)("history",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]]);e.s(["History",0,a],994004);let i=(0,t.default)("palette",[["path",{d:"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",key:"e79jfc"}],["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}]]);e.s(["Palette",0,i],950786)},926787,e=>{"use strict";let t=(0,e.i(456420).default)("maximize-2",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]]);e.s(["Maximize2",0,t],926787)},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.