1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7490],{42886:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/shopify/build-vs-buy/[slug]",function(){return l(39545)}])},10267:function(e,t,l){"use strict";var i=l(85893);l(67294),t.Z=function(e){let{className:t="",children:l=null,style:s={},...a}=e;return(0,i.jsx)("h1",{className:"".concat(t," text-[32px] md:text-[52px] leading-[48px] md:leading-[78px] font-bold"),style:{minHeight:"48px","@media (min-width: 768px)":{minHeight:"78px"},fontDisplay:"optional",textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",...s},...a,children:l})}},16722:function(e,t,l){"use strict";l.d(t,{p:function(){return a}});var i=l(85893);l(67294);var s=l(43284);let a=()=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"bg-white pt-10 pb-6",children:(0,i.jsx)("div",{className:"container mx-auto px-4 text-center text-xs text-tertiary-100",children:"No affiliate links. No paid placement. We make money building and integrating solutions â not on referral fees."})}),(0,i.jsx)(s.Z,{})]})},94983:function(e,t,l){"use strict";l.d(t,{O:function(){return s}});var i=l(85893);l(67294);let s=e=>{let{children:t}=e;return(0,i.jsx)("h2",{className:"text-[13px] font-semibold uppercase tracking-[0.08em] text-tertiary-100 mt-12 mb-4",children:t})}},81658:function(e,t,l){"use strict";l.d(t,{k:function(){return a}});var i=l(85893);l(67294);let s={BUY:"text-verdict-buy bg-verdict-buy-bg",BUILD:"text-verdict-build bg-verdict-build-bg",CUSTOMIZE:"text-verdict-customize bg-verdict-customize-bg",WAIT:"text-verdict-wait bg-verdict-wait-bg",DEPENDS:"text-verdict-depends bg-verdict-depends-bg"},a=e=>{let{verdict:t,size:l="md"}=e,a=(t||"").split(" ")[0].toUpperCase(),n=s[a]||s.DEPENDS;return(0,i.jsx)("span",{className:"inline-block rounded-full font-semibold tracking-wide ".concat("lg"===l?"text-lg md:text-xl px-4 py-1.5":"sm"===l?"text-xs px-2 py-0.5":"text-sm px-3 py-1"," ").concat(n),children:t})}},22415:function(e,t,l){"use strict";l.d(t,{D:function(){return j}});var i=l(85893),s=l(29558),a=l(42883),n=l(98950),r=l(67294),c=l(86893),o=l(78728),d=l(50336),x=l(40046),p=l(78704),m=l(48873);let u={primary:"flex items-center text-base font-medium rounded-md text-white bg-primary-100 py-2.5 px-5 mt-[23px] cursor-pointer shadow-[0px_1px_4px_0px_#00000040] hover:bg-[#B567FF] hover:text-white hover:shadow-[0px_4px_24px_0px_#B567FF73] active:bg-[#4E0890] active:text-white active:shadow-[0px_4px_24px_0px_#4E089073] disabled:bg-[#E7E7E7] disabled:text-[#A7A7A7] disabled:shadow-none",floatingButton:"flex items-center justify-center fixed bottom-[20px] right-[20px] z-30 rounded-full md:h-[90px] md:w-[90px] h-[60px] w-[60px] bg-primary-100 cursor-pointer hover:bg-[#B567FF] active:bg-[#4E0890] disabled:bg-[#E7E7E7] disabled:text-[#A7A7A7] group"},h=e=>{let{handleCopilotState:t,welcomeComponentClass:l=""}=e;return(0,i.jsx)("div",{className:"wrapper2 mb-8 md:mb-20 ".concat(l),children:(0,i.jsxs)("div",{className:"bg-[#F9F9F9] p-[20px] md:p-[42px] rounded-[20px] relative",children:[(0,i.jsxs)("p",{className:"text-[#202020] text-[18px] md:text-[24px] md:leading-[56px]",children:[(0,i.jsx)("span",{className:"font-bold",children:"Hi, I'm Deploi AI,"})," I know a lot about this particular topic. Feel free to ask me any questions. I'm here to help."]}),(0,i.jsx)("button",{type:"button",className:u.primary,onClick:()=>t({isOpen:!0}),children:"Chat with Deploi AI"}),(0,i.jsx)(c.dOw,{className:"absolute md:right-[21px] md:top-[16px] right-[10px] top-[8px] z-[49] text-[18px] md:text-[22px] text-[#818181] cursor-pointer",onClick:()=>t({isVisible:!1})})]})})},b={points:p.k,remainingPoints:p.k},j=e=>{let{data:t,isVisible:l=!0,welcomeComponentClass:c,chatComponentClass:p,chatbot:j={}}=e,[g,f]=(0,r.useState)({isVisible:l,isOpen:!1,isExpanded:!1}),[v,y]=(0,r.useState)(b),N=(0,r.useRef)(null),{visibleMessages:w}=(0,s.C)(),{attributes:k={}}=j,C=(null==k?void 0:k.chatInstructions)||d.p_,S=(null==k?void 0:k.dataDescription)||d.Cw,O=(null==k?void 0:k.additionalInstructions)||"";(0,a.W)({description:S,value:t}),(0,n.$)({instructions:O,available:O?"enabled":"disabled"},[!!O]),(0,r.useEffect)(()=>{let e=async()=>{try{let e=await (0,x.D)();y(e||b)}catch(e){y(b)}};e()},[]);let B=e=>{f(t=>({...t,...e}))},_=()=>{setTimeout(()=>{if(N.current){let e=N.current.getBoundingClientRect().top,t=e+window.pageYOffset-100;window.scrollTo({top:t,behavior:"smooth"})}},100)},T=w.length>d.zE||g.isExpanded;return(0,i.jsxs)(i.Fragment,{children:[g.isVisible&&(0,i.jsxs)(i.Fragment,{children:[!g.isOpen&&(0,i.jsx)(h,{handleCopilotState:B,welcomeComponentClass:c}),g.isOpen&&(0,i.jsx)(m.P,{ref:N,isExpanded:T,visibleMessages:w,chatInstructions:C,rateLimit:v,handleCopilotState:B,chatComponentClass:p})]}),(0,i.jsx)("button",{type:"button",className:u.floatingButton,onClick:()=>{B({isVisible:!0,isOpen:!0}),_()},children:(0,i.jsx)(o.U,{})})]})}},81469:function(e,t,l){"use strict";l.d(t,{c:function(){return n}});var i=l(85893),s=l(22415),a=l(27193);let n=e=>{let{data:t}=e,{response:l}=(0,a.a)();return(null==l?void 0:l.isEnabled)?(0,i.jsx)(s.D,{data:t,chatbot:{attributes:l},welcomeComponentClass:"px-0 !my-4 md:!my-8",chatComponentClass:"px-0 !my-4 md:!my-8"}):null}},60454:function(e,t,l){"use strict";function i(e){var t,l,i;let{decision:s,baseUrl:a,org:n,siteName:r,domainSlug:c}=e,o="".concat(a,"/").concat(s.slug);return{"@context":"https://schema.org","@graph":[{"@type":"Article","@id":"".concat(o,"#article"),headline:s.h1,description:s.capsule,url:o,inLanguage:"en",isPartOf:{"@id":"".concat(a,"#hub")},breadcrumb:{"@id":"".concat(o,"#breadcrumb")},publisher:{"@id":"".concat(n.url,"/#organization")},author:{"@type":"Organization",name:n.name},reviewedBy:{"@type":"Person",name:"Martin Dejnicki",jobTitle:"Director of SEO & AI Search"},...(null===(t=s.dates)||void 0===t?void 0:t.published)&&{datePublished:s.dates.published},...(null===(l=s.dates)||void 0===l?void 0:l.modified)&&{dateModified:s.dates.modified},about:{"@type":"Thing",name:s.capability},mentions:(s.apps||[]).filter(e=>!/native/i.test(e.name)).map(e=>({"@type":"SoftwareApplication",name:e.name,...e.url&&{url:e.url}})),...(null===(i=s.resources)||void 0===i?void 0:i.length)&&{citation:s.resources.map(e=>({"@type":"WebPage",name:e.label,url:e.url}))}},{"@type":"WebSite","@id":"".concat(a,"#hub"),name:r||"Build vs. Buy on Shopify",url:a,publisher:{"@id":"".concat(n.url,"/#organization")},inLanguage:"en"},{"@type":"FAQPage","@id":"".concat(o,"#faq"),mainEntity:(s.faq||[]).map(e=>
1({"@type":"Question",name:e.q,acceptedAnswer:{"@type":"Answer",text:e.a}}))},{"@type":"BreadcrumbList","@id":"".concat(o,"#breadcrumb"),itemListElement:[{"@type":"ListItem",position:1,name:"Build vs. Buy",item:a},...c?[{"@type":"ListItem",position:2,name:s.domain,item:"".concat(a,"/domains/").concat(c)},{"@type":"ListItem",position:3,name:s.h1}]:[{"@type":"ListItem",position:2,name:s.h1}]]},{"@type":"Organization","@id":"".concat(n.url,"/#organization"),name:n.name,url:n.url}]}}function s(e){let{site:t,decisions:l,baseUrl:i,pageUrl:s=i,startIndex:a=0,totalItems:n}=e,r=t.org;return{"@context":"https://schema.org","@graph":[{"@type":"WebSite","@id":"".concat(i,"#hub"),name:t.heading,description:t.subheading,url:i,inLanguage:"en",publisher:{"@id":"".concat(r.url,"/#organization")}},{"@type":"CollectionPage","@id":"".concat(s,"#collection"),name:t.heading,url:s,isPartOf:{"@id":"".concat(i,"#hub")},mainEntity:{"@id":"".concat(s,"#decisions")}},{"@type":"ItemList","@id":"".concat(s,"#decisions"),numberOfItems:null!=n?n:l.length,itemListElement:l.map((e,t)=>({"@type":"ListItem",position:a+t+1,name:e.h1,url:"".concat(i,"/").concat(e.slug)}))},{"@type":"Organization","@id":"".concat(r.url,"/#organization"),name:r.name,url:r.url}]}}function a(e){let{domain:t,decisions:l,baseUrl:i,org:s,siteName:a,pageUrl:n,startIndex:r=0,totalItems:c}=e,o="".concat(i,"/domains/").concat(t.slug),d=n||o;return{"@context":"https://schema.org","@graph":[{"@type":"CollectionPage","@id":"".concat(d,"#collection"),name:"".concat(t.title," â Build vs. Buy on Shopify"),url:d,inLanguage:"en",isPartOf:{"@id":"".concat(i,"#hub")},breadcrumb:{"@id":"".concat(o,"#breadcrumb")},mainEntity:{"@id":"".concat(d,"#decisions")},publisher:{"@id":"".concat(s.url,"/#organization")}},{"@type":"ItemList","@id":"".concat(d,"#decisions"),numberOfItems:null!=c?c:l.length,itemListElement:l.map((e,t)=>({"@type":"ListItem",position:r+t+1,name:e.h1,url:"".concat(i,"/").concat(e.slug)}))},{"@type":"BreadcrumbList","@id":"".concat(o,"#breadcrumb"),itemListElement:[{"@type":"ListItem",position:1,name:"Build vs. Buy",item:i},{"@type":"ListItem",position:2,name:t.title}]},{"@type":"WebSite","@id":"".concat(i,"#hub"),name:a||"Build vs. Buy on Shopify",url:i,inLanguage:"en",publisher:{"@id":"".concat(s.url,"/#organization")}},{"@type":"Organization","@id":"".concat(s.url,"/#organization"),name:s.name,url:s.url}]}}l.d(t,{$0:function(){return s},q:function(){return a},qd:function(){return c},wH:function(){return i}});let n=["zero","one","two","three","four","five","six","seven","eight","nine","ten"],r=e=>n[e]||String(e);function c(e){let{baseUrl:t,org:l,methodology:i,pageName:s}=e,a="".concat(t,"/methodology");return{"@context":"https://schema.org","@graph":[{"@type":"WebPage","@id":"".concat(a,"#page"),name:s,url:a,inLanguage:"en",isPartOf:{"@id":"".concat(t,"#hub")},about:{"@type":"DefinedTerm",name:"Total Cost of Capability (TCC)",description:function(e){let{dimensions:t=[],weights:l}=e,i=t.reduce((e,t)=>((null==t?void 0:t.group)&&(e[t.group]=(e[t.group]||0)+1),e),{}),s=Object.entries(i).map(e=>{let[t,l]=e;return"".concat(r(l)," ").concat(t.toLowerCase()," dimension").concat(1===l?"":"s")}).join(", "),a=l?" and weighted Cost ".concat(l.cost," / Risk ").concat(l.risk," / Value ").concat(l.value):"";return"A ".concat(t.length,"-dimension scoring framework for build-vs-buy decisions")+(s?": ".concat(s,", scored 0â5 per path"):", scored 0â5 per path")+"".concat(a,".")}(i||{})},publisher:{"@id":"".concat(l.url,"/#organization")}},{"@type":"WebSite","@id":"".concat(t,"#hub"),name:"Build vs. Buy on Shopify",url:t,inLanguage:"en",publisher:{"@id":"".concat(l.url,"/#organization")}},{"@type":"Organization","@id":"".concat(l.url,"/#organization"),name:l.name,url:l.url}]}}},39545:function(e,t,l){"use strict";l.r(t),l.d(t,{__N_SSG:function(){return $},default:function(){return Z}});var i=l(85893),s=l(16722),a=l(64513),n=l(10267),r=l(67294);let c=e=>{let{text:t}=e;return(0,i.jsx)("p",{className:"mt-6 text-[19px] md:text-[22px] leading-[32px] md:leading-[36px] font-medium text-black-100 border-l-4 border-primary-100 pl-5",children:t})},o=e=>{let{byline:t,pricingVerified:l}=e;return(0,i.jsxs)("div",{className:"mt-5 text-sm text-tertiary-100 flex flex-wrap gap-x-2 gap-y-1",children:[(0,i.jsxs)("span",{children:["Written by ",(0,i.jsx)("span",{className:"font-medium text-black-75",children:null==t?void 0:t.author})]}
1),(0,i.jsx)("span",{"aria-hidden":!0,children:"\xb7"}),(0,i.jsxs)("span",{children:["Reviewed by ",(0,i.jsx)("span",{className:"font-medium text-black-75",children:null==t?void 0:t.reviewer})]}),(0,i.jsx)("span",{"aria-hidden":!0,children:"\xb7"}),(0,i.jsxs)("span",{children:["Updated ",null==t?void 0:t.updated]}),l&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{"aria-hidden":!0,children:"\xb7"}),(0,i.jsx)("span",{children:/^pending$/i.test(l)?"Pricing verification pending":"Pricing verified ".concat(l)})]})]})};var d=l(81658);let x=e=>{let{label:t,score:l,color:s}=e;return(0,i.jsxs)("div",{className:"flex items-center gap-3",children:[(0,i.jsx)("span",{className:"w-24 text-sm font-medium text-tertiary-100",children:t}),(0,i.jsx)("div",{className:"flex-1 h-2 rounded-full bg-tertiary-5 overflow-hidden",children:(0,i.jsx)("div",{className:"h-full rounded-full ".concat(s),style:{width:"".concat(l/10*100,"%")}})}),(0,i.jsx)("span",{className:"w-10 text-right text-sm font-semibold num",children:l.toFixed(1)})]})},p=e=>{var t,l,s,a;let{verdict:n,adjusted:c}=e,o=c||n,p=(null==n?void 0:n.confidenceReason)||"",m=p.length>300,[u,h]=(0,r.useState)(!1);return(0,i.jsxs)("section",{"aria-label":"Verdict",className:"mt-8 rounded-[20px] border p-5 md:p-7 ".concat(c?"border-primary-25 bg-[#7624C40A]":"border-gray-100 bg-[#FAFAFA]"),children:[(0,i.jsxs)("div",{className:"flex flex-wrap items-center gap-3",children:[(0,i.jsx)("span",{className:"text-[13px] font-semibold uppercase tracking-[0.08em] text-tertiary-100",children:"Verdict"}),(0,i.jsx)(d.k,{verdict:c?c.verdict:null==n?void 0:n.primary,size:"lg"}),c&&(0,i.jsxs)("span",{className:"text-sm font-medium text-primary-100",children:["adjusted for ",c.band]})]}),!c&&(null==n?void 0:n.display)&&(0,i.jsx)("p",{className:"mt-4 text-[17px] md:text-[19px] leading-[27px] md:leading-[30px] font-medium text-black-100",children:n.display}),(0,i.jsxs)("div",{className:"mt-5 flex flex-col gap-2.5",children:[(0,i.jsx)(x,{label:"Buy score",score:null!==(s=null==o?void 0:o.buyScore)&&void 0!==s?s:0,color:"bg-verdict-buy"}),(0,i.jsx)(x,{label:"Build score",score:null!==(a=null==o?void 0:o.buildScore)&&void 0!==a?a:0,color:"bg-verdict-build"})]}),c&&(0,i.jsxs)("p",{className:"mt-3 text-[13px] text-tertiary-100",children:["Default view (",null==n?void 0:n.referenceScenario,"): ",(null==n?void 0:n.display)||(null==n?void 0:n.primary)," â Buy ",null==n?void 0:null===(t=n.buyScore)||void 0===t?void 0:t.toFixed(1)," \xb7 Build ",null==n?void 0:null===(l=n.buildScore)||void 0===l?void 0:l.toFixed(1),". Scores re-parameterize the same published TCC model â see the methodology."]}),(0,i.jsxs)("dl",{className:"mt-5 grid md:grid-cols-4 gap-x-6 gap-y-3 text-sm",children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("dt",{className:"font-semibold text-black-75",children:"Confidence"}),(0,i.jsx)("dd",{className:"text-[#636363]",children:null==n?void 0:n.confidence})]}),(0,i.jsxs)("div",{className:"md:col-span-2",children:[(0,i.jsx)("dt",{className:"font-semibold text-black-75",children:"Reference scenario"}),(0,i.jsx)("dd",{className:"text-[#636363]",children:null==n?void 0:n.referenceScenario})]}),(0,i.jsxs)("div",{children:[(0,i.jsx)("dt",{className:"font-semibold text-black-75",children:"As of"}),(0,i.jsx)("dd",{className:"text-[#636363]",children:null==n?void 0:n.asOf})]})]}),p&&(0,i.jsxs)("div",{className:"mt-4 border-t border-gray-100 pt-4",children:[(0,i.jsx)("p",{id:"verdict-confidence-reason",className:"text-[13px] leading-[21px] text-[#636363] ".concat(m&&!u?"line-clamp-3":""),children:p}),m&&(0,i.jsx)("button",{type:"button",onClick:()=>h(e=>!e),"aria-expanded":u,"aria-controls":"verdict-confidence-reason",className:"mt-2 text-[13px] font-medium text-primary-100 hover:underline",children:u?"Show less":"Why this rating"})]})]})};var m=l(94983);let u=e=>{let{bands:t,activeIndex:l=null}=e;return(null==t?void 0:t.length)?(0,i.jsxs)("section",{"aria-label":"Decision at a glance",children:[(0,i.jsx)(m.O,{children:"Decision at a Glance"}),(0,i.jsxs)("table",{className:"bvb-table",role:"table",children:[(0,i.jsx)("thead",{role:"rowgroup",children:(0,i.jsxs)("tr",{role:"row",children:[(0,i.jsx)("th",{scope:"col",role:"columnheader",children:"Your profile"}),(0,i.jsx)("th",{scope:"col",role:"columnheader",children:"Verdict"}),(0,i.jsx)("th",{scope:"col",role:"columnheader",children:"Why"})]})}),(0,i.jsx)("tbody",{role:"rowgroup",children:t.map((e,t)=>(0,i.jsxs)("tr",{role:"row",className:l===t?"bg-[#7624C410]":"",children:[(0,i.jsx)("td",{role:"cell",className:"bvb-cell-head font-medium text-black-100",children:e.band}),(0,i.jsx)("td",{role:"cell","data-label":"Verdict",children:(0,i.jsx)(d.k,{verdict:e.verdict,size:"sm"})}),(0,i.jsx)("td",{role:"cell","data-label":"Why",children:e.why})]},t))})]})]}):null},h=e=>{let{bands:t,active:l,onSelect:s}=e;return(null==t?void 0:t.length)?(0,i.jsxs)("div",{className:"mt-7",children:[(0,i.jsx)("p",{className:"text-[13px] font-semibold uppercase tracking-[0.08em] text-tertiary-100 mb-2",children:"Your profile â see how the verdict shifts"}),(0,i.jsxs)("div",{className:"flex flex-wrap gap-2",role:"group","aria-label":"Select your profile band",children:[(0,i.jsx)("button",{type:"button",onClick:()=>s(null),"aria-pressed":null===l,className:"h-10 px-4 text-sm font-medium rounded-md border transition-colors ".concat(null===l?"bg-black-100 text-white border-black-100":"text-tertiary-100 border-tertiary-25 hover:border-black-50 hover:text-black-75"),children:"Default view"}),t.map((e,t)=>(0,i.jsx)("button",{type:"button",onClick:()=>s(t),"aria-pressed":l===t,className:"h-10 px-4 text-sm font-medium rounded-md border transition-colors ".concat(l===t?"bg-primary-100 text-white border-primary-100":"text-tertiary-100 border-tertiary-25 hover:bg-primary-100 hover:text-white hover:border-primary-100"),children:e.band},t))]})]}):null},b=e=>{let{items:t}=e;return(null==t?void 0:t.length)?(0,i.jsxs)("section",{"aria-label":"Find your verdict",children:[(0,i.jsxs)(m.O,{children:["Find Your Verdict in ",t.length," Questions"]}),(0,i.jsx)("ol",{className:"flex flex-col gap-4 list-decimal ml-5",children:t.map((e,t)=>(0,i.jsxs)("li",{className:"pl-1",children:[(0,i.jsx)("p",{className:"text-[17px] leading-[27px] font-semibold text-black-100",children:e.question}),(0,i.jsxs)("p",{className:"mt-1 text-[15px] leading-[24px] text-[#484848]",children:[(0,i.jsx)("span",{className:"font-semibold text-verdict-buy",children:"Yes:"})," ",e.yes]}),(0,i.jsxs)("p",{className:"mt-0.5 text-[15px] leading-[24px] text-[#484848]",children:[(0,i.jsx)("span",{className:"font-semibold text-verdict-wait",children:"No:"})," ",e.no]})]},t))})]}):null},j={High:3,Medium:2,Low:1},g=e=>{let{level:t}=e,l=j[t]||1;return(0,i.jsxs)("span",{className:"inline-flex items-center gap-1.5 whitespace-nowrap",children:[(0,i.jsx)("span",{className:"inline-flex gap-[3px]","aria-hidden":!0,
1children:[1,2,3].map(e=>(0,i.jsx)("span",{className:"w-2 h-2 rounded-full ".concat(e<=l?"bg-primary-100":"bg-tertiary-25")},e))}),(0,i.jsx)("span",{className:"text-[13px] font-semibold text-black-75",children:t})]})},f=e=>{let{title:t,items:l,color:s}=e;return(0,i.jsxs)("div",{className:"flex-1 min-w-[260px]",children:[(0,i.jsx)("p",{className:"text-[15px] font-semibold mb-2 ".concat(s),children:t}),(0,i.jsx)("ul",{className:"flex flex-col gap-1.5",children:(l||[]).map((e,t)=>(0,i.jsxs)("li",{className:"text-[15px] leading-[24px] text-[#484848] pl-5 relative",children:[(0,i.jsx)("span",{className:"absolute left-0 text-tertiary-50",children:"+"})," ",e]},t))})]})},v=e=>{var t,l,s;let{impactMap:a,capability:n}=e;return(null==a?void 0:null===(t=a.rows)||void 0===t?void 0:t.length)?(0,i.jsxs)("section",{"aria-label":"Business impact and value ceilings",children:[(0,i.jsxs)(m.O,{children:["What ",n," Actually Drives"]}),(0,i.jsxs)("table",{className:"bvb-table",role:"table",children:[(0,i.jsx)("thead",{role:"rowgroup",children:(0,i.jsxs)("tr",{role:"row",children:[(0,i.jsx)("th",{scope:"col",role:"columnheader",children:"Outcome"}),(0,i.jsx)("th",{scope:"col",role:"columnheader",children:"Impact"}),(0,i.jsx)("th",{scope:"col",role:"columnheader",children:"How it works"})]})}),(0,i.jsx)("tbody",{role:"rowgroup",children:a.rows.map((e,t)=>(0,i.jsxs)("tr",{role:"row",children:[(0,i.jsx)("td",{role:"cell",className:"bvb-cell-head font-medium text-black-100",children:e.outcome}),(0,i.jsx)("td",{role:"cell","data-label":"Impact",children:(0,i.jsx)(g,{level:e.impact})}),(0,i.jsx)("td",{role:"cell","data-label":"How it works",children:e.mechanism})]},t))})]}),a.spendCeiling&&(0,i.jsxs)("p",{className:"mt-4 text-[15px] leading-[24px] text-[#484848]",children:[(0,i.jsx)("span",{className:"font-semibold text-black-100",children:"Spend ceiling:"})," ",a.spendCeiling]}),(null===(l=a.buyEnables)||void 0===l?void 0:l.length)||(null===(s=a.buildUnlocks)||void 0===s?void 0:s.length)?(0,i.jsxs)("div",{className:"mt-6 flex flex-wrap gap-8",children:[(0,i.jsx)(f,{title:"What buying enables (top apps)",items:a.buyEnables,color:"text-verdict-buy"}),(0,i.jsx)(f,{title:"What building additionally unlocks",items:a.buildUnlocks,color:"text-verdict-build"})]}):null]}):null},y=e=>{let{title:t,items:l,color:s}=e;return(0,i.jsxs)("div",{className:"flex-1 min-w-[260px]",children:[(0,i.jsx)("p",{className:"text-[15px] font-semibold mb-2 ".concat(s),children:t}),(0,i.jsx)("ul",{className:"flex flex-col gap-1.5",children:(l||[]).map((e,t)=>(0,i.jsxs)("li",{className:"text-[15px] leading-[24px] text-[#484848] pl-5 relative",children:[(0,i.jsx)("span",{className:"absolute left-0 text-tertiary-50",children:"â"})," ",e]},t))})]})},N=e=>{var t,l;let{costTraps:s}=e;return(null==s?void 0:null===(t=s.buy)||void 0===t?void 0:t.length)||(null==s?void 0:null===(l=s.build)||void 0===l?void 0:l.length)?(0,i.jsxs)("section",{"aria-label":"What the sticker price hides",children:[(0,i.jsx)(m.O,{children:"What the Sticker Price Hides"}),(0,i.jsxs)("div",{className:"flex flex-wrap gap-8",children:[(0,i.jsx)(y,{title:"On the buy path",items:s.buy,color:"text-verdict-buy"}),(0,i.jsx)(y,{title:"On the build path",items:s.build,color:"text-verdict-build"})]})]}):null},w=e=>{let{exitOptions:t}=e;return(null==t?void 0:t.ifYouBuy)||(null==t?void 0:t.ifYouBuild)?(0,i.jsxs)("section",{"aria-label":"If you change your mind later",children:[(0,i.jsx)(m.O,{children:"If You Change Your Mind Later"}),(0,i.jsxs)("div",{className:"grid md:grid-cols-2 gap-4",children:[t.ifYouBuy&&(0,i.jsxs)("div",{className:"rounded-[12px] border border-gray-100 p-4",children:[(0,i.jsx)("p",{className:"text-[14px] font-semibold text-verdict-buy uppercase tracking-[0.04em] mb-1.5",children:"If you bought and outgrow it"}),(0,i.jsx)("p",{className:"text-[15px] leading-[24px] text-[#484848]",children:t.ifYouBuy})]}),t.ifYouBuild&&(0,i.jsxs)("div",{className:"rounded-[12px] border border-gray-100 p-4",children:[(0,i.jsx)("p",{className:"text-[14px] font-semibold text-verdict-build uppercase tracking-[0.04em] mb-1.5",children:"If you built and want out"}),(0,i.jsx)("p",{className:"text-[15px] leading-[24px] text-[#484848]",children:t.ifYouBuild})]})]})]}):null},k=e=>{let{nextSteps:t,activeVerdict:l}=e;return(null==t?void 0:t.length)?(0,i.jsxs)("section",{"aria-label":"Your next steps",children:[(0,i.jsx)(m.O,{children:"Your Next Steps"}),(0,i.jsx)("div",{className:"flex flex-col gap-6",children:t.map((e,t)=>{let s=l&&l.toUpperCase().startsWith(e.verdict.toUpperCase().split(" ")[0]);return(0,i.jsxs)("div",{className:"rounded-[12px] p-4 ".concat(s?"bg-[#7624C40D] border border-primary-25":"border border-gray-100"),children:[(0,i.jsxs)("h3",{className:"flex items-center gap-2 text-[15px] font-semibold text-black-100 mb-2",children:["If you're going with ",(0,i.jsx)(d.k,{verdict:e.verdict,size:"sm"}),s&&(0,i.jsx)("span",{className:"text-[12px] font-medium text-primary-100",children:"(matches your selected profile)"})]}),(0,i.jsx)("ol",{className:"flex flex-col gap-1.5 list-decimal ml-5",children:(e.steps||[]).map((e,t)=>(0,i.jsx)("li",{className:"text-[15px] leading-[24px] text-[#484848] pl-1",children:e},t))})]},t)})})]}):null},C=e=>{let{n:t,color:l}=e;return(0,i.jsx)("span",{role:"img",className:"inline-flex gap-[3px] align-middle","aria-label":"".concat(t," out of 5"),children:[1,2,3,4,5].map(e=>(0,i.jsx)("span",{className:"w-2 h-2 rounded-full ".concat(e<=t?l:"bg-tertiary-25")},e))})},S=e=>{let{tcc:t}=e;if(!(null==t?void 0:t.length))return null;let l=null;return(0,i.jsxs)("section",{"aria-label":"TCC scorecard",children:[(0,i.jsx)(m.O,{children:"The TCC Scorecard â 12 Dimensions"}),(0,i.jsxs)("p",{className:"-mt-1 mb-3 text-[14px] leading-[22px] text-tertiary-100",children:["TCC â Total Cost of Capability: what it actually costs to have this capability over three years, whichever way you get it. Each dimension is scored 0â5 for both paths."," ",(0,i.jsx)("a",{href:"/shopify/build-vs-buy/methodology",className:"underline hover:text-primary-100",children:"How we score â"})]}),(0,i.jsxs)("table",{className:"bvb-table",role:"table",children:[(0,i.jsx)("thead",{role:"rowgroup",children:(0,i.jsxs)("tr",{role:"row",children:[(0,i.jsx)("th",{scope:"col",role:"columnheader",children:"Dimension"}),(0,i.jsx)("th",{scope:"col",role:"columnheader",className:"whitespace-nowrap",children:"Buy"}),(0,i.jsx)("th",{scope:"col",role:"columnheader",className:"whitespace-nowrap",children:"Build"}),(0,i.jsx)("th",{scope:"col",role:"columnheader",children:"Why"})]})}),(0,i.jsx)("tbody",{role:"rowgroup",children:t.map((e,t)=>{let s=e.group!==l;return l=e.group,(0,i.jsxs)(r.Fragment,{children:[s&&(0,i.jsx)("tr",{role:"row",className:"bvb-group-row",children:(0,i.jsx)("td",{role:"cell",colSpan:4,className:"!py-2 text-[12px] font-semibold uppercase tracking-[0.08em] text-primary-100 bg-[#7624C40A]",children:e.group})}),(0,i.jsxs)("tr",{role:"row",children:[(0,i.jsx)("td",{role:"cell",className:"bvb-cell-head font-medium text-black-100",children:e.dim}),(0,i.jsx)("td",{role:"cell","data-label":"Buy",className:"num",children:(0,i.jsx)(C,{n:e.buy,color:"bg-verdict-buy"})}),(0,i.jsx)("td",{role:"cell","data-label":"Build",className:"num",children:(0,i.jsx)(C,{n:e.build,color:"bg-verdict-build"})}),(0,i.jsx)("td",{role:"cell","data-label":"Why",children:e.note})]})]},t)})})]})]})},O=e=>{let{apps:t}=e;return(null==t?void 0:t.length)?(0,i.jsxs)("section",{"aria-label":"The app landscape",children:[(0,i.jsx)(m.O,{children:"The App Landscape"}),(0,i.jsxs)("table",{className:"bvb-table bvb-table--stack-md",role:"table",children:[(0,i.jsx)("thead",{role:"rowgroup",children:(0,i.jsxs)("tr",{role:"row",children:[(0,i.jsx)("th",{scope:"col",role:"columnheader",children:"App"}),(0,i.jsx)("th",{scope:"col",role:"columnheader",children:"Status"}),(0,i.jsx)("th",{scope:"col",role:"columnheader",children:"Pricing"}),(0,i.jsx)("th",{scope:"col",role:"columnheader",children:"Best for"})]})}),(0,i.jsx)("tbody",{role:"rowgroup",children:t.map((e,t)=>(0,i.jsxs)("tr",{role:"row",children:[(0,i.jsx)("td",{role:"cell",className:"bvb-cell-head font-medium text-black-100",children:e.url?(0,i.jsx)("a",{href:e.url,target:"_blank",rel:"noopener",className:"underline decoration-tertiary-25 underline-offset-2 hover:text-primary-100 transition-colors",children:e.name}):e.name}),(0,i.jsxs)("td",{role:"cell","data-label":"Status",children:[(0,i.jsx)("span",{className:"font-medium",children:e.status}),e.statusNote?(0,i.jsxs)(i.Fragment,{children:[" â ",e.statusNote]}):null]}),(0,i.jsx)("td",{role:"cell","data-label":"Pricing",children:e.pricing}),(0,i.jsx)("td",{role:"cell","data-label":"Best for",children:e.bestFor})]},t))})]})]}):null},B=e=>{let{buildPath:t,proofPoints:l}=e;return t?(0,i.jsxs)("section",{"aria-label":"The build path",children:[(0,i.jsx)(m.O,{children:"The Build Path"}),(0,i.jsx)("ul",{className:"flex flex-col gap-3",children:(t.approaches||[]).map((e,t)=>(0,i.jsxs)("li",{className:"text-[17px] leading-[28px]",children:[(0,i.jsxs)("span",{className:"font-semibold text-black-100",children:[e.name,":"]})," ",(0,i.jsx)("span",{className:"text-[#636363]",children:e.note})]},t))}),(0,i.jsxs)("dl",{className:"mt-6 grid md:grid-cols-2 gap-x-8 gap-y-4 text-[15px] leading-[24px]",children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("dt",{className:"font-semibold text-black-100",children:"Effort band"}),(0,i.jsx)("dd",{className:"text-[#636363]",children:t.effortBand})]}),(0,i.jsxs)("div",{children:[(0,i.jsx)("dt",{className:"font-semibold text-black-100",children:"Typical timeline"}),(0,i.jsx)("dd",{className:"text-[#636363]",children:t.timeline})]}),(0,i.jsxs)("div",{className:"md:col-span-2 rounded-[12px] bg-verdict-wait-bg p-4",children:[(0,i.jsx)("dt",{className:"font-semibold text-black-100",children:"Maintenance, honestly"}),(0,i.jsx)("dd",{className:"text-[#636363]",children:t.maintenance})]}),(0,i.jsxs)("div",{className:"md:col-span-2",children:[(0,i.jsx)("dt",{className:"font-semibold text-black-100",children:"What you own â and what you take on"}),(0,i.jsx)("dd",{className:"text-[#636363]",children:t.ownership})]})]}),(null==l?void 0:l.length)?(0,i.jsx)("div",{className:"mt-4 flex flex-col gap-1.5",children:l.map((e,t)=>(0,i.jsxs)("p",{className:"text-[14px] leading-[22px] text-[#484848]",children:[(0,i.jsx)("span",{className:"font-semibold text-primary-100",children:"Deploi receipt:"})," ",e.url?(0,i.jsx)("a",{href:e.url,className:"underline hover:text-primary-100",target:"_blank",rel:"noopener noreferrer",children:e.label}):e.label]},t))}):null]}):null},_=e=>{let{chart:t}=e;if(!t)return null;let l={t:16,r:16,b:28,l:56},s=720-l.l-l.r,a=240-l.t-l.b,n=(e,t)=>Array.from({length:37},(l,i)=>e+t*i),r=n(t.appUpfront,t.appMonthly),c=n(t.buildUpfront,t.buildMonthly),o=1.08*Math.max(r[36],c[36]),d=e=>l.l+e/36*s,x=e=>l.t+a-e/o*a,p=e=>e.map((e,t)=>"".concat(0===t?"M":"L").concat(d(t).toFixed(1),",").concat(x(e).toFixed(1))).join(" "),m=null;for(let e=0;e<=36;e++)if(c[e]<=r[e]){m=e;break}let u=e=>e>=1e3?"$".concat(Math.round(e/1e3),"k"):"$".concat(e),h=[0,.25,.5,.75,1].map(e=>o*e);return(0,i.jsxs)("figure",{className:"mt-6",children:[(0,i.jsxs)("svg",{viewBox:"0 0 ".concat(720," ").concat(240),role:"img","aria-label":"Cumulative 3-year cost comparison, illustrative",className:"w-full h-auto",children:[(0,i.jsx)("title",{children:"Illustrative cumulative cost over 36 months"}),h.map((e,t)=>(0,i.jsxs)("g",{children:[(0,i.jsx)("line",{x1:l.l,y1:x(e),x2:720-l.r,y2:x(e),stroke:"#efefef",strokeWidth:"1"}),(0,i.jsx)("text",{x:l.l-8,y:x(e)+4,textAnchor:"end",fontSize:"11",fill:"#797979",children:u(e)})]},t)),[0,12,24,36].map(e=>(0,i.jsx)("text",{x:d(e),y:232,textAnchor:"middle",fontSize:"11",fill:"#797979",children:0===e?"Mo 0":"Mo ".concat(e)},e)),(0,i.jsx)("path",{d:p(r),fill:"none",stroke:"#0e7a4a",strokeWidth:"2.5"}),(0,i.jsx)("path",{d:p(c),fill:"none",stroke:"#7624c4",strokeWidth:"2.5"}),null!==m&&(0,i.jsxs)("g",{children:[(0,i.jsx)("line",{x1:d(m),y1:l.t,x2:d(m),y2:l.t+a,stroke:"#b45f06",strokeDasharray:"4 4",strokeWidth:"1.5"}),(0,i.jsxs)("text",{x:d(m)+6,y:l.t+14,fontSize:"11",fill:"#b45f06",fontWeight:"600",children:["break-even â mo ",m]})]}),(0,i.jsxs)("g",{fontSize:"12",fontWeight:"600",children:[(0,i.jsx)("circle",{cx:l.l+8,cy:l.t+2,r:"4",fill:"#0e7a4a"}),(0,i.jsx)("text",{x:l.l+18,y:l.t+6,fill:"#0e7a4a",children:"Buy (app path)"}),(0,i.jsx)("circle",{cx:l.l+128,cy:l.t+2,r:"4",fill:"#7624c4"}),(0,i.jsx)("text",{x:l.l+138,y:l.t+6,fill:"#7624c4",children:"Build (custom path)"})]})]}),(0,i.jsx)("figcaption",{className:"mt-2 text-sm text-tertiary-100",children:t.caption})]})},T=e=>{var t;let{tccTable:l}=e;return l?(0,i.jsxs)("section",{"aria-label":"Three-year TCC comparison",children:[(0,i.jsx)(m.O,{children:"3-Year Total Cost of Capability"}),(0,i.jsx)("div",{className:"overflow-x-auto",children:(0,i.jsxs)("table",{className:"bvb-table",role:"table",children:[(0,i.jsx)("thead",{role:"rowgroup",children:(0,i.jsxs)("tr",{role:"row",children:[(0,i.jsx)("th",{scope:"col",role:"columnheader"}),(0,i.jsx)("th",{scope:"col",role:"columnheader",children:"Buy (app path)"}),(0,i.jsx)("th",{scope:"col",role:"columnheader",children:"Build (custom path)"})]})}),(0,i.jsx)("tbody",{role:"rowgroup",children:(l.rows||[]).map((e,t)=>(0,i.jsxs)("tr",{role:"row",className:t===l.rows.length-1?"font-semibold":"",children:[(0,i.jsx)("td",{role:"cell",className:"bvb-cell-head font-medium text-black-100",children:e.label}),(0,i.jsx)("td",{role:"cell","data-label":"Buy (app path)",className:"num",children:e.buy}),(0,i.jsx)("td",{role:"cell","data-label":"Build (custom path)",className:"num",children:e.build})]},t))})]})}),(0,i.jsx)(_,{chart:l.chart}),(null===(t=l.assumptions)||void 0===t?void 0:t.length)?(0,i.jsx)("ul",{className:"mt-4 flex flex-col gap-1",children:l.assumptions.map((e,t)=>(0,i.jsxs)("li",{className:"text-[13px] leading-[20px] text-tertiary-100",children:["â ",e]},t))}):null]}):null},E=e=>{let{items:t}=e;return(null==t?void 0:t.length)?(0,i.jsxs)("section",{"aria-label":"What merchants say",children:[(0,i.jsx)(m.O,{children:"What Merchants Say"}),(0,i.jsx)("div",{className:"flex flex-col gap-4",children:t.map((e,t)=>(0,i.jsxs)("blockquote",{className:"border-l-4 border-tertiary-25 pl-5 py-1 text-[17px] leading-[28px] text-[#484848]",children:[e.quote,(0,i.jsxs)("footer",{className:"mt-1 text-sm text-tertiary-100 not-italic",children:["â ",e.url?(0,i.jsx)("a",{href:e.url,className:"underline hover:text-primary-100",target:"_blank",rel:"noopener noreferrer",children:e.source}):e.source]})]},t))})]}):null}
1,F=e=>{let{watchTriggers:t,changeLog:l,firstPublished:s}=e;return(null==t?void 0:t.length)||(null==l?void 0:l.length)?(0,i.jsxs)("section",{"aria-label":"When this answer changes",children:[(0,i.jsx)(m.O,{children:"When This Answer Changes"}),(null==t?void 0:t.length)?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("p",{className:"text-[15px] font-semibold text-black-100 mb-2",children:"We're watching for:"}),(0,i.jsx)("ul",{className:"flex flex-col gap-1.5 mb-6",children:t.map((e,t)=>(0,i.jsxs)("li",{className:"text-[16px] leading-[26px] text-[#636363] pl-5 relative",children:[(0,i.jsx)("span",{className:"absolute left-0 text-verdict-wait",children:"â¸"})," ",e]},t))})]}):null,(0,i.jsx)("p",{className:"text-[15px] font-semibold text-black-100 mb-2",children:"Verdict change log:"}),(null==l?void 0:l.length)?(0,i.jsx)("ul",{className:"flex flex-col gap-2",children:l.map((e,t)=>(0,i.jsxs)("li",{className:"text-[15px] leading-[24px] text-[#636363] flex flex-wrap items-center gap-2",children:[(0,i.jsx)("span",{className:"font-mono text-sm text-black-75",children:e.date}),(0,i.jsx)(d.k,{verdict:e.from,size:"sm"}),(0,i.jsx)("span",{"aria-hidden":!0,children:"â"}),(0,i.jsx)(d.k,{verdict:e.to,size:"sm"}),(0,i.jsx)("span",{className:"basis-full md:basis-auto",children:e.note})]},t))}):(0,i.jsxs)("p",{className:"text-[15px] text-tertiary-100",children:["No changes since first publication",s?" (".concat(s,")"):"","."]})]}):null},L=e=>{let{faq:t}=e;return(null==t?void 0:t.length)?(0,i.jsxs)("section",{"aria-label":"Frequently asked questions",children:[(0,i.jsx)(m.O,{children:"Common Questions"}),(0,i.jsx)("div",{className:"flex flex-col gap-6",children:t.map((e,t)=>(0,i.jsxs)("div",{children:[(0,i.jsx)("h3",{className:"text-[18px] leading-[28px] font-semibold text-black-100 mb-1.5",children:e.q}),(0,i.jsx)("p",{className:"text-[17px] leading-[28px] text-[#636363]",children:e.a})]},t))})]}):null},P=e=>{let{decisions:t}=e;return(null==t?void 0:t.length)?(0,i.jsx)("div",{className:"mt-[32px]",children:(0,i.jsxs)("div",{className:"md:p-6 p-4 bg-[#F9F9F9] rounded-[20px]",children:[(0,i.jsx)("h3",{className:"font-medium text-[16px]",children:"Related Decisions"}),(0,i.jsx)("div",{className:"flex flex-col w-full",children:t.map((e,t)=>{var l;return(0,i.jsxs)("a",{href:"/shopify/build-vs-buy/".concat(e.slug),className:"group flex items-start justify-between gap-4 py-5 border-b border-gray-200 last:border-none",children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("p",{className:"text-[17px] font-medium text-black-100 group-hover:text-primary-100 transition-colors",children:e.h1}),e.excerpt&&(0,i.jsx)("p",{className:"mt-1 text-[15px] leading-[24px] text-[#636363]",children:e.excerpt})]}),(0,i.jsx)("div",{className:"shrink-0 mt-1",children:(0,i.jsx)(d.k,{verdict:null===(l=e.verdict)||void 0===l?void 0:l.primary,size:"sm"})})]},t)})})]})}):null},W=e=>{let{cta:t,moneyPage:l}=e;return t?(0,i.jsxs)("section",{"aria-label":"Work with Deploi",className:"mt-14 rounded-[20px] bg-primary-10 p-6 md:p-9 text-center",children:[(0,i.jsx)("h2",{className:"text-[24px] md:text-[30px] leading-[34px] md:leading-[40px] font-bold",children:t.heading}),(0,i.jsx)("p",{className:"mt-3 text-[17px] leading-[28px] text-[#484848] max-w-[560px] mx-auto",children:t.body}),(0,i.jsx)("a",{href:t.buttonUrl,className:"mt-6 inline-block rounded-full bg-primary-100 hover:bg-primary-90 text-white font-medium px-8 py-3.5 transition-colors",children:t.buttonLabel}),l&&(0,i.jsx)("p",{className:"mt-4 text-sm",children:(0,i.jsx)("a",{href:l.url,className:"text-primary-100 underline hover:text-primary-75 transition-colors",children:l.label})})]}):null},z=e=>{let{assumptions:t}=e;return(0,i.jsxs)("div",{className:"mt-12 border-t border-gray-100 pt-5 text-[13px] leading-[21px] text-tertiary-100",children:[(0,i.jsx)("p",{children:t}),(0,i.jsxs)("p",{className:"mt-1",children:["Read"," ",(0,i.jsx)("a",{href:"/shopify/build-vs-buy/methodology",className:"underline hover:text-primary-100",children:"how we score these decisions (the TCC Framework)"}),". No affiliate links, no paid placement â no app vendor pays to appear here."]})]})},I={"shopify-help":"Shopify Help Center","shopify-dev":"shopify.dev",shopify:"Shopify"},D=e=>{let{resources:t}=e;return(null==t?void 0:t.length)?(0,i.jsxs)("section",{"aria-label":"Official docs and sources",children:[(0,i.jsx)(m.O,{children:"Official Docs & Sources"}),(0,i.jsx)("ul",{className:"flex flex-col gap-2 list-none pl-0",children:t.map((e,t)=>(0,i.jsxs)("li",{className:"text-[15px] leading-relaxed",children:[(0,i.jsx)("a",{href:e.url,target:"_blank",rel:"noopener",className:"font-medium underline decoration-tertiary-25 underline-offset-2 hover:text-primary-100 transition-colors",children:e.label})," ",(0,i.jsxs)("span",{className:"text-sm text-tertiary-100",children:["â ",I[e.type]||"External"]}
1)]},t))}),(0,i.jsx)("p",{className:"text-sm text-tertiary-100 mt-3",children:"Official documentation linked for verification â our verdicts and estimates are our own."})]}):null};var A=l(81469),M=l(60454),Y=l(54602),q=l.n(Y),U=l(9008),V=l.n(U);let H="https://deploi.ca/shopify/build-vs-buy",R=(e,t)=>({title:t,capability:e.capability,capsule:e.capsule,verdict:e.verdict,scenarios:e.bands,decisionTree:e.decisionTree,totalCostOfOwnership:e.tcc,costTraps:e.costTraps,exitOptions:e.exitOptions,buildPath:e.buildPath,assumptions:e.assumptions,whenTheAnswerChanges:e.watchTriggers,faq:e.faq});var $=!0,Z=e=>{var t,l,d,x,m,j,g,f;let{decision:y,site:C,domainSlug:_}=e,I=y||{},Y=C||{},[U,$]=(0,r.useState)(null);(0,r.useEffect)(()=>{var e;let t=new URLSearchParams(window.location.search).get("rev");null!==t&&(null===(e=I.bands)||void 0===e?void 0:e[Number(t)])&&$(Number(t))},[I.bands]);let Z=null!==U&&(null===(t=I.bands)||void 0===t?void 0:null===(l=t[U])||void 0===l?void 0:l.buyScore)!=null?I.bands[U]:null,Q="".concat(H,"/").concat(I.slug),G=I.slug&&(null===(d=Y.org)||void 0===d?void 0:d.url)?(0,M.wH)({decision:I,baseUrl:H,org:Y.org,siteName:Y.heading,domainSlug:_}):null,J=I.h1||"",X=J.length>60?J:"".concat(J," | Deploi");return(0,i.jsxs)("div",{className:"".concat(q().className," [&_*]:font-[inherit]"),children:[(0,i.jsxs)(V(),{children:[(0,i.jsx)("title",{children:X}),(0,i.jsx)("meta",{name:"description",content:I.excerpt}),(0,i.jsx)("link",{rel:"canonical",href:Q}),(0,i.jsx)("meta",{property:"og:title",content:I.h1}),(0,i.jsx)("meta",{property:"og:description",content:I.excerpt}),(0,i.jsx)("meta",{property:"og:url",content:Q}),(0,i.jsx)("meta",{property:"og:type",content:"article"}),(0,i.jsx)("meta",{property:"og:site_name",content:"Deploi"}),(0,i.jsx)("meta",{name:"twitter:card",content:"summary"}),(null===(x=I.dates)||void 0===x?void 0:x.published)&&(0,i.jsx)("meta",{property:"article:published_time",content:I.dates.published}),(null===(m=I.dates)||void 0===m?void 0:m.modified)&&(0,i.jsx)("meta",{property:"article:modified_time",content:I.dates.modified}),G&&(0,i.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(G).replace(/</g,"\\u003c")}})]}),(0,i.jsx)(a.Z,{}),(0,i.jsxs)("main",{children:[(0,i.jsx)("div",{className:"mt-[35px] max-w-5xl mx-auto lg:px-0 px-6",children:(0,i.jsxs)("div",{className:"flex items-center flex-wrap text-sm font-semibold",children:[(0,i.jsx)("a",{href:"/shopify/build-vs-buy",className:"hover:text-primary-100 transition-colors",children:"Build vs. Buy"}),_&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{className:"px-2",children:">"}),(0,i.jsx)("a",{href:"/shopify/build-vs-buy/domains/".concat(_),className:"hover:text-primary-100 transition-colors",children:I.domain})]}),(0,i.jsx)("span",{className:"px-2",children:">"}),(0,i.jsx)("span",{className:"text-primary-100",children:I.capability})]})}),(0,i.jsxs)("div",{className:"max-w-[777px] mx-auto md:px-0 px-6 relative pt-8 md:pt-[40px] md:pb-[120px] pb-[50px]",children:[(0,i.jsx)(n.Z,{children:J}),(0,i.jsx)(o,{byline:I.byline,pricingVerified:null===(j=I.verdict)||void 0===j?void 0:j.pricingVerified}),(0,i.jsx)(c,{text:I.capsule}),(0,i.jsx)(A.c,{data:R(I,J)}),(0,i.jsx)(h,{bands:I.bands,active:U,onSelect:e=>{$(e);let t=new URL(window.location.href);null===e?t.searchParams.delete("rev"):t.searchParams.set("rev",String(e)),window.history.replaceState(window.history.state,"",t.toString())}}),(0,i.jsx)(p,{verdict:I.verdict,adjusted:Z}),(0,i.jsx)(u,{bands:I.bands,activeIndex:U}),(0,i.jsx)(v,{impactMap:I.impactMap,capability:I.capability}),(0,i.jsx)(b,{items:I.decisionTree}),(0,i.jsx)(S,{tcc:I.tcc}),(0,i.jsx)(O,{apps:I.apps}),(0,i.jsx)(B,{buildPath:I.buildPath,proofPoints:I.proofPoints}),(0,i.jsx)(T,{tccTable:I.tccTable}),(0,i.jsx)(N,{costTraps:I.costTraps}),(0,i.jsx)(E,{items:I.merchantVoice}),(0,i.jsx)(w,{exitOptions:I.exitOptions}),(0,i.jsx)(F,{watchTriggers:I.watchTriggers,changeLog:I.changeLog,firstPublished:null===(g=I.byline)||void 0===g?void 0:g.updated}),(0,i.jsx)(L,{faq:I.faq}),(0,i.jsx)(k,{nextSteps:I.nextSteps,activeVerdict:Z?Z.verdict:null===(f=I.verdict)||void 0===f?void 0:f.primary}),(0,i.jsx)(D,{resources:I.resources}),(0,i.jsx)(P,{decisions:I.relatedDecisions}),(0,i.jsx)(W,{cta:I.cta,moneyPage:I.moneyPage}),(0,i.jsx)(z,{assumptions:I.assumptions})]})]}),(0,i.jsx)(s.p,{})]})}},54602:function(e){e.exports={style:{fontFamily:"'__Poppins_954606', '__Poppins_Fallback_954606'",fontStyle:"normal"},className:"__className_954606"}},42883:function(e,t,l){"use strict";l.d(t,{W:function(){return n}});var i=l(46695),s=l(67294);function a(e,t){return`${e}: ${"string"==typeof t?t:JSON.stringify(t)}`}function n({description:e,value:t,parentId:l,categories:n,convert:r,available:c="enabled"},o){let{addContext:d,removeContext:x}=(0,i.I)(),p=(0,s.useRef)();r=r||a;let m=r(e,t);return(0,s.useEffect)(()=>
1{if("disabled"===c)return;let e=d(m,l,n);return p.current=e,()=>{x(e)}},[c,m,l,d,x,...o||[]]),p.current}}},function(e){e.O(0,[4885,7066,4622,4786,3706,3850,9774,2888,179],function(){return e(e.s=42886)}),_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.