(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[297],{4228:function(e,s,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/why-lato",function(){return n(3805)}])},379:function(e,s,n){"use strict";n.d(s,{Z:function(){return r}});var i=n(2676),l=n(1753),t=n.n(l);function r(e){let{links:s}=e;return(0,i.jsx)("div",{className:"breadcrumbs",children:null==s?void 0:s.map(e=>(0,i.jsx)(t(),{href:e.url,children:e.display_text},"breadcrumbs_link_".concat(e.id)))})}},5721:function(e,s,n){"use strict";var i=n(2676),l=n(1992),t=n.n(l);s.Z=function(e){var s,n,l,r;let{content:a,...c}=e,{common:d}=a;return(0,i.jsx)("section",{className:"hero-section",children:(0,i.jsxs)("div",{className:"hero-content",children:[(0,i.jsxs)("div",{className:"hero-text-container ".concat(c.textOrder&&"order-last"),children:[(0,i.jsx)("h1",{className:"heading",children:c.heading}),(0,i.jsx)("p",{className:"sub-heading2",children:c.text}),c.isHeroBtn&&(0,i.jsxs)("div",{className:"hero-btn-container",children:[(0,i.jsx)("a",{href:null==d?void 0:null===(s=d.get_started_button)||void 0===s?void 0:s.url,children:(0,i.jsx)("button",{className:"primary-btn",children:null==d?void 0:null===(n=d.get_started_button)||void 0===n?void 0:n.display_text})}),(0,i.jsx)("br",{}),(0,i.jsx)("a",{href:null==d?void 0:null===(l=d.free_trial_link)||void 0===l?void 0:l.url,className:"free-trial-link link-hover",children:null==d?void 0:null===(r=d.free_trial_link)||void 0===r?void 0:r.display_text})]}),c.paraText&&(0,i.jsx)("p",{className:"para-text",children:c.paraText})]}),(0,i.jsx)("div",{className:"hero-img-container next-img",children:(0,i.jsx)(t(),{src:c.heroImg,alt:"Hero image",fill:!0,sizes:"100vw"})})]})})}},7602:function(e,s,n){"use strict";var i=n(2676),l=n(1992),t=n.n(l),r=n(5785);s.Z=function(e){let{content:s,...n}=e,{heading:l,colored_heading:a,description:c,partners:d}=s;return(0,i.jsx)("section",{className:"partner-section",children:(0,i.jsxs)("div",{className:"partner-content",children:[(l||a)&&(0,i.jsx)("h1",{className:"heading",children:(0,r.sH)(l,a)}),c&&(0,i.jsx)("h4",{className:"sub-heading2",children:c}),n.isPartners&&(0,i.jsx)("div",{className:"partners-container",children:d.map(e=>(0,i.jsx)("div",{className:"partner next-img",children:(0,i.jsx)(t(),{src:e.image,alt:e.alt,fill:!0,sizes:"100vw"})},"partner_".concat(e.id)))})]})})}},8991:function(e,s,n){"use strict";var i=n(2676),l=n(5271),t=n(1992),r=n.n(t),a=n(3440),c=n(9164);n(583),n(3670);let d={STAR_RATING_UNSPECIFIED:0,ONE:1,TWO:2,THREE:3,FOUR:4,FIVE:5};s.Z=function(e){let{googleReviewData:s}=e,{reviews:n}=s,t=(0,l.useRef)([]);t.current.length!==n.length&&(t.current=Array(n.length).fill().map(()=>(0,l.createRef)()));let o=e=>{let s=t.current[e].current;s.classList.toggle("collapse");let n=s.nextSibling.firstChild;s.classList.contains("collapse")?n.textContent="Read more":n.textContent="Read less"};return(0,i.jsx)("div",{className:"review-section",children:(0,i.jsx)("div",{className:"review-content",children:(0,i.jsx)(c.tq,{modules:[a.tl],spaceBetween:50,slidesPerView:1,pagination:{clickable:!0},breakpoints:{640:{slidesPerView:2},768:{slidesPerView:3}},children:n.map((e,s)=>{var n;let l=e.comment&&e.comment.includes("(Translated by Google)")?null===(n=e.comment.split("(Translated by Google)")[1])||void 0===n?void 0:n.split("(Original)")[0].trim():e.comment;if(!l)return null;let a=l.split(" "),h=a.slice(0,70).join(" "),x=a.length>70,u=x?a.slice(70).join(" "):"";return(0,i.jsx)(c.o5,{children:(0,i.jsxs)("div",{className:"review",children:[(0,i.jsxs)("div",{className:"review-author",children:[(0,i.jsx)("div",{className:"author-img next-img",children:(0,i.jsx)(r(),{src:e.reviewer.profilePhotoUrl,alt:"Reviewer",fill:!0,sizes:"100vw"})}),(0,i.jsx)("p",{className:"para-text",children:e.reviewer.displayName})]}),(0,i.jsx)("div",{className:"review-stars-container",children:Array(d[e.starRating]).fill(0).map((e,n)=>(0,i.jsx)("span",{className:"review-star fill",children:"★"},"google-review-".concat(s,"-star-").concat(n)))}),(0,i.jsx)("div",{className:"screenshot",style:{margin:"0px"},id:s,children:(0,i.jsxs)("div",{className:"screenshot-details",children:[(0,i.jsx)("p",{className:"para-text",style:{margin:"0px"},children:h}),x&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("p",{ref:t.current[s],className:"para-text collapse",style:{margin:"0px"},children:u}),(0,i.jsxs)("div",{children:[(0,i.jsx)("button",{onClick:()=>o(s),className:"colored-text",children:"Read more"}),(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"11.828",height:"6.914",viewBox:"0 0 11.828 6.914",style:{marginLeft:"5px"},children:(0,i.jsx)("path",{d:"M9,13.5,13.5,18,18,13.5",transform:"translate(-7.586 -12.086)",fill:"none",stroke:"#ff817d",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"})})]})]})]})})]})},"google-review-".concat(s))})})})})}},3805:function(e,s,n){"use strict";n.r(s),n.d(s,{__N_SSG:function(){return g},default:function(){return f}});var i=n(2676),l=n(7602),t=n(5721),r=n(1753),a=n.n(r),c=function(e){var s,n,l,t;let{content:r}=e,{sell_to_travel_professionals:c,sell_to_travellers:d}=r;return(0,i.jsx)("section",{className:"selling-section",children:(0,i.jsxs)("div",{className:"selling-content",children:[(0,i.jsxs)("div",{className:"selling",children:[(0,i.jsx)("h4",{className:"sub-heading2",children:c.title}),(0,i.jsxs)("div",{className:"selling-list-container",children:[(0,i.jsx)("ul",{className:"selling-list",children:c.steps.map(e=>(0,i.jsx)("li",{children:e.heading},"step_".concat(e.id)))}),(0,i.jsxs)(a(),{href:null==c?void 0:null===(s=c.link)||void 0===s?void 0:s.url,className:"feature-link",children:[null==c?void 0:null===(n=c.link)||void 0===n?void 0:n.display_text,(0,i.jsx)("span",{children:(0,i.jsxs)("svg",{fill:"none",height:"24",stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("line",{x1:"4",x2:"20",y1:"12",y2:"12"}),(0,i.jsx)("polyline",{points:"14 6 20 12 14 18"})]})})]})]})]}),(0,i.jsxs)("div",{className:"selling",children:[(0,i.jsx)("h4",{className:"sub-heading2",children:d.title}),(0,i.jsxs)("div",{className:"selling-list-container",children:[(0,i.jsx)("ul",{className:"selling-list",children:d.steps.map(e=>(0,i.jsx)("li",{children:e.heading},"step_".concat(e.id)))}),(0,i.jsxs)(a(),{href:null==d?void 0:null===(l=d.link)||void 0===l?void 0:l.url,className:"feature-link",children:[null==d?void 0:null===(t=d.link)||void 0===t?void 0:t.display_text,(0,i.jsx)("span",{children:(0,i.jsxs)("svg",{fill:"none",height:"24",stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("line",{x1:"4",x2:"20",y1:"12",y2:"12"}),(0,i.jsx)("polyline",{points:"14 6 20 12 14 18"})]})})]})]})]})]})})},d=n(3039),o=n(1992),h=n.n(o),x=n(5785),u=function(e){let{content:s}=e,{t:n}=(0,d.$G)(),{heading:l,colored_heading:t,description:r,link:c,image:o}=s;return(0,i.jsx)("section",{className:"developed-section",children:(0,i.jsxs)("div",{className:"developed-content",children:[(0,i.jsx)("h1",{className:"heading",children:(0,x.sH)(l,t)}),(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{className:"developed-img next-img",children:(0,i.jsx)(h(),{src:o,alt:"Developed",fill:!0,sizes:"100vw"})}),(0,i.jsxs)("div",{className:"developed-text",children:[(0,i.jsx)("h5",{className:"sub-heading2",children:r}),(0,i.jsxs)(a(),{href:c.url,className:"feature-link",children:[c.display_text,(0,i.jsx)("span",{children:(0,i.jsxs)("svg",{fill:"none",height:"24",stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("line",{x1:"4",x2:"20",y1:"12",y2:"12"}),(0,i.jsx)("polyline",{points:"14 6 20 12 14 18"})]})})]})]})]})]})})},v=n(3906),m=n(8991),j=n(4816),p=n(379),g=!0,f=function(e){var s;let{content:n,googleReviewData:r}=e,{seo:a,hero_section:d,partner_section:o,developed_section:h,sell_to_travel_professionals:g}=n;return(0,i.jsxs)("div",{className:"why-page",children:[(0,i.jsx)(v.Z,{seo:a}),(0,i.jsxs)(j.Z,{content:n,children:[(0,i.jsx)(p.Z,{links:null==g?void 0:null===(s=g.breadcrumbs)||void 0===s?void 0:s.filter((e,s)=>{var n;return s!==(null==g?void 0:null===(n=g.breadcrumbs)||void 0===n?void 0:n.length)-1})}),(0,i.jsx)(t.Z,{heading:(0,x.sH)(d.heading,d.colored_heading),heroImg:d.image,text:d.description,isHeroBtn:!0,content:n}),(0,i.jsx)(c,{content:n}),(0,i.jsx)(l.Z,{content:o,isPartners:!1}),(0,i.jsx)(m.Z,{googleReviewData:r}),(0,i.jsx)(u,{content:h})]})]})}}},function(e){e.O(0,[65,260,489,888,774,179],function(){return e(e.s=4228)}),_N_E=e.O()}]);