1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7812],{784:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});var a=l(7876);let s=(0,l(74).F)("signature flex flex-col items-start gap-1");function r(e){let{className:t,name:l,date:r,readTime:i,...n}=e;return(0,a.jsxs)("div",{className:s({className:t}),...n,children:[(0,a.jsx)("p",{className:"mobile-header-xsmall mobile-header-xsmall xl:desktop-header-xsmall",children:l}),(0,a.jsxs)("div",{className:"flex mobile-body-regular xl:desktop-body-regular text-dark-gray",children:[(0,a.jsx)("p",{children:r}),r&&i&&(0,a.jsx)("div",{className:"px-2",children:"â¢"}),i&&(0,a.jsxs)("p",{children:[i," min read"]})]})]})}},1008:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});var a=l(7876);let s=(0,l(74).F)("chip text-center bg-extended-blue-6/50 text-extended-blue-3 rounded-[30px]",{variants:{size:{small:["desktop-body-small","px-4","py-1"],large:["desktop-body-regular","px-6","py-2"]}},defaultVariants:{size:"large"}});function r(e){let{text:t,className:l,size:r,...i}=e;return(0,a.jsx)("div",{className:s({size:r,className:l}),...i,children:(0,a.jsx)("p",{children:t})})}},1681:(e,t,l)=>{"use strict";l.d(t,{G:()=>s});var a=l(7876);let s=e=>e.map((e,t)=>"alternate"===e.rel?(0,a.jsx)("link",{rel:e.rel,href:e.href,hrefLang:"xDefault"===e.hrefLangs?"x-default":e.hrefLangs},t):(0,a.jsx)("link",{rel:e.rel,href:e.href},t))},2635:(e,t,l)=>{"use strict";l.d(t,{A:()=>p});var a=l(7876),s=l(4232),r=l(74),i=l(9099),n=l(4587),d=l.n(n),c=l(8230),o=l.n(c),h=l(8468),x=l(7091),m=l(1008);let u=(0,r.F)("contentCard flex flex-col group/content-card");function p(e){let{className:t,id:l,defaultImageSrc:r,defaultImageAltText:n,hoverImageSrc:c,hoverImageAltText:p,headline:g,chips:b,category:j,excerpt:f,author:w,date:v,readTime:N,slug:y,slugShow:k,linkText:C,..._}=e,T=(0,i.useRouter)(),I=T.query.locale||"en",A=T.basePath||"",[P,S]=(0,s.useState)(!1),R=["xl","2xl"].includes((0,h.A)())?"large":"small",L=(e,t,l)=>(null==e?void 0:e.includes("http"))?e:"en"!==t?"".concat(l,"/").concat(t,"/").concat(e):"".concat(l,"/").concat(e);return(0,a.jsxs)("div",{className:u({className:t}),..._,children:[(0,a.jsx)("div",{className:"pb-4",onMouseEnter:()=>S(!0),onMouseLeave:()=>S(!1),children:(0,a.jsx)(o(),{href:L(y,I,A),children:P?(0,a.jsx)("div",{children:c?(0,a.jsx)(d(),{src:c,alt:p,priority:!0,width:464,height:464,sizes:"100vw",style:{width:"100%",height:"auto",borderRadius:"10px"}}):(0,a.jsx)(d(),{src:r,alt:n,priority:!0,width:464,height:464,sizes:"100vw",style:{width:"100%",height:"auto",borderRadius:"10px"}})}):(0,a.jsx)(d(),{src:r,alt:n,priority:!0,width:464,height:464,sizes:"100vw",style:{width:"100%",height:"auto",borderRadius:"10px"}})})}),b&&(0,a.jsx)("div",{className:"flex flex-wrap pb-4 gap-2",children:b.map((e,t)=>(0,a.jsx)("div",{children:(0,a.jsx)(m.A,{size:"small",text:e})},t))}),(0,a.jsx)("div",{className:"flex gap-2",children:j&&(0,a.jsxs)("p",{className:"desktop-body-small text-blue pb-2",children:[j," "]})}),(0,a.jsx)(o(),{href:L(y,I,A),children:(0,a.jsx)("p",{className:"pb-2 mobile-header-small lg:desktop-header-small group-hover/content-card:underline",children:g})}),(0,a.jsx)("div",{className:"pb-4 mobile-body-regular lg:desktop-body-regular",children:f}),w&&(0,a.jsx)("div",{className:"mobile-header-xsmall lg:desktop-header-xsmall",children:w}),v||N?(0,a.jsxs)("div",{className:"flex pt-1 gap-2 text-dark-gray mobile-body-regular lg:desktop-body-regular",children:[v&&(0,a.jsx)("div",{children:null==v?void 0:v.toString()}),v&&N&&(0,a.jsx)("div",{children:" ⢠"}),N&&(0,a.jsxs)("div",{children:[N," min read"]})]}):null,k&&(0,a.jsx)("div",{id:l&&l,children:(0,a.jsx)(x.A,{size:R,text:C,href:L(y,I,A),textColor:"blue"})})]})}},4803:(e,t,l)=>{"use strict";l.d(t,{E:()=>i});let a="https://waitwhile.com",s={en:"en",es:"es",fr:"fr",sv:"sv"},r=(e,t)=>{let l=(e=>{let t=e.replace(/^\/+|\/+$/g,"");return t?"/".concat(t,"/"):"/"})(t);return"en"===e?"".concat(a).concat(l):"".concat(a,"/").concat(e).concat(l)},i=(e,t)=>{var l;let a=null!=(l=e.find(e=>e.locale===t))?l:e[0];if(!a)return[];let i={rel:"canonical",href:r(a.locale,a.slug)};if(e.length<2)return[i];let n=e.map(e=>{var t;return{rel:"alternate",href:r(e.locale,e.slug),hrefLangs:null!=(t=s[e.locale])?t:e.locale}}),d=e.find(e=>"en"===e.locale);return[i,...n,...d?[{rel:"alternate",href:r(d.locale,d.slug),hrefLangs:"xDefault"}]:[]]}},5660:(e,t,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog/[slug]",function(){return l(8422)}])},6374:(e,t,l)=>{"use strict";l.d(t,{A:()=>a});let a={src:"/cmsnext/static/media/chevronRightGray.4161b553.svg",height:25,width:24,blurWidth:0,blurHeight:0}},7245:(e,t,l)=>{"use strict";l.d(t,{A:()=>m});var a=l(7876),s=l(74),r=l(4587),i=l.n(r),n=l(8230),d=l.n(n),c=l(1530);let o={src:"/cmsnext/static/media/forwardArrowBlackLink.21ad0b21.svg",height:16,width:16,blurWidth:0,blurHeight:0},h=(0,s.F)("statement"),x=e=>!e||/^(https?:|mailto:|tel:|\/)/i.test(e)?e:"/".concat(e);function m(e){let{className:t,text:l,textColor:s,backgroundColor:r,buttonText:n,buttonLink:m,buttonPriority:u,linkText:p,linkHref:g,...b}=e;return(0,a.jsx)("div",{className:h({className:t}),...b,children:(0,a.jsx)("div",{style:{backgroundColor:r||"#4100fa"},className:"bg-radial-gradient-pink-and-blue py-10 lg:py-20",children:(0,a.jsx)("div",{className:"flex flex-col items-center justify-start",children:(0,a.jsxs)("div",{className:"max-w-screen-2xl px-6 lg:px-20",children:[(0,a.jsx)("p",{style:{color:s||"#111111"},className:"desktop-header-medium lg:desktop-header-super pb-10 lg:pb-20",children:l}),(0,a.jsxs)("div",{className:"flex flex-row items-center gap-4 lg:gap-6",children:[(0,a.jsx)(c.A,{href:x(m),target:"_blank",rel:"noopener noreferrer",priority:u,text:n}),(0,a.jsxs)(d(),{href:g?x(g):"https://www.youtube.com/watch?v=NRffpaDcs9g",target:"_blank",rel:"noopener noreferrer",className:"flex flex-row justify-center items-center gap-2 mobile-header-xsmall lg:desktop-header-xsmall",children:[p||"Watch how it works",(0,a.jsx)(i(),{src:o,alt:"Forward Arrow",width:16,height:16})]})]})]})})})})}},7328:(e,t,l)=>{e.exports=l(9269)},8325:(e,t,l)=>{"use strict";l.d(t,{A:()=>
1o});var a=l(7876),s=l(9099),r=l(4587),i=l.n(r),n=l(8230),d=l.n(n);let c={src:"/cmsnext/static/media/forwardArrowGray.661e62f7.svg",height:8,width:5,blurWidth:0,blurHeight:0};function o(e){let{data:t}=e,{asPath:l}=(0,s.useRouter)(),r=l.split("/").filter(e=>!!e&&"sv"!==e&&!e.includes("#"));if(r.length<1)return console.warn("Breadcrumbs: Not enough path segments to render breadcrumbs."),null;let n=r.map(e=>{let t=e.replace(/-/g," ");return t[0].toUpperCase()+t.slice(1)});return(0,a.jsx)("nav",{"aria-label":"breadcrumbs",className:"w-full min-w-0",children:(0,a.jsxs)("ol",{className:"grid grid-cols-[max-content_minmax(0,1fr)] text-[10px] lg:desktop-body-small w-full",children:[(0,a.jsxs)("li",{className:"flex items-center whitespace-nowrap pr-2",children:[(0,a.jsx)(d(),{href:"/".concat(r[0]),children:(0,a.jsx)("span",{className:"block text-dark-gray",children:n[0]})}),t&&(0,a.jsx)(i(),{src:c,alt:"Forward Arrow",height:6,width:3,style:{height:"auto",width:"auto"},className:"ml-2"})]}),(0,a.jsxs)("li",{className:"block w-full",children:[(0,a.jsx)("span",{className:"text-black hidden md:block","aria-current":"page",children:t}),(0,a.jsx)("div",{className:"text-black md:hidden w-full",children:(0,a.jsx)("span",{className:"block overflow-hidden text-ellipsis whitespace-nowrap","aria-current":"page",children:t})})]})]})})}},8411:(e,t,l)=>{"use strict";l.d(t,{A:()=>a});let a={src:"/cmsnext/static/media/chevronLeftGray.0b9bc35a.svg",height:25,width:24,blurWidth:0,blurHeight:0}},8422:(e,t,l)=>{"use strict";l.r(t),l.d(t,{__N_SSG:()=>V,default:()=>$});var a=l(7876),s=l(6564),r=l(4232),i=l(9099),n=l(7328),d=l.n(n),c=l(1681),o=l(4803),h=l(4587),x=l.n(h),m=l(8325);function u(e){let{isOpen:t,onClose:l,children:s}=e;return t?(0,a.jsx)("div",{className:"fixed inset-0 z-40 w-full h-full flex items-center justify-center bg-black bg-opacity-10 hover:cursor-pointer",onClick:l,children:(0,a.jsx)("div",{className:"relative hover:cursor-default",children:s})}):null}var p=l(74),g=l(784),b=l(1008);let j=(0,p.F)("heroSectionImage");function f(e){let{className:t,chips:l,headline:s,subsection:r,signatureName:i,date:n,publishedAt:d,updatedAt:c,signatureReadTime:o,image:h,...m}=e,u=c?"Updated at ".concat(c):"Published at ".concat(d);return(0,a.jsx)("div",{className:j({className:t}),...m,children:(0,a.jsxs)("div",{className:"flex flex-col gap-10 lg:flex-row lg:gap-20 xl:gap-[120px]",children:[(0,a.jsxs)("div",{className:"flex-1 flex flex-col justify-center gap-4 xl:gap-6",children:[l&&(0,a.jsx)("div",{className:"flex flex-wrap gap-2 order-5 lg:order-1",children:l.map((e,t)=>(0,a.jsx)("div",{children:(0,a.jsx)(b.A,{size:"small",text:e})},t))}),(0,a.jsx)("h1",{className:"mobile-header-medium md:desktop-header-medium xl:desktop-header-xmedium order-2",children:s}),(0,a.jsx)("p",{className:"mobile-body-regular lg:desktop-body-regular xl:desktop-body-large pr-10 order-3",children:r}),(0,a.jsx)(g.A,{name:i,date:u,readTime:o,className:"order-4"}),(0,a.jsxs)("div",{className:"hidden",children:["Published at ",d]})]}),(0,a.jsx)("div",{className:"flex-1 flex items-center justify-center",children:(0,a.jsx)(x(),{src:h.url,alt:h.altText,priority:!0,width:"800",height:"400",className:"rounded-[10px]"})})]})})}var w=l(8230),v=l.n(w);let N=e=>{let t=document.getElementById(e);if(t){let e=t.getBoundingClientRect().top+window.scrollY-80;setTimeout(()=>{window.scrollTo({top:e,behavior:"smooth"})},100)}},y=(0,p.F)("tableOfContent hidden md:block");function k(e){let{data:t,headline:l,className:s,...n}=e,d=(0,i.useRouter)(),[c,o]=(0,r.useState)(null),[h,x]=(0,r.useState)(!1),[m,u]=(0,r.useState)(0),p=(0,r.useRef)(null),g=(0,r.useMemo)(()=>{var e;return(null==(e=t[0].content.raw.children)?void 0:e.filter(e=>"heading-two"===e.type))||[]},[t]),b=(0,r.useMemo)(()=>g.map(e=>e.children[0].text),[g]);g.forEach(e=>{e.id=e.children[0].text.toLowerCase().replace(/\s+/g,"-").replace(/[^a-z0-9-]/g,"")});let j=b.map(e=>({text:e,headingId:"".concat(e.toLowerCase().replace(/\s+/g,"-").replace(/[^a-z0-9-]/g,""))}));return(0,r.useEffect)(()=>{window.location.hash&&N(window.location.hash.substring(1))},[]),(0,r.useEffect)(()=>{let e=new IntersectionObserver(e=>{if(h)return;let t=e.sort((e,t)=>
1t.intersectionRatio-e.intersectionRatio);for(let e of(u(window.scrollY||document.documentElement.scrollTop),t))if(e.isIntersecting){if(e.target.id===g[g.length-1].id){let t=document.getElementById(e.target.id);if(t&&t.getBoundingClientRect().bottom>window.innerHeight)continue}o(e.target.id);break}},{root:null,threshold:[.25,.5,.75]});return p.current=e,g.forEach(t=>{let l=document.getElementById(t.id);l&&e.observe(l)}),()=>{p.current&&p.current.disconnect()}},[g,m,h]),(0,a.jsx)("div",{className:y({className:s}),...n,children:j.length>0&&(0,a.jsxs)("div",{className:"pb-8",children:[(0,a.jsx)("span",{className:"mobile-header-xsmall md:desktop-header-xsmall xl:desktop-header-small",children:l}),(0,a.jsx)("div",{className:"pt-2 xl:pt-4"}),j.map((e,t)=>(0,a.jsx)(v(),{href:"".concat(d.asPath.split("#")[0],"#").concat(e.headingId),onClick:t=>{var l;t.preventDefault(),l=e.headingId,x(!0),o(l),N(l),setTimeout(()=>{x(!1)},100),d.push("".concat(d.asPath.split("#")[0],"#").concat(e.headingId),void 0,{shallow:!0})},className:"pb-10",children:(0,a.jsx)("p",{className:"desktop-body-small xl:desktop-body-regular pl-2 py-2 border-b border-light-gray hover:cursor-pointer transition-transform duration-300 hover:translate-x-4 ".concat(c===e.headingId?"text-black":"text-dark-gray"),children:e.text})},t))]})})}var C=l(1530);let _=(0,p.F)("cta-Card");function T(e){let{headline:t,subsection:l,buttonText:s,buttonLink:r,buttonPriority:i,buttonWidth:n,className:d,...c}=e;return(0,a.jsx)("div",{className:_({className:d}),...c,children:(0,a.jsxs)("div",{className:"bg-electric-green-2 flex flex-col items-start p-6 lg:p-4 xl:p-6 rounded-[20px] lg:rounded-[10px]",children:[(0,a.jsx)("span",{className:"mobile-header-small lg:desktop-header-xsmall xl:desktop-header-small pb-2 lg:pb-4",children:t}),(0,a.jsx)("p",{className:"mobile-body-regular lg:desktop-body-small xl:desktop-body-regular pb-6 lg:pb-4 xl:pb-6",children:l}),(0,a.jsx)(C.A,{text:s,href:r,priority:i,width:n})]})})}let I=(0,p.F)("quoteCard");function A(e){let{slug:t,highlightedText:l,defaultText:s,fullName:r,title:n,logo:d,color:c,className:o,...h}=e,m=(0,i.useRouter)();return(0,a.jsxs)("div",{className:I({className:o}),...h,children:["black"===c&&(0,a.jsx)(v(),{href:t?"".concat(m.basePath,"/case-studies/").concat(t):"/case-studies",children:(0,a.jsxs)("div",{className:"flex flex-col justify-between rounded-lg p-6 bg-black hover:shadow-[5px_5px_12px_0px_rgba(0,0,0,0.3)]",children:[(0,a.jsx)("h3",{className:"mobile-header-small lg:desktop-header-small",children:(0,a.jsxs)("div",{children:[l&&(0,a.jsxs)("span",{className:"text-electric-green",children:[l," "]}),s&&(0,a.jsx)("span",{className:"text-white",children:s})]})}),(0,a.jsxs)("div",{className:"flex justify-between items-end pt-10",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-1 text-white",children:[(0,a.jsx)("p",{className:"text-xs font-[500] lg:mobile-header-xsmall",children:r}),(0,a.jsx)("p",{className:"mobile-body-small lg:mobile-body-regular",children:n})]}),(0,a.jsx)(x(),{src:d.url,alt:d.altText,width:10,height:10,style:{height:"35px",width:"35px"}})]})]})}),"green"===c&&(0,a.jsx)(v(),{href:t?"".concat(m.basePath,"/case-studies/").concat(t):"/case-studies",children:(0,a.jsxs)("div",{className:"flex flex-col justify-between rounded-lg p-6 bg-electric-green hover:shadow-[5px_5px_12px_0px_rgba(0,0,0,0.1)]",children:[(0,a.jsx)("h3",{className:"mobile-header-small lg:desktop-header-small",children:(0,a.jsxs)("div",{children:[l&&(0,a.jsxs)("span",{className:"text-blue",children:[l," "]}),s&&(0,a.jsx)("span",{className:"text-black",children:s})]})}),(0,a.jsxs)("div",{className:"flex justify-between items-end pt-10",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-1 text-black",children:[(0,a.jsx)("p",{className:"text-xs font-[500] lg:mobile-header-xsmall",children:r}),(0,a.jsx)("p",{className:"mobile-body-small lg:mobile-body-regular",children:n})]}),(0,a.jsx)(x(),{src:d.url,alt:d.altText,width:10,height:10,style:{height:"35px",width:"35px"}})]})]})}),"blue"===c&&(0,a.jsx)(v(),{href:t?"".concat(m.basePath,"/case-studies/").concat(t):"/case-studies",children:(0,a.jsxs)("div",{className:"flex flex-col justify-between rounded-lg p-6 bg-blue hover:shadow-[5px_5px_12px_0px_rgba(0,0,0,0.2)]",children:[(0,a.jsx)("h3",{className:"mobile-header-small lg:desktop-header-small",children:(0,a.jsxs)("div",{children:[l&&(0,a.jsxs)("span",{className:"text-electric-green",children:[l," "]}),s&&(0,a.jsx)("span",{className:"text-white",children:s})]})}),(0,a.jsxs)("div",{className:"flex justify-between items-end pt-10",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-1 text-white",children:[(0,a.jsx)("p",{className:"text-xs font-[500] lg:mobile-header-xsmall",children:r}),(0,a.jsx)("p",{className:"mobile-body-small lg:mobile-body-regular",children:n})]}),(0,a.jsx)(x(),{src:d.url,alt:d.altText,width:10,height:10,style:{height:"35px",width:"35px"}})]})]})})]})}function P(){return(0,r.useEffect)(()=>{let e=document.createElement("script");e.src="https://js.hscta.net/cta/current.js",e.async=!0,e.onload=()=>{window.hbspt&&window.hbspt.cta?window.hbspt.cta.load(9492857,"47818e4d-4df3-4228-8d4e-59e9005b6074",{useNewLoader:"true",region:"na1"}
1):console.error("HubSpot CTA script failed to load.")},document.body.appendChild(e)},[]),(0,a.jsx)("div",{children:(0,a.jsx)("span",{className:"hs-cta-wrapper",id:"hs-cta-wrapper-47818e4d-4df3-4228-8d4e-59e9005b6074",children:(0,a.jsx)("span",{className:"hs-cta-node hs-cta-47818e4d-4df3-4228-8d4e-59e9005b6074",id:"hs-cta-47818e4d-4df3-4228-8d4e-59e9005b6074",children:(0,a.jsx)("a",{href:"https://cta-redirect.hubspot.com/cta/redirect/9492857/47818e4d-4df3-4228-8d4e-59e9005b6074",children:(0,a.jsx)(x(),{className:"hs-cta-img",id:"hs-cta-img-47818e4d-4df3-4228-8d4e-59e9005b6074",style:{borderWidth:0},height:"320",width:"2560",src:"https://no-cache.hubspot.com/cta/default/9492857/47818e4d-4df3-4228-8d4e-59e9005b6074.png",alt:"New call-to-action"})})})})})}let S=(0,p.F)("tags flex flex-row flex-wrap gap-1 w-full");function R(e){let{className:t,data:l,...s}=e;return(0,a.jsxs)("div",{className:S({className:t}),...s,children:[(0,a.jsx)("p",{className:"mobile-body-small lg:desktop-body-small text-dark-gray font-normal",children:"In this article:"}),l.map(e=>e.tags.map((t,l)=>(0,a.jsxs)("p",{className:"mobile-body-small lg:desktop-body-small text-dark-gray italic",children:[t," ",l<e.tags.length-1?",":""]},l)))]})}let L=(0,p.F)("author");function E(e){let{className:t,data:l,...s}=e;return(0,a.jsx)("div",{className:L({className:t}),...s,children:l.map(e=>(0,a.jsxs)("div",{className:"flex flex-col lg:flex-row",children:[(0,a.jsx)(x(),{src:e.author.profileImage.url,alt:e.author.profileImage.altText,width:200,height:200,className:"rounded-full h-24 w-24 object-cover"}),(0,a.jsxs)("div",{className:"flex flex-col justify-center pt-4 lg:pt-0 lg:pl-4",children:[(0,a.jsx)("span",{className:"mobile-header-small lg:desktop-header-xsmall",children:e.author.headline}),(0,a.jsx)("p",{className:"mobile-body-regular lg:desktop-body-regular text-dark-gray py-2",children:e.author.bio})]})]},e.author.id))})}var W=l(7245),H=l(8411);let z={src:"/cmsnext/static/media/chevronLeftMediumGray.d1e27bc0.svg",height:24,width:24,blurWidth:0,blurHeight:0};var F=l(6374);let M={src:"/cmsnext/static/media/chevronRightMediumGray.5b80a614.svg",height:24,width:24,blurWidth:0,blurHeight:0},B=(0,p.F)("previousNextNavigation flex flex-row gap-2 justify-center items-center");function U(e){let{className:t,data:l,...s}=e,r=(0,i.useRouter)(),n=l.flatMap(e=>e.contentCard).flatMap(e=>e.contentCard.localizations).map(e=>e.slug),d=n.findIndex(e=>e===r.query.slug),c=n[d-1],o=n[d+1];return(0,a.jsx)("div",{className:B({className:t}),...s,children:(0,a.jsxs)(a.Fragment,{children:[c?(0,a.jsxs)("div",{className:"flex justify-center items-center cursor-pointer",onClick:()=>r.push("/blog/".concat(c)),children:[(0,a.jsx)(x(),{src:H.A,alt:"Previous post",width:"100",height:"100",className:"h-6 w-6"}),(0,a.jsx)("p",{className:"text-dark-gray hover:underline",children:"Previous"}),(0,a.jsx)("p",{className:"text-dark-gray pl-2",children:" /"})]}):(0,a.jsxs)("div",{className:"flex justify-center items-center",children:[(0,a.jsx)(x(),{src:z,alt:"Previous post",width:"100",height:"100",className:"h-6 w-6"}),(0,a.jsx)("p",{className:"text-medium-gray",children:"Previous"}),(0,a.jsx)("p",{className:"text-dark-gray pl-2",children:" /"})]}),o?(0,a.jsxs)("div",{className:"flex justify-center items-center cursor-pointer",onClick:()=>r.push("/blog/".concat(o)),children:[(0,a.jsx)("p",{className:"text-dark-gray hover:underline",children:"Next"}),(0,a.jsx)(x(),{src:F.A,alt:"Next post",width:"100",height:"100",className:"h-6 w-6"})]}):(0,a.jsxs)("div",{className:"flex justify-center items-center",children:[(0,a.jsx)("p",{className:"text-medium-gray",children:"Next"}),(0,a.jsx)(x(),{src:M,alt:"Previous post",width:"100",height:"100",className:"h-6 w-6"})]})]})})}let O={src:"/cmsnext/static/media/facebook-logo-black.d34f9518.svg",height:21,width:20,blurWidth:0,blurHeight:0},G={src:"/cmsnext/static/media/linkedin-logo-black.9d5572d4.svg",height:21,width:21,blurWidth:0,blurHeight:0},D={src:"/cmsnext/static/media/twitter-logo-black.eb8f8309.svg",height:21,width:20,blurWidth:0,blurHeight:0},q=(0,p.F)("shareOnSocialMedia flex flex-row gap-1 w-full");function J(e){let{className:t,metaTitle:l,metaDescription:s,...i}=e,[n,d]=(0,r.useState)("");return(0,r.useEffect)(()=>{d(window.location.href)},[]),(0,a.jsx)("div",{className:q({className:t}),...i,children:(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"mobile-header-small lg:desktop-header-xsmall xl:desktop-header-small",children:"Share with others"}),(0,a.jsxs)("div",{className:"flex gap-6 pt-6",children:[(0,a.jsx)(v(),{href:"https://www.facebook.com/sharer/sharer.php?u=".concat(encodeURIComponent("https://waitwhile.com/"+n),""e=").concat(encodeURIComponent(s)),target:"_blank",rel:"noopener noreferrer",children:(0,a.jsx)(x(),{src:O,alt:"Share on Facebook",width:"100",height:"100",className:"hover:cursor-pointer w-6 h-6"})}),(0,a.jsx)(v(),{href:"https://www.linkedin.com/shareArticle?mini=true&url=".concat(encodeURIComponent(n),"&title=").concat(encodeURIComponent(l),"&summary=").concat(encodeURIComponent(s)),target:"_blank",rel:"noopener noreferrer",children:(0,a.jsx)(x(),{src:G,alt:"Share on LinkedIn",width:"100",height:"100",className:"hover:cursor-pointer w-6 h-6"})}),(0,a.jsx)(v(),{href:"https://twitter.com/intent/tweet?url=".concat(encodeURIComponent(n),"&text=").concat(encodeURIComponent(l)),target:"_blank",rel:"noopener noreferrer",children:(0,a.jsx)(x(),{src:D,alt:"Share on X",width:"100",height:"100",className:"hover:cursor-pointer w-6 h-6"})})]})]})})}var X=l(2635);let K=(0,p.F)("readMoreSection flex justify-center");function Q(e){let{className:t,data:l,...s}=e;return(0,a.jsx)("div",{className:K({className:t}),...s,children:(0,a.jsxs)("div",{className:"max-w-screen-2xl w-full px-6 lg:px-10 xl:px-20 py-12 lg:py-20",children:[(0,a.jsx)("span",{className:"mobile-header-medium lg:desktop-header-xmedium",children:"Liked that? Check these out:"}),(0,a.jsx)("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8 lg:gap-6 pt-8",children:l.map(e=>{var t;return null==(t=e.readMorePosts)?void 0:t.map(e=>{var t;return(0,a.jsx)(X.A,{defaultImageSrc:e.contentCard.defaultImage.url,defaultImageAltText:e.contentCard.defaultImage.altText,hoverImageAltText:null==(t=e.contentCard.hoverImage)?void 0:t.altText,chips:e.contentCard.chip,headline:e.contentCard.headline,excerpt:e.contentCard.excerpt.text,linkText:e.contentCard.linkText,author:e.contentCard.author,date:e.contentCard.date,readTime:e.contentCard.readTime,slug:"blog/".concat(e.contentCard.slug),slugShow:e.contentCard.slugShow},e.id)})})})]})})}let Y={src:"/cmsnext/static/media/closeIcon.64f181aa.svg",height:12,width:12,blurWidth:0,blurHeight:0};var V=!0;function $(e){var t,l,n,h,p,g,b,j,w,v,N;let{singleBlogPost:y,blogPosts:C}=e,_=(0,i.useRouter)(),I=_.query.locale||"en",[S,L]=(0,r.useState)(null),H=y.flatMap(e=>e.seoHead).flatMap(e=>e.localizations).find(e=>{let{locale:t}=e;return t===I}),[z]=y||[],F=(0,o.E)([{locale:"en",slug:"/blog/".concat(null!=(N=null==z?void 0:z.slug)?N:"","/")}],String(I)),M=null==H?void 0:H.noIndex,B=(null==H?void 0:H.metaTitle)||"Waitwhile: Queue Management, Appointments, & Waitlist App",O=(null==H?void 0:H.metaDescription)||"Waitwhile is a customer journey management solution with virtual waitlists, appointment scheduling, event registration, messaging, analytics, and more.",G=null==H||null==(t=H.ogImage)?void 0:t.url,[D]=y||[];return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(d(),{children:[(0,a.jsx)("title",{children:B}),(0,a.jsx)("meta",{name:"description",content:O}),(0,a.jsx)("meta",{property:"og:title",content:B}),(0,a.jsx)("meta",{property:"og:image",content:G}),(0,a.jsx)("meta",{property:"og:url",content:"https://waitwhile.com".concat(_.asPath)}),(0,a.jsx)("meta",{property:"og:description",content:O}),(0,a.jsx)("meta",{name:"twitter:url",content:"https://waitwhile.com".concat(_.asPath)}),(0,a.jsx)("meta",{name:"twitter:title",content:B}),(0,a.jsx)("meta",{name:"twitter:description",content:O}),(0,a.jsx)("meta",{name:"twitter:image",content:G}),(0,c.G)(F),M&&(0,a.jsx)("meta",{name:"robots",content:"noindex,nofollow"}),(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"Article",headline:B,mainEntityOfPage:{"@type":"WebPage","@id":"https://waitwhile.com".concat(_.asPath)},image:(null==D||null==(h=D.previewCard)||null==(n=h.contentCard)||null==(l=n.defaultImage)?void 0:l.url)||"",author:{"@type":"Person",name:(null==D||null==(g=D.previewCard)||null==(p=g.contentCard)?void 0:p.author)||"Waitwhile",sameAs:(null==D||null==(j=D.previewCard)||null==(b=j.contentCard)?void 0:b.author)&&({"Christoffer Klemming":"https://careers.waitwhile.com/people/870598-christoffer-klemming","Jonas Klemming":"https://careers.waitwhile.com/en/people/870610-jonas-klemming",Waitwhile:"https://waitwhile.com","Aleksandra Pietrzak":"https://careers.waitwhile.com/people/874949-aleksandra-pietrzak","Jakob Larsson Stern":"https://careers.waitwhile.com/people/1459417-jakob-larsson-stern"})[null==D||null==(v=D.previewCard)||null==(w=v.contentCard)?void 0:w.author]||"Waitwhile"},publisher:{"@type":"Organization",name:"Waitwhile",logo:{"@type":"ImageObject",url:"https://waitwhile.com/assets/images/waitwhile_logo.png"}},datePublished:y[0].datePublished||"",dateModified:y[0].dateUpdated||""})}})]}),(0,a.jsxs)("div",{className:"flex flex-col justify-center w-full pt-6 lg:pt-8",children:[(0,a.jsx)("div",{className:"flex justify-center",children:(0,a.jsxs)("div",{className:"max-w-screen-2xl px-6 lg:px-10 xl:px-20",children:[(0,a.jsx)("div",{className:"hidden xl:flex",children:y.map(e=>(0,a.jsx)("div",{children:(0,a.jsx)(m.A,{data:e.previewCard.contentCard.headline})},e.previewCard.contentCard.id))}),(0,a.jsx)("div",{className:"flex xl:hidden self-start",children:y.map(e=>(0,a.jsx)("div",{children:(0,a.jsx)(m.A,{data:e.previewCard.contentCard.headline})},e.previewCard.contentCard.id))}),y.map(e=>{var t,l;return(0,a.jsx)("div",{className:"pt-10 lg:pt-12 xl:pt-16 lg:pb-32 xl:pb-40",children:(0,a.jsx)(f,{chips:(null==(t=e.previewCard.contentCard)?void 0:t.chip)||[],headline:e.previewCard.contentCard.headline,subsection:null==(l=e.previewCard.contentCard.excerpt)?void 0:l.text,signatureName:e.previewCard.contentCard.author,signatureReadTime:e.previewCard.contentCard.readTime,publishedAt:e.datePublished,updatedAt:e.dateUpdated,image:e.previewCard.contentCard.defaultImage})},e.previewCard.contentCard.id)}),(0,a.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-4 gap-10 lg:gap-20",children:[(0,a.jsx)("aside",{className:"md:col-span-1 lg:pb-4",children:(0,a.jsxs)("div",{className:"sticky hidden md:block top-20 pb-8",children:[(0,a.jsx)(k,{data:y,headline:"In this post"}),y.map(e=>(0,a.jsx)("div",{className:"pb-8",children:(0,a.jsx)(T,{headline:e.ctaCardHeadline,subsection:e.ctaCardSubsection,buttonText:e.ctaCardButtonText,buttonLink:"".concat(_.basePath,"/").concat(e.ctaCardButtonLink),buttonPriority:e.ctaCardButtonPriority,buttonWidth:"hug"})},e.id)),(0,a.jsx)(J,{metaDescription:O,metaTitle:B})]})}),(0,a.jsxs)("article",{className:"lg:col-span-2",children:[y.map(e=>(0,a.jsx)("div",{className:"pb-10 lg:pb-8",children:(0,a.jsx)(s.s,{content:e.content.raw,references:e.content.references,renderers:{h2:e=>{let{children:t,id:l}=e;return(0,a.jsx)("h2",{id:l,className:"pt-8 lg:pt-10 pb-4 mobile-header-medium lg:desktop-header-medium",children:t})},h3:e=>{let{children:t}=e;return(0,a.jsx)("h3",{className:"pb-2 pt-4 lg:pt-6 mobile-header-small lg:desktop-header-small",children:t})},h4:e=>{let{children:t}=e;return(0,a.jsx)("h4",{className:"pb-1 lg:pb-2 pt-4 lg:pt-6 mobile-header-xsmall lg:desktop-header-xsmall",children:t})},h6:e=>{let{children:t}=e;return(0,a.jsx)("h6",{className:"flex justify-center items-center text-center desktop-body-small text-dark-gray",children:(0,a.jsx)("span",{className:"lg:max-w-[400px]",children:t})})},p:e=>{let{children:t}=e;return(0,a.jsx)("p",{className:"pb-4 mobile-body-regular lg:desktop-body-regular",children:t})},ul:e=>{let{children:t}=e;return(0,a.jsx)("ul",{className:"ml-2 pl-5 pr-4 py-4 lg:px-4 list-disc",children:t})},ol:e=>{let{children:t}=e;return(0,a.jsx)("ol",{className:"ml-2 pb-4 px-4 list-decimal",children:t})},li:e=>{let{children:t}=e;return(0,a.jsx)("li",{className:"pb-4 pl-2 mobile-body-regular lg:desktop-body-regular",children:t})},a:e=>{let{children:t,href:l,id:s,openInNewTab:r}=e;return(0,a.jsx)("a",{className:"text-blue hover:underline",id:s&&s,href:l,target:r?"_blank":void 0,rel:r?"noopener noreferrer":void 0,children:t})},img:e=>{let{src:t,width:l,height:s,altText:r}=e;
1return(0,a.jsxs)("div",{className:"flex place-self-center pb-4",children:[t&&(0,a.jsx)("div",{children:(0,a.jsx)(x(),{src:t,alt:r||B,height:s,width:l,onClick:()=>L({src:t,altText:r||B}),className:"hover:cursor-pointer rounded-[10px]"})}),S&&(0,a.jsx)("div",{className:"hidden md:block",children:(0,a.jsx)(u,{isOpen:!!S,onClose:()=>L(null),children:(0,a.jsxs)("div",{className:"w-auto h-auto lg:w-[950px] lg:h-[650px] p-6 lg:p-0 flex flex-col justify-center items-end",onClick:e=>e.stopPropagation(),children:[(0,a.jsx)("button",{className:"w-[24px] h-[24px] mb-4 p-2 rounded-2xl bg-white hover:cursor-pointer",onClick:()=>L(null),children:(0,a.jsx)(x(),{src:Y,alt:"Close button",width:125,height:125,style:{height:"auto",width:"auto"}})}),(0,a.jsx)(x(),{src:S.src,alt:S.altText,height:s,width:l,className:"rounded-[10px]"})]})})})]})},embed:{TestimonialCard:e=>{let{slug:t,highlightedText:l,defaultText:s,fullName:r,title:i,color:n,logo:{id:d,url:c,altText:o}}=e;return(0,a.jsx)("div",{className:"py-6 lg:py-8",children:(0,a.jsx)(A,{color:n,slug:t,highlightedText:l,defaultText:s,fullName:r,title:i,logo:{id:d,url:c,altText:o}})})},Callout:e=>{let{headline:t,content:l}=e;return(0,a.jsxs)("div",{className:"bg-blue/5 flex flex-col items-start p-[30px] my-6 rounded-[10px]",children:[(0,a.jsx)("h4",{className:"mobile-header-xsmall lg:text-base font-medium",children:t}),(0,a.jsx)(s.s,{content:l.raw,renderers:{p:e=>{let{children:t}=e;return(0,a.jsx)("p",{className:"py-2 mobile-body-regular lg:desktop-body-regular",children:t})},bold:e=>{let{children:t}=e;return(0,a.jsx)("span",{className:"font-bold",children:t})},underline:e=>{let{children:t}=e;return(0,a.jsx)("span",{className:"underline",children:t})},italic:e=>{let{children:t}=e;return(0,a.jsx)("span",{className:"italic",children:t})},a:e=>{let{children:t,href:l,id:s,openInNewTab:r,rel:i}=e;return(0,a.jsx)("a",{className:"text-blue hover:underline",id:s&&s,href:l,target:r?"_blank":"_self",rel:i||"noopener noreferrer",children:t})}}})]})},BlockQuote:e=>{let{quote:t,name:l,role:s}=e;return(0,a.jsxs)("div",{className:"border-l-[3px] border-electric-green flex flex-col items-start p-6 my-6 lg:mb-8",children:[(0,a.jsx)("h4",{className:"lg:desktop-header-small",children:t}),(0,a.jsxs)("div",{className:"flex flex-col items-start pt-10",children:[(0,a.jsx)("h5",{className:"text-xs font-medium lg:mobile-header-xsmall",children:l}),(0,a.jsx)("h5",{className:"mobile-body-small lg:mobile-body-regular",children:s})]})]})},HubspotCta:e=>{let{id:t}=e;return(0,a.jsx)("div",{className:"pt-6 lg:pt-8",children:(0,a.jsx)(P,{})},t)}}}})},e.id)),(0,a.jsx)(R,{data:y}),(0,a.jsx)("div",{className:"py-10 lg:py-12 xl:py-16",children:(0,a.jsx)(E,{data:y})}),(0,a.jsx)("div",{className:"lg:pb-10 xl:pb-20",children:(0,a.jsx)(U,{data:C})})]}),(0,a.jsxs)("div",{className:"block md:hidden",children:[(0,a.jsx)(J,{metaDescription:O,metaTitle:B}),y.map(e=>(0,a.jsx)("div",{className:"pt-10 lg:py-8",children:(0,a.jsx)(T,{headline:e.ctaCardHeadline,subsection:e.ctaCardSubsection,buttonText:e.ctaCardButtonText,buttonLink:"".concat(_.basePath,"/").concat(e.ctaCardButtonLink),buttonPriority:e.ctaCardButtonPriority,buttonWidth:"hug"})},e.id))]}),(0,a.jsx)("div",{className:"col-span-1"})]})]})}),(0,a.jsx)("div",{className:"bg-extended-blue-6/30",children:(0,a.jsx)(Q,{data:y})}),(0,a.jsx)("div",{children:y.map(e=>{var t,l;return null==(l=e.statement)||null==(t=l.localizations)?void 0:t.filter(e=>{let{locale:t}=e;return t===I}).map(e=>{var t,l;return(0,a.jsx)("div",{children:(0,a.jsx)(W.A,{text:e.text,textColor:null==(t=e.textColor)?void 0:t.hex,backgroundColor:null==(l=e.backgroundColor)?void 0:l.css,buttonText:e.buttonText,buttonLink:e.buttonLink,buttonPriority:e.buttonPriority,linkText:e.linkText,linkHref:e.linkHref})},e.id)})})})]})]})}},8468:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});var a=l(4232);let s={0:"xs",480:"sm",768:"md",1024:"lg",1440:"xl",1600:"2xl"},r=()=>{let[e,t]=(0,a.useState)(""),[l,r]=(0,a.useState)({width:0,height:0}),i=()=>{r({width:window.innerWidth,height:window.innerHeight})};return(0,a.useEffect)(()=>(window.addEventListener("resize",i),i(),0<l.width&&l.width<480&&t(s[0]),480<=l.width&&l.width<768&&t(s[480]),768<=l.width&&l.width<1024&&t(s[768]),1024<=l.width&&l.width<1440&&t(s[1024]),1440<=l.width&&l.width<1600&&t(s[1440]),l.width>
1=1600&&t(s[1600]),()=>window.removeEventListener("resize",i)),[l.width]),e}}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=5660)),_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.