1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2492],{49937:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog/[slug]",function(){return i(89996)}])},69537:function(e,t,i){"use strict";var l=i(85893),n=i(67294);t.Z=function(e){let{className:t="",children:i=null,href:o,onClick:d=()=>{},...a}=e,[s,r]=(0,n.useState)(!1);return o?(0,l.jsx)("a",{className:"\n flex items-center text-base font-medium rounded-md text-primary-100 bg-white px-6 md:px-8 py-2.5 md:py-4 cursor-pointer shadow-[0px_1px_4px_0px_#00000040]\n hover:bg-[#B567FF] hover:text-white hover:shadow-[0px_4px_24px_0px_#B567FF73]\n active:bg-[#4E0890] active:text-white active:shadow-[0px_4px_24px_0px_#4E089073]\n disabled:bg-[#E7E7E7] disabled:text-[#A7A7A7] disabled:shadow-none\n ".concat(t,"\n "),href:o,...a,onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1),children:(null==a?void 0:a.loading)?(0,l.jsx)("img",{src:s?"/icons/loader-light.svg":"/icons/loader-dark.svg",className:"h-6 w-6 animate-spin"}):i}):(0,l.jsx)("button",{className:"\n flex items-center text-base font-medium rounded-md text-primary-100 bg-white px-6 md:px-8 py-2.5 md:py-4 cursor-pointer shadow-[0px_1px_4px_0px_#00000040]\n hover:bg-[#B567FF] hover:text-white hover:shadow-[0px_4px_24px_0px_#B567FF73]\n active:bg-[#4E0890] active:text-white active:shadow-[0px_4px_24px_0px_#4E089073]\n disabled:bg-[#E7E7E7] disabled:text-[#A7A7A7] disabled:shadow-none\n ".concat(t,"\n "),onClick:d,...a,onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1),children:(null==a?void 0:a.loading)?(0,l.jsx)("img",{src:s?"/icons/loader-light.svg":"/icons/loader-dark.svg",className:"h-6 w-6 animate-spin"}):i})}},36647:function(e,t,i){"use strict";var l=i(85893);i(67294),t.Z=function(e){let{className:t="",id:i="",children:n=null}=e;return(0,l.jsx)("h2",{className:"".concat(t," text-2xl md:text-[42px] leading-[36px] md:leading-[63px] font-semibold md:font-bold"),id:i,children:n})}},13050:function(e,t,i){"use strict";var l=i(85893);i(67294),t.Z=function(e){let{className:t="",children:i=null}=e;return(0,l.jsx)("h4",{className:"".concat(t," md:text-[32px] md:leading-[48px] md:font-bold"),children:i})}},22415:function(e,t,i){"use strict";i.d(t,{D:function(){return b}});var l=i(85893),n=i(29558),o=i(42883),d=i(98950),a=i(67294),s=i(86893),r=i(78728),u=i(50336),v=i(40046),c=i(78704),m=i(48873);let p={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"},x=e=>{let{handleCopilotState:t,welcomeComponentClass:i=""}=e;return(0,l.jsx)("div",{className:"wrapper2 mb-8 md:mb-20 ".concat(i),children:(0,l.jsxs)("div",{className:"bg-[#F9F9F9] p-[20px] md:p-[42px] rounded-[20px] relative",children:[(0,l.jsxs)("p",{className:"text-[#202020] text-[18px] md:text-[24px] md:leading-[56px]",children:[(0,l.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,l.jsx)("button",{type:"button",className:p.primary,onClick:()=>t({isOpen:!0}),children:"Chat with Deploi AI"}),(0,l.jsx)(s.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})})]})})},h={points:c.k,remainingPoints:c.k},b=e=>{let{data:t,isVisible:i=!0,welcomeComponentClass:s,chatComponentClass:c,chatbot:b={}}=e,[g,f]=(0,a.useState)({isVisible:i,isOpen:!1,isExpanded:!1}),[j,w]=(0,a.useState)(h),_=(0,a.useRef)(null),{visibleMessages:y}=(0,n.C)(),{attributes:N={}}=b,k=(null==N?void 0:N.chatInstructions)||u.p_,F=(null==N?void 0:N.dataDescription)||u.Cw,E=(null==N?void 0:N.additionalInstructions)||"";(0,o.W)({description:F,value:t}),(0,d.$)({instructions:E,available:E?"enabled":"disabled"},[!!E]),(0,a.useEffect)(()=>{let e=async()=>{try{let e=await (0,v.D)();w(e||h)}catch(e){w(h)}};e()},[]);let I=e=>{f(t=>({...t,...e}))},C=()=>{setTimeout(()=>{if(_.current){let e=_.current.getBoundingClientRect().top,t=e+window.pageYOffset-100;window.scrollTo({top:t,behavior:"smooth"})}},100)},A=y.length>u.zE||g.isExpanded;return(0,l.jsxs)(l.Fragment,{children:[g.isVisible&&(0,l.jsxs)(l.Fragment,{children:[!g.isOpen&&(0,l.jsx)(x,{handleCopilotState:I,welcomeComponentClass:s}),g.isOpen&&(0,l.jsx)(m.P,{ref:_,isExpanded:A,visibleMessages:y,chatInstructions:k,rateLimit:j,handleCopilotState:I,chatComponentClass:c})]}),(0,l.jsx)("button",{type:"button",className:p.floatingButton,onClick:()=>{I({isVisible:!0,isOpen:!0}),C()},children:(0,l.jsx)(r.U,{})})]})}},89996:function(e,t,i){"use strict";i.r(t),i.d(t,{__N_SSG:function(){return _},default:function(){return y}});var l=i(85893),n=i(9008),o=i.n(n),d=i(43284),a=i(64513),s=i(73753),r=i(3591),u=i(34050),v=i(98655),c=i(13050),m=i(89583),p=i(10267);i(67294);var x=i(36647),h=i(69537),b=function(){return(0,l.jsx)("div",{className:"bg-primary-100 py-16 md:py-24",children:(0,l.jsxs)("div",{className:"wrapper text-center text-white",children:[(0,l.jsx)(x.Z,{className:"font-medium md:font-medium mb-6 md:mb-12",children:"Looking for the best Shopify Plus agency? Compare the top Shopify Plus development experts to find the right partner for your store."}),(0,l.jsx)(h.Z,{className:"mx-auto w-fit",href:"/blog/top-5-shopify-plus-agencies",children:"Discover Top Agencies"})]})})},g=function(e){let{isLight:t}=e;return(0,l.jsx)("div",{className:"rounded-3xl ".concat(t?"bg-[#F8F8F8]":"bg-primary-100"," py-10 md:py-[52px] my-10 md:my-[70px]"),children:(0,l.jsxs)("div",{className:"wrapper text-center ".concat(t?"text-primary-100":"text-white"),children:[(0,l.jsx)(x.Z,{className:"font-medium md:font-medium mb-6",children:"Not sure which technology is right for you? Let our experts guide you to a future-ready solution with a free consultation."}),(0,l.jsx)(h.Z,{className:"mx-auto w-fit",href:"/contact",children:"Book Your Free Consultation"})]})})},f=i(22415),j=i(27193);i(51837);let w=e=>{var t;let i=(e||{}).attributes||{},l=(null===(t=i.author)||void 0===t?void 0:t.data)||[];try{return{title:i.title||"",description:i.description||"",slug:i.slug||"",content:i.rawContent||"",author:l.map(e=>{let t=e.attributes||{};return{name:t.name||"",description:t.description||"",linkedIn:t.linkedinUrl||"",facebook:t.facebookUrl||"",githubUrl:t.githubUrl||""}})}}catch(e){return{title:"",description:"",content:"",author:[]}}};var _=!0,y=e=>{var t,i,n,x,h,_,y,N,k,F,E,I,C,A,S,Z,L,T,B,D,O,M,U,P,H,z,V,R,$,W,X,Y,q,G,J,K,Q,ee,et,ei,el,en,eo,ed,ea,es,er,eu,ev,ec,em,ep,ex,eh,eb,eg,ef,ej,ew,e_,ey,eN,ek,eF,eE,eI,eC,eA,eS,eZ,eL,eT,eB,eD,eO,eM,eU,eP,eH,ez,eV,eR,e$,eW,eX,eY,eq,eG,eJ;let{blog:eK={},slug:eQ,isShopifyPage:e0,isComparisonPage:e4}=e,{response:e2}=(0,j.d)(),{attributes:e7={}}=eK,e8=(null==e7?void 0:null===(t=e7.thumbImg)||void 0===t?void 0:null===(i=t.data)||void 0===i?void 0:null===(n=i.attributes)||void 0===n?void 0:null===(x=n.formats)||void 0===x?void 0:null===(h=x.large)||void 0===h?void 0:h.url)?s._+(null==e7?void 0:null===(_=e7.thumbImg)||void 0===_?void 0:null===(y=_.data)||void 0===y?void 0:null===(N=y.attributes)||void 0===N?void 0:null===(k=N.formats)||void 0===k?void 0:null===(F=k.large)||void 0===F?void 0:F.url):(null==e7?void 0:null===(E=e7.thumbImg)||void 0===E?void 0:null===(I=E.data)||void 0===I?void 0:null===(C=I.attributes)||void 0===C?void 0:null===(A=C.formats)||void 0===A?void 0:null===(S=A.medium)||void 0===S?void 0:S.url)?s._+(null==e7?void 0:null===(Z=e7.thumbImg)||void 0===Z?void 0:null===(L=Z.data)||void 0===L?void 0:null===(T=L.attributes)||void 0===T?void 0:null===(B=T.formats)||void 0===B?void 0:null===(D=B.medium)||void 0===D?void 0:D.url):(null==e7?void 0:null===(O=e7.thumbImg)||void 0===O?void 0:null===(M=O.data)||void 0===M?void 0:null===(U=M.attributes)||void 0===U?void 0:null===(P=U.formats)||void 0===P?void 0:null===(H=P.small)||void 0===H?void 0:H.url)?s._+(null==e7?void 0:null===(z=e7.thumbImg)||void 0===z?void 0:null===(V=z.data)||void 0===V?void 0:null===(R=V.attributes)||void 0===R?void 0:null===($=R.formats)||void 0===$?void 0:null===(W=$.small)||void 0===W?void 0:W.url):(null==e7?void 0:null===(X=e7.thumbImg)||void 0===X?void 0:null===(Y=X.data)||void 0===Y?void 0:null===(q=Y.attributes)||void 0===q?void 0:null===(G=q.formats)||void 0===G?void 0:null===(J=G.thumbnail)||void 0===J?void 0:J.url)?s._+(null==e7?void 0:null===(K=e7.thumbImg)||void 0===K?void 0:null===(Q=K.data)||void 0===Q?void 0:null===(ee=Q.attributes)||void 0===ee?void 0:null===(et=ee.formats)||void 0===et?void 0:null===(ei=et.thumbnail)||void 0===ei?void 0:ei.url):"",e1=s._+(null==e7?void 0:null===(el=e7.author)||void 0===el?void 0:null===(en=el.data)||void 0===en?void 0:null===(eo=en[0])||void 0===eo?void 0:null===(ed=eo.attributes)||void 0===ed?void 0:null===(ea=ed.profileImg)||void 0===ea?void 0:null===(es=ea.data)||void 0===es?void 0:null===(er=es.attributes)||void 0===er?void 0:null===(eu=er.formats)||void 0===eu?void 0:null===(ev=eu.thumbnail)||void 0===ev?void 0:ev.url);(null==e7?void 0:null===(ec=e7.author)||void 0===ec?void 0:null===(em=ec.data)||void 0===em?void 0:null===(ep=em[0])||void 0===ep?void 0:null===(ex=ep.attributes)||void 0===ex?void 0:null===(eh=ex.profileImg)||void 0===eh?void 0:null===(eb=eh.data)||void 0===eb?void 0:null===(eg=eb.attributes)||void 0===eg?void 0:null===(ef=eg.formats)||void 0===ef?void 0:ef.thumbnail)||(e1="");let e6=(null==e7?void 0:e7.content)||"",e5=(null==e6?void 0:e6.indexOf("</p>"))+4,e9=null==e6?void 0:e6.substring(0,e5),e3=null==e6?void 0:e6.substring(e5),te=(null==e7?void 0:null===(ej=e7.tags)||void 0===ej?void 0:ej.data)||[];return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(o(),{children:[(0,l.jsx)("title",{children:"".concat((null==e7?void 0:e7.title)||""," | Deploi")}),(0,l.jsx)("meta",{name:"title",content:(null==e7?void 0:null===(ew=e7.seo)||void 0===ew?void 0:e
1w.metaTitle)||""}),(0,l.jsx)("meta",{name:"description",content:(null==e7?void 0:null===(e_=e7.seo)||void 0===e_?void 0:e_.metaDescription)||""}),(0,l.jsx)("meta",{property:"og:image",content:e8||"".concat("https://deploi.ca","/images/og.png")}),(0,l.jsx)("meta",{property:"og:title",content:(null==e7?void 0:null===(ey=e7.seo)||void 0===ey?void 0:ey.metaTitle)||""}),(0,l.jsx)("meta",{property:"og:description",content:(null==e7?void 0:null===(eN=e7.seo)||void 0===eN?void 0:eN.metaDescription)||""}),(0,l.jsx)("meta",{property:"og:url",content:"https://deploi.ca/blog/".concat(eQ)}),(0,l.jsx)("meta",{property:"og:type",content:"website"}),(0,l.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,l.jsx)("meta",{name:"twitter:title",content:(null==e7?void 0:null===(ek=e7.seo)||void 0===ek?void 0:ek.metaTitle)||""}),(0,l.jsx)("meta",{name:"twitter:description",content:(null==e7?void 0:null===(eF=e7.seo)||void 0===eF?void 0:eF.metaDescription)||""}),(0,l.jsx)("meta",{name:"twitter:image",content:"".concat("https://deploi.ca","/images/og.png")}),(0,l.jsx)("link",{rel:"canonical",href:"https://deploi.ca/blog/".concat(eQ)}),(null==te?void 0:te.length)>0&&(0,l.jsx)("meta",{name:"keywords",content:null===(eE=null==te?void 0:te.map(e=>e.attributes.name))||void 0===eE?void 0:eE.join(", ")})]}),(0,l.jsx)(a.Z,{}),(0,l.jsxs)("main",{children:[(0,l.jsxs)("div",{className:"relative pb-12 md:pb-32",children:[(0,l.jsx)("div",{className:"bg-primary-100 py-8 md:py-20 mb-8 md:mb-20",children:(0,l.jsx)(p.Z,{className:"wrapper2 font-semibold text-white md:text-center whitespace-pre-line",children:null==e7?void 0:e7.title})}),e2&&(0,l.jsx)(f.D,{data:w(eK),chatbot:e2}),(0,l.jsxs)("div",{className:"relative wrapper2",children:[(null==e7?void 0:e7.description)&&(0,l.jsx)("div",{className:"text-black blog-content",dangerouslySetInnerHTML:{__html:null==e7?void 0:e7.description}}),e4?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"text-black blog-content",dangerouslySetInnerHTML:{__html:e9}}),(0,l.jsx)(g,{}),(0,l.jsx)("div",{className:"text-black blog-content",dangerouslySetInnerHTML:{__html:e3}})]}):(null==e7?void 0:e7.content)?(0,l.jsx)("div",{className:"text-black blog-content",dangerouslySetInnerHTML:{__html:null==e7?void 0:e7.content}}):null,(null==te?void 0:te.length)>0&&(0,l.jsxs)("div",{className:"text-black blog-content",children:[(0,l.jsx)("h3",{children:"Tags"}),(0,l.jsx)("div",{className:"flex flex-wrap items-center md:gap-6 gap-2",children:te.map(e=>{var t;return(0,l.jsx)("a",{href:"/blog/tags/".concat(null==e?void 0:null===(t=e.attributes)||void 0===t?void 0:t.slug),className:"bg-[#F6F6F6] text-[#979494] hover:bg-primary-10 hover:text-primary-100 md:py-[10px] py-[5px] md:px-[34px] px-[14px] md:text-[22px] text-[16px] font-semibold md:leading-[40px] leading-[30px] md:tracking-[0.02rem] rounded-[60px] capitalize !no-underline ![word-break:normal]",children:e.attributes.name},e.id+1)})})]})]})]}),(0,l.jsx)("div",{className:"block md:hidden wrapper wrapper2 mb-16",children:(0,l.jsxs)("div",{className:"bg-[#F5F5F5] rounded-[14px] flex flex-col px-6 py-6",children:[(0,l.jsxs)("div",{className:"flex items-center mb-3",children:[(0,l.jsx)("img",{src:e1,onError:e=>{let{currentTarget:t}=e;t.onerror=null,t.src=""},className:"h-14 w-14 rounded-full object-cover mr-3.5"}),(0,l.jsx)(u.Z,{className:"leading-[35px] flex-1",children:(null==e7?void 0:null===(eI=e7.author)||void 0===eI?void 0:null===(eC=eI.data)||void 0===eC?void 0:null===(eA=eC[0])||void 0===eA?void 0:null===(eS=eA.attributes)||void 0===eS?void 0:eS.name)||""}),(0,l.jsx)("a",{name:"Linkedin","aria-label":"Linkedin",href:(null==e7?void 0:null===(eZ=e7.author)||void 0===eZ?void 0:null===(eL=eZ.data)||void 0===eL?void 0:null===(eT=eL[0])||void 0===eT?void 0:null===(eB=eT.attributes)||void 0===eB?void 0:eB.linkedinUrl)||"#",children:(0,l.jsx)(m.ltd,{className:"text-2xl ml-3.5"})})]}),(0,l.jsx)(r.Z,{className:"tracking-wider",children:(null==e7?void 0:null===(eD=e7.author)||void 0===eD?void 0:null===(eO=eD.data)||void 0===eO?void 0:null===(eM=eO[0])||void 0===eM?void 0:null===(eU=eM.attributes)||void 0===eU?void 0:eU.description)||""})]})}),(0,l.jsx)("div",{className:"hidden md:block wrapper wrapper2 mb-20",children:(0,l.jsxs)("div",{className:"bg-[#F5F5F5] rounded-[14px] flex items-center px-[70px] py-9",children:[(0,l.jsx)("img",{src:e1,onError:e=>{let{currentTarget:t}=e;t.onerror=null,t.src=""},className:"h-44 w-44 rounded-full object-cover mr-14"}),(0,l.jsxs)("div",{className:"text-black flex-1",children:[(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)(c.Z,{className:"flex-1 leading-[35px] font-semibold mb-2",children:(null==e7?void 0:null===(eP=e7.author)||void 0===eP?void 0:null===(eH=eP.data)||void 0===eH?void 0:null===(ez=eH[0])||void 0===ez?void 0:null===(eV=ez.attributes)||void 0===eV?void 0:eV.name)||""}),(0,l.jsx)("a",{name:"Linkedin","aria-label":"Linkedin",href:(null==e7?void 0:null===(eR=e7.author)||void 0===eR?void 0:null===(e$=eR.data)||void 0===e$?void 0:null===(eW=e$[0])||void 0===eW?void 0:null===(eX=eW.attributes)||void 0===eX?void 0:eX.linkedinUrl)||"#",children:(0,l.jsx)(m.ltd,{className:"text-2xl ml-3.5"})})]}),(0,l.jsx)(v.Z,{className:"tracking-wider",children:(null==e7?void 0:null===(eY=e7.author)||void 0===eY?void 0:null===(eq=eY.data)||void 0===eq?void 0:null===(eG=eq[0])||void 0===eG?void 0:null===(eJ=eG.attributes)||void 0===eJ?void 0:eJ.description)||""})]})]})})]}),e0&&(0,l.jsx)(b,{}),(0,l.jsx)(d.Z,{})]})}},42883:function(e,t,i){"use strict";i.d(t,{W:function(){return d}});
1var l=i(46695),n=i(67294);function o(e,t){return`${e}: ${"string"==typeof t?t:JSON.stringify(t)}`}function d({description:e,value:t,parentId:i,categories:d,convert:a,available:s="enabled"},r){let{addContext:u,removeContext:v}=(0,l.I)(),c=(0,n.useRef)();a=a||o;let m=a(e,t);return(0,n.useEffect)(()=>{if("disabled"===s)return;let e=u(m,i,d);return c.current=e,()=>{v(e)}},[s,m,i,u,v,...r||[]]),c.current}}},function(e){e.O(0,[4885,5445,7066,4622,4786,3706,2915,9774,2888,179],function(){return e(e.s=49937)}),_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.