1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9063],{4966:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var r=i(37876),n=i(44851),o=i(94018),l=i(54587),s=i.n(l);function a(t){let{image:e,style:i={},className:l,alt:a,width:u,quality:h=100}=t,p=(0,o.G)(n.G2,e,{imageBuilder:(t,e)=>t.width(u||Math.min(e.originalImageDimensions.width,2e3))});return(0,r.jsx)(s(),{...p,quality:h,alt:null!=a?a:"",style:{...i},className:l})}},15066:(t,e,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/compare/[slug]",function(){return i(57164)}])},54815:(t,e,i)=>{"use strict";let r;i.d(e,{i:()=>m});let n="image-Tb9Ew8CXIwaY6R1kjMvI0uRR-2000x3000-jpg";function o(t){return`image-${t.split("/").slice(-1)[0]}`.replace(/\.([a-z]+)$/,"-$1")}let l=[["width","w"],["height","h"],["format","fm"],["download","dl"],["blur","blur"],["sharpen","sharp"],["invert","invert"],["orientation","or"],["minHeight","min-h"],["maxHeight","max-h"],["minWidth","min-w"],["maxWidth","max-w"],["quality","q"],["fit","fit"],["crop","crop"],["saturation","sat"],["auto","auto"],["dpr","dpr"],["pad","pad"],["frame","frame"]],s=["clip","crop","fill","fillmax","max","scale","min"],a=["top","bottom","left","right","center","focalpoint","entropy"],u=["format"];function h(t){let{apiHost:e,projectId:i,dataset:r}=t,n={baseUrl:(e||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn.")},o=t["~experimental_resource"];if(o?.type==="media-library"){if("string"!=typeof o.id||0===o.id.length)throw Error('Media library clients must include an id in "~experimental_resource"');return{...n,mediaLibraryId:o.id}}return{...n,projectId:i,dataset:r}}function p(t){return t&&"config"in t&&"function"==typeof t.config?h(t.config()):t&&"clientConfig"in t&&"object"==typeof t.clientConfig?h(t.clientConfig):t||{}}class d{options;constructor(t,e){this.options=t?{...t.options||{},...e||{}}:{...e||{}}}withOptions(t){return new d(this,function(t,e){let i=e.baseUrl||t.baseUrl,r={baseUrl:i};for(let t in e)e.hasOwnProperty(t)&&(r[function(t){for(let e of l){let[i,r]=e;if(t===i||t===r)return i}return t}(t)]=e[t]);return{baseUrl:i,...r}}(this.options,t))}image(t){return this.withOptions({source:t})}dataset(t){return this.withOptions({dataset:t})}projectId(t){return this.withOptions({projectId:t})}withClient(t){let e=p(t),i={...this.options};return delete i.baseUrl,delete i.projectId,delete i.dataset,delete i.mediaLibraryId,new d(null,{...e,...i})}bg(t){return this.withOptions({bg:t})}dpr(t){return this.withOptions(t&&1!==t?{dpr:t}:{})}width(t){return this.withOptions({width:t})}height(t){return this.withOptions({height:t})}focalPoint(t,e){return this.withOptions({focalPoint:{x:t,y:e}})}maxWidth(t){return this.withOptions({maxWidth:t})}minWidth(t){return this.withOptions({minWidth:t})}maxHeight(t){return this.withOptions({maxHeight:t})}minHeight(t){return this.withOptions({minHeight:t})}size(t,e){return this.withOptions({width:t,height:e})}blur(t){return this.withOptions({blur:t})}sharpen(t){return this.withOptions({sharpen:t})}rect(t,e,i,r){return this.withOptions({rect:{left:t,top:e,width:i,height:r}})}format(t){return this.withOptions({format:t})}invert(t){return this.withOptions({invert:t})}orientation(t){return this.withOptions({orientation:t})}quality(t){return this.withOptions({quality:t})}forceDownload(t){return this.withOptions({download:t})}flipHorizontal(){return this.withOptions({flipHorizontal:!0})}flipVertical(){return this.withOptions({flipVertical:!0})}ignoreImageParams(){return this.withOptions({ignoreImageParams:!0})}fit(t){if(-1===s.indexOf(t))throw Error(`Invalid fit mode "${t}"`);return this.withOptions({fit:t})}crop(t){if(-1===a.indexOf(t))throw Error(`Invalid crop mode "${t}"`);return this.withOptions({crop:t})}saturation(t){return this.withOptions({saturation:t})}auto(t){if(-1===u.indexOf(t))throw Error(`Invalid auto mode "${t}"`);return this.withOptions({auto:t})}pad(t){return this.withOptions({pad:t})}vanityName(t){return this.withOptions({vanityName:t})}frame(t){if(1!==t)throw Error(`Invalid frame value "${t}"`);return this.withOptions({frame:t})}url(){return function(t){let e={...t||{}},i=e.source;delete e.source;let r=function(t){var e;let i;if(!t)return null;if("string"==typeof t&&(e=t,/^https?:\/\//.test(`${e}`)))i={asset:{_ref:o(t)}};else if("string"==typeof t)i={asset:{_ref:t}};else if(t&&"string"==typeof t._ref)i={asset:t};else if(t&&"string"==typeof t._id)i={asset:{_ref:t._id||""}};else if(t&&t.asset&&"string"==typeof t.asset.url)i={asset:{_ref:o(t.asset.url)}};else{if("object"!=typeof t.asset)return null;i={...t}}return t.crop&&(i.crop=t.crop),t.hotspot&&(i.hotspot=t.hotspot),function(t){if(t.crop&&t.hotspot)return t;let e={...t};return e.crop||(e.crop={left:0,top:0,bottom:0,right:0}),e.hotspot||(e.hotspot={x:.5,y:.5,height:1,width:1}),e}(i)}(i);if(!r){if(i&&"object"==typeof i&&null!==i&&i._upload&&(!i.asset||!i.asset._ref))return"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8HwQACfsD/QNViZkAAAAASUVORK5CYII=";throw Error(`Unable to resolve image URL from source (${JSON.stringify(i)})`)}let s=function(t){let[,e,i,r]=t.split("-");if(!e||!i||!r)throw Error(`Malformed asset _ref '${t}'. Expected an id like "${n}".`);let[o,l]=i.split("x"),s=+o,a=+l;if(!(isFinite(s)&&isFinite(a)))throw Error(`Malformed asset _ref '${t}'. Expected an id like "${n}".`);return{id:e,width:s,height:a,format:r}}(r.asset._ref||r.asset._id||""),a=Math.round(r.crop.left*s.width),u=Math.round(r.crop.top*s.height),h={left:a,top:u,width:Math.round(s.width-r.crop.right*s.width-a),height:Math.round(s.height-r.crop.bottom*s.height-u)},p=r.hotspot.height*s.height/2,d=r.hotspot.width*s.width/2,c=r.hotspot.x*s.width,f=r.hotspot.y*s.height;return e.rect||e.focalPoint||e.ignoreImageParams||e.crop||(e={...e,...function(t,e){let i,r=e.width,n=e.he
1ight;if(!(r&&n))return{width:r,height:n,rect:t.crop};let o=t.crop,l=t.hotspot,s=r/n;if(o.width/o.height>s){let t=Math.round(o.height),e=Math.round(t*s),r=Math.max(0,Math.round(o.top)),n=Math.max(0,Math.round(Math.round((l.right-l.left)/2+l.left)-e/2));n<o.left?n=o.left:n+e>o.left+o.width&&(n=o.left+o.width-e),i={left:n,top:r,width:e,height:t}}else{let t=o.width,e=Math.round(t/s),r=Math.max(0,Math.round(o.left)),n=Math.max(0,Math.round(Math.round((l.bottom-l.top)/2+l.top)-e/2));n<o.top?n=o.top:n+e>o.top+o.height&&(n=o.top+o.height-e),i={left:r,top:n,width:t,height:e}}return{width:r,height:n,rect:i}}({crop:h,hotspot:{left:c-d,top:f-p,right:c+d,bottom:f+p}},e)}),function(t){let e=(t.baseUrl||"https://cdn.sanity.io").replace(/\/+$/,""),i=t.vanityName?`/${t.vanityName}`:"",r=`${t.asset.id}-${t.asset.width}x${t.asset.height}.${t.asset.format}${i}`,n=t.mediaLibraryId?`${e}/media-libraries/${t.mediaLibraryId}/images/${r}`:`${e}/images/${t.projectId}/${t.dataset}/${r}`,o=[];if(t.rect){let{left:e,top:i,width:r,height:n}=t.rect;(0!==e||0!==i||n!==t.asset.height||r!==t.asset.width)&&o.push(`rect=${e},${i},${r},${n}`)}t.bg&&o.push(`bg=${t.bg}`),t.focalPoint&&(o.push(`fp-x=${t.focalPoint.x}`),o.push(`fp-y=${t.focalPoint.y}`));let s=[t.flipHorizontal&&"h",t.flipVertical&&"v"].filter(Boolean).join("");return s&&o.push(`flip=${s}`),l.forEach(e=>{let[i,r]=e;"u">typeof t[i]?o.push(`${r}=${encodeURIComponent(t[i])}`):"u">typeof t[r]&&o.push(`${r}=${encodeURIComponent(t[r])}`)}),0===o.length?n:`${n}?${o.join("&")}`}({...e,asset:s})}(this.options)}toString(){return this.url()}}r=["The default export of @sanity/image-url has been deprecated. Use the named export `createImageUrlBuilder` instead."],(...t)=>{console.warn(r.join(" "),...t)};var c=i(30975);let f=new d(null,p({projectId:null!==c.Lg&&void 0!==c.Lg?c.Lg:"",dataset:null!==c.RT&&void 0!==c.RT?c.RT:""})),m=t=>f.image(t).auto("format").fit("max")},57164:(t,e,i)=>{"use strict";i.r(e),i.d(e,{__N_SSG:()=>y,default:()=>b});var r=i(37876),n=i(2357),o=i(57232),l=i(84805),s=i(25210),a=i(65480),u=i(67992),h=i(11543),p=i(4966),d=i(40088),c=i(47796);function f(t){let{title:e,subTitle:i,description:n,className:o}=t;return(0,r.jsxs)("div",{className:(0,d.cn)("text-center space-y-4 max-w-2xl mx-auto",o),children:[(0,r.jsxs)("div",{className:"space-y-4",children:[i&&(0,r.jsx)("p",{className:"text-lg font-medium text-gray-700",children:i}),(0,r.jsx)("h4",{className:"text-2xl font-semibold text-gray-900 text-balance",children:e})]}),n&&(0,r.jsx)("div",{className:"leading-relaxed mx-auto text-gray-600 text-balance",children:"string"==typeof n?(0,r.jsx)(r.Fragment,{children:n}):(0,r.jsx)(c.RK,{value:n})})]})}function m(t){let{comparison:e,className:i}=t,{title:n,subTitle:o,description:l,compareA:s,compareB:a}=e;return n?(0,r.jsxs)("section",{className:(0,d.cn)("flex flex-col gap-8 max-w-7xl mx-auto px-4 py-12",i),children:[(0,r.jsx)(f,{title:n,subTitle:o,description:l,className:" mx-auto"}),(0,r.jsxs)("div",{className:"[&_h3]:mb-4 border divide-x bg-white rounded-xl [&_h3]:text-lg [&_h3]:text-gray-700 [&_h3]:font-semibold grid md:grid-cols-2 mt-8 text-gray-700 leading-relaxed [&_ul]:list-disc [&_ul]:ml-6 [&_ol]:list-decimal [&_ol]:ml-6",children:[(0,r.jsx)("div",{className:"space-y-4 pl-8 pr-7 py-10 max-w-xl",children:(0,r.jsx)(c.RK,{value:null!=s?s:[]})}),(0,r.jsx)("div",{className:"space-y-4 pl-8 pr-7 py-10 max-w-xl",children:(0,r.jsx)(c.RK,{value:null!=a?a:[]})})]})]}):null}var g=i(54815);let w=t=>{if(!t)return"";if("string"==typeof t)return t;try{return(0,g.i)(t).url()}catch(t){return console.warn("Failed to build image url",t),""}};function x(){let{url:t,onClick:e}=(0,l.I)();return(0,r.jsx)(a.$c,{buttonSecondary:(0,r.jsx)("a",{href:t,children:(0,r.jsx)(u.$n,{variant:"solid",iconRight:"mouse-pointer-click",size:"md",onClick:e,children:"Get started"})})})}function v(t){let{data:e}=t,i=null==e?void 0:e.comparisonPage;if(!i)return null;let{seo:n,hero:l,pageHeader:u,pageBuilder:d,comparison:c}=i,f="string"==typeof(null==l?void 0:l.title)&&l.title?l.title:"What makes Navattic different?",g="string"==typeof(null==l?void 0:l.description)?l.description:"";return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.A,{title:null==n?void 0:n.title,de
1scription:null==n?void 0:n.description}),(0,r.jsx)("div",{className:"relative",children:(0,r.jsx)(a.Y9,{header:u||"What makes Navattic different?",title:f,description:g,getDemoCTA:!0})}),(0,r.jsxs)("div",{className:"space-y-20",children:[(0,r.jsx)(s.uw,{variant:"marquee"}),c&&(0,r.jsx)(m,{comparison:c}),null==d?void 0:d.map((t,e)=>{var i,n,o,l,s,u,d,c;if("customerCarousel"===t._type){let s=null!=(n=null==(i=t.quotes)?void 0:i.filter(Boolean).map(t=>{var e,i,n,o,l,s,a,u,h,p,d,c,f;return{quote:null!=(h=null==t?void 0:t.quote)?h:"",person:{name:null!=(p=null==t||null==(e=t.person)?void 0:e.name)?p:"",role:null!=(d=null==t||null==(i=t.person)?void 0:i.role)?d:"",picture:(()=>{var e,i,n;let o=w(null==t||null==(e=t.person)?void 0:e.picture);return o?(0,r.jsx)("img",{src:o,alt:null!=(n=null==t||null==(i=t.person)?void 0:i.name)?n:"Customer avatar",className:"h-10 w-10 rounded-full object-cover"}):null})()},customer:{title:null!=(c=null==t||null==(n=t.customer)?void 0:n.title)?c:"",logoUrl:w(null==t||null==(o=t.customer)?void 0:o.logo)||("string"==typeof(null==t||null==(l=t.customer)?void 0:l.logoUrl)?t.customer.logoUrl:(null==t||null==(a=t.customer)||null==(s=a.logoUrl)?void 0:s.url)||""),logoScalar:null!=(f=null==t||null==(u=t.customer)?void 0:u.logoScalar)?f:void 0}}}))?n:[];return(0,r.jsx)(a.pr,{quotes:s,title:null!=(o=t.title)?o:void 0},null!=(l=t._key)?l:e)}if("featureAccordionSection"===t._type){let i=null!=(s=t.features)?s:[];return(0,r.jsx)(h.v,{title:null!=(u=t.title)?u:"",image:t.image?(0,r.jsx)(p.A,{image:t.image,alt:null!=(d=t.title)?d:"",className:"rounded-xl w-full border max-w-xl m-auto"}):void 0,features:i.map(t=>{var e,i,r;return{title:null!=(e=null==t?void 0:t.title)?e:"",description:null!=(i=null==t?void 0:t.description)?i:"",icon:null!=(r=t.icon)?r:void 0}})},null!=(c=t._key)?c:e)}return null})]}),(0,r.jsx)(x,{})]})}v.getLayout=function(t){return(0,r.jsx)(n.A,{children:t})};var y=!0;let b=v},84805:(t,e,i)=>{"use strict";i.d(e,{I:()=>l});var r=i(89099),n=i(14232),o=i(76988);let l=()=>{let t=(0,r.useRouter)(),[e,i]=(0,n.useState)("https://app.navattic.com/auth/sign-up");return(0,n.useEffect)(()=>{let e=new URL("https://app.navattic.com/auth/sign-up");for(let i in t.query)if(i.startsWith("utm_")){let r=t.query[i];if(r)if(Array.isArray(r))for(let t of r)e.searchParams.append(i,t);else e.searchParams.append(i,r)}i(e.toString())},[t.query]),{url:e,onClick:()=>((0,o.sendGAEvent)("event","sign_up",{value:"Clicked sign up"}),!0)}}}},t=>{t.O(0,[9573,8487,9631,5480,4892,5210,6593,636,8792],()=>t(t.s=15066)),_N_E=t.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.