1"use strict";(self.webpackChunkorders_co_gatsby=self.webpackChunkorders_co_gatsby||[]).push([[465],{6379:function(n,e,t){t.r(e),t.d(e,{Head:function(){return h},default:function(){return _}});var i=t(4794),a=t(6540),o=t(3259),l=t(929),r=t(2413),s=t(5043);const c=({token:n,userDatabaseId:e,authToken:t})=>{const i={"Content-Type":"application/json"};return n&&(i.WPGatsbyPreview=n),e&&(i.WPGatsbyPreviewUser=e),t&&(i.Authorization=`Bearer ${t}`),i},d=n=>{if(!n)return n;const e=new Date(n);return Number.isNaN(e.getTime())?n:new Intl.DateTimeFormat("en-US",{day:"2-digit",month:"long",year:"numeric"}).format(e)},u=n=>{if(!n||"string"!=typeof n)return null;const e=n.replace(/<[^>]+>/g," ").replace(/\s+/g," ").trim();if(!e)return null;return{text:`${Math.max(1,Math.ceil(e.split(" ").length/200))} min read`}},m=n=>{var e,t;return n?{...n,height:(null==n?void 0:n.height)||(null==n||null===(e=n.mediaDetails)||void 0===e?void 0:e.height),width:(null==n?void 0:n.width)||(null==n||null===(t=n.mediaDetails)||void 0===t?void 0:t.width)}:n},g=n=>{var e;return n?{...n,date:d(n.date),readingTime:n.readingTime||u(n.content),acf_post:{...n.acf_post,relatedPosts:((null==n||null===(e=n.acf_post)||void 0===e?void 0:e.relatedPosts)||[]).map(n=>({...n,post:null!=n&&n.post?{...n.post,date:d(n.post.date)}:null==n?void 0:n.post}))},seo:null!=n&&n.seo?{...n.seo,opengraphImage:m(n.seo.opengraphImage),twitterImage:m(n.seo.twitterImage)}:null==n?void 0:n.seo}:n},p=({children:n})=>a.createElement("main",null,a.createElement("section",{className:"container py-5"},a.createElement("div",{style:{maxWidth:720}},n)));var _=({location:n})=>
1{const e=(0,i.useStaticQuery)("290294790"),[t,d]=a.useState(null),[u,m]=a.useState(""),[_,h]=a.useState(!0),f=a.useRef(null),C=a.useCallback(()=>{f.current?f.current.scrollIntoView({behavior:"smooth"}):(0,i.navigate)("/schedule-a-demo/")},[]);a.useEffect(()=>{let e=!0;return(async()=>{try{var t;const i=(n=>{const e=new URLSearchParams(n),t="https://wordpress-738825-2656424.cloudwaysapps.com/graphql",i=(n=>{const e=n.get("previewDatabaseId"),t=n.get("parentDatabaseId"),i=n.get("databaseId")||n.get("id"),a=n.get("path")||n.get("uri"),o=[];return[i,t,e].forEach(n=>{n&&o.push({id:n,idType:"DATABASE_ID"})}),a&&o.push({id:a,idType:"URI"}),o})(e),a=e.get("singleName");if(!i.length)throw new Error("Preview URL is missing a page identifier. Expected previewDatabaseId, parentDatabaseId, databaseId, id, path, or uri.");return{candidates:i,endpoint:t,headers:c({token:e.get("token"),userDatabaseId:e.get("userDatabaseId"),authToken:e.get("authToken")}),preferredType:a}})((null==n?void 0:n.search)||""),a=await(async({endpoint:n,headers:e,candidates:t,preferredType:i})=>{let a=null;for(const u of t){var o,l,r,s,c;const t=await fetch(n,{method:"POST",headers:e,body:JSON.stringify({query:"\n query PreviewContentById($id: ID!, $pageIdType: PageIdType, $postIdType: PostIdType) {\n page(id: $id, idType: $pageIdType) {\n\n id\n databaseId\n title\n uri\n content\n isPreview\n editorBlocks {\n __typename\n name\n type\n clientId\n renderedHtml\n ... on AcfHero {\n attributes {\n data\n }\n }\n ... on AcfContentWithImage {\n attributes {\n data\n }\n }\n ... on AcfFaq {\n attributes {\n data\n }\n }\n ... on AcfPricing {\n attributes {\n data\n }\n }\n ... on AcfTitle {\n attributes {\n data\n }\n }\n }\n seo {\n metaDesc\n opengraphDescription\n title\n twitterDescription\n twitterTitle\n opengraphImage {\n sourceUrl\n mediaDetails {\n width\n height\n }\n }\n twitterImage {\n sourceUrl\n mediaDetails {\n width\n height\n }\n }\n opengraphType\n }\n acf_content {\n acfContent {\n ... on Page_AcfContent_AcfContent_HeroBlock {\n __typename\n topLinks {\n current\n label\n link {\n target\n title\n url\n }\n }\n title\n useH1\n youtubeVideoId\n description\n link {\n target\n title\n url\n }\n desktopImage {\n altText\n sourceUrl\n mediaDetails {\n width\n height\n }\n }\n mobileImage {\n altText\n sourceUrl\n mediaDetails {\n width\n height\n }\n }\n smallImage {\n altText\n sourceUrl\n mediaDetails {\n width\n height\n }\n }\n smallImageStyle {\n bottom\n right\n maxWidth\n }\n }\n ... on Page_AcfContent_AcfContent_HeroBlockV2 {\n __typename\n blockId\n useH1\n title\n description\n link {\n target\n title\n url\n }\n bgImage {\n altText\n sourceUrl\n mediaDetails {\n width\n height\n }\n }\n }\n ... on Page_AcfContent_AcfContent_HeroAltBlock {\n __typename\n topLinks {\n current\n label\n link {\n target\n title\n url\n }\n }\n title\n useH1\n youtubeVideoId\n description\n link {\n target\n title\n url\n }\n desktopImage {\n altText\n sourceUrl\n mediaDetails {\n width\n height\n }\n }\n }\n ... on Page_AcfContent_AcfContent_ContentWithImage {\n __typename\n title\n description\n reverse\n badge\n button {\n url\n title\n target\n }\n image {\n altText\n sourceUrl\n mediaDetails {\n width\n height\n }\n }\n imageAfterItems {\n altText\n sourceUrl\n mediaDetails {\n width\n height\n }\n }\n useQrMenuMakerButtons\n itemsTitle\n items {\n type\n title\n description\n icon {\n altText\n sourceUrl\n mediaDetails {\n width\n height\n }\n }\n }\n }\n ... on Page_AcfContent_AcfContent_ContentWithIframe {\n __typename\n title\n description\n reverse\n badge\n button {\n url\n title\n target\n }\n iframe\n }\n ... on Page_AcfContent_AcfContent_ContentWithStats {\n __typename\n title\n description\n button {\n target\n title\n url\n }\n stats {\n value\n label\n }\n }\n ... on Page_AcfContent_AcfContent_PartnersIcons {\n __typename\n useLocal\n title\n icons {\n link {\n url\n title\n target\n }\n icon {\n altText\n sourceUrl\n mediaDetails {\n width\n height\n }\n }\n }\n }
1\n ... on Page_AcfContent_AcfContent_Percents {\n __typename\n title\n items {\n percent\n description\n }\n }\n ... on Page_AcfContent_AcfContent_Percent {\n __typename\n vertical\n percent\n description\n button {\n target\n title\n url\n }\n }\n ... on Page_AcfContent_AcfContent_ImageText {\n __typename\n bgColor\n title\n useBigTitle\n description\n image {\n altText\n sourceUrl\n mediaDetails {\n width\n height\n }\n }\n imagePosition\n }\n ... on Page_AcfContent_AcfContent_ImageTextSlider {\n __typename\n title\n items {\n title\n description\n image {\n altText\n sourceUrl\n mediaDetails {\n width\n height\n }\n }\n imagePosition\n }\n button {\n url\n title\n target\n }\n }\n ... on Page_AcfContent_AcfContent_GlobalIntegrationsBlock {\n __typename\n }\n ... on Page_AcfContent_AcfContent_GlobalSingleDeviceBlock {\n __typename\n }\n ... on Page_AcfContent_AcfContent_Faq {\n __typename\n title\n items {\n question\n answer\n }\n }\n ... on Page_AcfContent_AcfContent_News {\n __typename\n title\n showFromCategory\n categoty {\n uri\n }\n }\n ... on Page_AcfContent_AcfContent_IntegrationsBlock {\n __typename\n title\n icons: integrationIcons {\n altText\n sourceUrl\n mediaDetails {\n width\n height\n }\n }\n }\n ... on Page_AcfContent_AcfContent_ServicePlansGrid {\n __typename\n blockId\n title\n description\n servicePlansCards {\n title\n description\n link {\n target\n title\n url\n }\n }\n bottomImage {\n altText\n sourceUrl\n mediaDetails {\n width\n height\n }\n }\n bottomLinks {\n style\n link {\n url\n title\n target\n }\n }\n }\n ... on Page_AcfContent_AcfContent_ProductsGrid {\n __typename\n title\n items {\n title\n image {\n altText\n sourceUrl\n mediaDetails {\n width\n height\n }\n }\n link {\n url\n target\n }\n text\n isAi\n }\n bottomLinks {\n style\n link {\n url\n title\n target\n }\n }\n }\n ... on Page_AcfContent_AcfContent_FeaturesList {\n __typename\n title\n items {\n title\n description\n }\n }\n ... on Page_AcfContent_AcfContent_FeaturesSlider {\n __typename\n title\n showNumbers\n items {\n backgroundColor\n textColor\n title\n description\n image {\n altText\n sourceUrl\n mediaDetails {\n width\n height\n }\n }\n }\n }\n ... on Page_AcfContent_AcfContent_QrMenuMakerBlock {\n __typename\n }\n ... on Page_AcfContent_AcfContent_ValuesBlock {\n __typename\n title\n items {\n text\n }\n }\n ... on Page_AcfContent_AcfContent_ContactForm {\n __typename\n showTitle\n useH1\n title\n description\n thankYou {\n image {\n altText\n sourceUrl\n mediaDetails {\n width\n height\n }\n }\n text\n }\n }\n ... on Page_AcfContent_AcfContent_FoundersBlock {\n __typename\n founders {\n image {\n altText\n sourceUrl\n mediaDetails {\n width\n height\n }\n }\n name\n socialUrl\n position\n }\n }\n ... on Page_AcfContent_AcfContent_LocatedBlock {\n __typename\n title\n description\n desktopImage {\n altText\n sourceUrl\n mediaDetails {\n width\n height\n }\n }\n mobileImage {\n altText\n sourceUrl\n mediaDetails {\n width\n height\n }\n }\n }\n ... on Page_AcfContent_AcfContent_CustomButton {\n __typename\n type\n layout\n link {\n url\n title\n target\n }\n buttonText\n }\n ... on Page_AcfContent_AcfContent_Banner {\n __typename\n title\n link {\n url\n title\n target\n }\n }\n ... on Page_AcfContent_AcfContent_BannerV2 {\n __typename\n title\n link {\n url\n title\n target\n }\n }\n ... on Page_AcfContent_AcfContent_Pricing {\n __typename\n featuresLabel\n essentialLabel\n essentialPrice\n professionalLabel\n professionalPrice\n growthLabel\n growthPrice\n features {\n name\n essential\n essentialText\n professional\n professionalText\n growth\n growthText\n }\n }\n ... on Page_AcfContent_AcfContent_PricingV2 {\n __typename\n title\n description\n essentialCard {\n title\n price\n bottomLink {\n target\n title\n url\n }\n }\n professionalCard {\n title\n price\n bottomLink {\n target\n title\n url\n }\n }\n growthCard {\n title\n price\n bottomLink {\n target\n title\n url\n }\n }\n featuresDropdowns {\n title\n featuresList {\n name\n essentialValue {\n value\n text\n }\n professionalValue {\n value\n text\n }\n growthValue {\n value\n text\n }\n }\n }\n }\n ... on Page_AcfContent_AcfContent_TestimonialsBlock {\n __typename\n title\n items {\n testimonial {\n ... on Testimonial {\n title\n featuredImage {\n node {\n altText\n sourceUrl\n mediaDetails {\n width\n height\n }\n }\n }\n testimonial {\n review\n authorName\n position\n link {\n url\n title\n target\n }\n badge\n badges {\n title\n text\n }\n }\n }\n }\n }\n }\n ... on Page_AcfContent_AcfContent_ScheduleADemoForm {\n __typename\n leftColumn {\n bgImage {\n altText\n sourceUrl\n mediaDetails {\n width\n height\n }\n }\n title\n link {\n target\n title\n url\n }\n }\n }\n ... on Page_AcfContent_AcfContent_SingleTestimonialBlock {\n __typename\n title\n bgColor\n testimonial {\n ... on Testimonial {\n title\n featuredImage {\n node {\n altText\n sourceUrl\n mediaDetails {\n width\n height\n }\n }\n }\n testimonial {\n review\n authorName\n place\n link {\n url\n title\n target\n }\n badge\n badges {\n title\n text\n }\n position\n }\n }\n }\n }\n ... on Page_AcfContent_AcfContent_SingleTestimonialAlt {\n __typename\n title\n leftItems {\n image {\n altText\n sourceUrl\n mediaDetails {\n width\n height\n }\n }\n text\n className\n }
1\n rightBackgroundImage {\n altText\n sourceUrl\n mediaDetails {\n width\n height\n }\n }\n testimonial {\n ... on Testimonial {\n featuredImage {\n node {\n altText\n sourceUrl\n mediaDetails {\n width\n height\n }\n }\n }\n testimonial {\n review\n authorName\n position\n }\n }\n }\n }\n ... on Page_AcfContent_AcfContent_TestimonialsNewBlock {\n __typename\n title\n bgColor\n items {\n testimonial {\n ... on Testimonial {\n title\n featuredImage {\n node {\n altText\n sourceUrl\n mediaDetails {\n width\n height\n }\n }\n }\n testimonial {\n review\n authorName\n place\n link {\n url\n title\n target\n }\n badge\n badges {\n title\n text\n }\n position\n }\n }\n }\n }\n }\n ... on Page_AcfContent_AcfContent_TitleBlock {\n __typename\n useH1\n title\n }\n ... on Page_AcfContent_AcfContent_IconItemsBlock {\n __typename\n orangeBoxes\n title\n items {\n svgIconCode\n title\n description\n }\n button {\n target\n title\n url\n }\n }\n ... on Page_AcfContent_AcfContent_PartnerWithUsForm {\n __typename\n blockId\n title\n }\n ... on Page_AcfContent_AcfContent_ContactUsHero {\n __typename\n blockId\n useH1\n title\n description\n thankYouText\n }\n ... on Page_AcfContent_AcfContent_CaseStudiesGrid {\n __typename\n blockId\n title\n description\n caseStudyItems {\n image {\n altText\n sourceUrl\n mediaDetails {\n width\n height\n }\n }\n logo {\n altText\n sourceUrl\n mediaDetails {\n width\n height\n }\n }\n link {\n target\n title\n url\n }\n }\n link {\n target\n title\n url\n }\n }\n ... on Page_AcfContent_AcfContent_ResultsSliderBlock {\n __typename\n blockId\n title\n resultsItemms {\n title\n subtitle\n }\n }\n ... on Page_AcfContent_AcfContent_PosTypesBlock {\n __typename\n blockId\n title\n description\n posTypes {\n title\n description\n image {\n altText\n sourceUrl\n mediaDetails {\n width\n height\n }\n }\n subItems {\n title\n description\n image {\n altText\n sourceUrl\n mediaDetails {\n width\n height\n }\n }\n }\n }\n bottomLinks {\n style\n link {\n url\n title\n target\n }\n }\n }\n ... on Page_AcfContent_AcfContent_PosBundles {\n __typename\n title\n description\n bundlesItems {\n name\n price\n salePrice\n image {\n altText\n sourceUrl\n mediaDetails {\n width\n height\n }\n }\n tagList {\n text\n }\n }\n }\n ... on Page_AcfContent_AcfContent_PosHardware {\n __typename\n title\n description\n hardwareItems {\n title\n price\n image {\n altText\n sourceUrl\n mediaDetails {\n width\n height\n }\n }\n }\n bottomLinks {\n style\n link {\n target\n title\n url\n }\n }\n }\n ... on Page_AcfContent_AcfContent_PosServicePlans {\n __typename\n title\n description\n servicesItems {\n title\n ispopular\n ispricetypecount\n price\n period\n priceText\n shortdescription\n advantagesList {\n text\n checkedColor\n }\n bottomlink {\n target\n title\n url\n }\n }\n }\n }\n }\n\n }\n post(id: $id, idType: $postIdType) {\n\n id\n databaseId\n title\n uri\n content\n excerpt\n isPreview\n date\n modifiedRaw: modified\n publishedRaw: date\n acf_post {\n pdfDownload {\n show\n title\n subtitle\n file {\n sourceUrl\n mediaItemUrl\n }\n desktopImage {\n altText\n sourceUrl\n mediaDetails {\n width\n height\n }\n }\n mobileImage {\n altText\n sourceUrl\n mediaDetails {\n width\n height\n }\n }\n }\n relatedPosts {\n post {\n ... on Post {\n excerpt\n uri\n date\n title\n featuredImage {\n node {\n altText\n sourceUrl\n mediaDetails {\n width\n height\n }\n }\n }\n categories {\n nodes {\n name\n uri\n }\n }\n }\n }\n }\n }\n tags {\n nodes {\n name\n }\n }\n categories {\n nodes {\n name\n uri\n categoryPopup {\n popup {\n show\n image {\n altText\n sourceUrl\n mediaDetails {\n width\n height\n }\n }\n titleBefore\n title\n titleAfter\n button {\n url\n title\n target\n }\n }\n }\n }\n }\n featuredImage {\n node {\n altText\n sourceUrl\n mediaDetails {\n width\n height\n }\n }\n }\n seo {\n metaKeywords\n metaDesc\n metaRobotsNofollow\n metaRobotsNoindex\n opengraphAuthor\n opengraphDescription\n title\n twitterDescription\n twitterTitle\n opengraphSiteName\n opengraphTitle\n opengraphUrl\n focuskw\n opengraphImage {\n sourceUrl\n mediaDetails {\n width\n height\n }\n }\n twitterImage {\n sourceUrl\n mediaDetails {\n width\n height\n }\n }\n opengraphType\n }\n primaryAuthor {\n databaseId\n name\n firstName\n lastName\n description\n email\n slug\n uri\n avatarUrl\n primaryPostCount\n totalAuthorPostCount\n links {\n icon\n name\n target\n title\n url\n }\n }\n contributors {\n title\n user {\n databaseId\n name\n firstName\n lastName\n description\n email\n slug\n uri\n avatarUrl\n primaryPostCount\n contributorPostCount\n totalAuthorPostCount\n links {\n icon\n name\n target\n title\n url\n }\n }\n }\n\n }\n }\n",variables:{id:u.id,pageIdType:u.idType,postIdType:u.idType}})}),m=await t.json();if(!t.ok||null!==(o=m.errors)&&void 0!==o&&o.length){var d;a=null!==(d=m.errors)&&void 0!==d&&d[0]?new Error(m.errors[0].message):new Error(`Preview request failed with status ${t.status}`)}else{if("post"===i&&null!=m&&null!==(l=m.data)&&void 0!==l&&l.post)return{contentType:"post",node:g(m.data.post)};if("page"===i&&null!=m&&null!==(r=m.data)&&void 0!==r&&r.page)return{contentType:"page",node:m.data.page};if(null!=m&&null!==(s=m.data)&&void 0!==s&&s.page)return{contentType:"page",node:m.data.page};if(null!=m&&null!==(c=m.data)&&void 0!==c&&c.post)return{contentType:"post",node:g(m.data.post)}}}throw a||new Error("Preview content could not be loaded.")})(i);if(!e)return;d(a),m(""),h(!1),null!=a&&null!==(t=a.node)&&void 0!==t&&t.title&&"undefined"!=typeof document&&(document.title=`Preview: ${a.node.title}`)}catch(i){if(!e)return;d(null),m(i.message||"Unable to load preview."),h(!1)}})(),()=>{e=!1}},[null==n?void 0:n.search]);const w=null==t?void 0:t.node,y=null==t?void 0:t.contentType;return _||u||"post"!==y||!w?a.createElement(a.Fragment,null,a.createElement(r.A,{scrollToForm:C}
1),_&&a.createElement(p,null,a.createElement("h1",null,"Loading preview"),a.createElement("p",null,"Fetching the latest WordPress draft data for this page.")),!_&&u&&a.createElement(p,null,a.createElement("h1",null,"Preview unavailable"),a.createElement("p",null,u),a.createElement("p",null,"Check that the preview URL includes a post or page identifier and, for unpublished drafts, the WordPress preview token values.")),!_&&!u&&"page"===y&&w&&a.createElement("main",null,a.createElement(s.A,{formRef:f,page:w,scrollToForm:C})),a.createElement(l.A,null)):a.createElement(o.default,{data:{next:null,post:w,previous:null,site:e.site},location:{...n,pathname:(null==w?void 0:w.uri)||(null==n?void 0:n.pathname)||"/preview/"}})};const h=()=>a.createElement(a.Fragment,null,a.createElement("title",null,"Preview"),a.createElement("meta",{name:"robots",content:"noindex,nofollow"}))}}]); 2//# sourceMappingURL=component---src-pages-preview-js-e4172cbd2d870a04bccc.js.map
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.