1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5240],{3909:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/templates",function(){return n(2095)}])},1815:function(e,t,n){"use strict";n.d(t,{z:function(){return d}});var a=n(5893);n(7294);var r=n(9008),l=n.n(r),i=n(8929),c=n(221),o=n(9128),s=n(148),u=n(4440),m=n(3769);function d(e){var t;let{title:n,description:r,path:d,jsonLd:p,breadcrumbs:h,robots:g,wide:f=!1,socialImage:y=o.H,citeAs:x,markdownTwinHref:_,children:j}=e,w=["/practice-guides","/toolkits","/checklists","/surveys","/templates"].includes(d)||d.startsWith("/toolkits/"),b="".concat(i.E.canonicalHost).concat(d),v=n===i.E.publisher?i.E.publisher:"".concat(n," | ").concat(i.E.publisher),k=(0,s.ck)((0,s.zT)(p,h,d)),N=(0,o.c)(y.url),S=null!==(t=y.alt)&&void 0!==t?t:n;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(l(),{children:[(0,a.jsx)("title",{children:v}),(0,a.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),(0,a.jsx)("meta",{name:"description",content:r}),g?(0,a.jsx)("meta",{name:"robots",content:g}):null,(0,a.jsx)("link",{rel:"canonical",href:b}),_?(0,a.jsx)("link",{rel:"alternate",type:c.jV,href:_}):null,(0,a.jsx)("meta",{property:"og:title",content:n}),(0,a.jsx)("meta",{property:"og:description",content:r}),(0,a.jsx)("meta",{property:"og:site_name",content:i.E.publisher}),(0,a.jsx)("meta",{property:"og:url",content:b}),(0,a.jsx)("meta",{property:"og:type",content:"website"}),(0,a.jsx)("meta",{property:"og:image",content:N}),(0,a.jsx)("meta",{property:"og:image:width",content:"".concat(y.width)}),(0,a.jsx)("meta",{property:"og:image:height",content:"".concat(y.height)}),(0,a.jsx)("meta",{property:"og:image:alt",content:S}),(0,a.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,a.jsx)("meta",{name:"twitter:title",content:n}),(0,a.jsx)("meta",{name:"twitter:description",content:r}),(0,a.jsx)("meta",{name:"twitter:image",content:N}),(0,a.jsx)("meta",{name:"twitter:image:alt",content:S}),(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:(0,s.BJ)(k)}})]}),(0,a.jsx)("a",{className:"skip-link",href:"#content",children:"Skip to content"}),(0,a.jsx)(u.H,{breadcrumbs:h}),(0,a.jsx)("main",{id:"content",className:"".concat(f?"marketing-page marketing-page--wide":"marketing-page").concat(w?" resource-index":""),children:j}),(0,a.jsx)(m.n,{citeAs:x})]})}},9039:function(e,t,n){"use strict";n.d(t,{BE:function(){return r},Iy:function(){return c},RK:function(){return l},sC:function(){return i}});var a=n(16);function r(e){return[{label:"Home",href:"/"},{label:e}]}function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return[{label:"Home",href:"/"},{label:"Practice Guides",href:"/practice-guides"},...t,{label:e}]}function i(e,t){return[{label:"Home",href:"/"},{label:"Surveys",href:"/surveys"},{label:(0,a.mP)(e),href:"/practice-guides/".concat(e)},{label:t}]}function c(e,t,n){return[{label:"Home",href:"/"},{label:"Templates",href:"/templates"},{label:t,href:"/templates#group-".concat(e)},{label:n}]}},5556:function(e,t,n){"use strict";function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,n=null==e?void 0:e.trim();if(n)return n.slice(0,t)}function r(e,t){return e.reduce((e,n)=>e+n.entries.filter(e=>"all"===t||e.category===t).length,0)}function l(e,t){return{tmpl_category:a(e),tmpl_results_count:t,source:"templates_page",doc_type:"template"}}function i(e,t){return{tmpl_slug:a(e.slug),tmpl_title:a(e.name),tmpl_category:a(e.category),doc_type:"template",tmpl_from_category_filter:"all"!==t?a(t):void 0}}function c(e){var t;return e.externalDownload?null:{tmpl_slug:a(e.slug),tmpl_category:a(e.category),tmpl_source:a(e.source),tmpl_license:a(e.license),download_format:null!==(t=e.downloadFormat)&&void 0!==t?t:"docx",...e.annotationVariant?{annotation_variant:e.annotationVariant}:{},doc_type:"template"}}n.d(t,{KB:function(){return r},ZY:function(){return i},er:function(){return c},iU:function(){return l}})},2448:function(e,t,n){"use strict";n.d(t,{DR:function(){return l},SK:function(){return i},y:function(){return r}});var a=n(7294);function r(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"all",a=new Set(t);return{key:e,default:n,parse:e=>a.has(e)?e:n}}function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"q",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e;return{key:e,default:"",parse:e=>t(e),isDefault:e=>""===e.trim()}}function i(e){let t=a.useMemo(()=>Object.keys(e),[e]),n=a.useMemo(()=>{let n={};for(let a of t)n[a]=e[a].default;return n},[t]),[r,l]=a.useState(n),i=a.useRef(e);i.current=e;let c=a.useRef(r);return c.current=r,a.useEffect(()=>{l(function(e,t,n){let a=new URLSearchParams(n),r={};for(let n of t){let t=a.get(e[n].key);r[n]=null===t?e[n].default:e[n].parse(t)}return r}(i.current,t,window.location.search))},[]),[r,a.useCallback((e,n)=>{let a={...c.current,[e]:n};c.current=a,l(a);let r=new URLSearchParams(window.location.search);for(let e of t){var o;let t=i.current[e];(o=a[e],t.isDefault?t.isDefault(o):o===t.default)?r.delete(t.key):r.set(t.key,a[e])}r.sort();let s=r.toString(),u="".concat(window.location.pathname).concat(s?"?".concat(s):"").concat(window.location.hash);window.history.replaceState(window.history.state,"",u)},[t])]}},2095:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return h},default:function(){return g}});var a=n(5893),r=n(7294),l=n(1664),i=n.n(l),c=n(1815);let o=new Set(["yc-safe-valuation-cap"]);var s=n(9039),u=n(8782),m=n(2448),d=n(5556),p=n(2532),h=!0;function g(e){let{groups:t,total:n,jsonLd:l}=e,[h,g]=(0,m.SK)({category:(0,m.y)("category",t.map(e=>e.category))}),f=h.category,y="all"===f;r.useEffect(()=>{var e;let t=null===(e=new URLSearchParams(window.location.search).get("q"))||void 0===e?void 0:e.trim();t&&window.location.replace((0,p.mm)(t))},[]);let x=e=>{let n=(0,d.KB)(t,e),a=(0,d.iU)(e,n);(0,u.j)({name:"template_category_filter",tmpl_category:a.tmpl_category,tmpl_results_count:a.tmpl_results_count,source:a.source,doc_type:a.doc_type}),g("category",e)};return(0,a.jsxs)(c.z,{title:"Free Contract Templates",description:"Free, ready-to-use contract templates for startups and in-house teams: NDAs, SaaS & licensing agreements, SAFEs, venture-financing and employment forms.",path:"/templates",jsonLd:l,breadcrumbs:(0,s.BE)("Templates"),children:[(0,a.jsxs)("section",{className:"marketing-section index-intro",children:[(0,a.jsx)("h1",{children:"Contract Templates"}),(0,a.jsxs)("p",{className:"subtitle",children:[n," free, ready-to-use contract templates, grouped by deal stage. Each links to a fillable form you can review and download."]})]}),(0,a.jsx)("section",{className:"marketing-section template-filter","aria-label":"Filter templates",children:(0,a.jsxs)("div",{className:"template-category-pills",role:"group","aria-label":"Template categories",children:[(0,a.jsxs)("button",{type:"button",className:"all"===f?"template-pill template-pill--active":"template-pill","aria-pressed":"all"===f,onClick:()=>x("all"),children:["All (",n,")"]}),t.map(e=>(0,a.jsxs)("button",{type:"button",className:f===e.category?"template-pill template-pill--active":"template-pill","aria-pressed":f===e.category,onClick:()=>x(e.category),children:[e.label,e.entries.length>1?" (".concat(e.entries.length,")"):""]},e.category))]})}),t.map(e=>{let t=e.entries.filter(e=>"all"===f||e.category===f),n=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:4;
1return!t||e.length<=n?{entries:[...e],hiddenCount:0,isPreviewLimited:!1}:{entries:e.slice(0,n),hiddenCount:e.length-n,isPreviewLimited:!0}}(t,y),r=new Set(n.entries.map(e=>e.slug));return(0,a.jsxs)("section",{className:"marketing-section index-group","aria-labelledby":"group-".concat(e.category),hidden:0===t.length,children:[(0,a.jsx)("h2",{className:"index-group-title",id:"group-".concat(e.category),children:e.label}),(0,a.jsx)("ul",{className:"index-card-list",children:e.entries.map(e=>(0,a.jsx)("li",{className:"index-card",hidden:!r.has(e.slug),children:(0,a.jsxs)(i(),{href:e.route,className:"index-card-link",onClick:()=>{let t=(0,d.ZY)(e,f);(0,u.j)({name:"template_card_click",tmpl_slug:t.tmpl_slug,tmpl_title:t.tmpl_title,tmpl_category:t.tmpl_category,doc_type:t.doc_type,tmpl_from_category_filter:t.tmpl_from_category_filter})},children:[e.thumbnailSrc?(0,a.jsx)("img",{className:"index-card-thumb",src:e.thumbnailSrc,alt:"".concat(e.name," template preview"),width:"84",height:"108",loading:"lazy"}):(0,a.jsx)("span",{className:"index-card-thumb--placeholder","aria-hidden":"true",children:(0,a.jsxs)("svg",{viewBox:"0 0 24 24",width:"32",height:"32",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,a.jsx)("path",{d:"M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z"}),(0,a.jsx)("path",{d:"M14 3v5h5"}),(0,a.jsx)("path",{d:"M9 13h6M9 17h6"})]})}),(0,a.jsxs)("span",{className:"index-card-copy",children:[e.sourceName?(0,a.jsx)("span",{className:"index-card-source",children:e.sourceName}):null,(0,a.jsxs)("span",{className:"index-card-title",children:[e.name,o.has(e.slug)?(0,a.jsx)("span",{className:"index-card-badge",children:"Most common"}):null]}),(0,a.jsx)("span",{className:"index-card-desc",children:e.description})]})]})},e.slug))}),n.isPreviewLimited?(0,a.jsxs)("p",{className:"template-group-more",children:[(0,a.jsxs)(i(),{href:{pathname:"/templates",query:{category:e.category}},onClick:()=>x(e.category),children:["View all ",e.entries.length," ",e.label," templates"]}),(0,a.jsxs)("span",{className:"template-group-more-count",children:[n.hiddenCount," more"]})]}):null]},e.category)})]})}}},function(e){e.O(0,[262,8773,2888,9774,179],function(){return e(e.s=3909)}),_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.