1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8375],{15489:function(t,e,a){a.r(e),a.d(e,{BlogAnalyticEvents:function(){return l}});var n=a(57437),i=a(2265),o=a(37946);function l(){let t=(0,i.useRef)([]);(0,i.useEffect)(()=>((function(){let a=()=>{t.current=document.querySelectorAll("a.blog-page[href]"),t.current.forEach(t=>{t.addEventListener("click",e)})};"loading"!==document.readyState?a():document.addEventListener("DOMContentLoaded",function(){a()})})(),()=>{t.current&&t.current.forEach(t=>t.removeEventListener("click",e))}),[]);let e=t=>{let e=(null==t?void 0:t.target).closest("a.blog-page[href]");(0,o.EL)(e.innerText,e.href),t.stopPropagation(),t.stopImmediatePropagation()};return(0,n.jsx)(n.Fragment,{})}},37946:function(t,e,a){a.d(e,{$g:function(){return c},AI:function(){return u},B:function(){return o},EL:function(){return d},Eg:function(){return m},GM:function(){return n},Kq:function(){return l},O7:function(){return f},T1:function(){return b},Yz:function(){return y},e$:function(){return g},f:function(){return i},nW:function(){return p},s7:function(){return r},yI:function(){return s}});let n={SignUp:"SignUp Clicked",SignUpCTA:"SignUp CTA Clicked",SignUpHeader:"Sign Up Header",SignUpGetStarted:"Sign Up Get Started",Login:"Login Clicked",NotifyAboutLaunch:"Notify Me Clicked",Click:"Clicked",NavbarClick:"Navbar item Clicked",SocialClick:"Social item Clicked",FooterClick:"Footer item Clicked",FAQClick:"FAQ item Clicked",BlogLinkClick:"Blog Link Clicked",SolutionCardClick:"Solution Card Clicked",FeatureCardClick:"Feature Card Clicked",WhitepaperFormSubmit:"Whitepaper Form Submit"},i={Header:"header",Footer:"footer",CTA:"CTA",Hero:"Home Hero",FeatureCards:"Feature Cards",ContentCard:"Content Card",OnboardingInfo:"Onboarding Info",Blog:"blog"};function o(t){var e,a,n,i;let{action:o,location:l,label:r,...c}=t;null===(e=(a=window).gtag)||void 0===e||e.call(a,"event",o,{event_category:l,event_label:r||"",...c}),(null===(n=window)||void 0===n?void 0:n.analytics)&&(null===(i=window)||void 0===i||i.analytics.track(o,{location:l,pathname:window.location.pathname,label:r,...c}))}function l(t){var e,a;(null===(e=window)||void 0===e?void 0:e.analytics)&&(null===(a=window)||void 0===a||a.analytics.page(t))}function r(t){var e,a;return(null==t?void 0:null===(a=t.url)||void 0===a?void 0:a.includes("register"))?n.SignUp:(null==t?void 0:null===(e=t.url)||void 0===e?void 0:e.includes("login"))?n.Login:n.Click}function c(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=r(t.link);o({action:e||a,location:i.Header,label:t.name||""})}function u(t,e){o({action:n.NavbarClick,location:e,label:t||""})}function d(t,e){o({action:n.BlogLinkClick,location:i.Blog,href:e,label:t||""})}function s(t){o({action:n.Login,location:i.CTA,label:t||""})}function g(t){o({action:n.NotifyAboutLaunch,location:i.CTA,label:t||""})}function p(t,e){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=r(e);o({action:a||n,location:i.Hero,label:t})}function f(t,e){o({action:r(e),location:i.FeatureCards,label:t})}function m(t,e){o({action:r(e),location:i.ContentCard,label:t})}function b(t,e){o({action:r(e),location:i.OnboardingInfo,label:t})}function y(t,e){o({action:"solution_details"===t?n.SolutionCardClick:n.FeatureCardClick,location:i.FeatureCards,label:e||""})}},9413:function(t,e,a){a.d(e,{e:function(){return c}});var n=a(58474),i=a(88274),o=JSON.parse('{"repositoryName":"pbx-website"}');let{repositoryName:l}=o,r=[{type:"page",path:"/:lang?/:uid"},{type:"page",uid:"home",path:"/:lang?"},{type:"blog_post",path:"/:lang?/blog/:uid"},{type:"blog_category_page",path:"/:lang?/blog/:uid"},{type:"feature_details",path:"/:lang?/features/:uid"},{type:"guide",path:"/:lang?/guides/:uid"},{type:"service",path:"/:lang?/services/:uid"},{type:"about_page",path:"/:lang?/about/:uid"},{type:"author",path:"/:lang?/blog/author/:uid"},{type:"solution_details",path:"/:lang?/solutions/:uid"},{type:"documentation_section",path:"/:lang?/docs/:uid"},{type:"case_study",path:"/:lang?/case-study/:uid"},{type:"comparison",path:"/:lang?/compare/:uid"}],c=function(){let{previewData:t,req:e,...a}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=n.eI(o.repositoryName,{routes:r,fetchOptions:{next:{tags:["prismic"]},cache:"force-cache"},...a});return i.L({client:l,previewData:t,req:e}),l}},88375:function(t,e,a){a.r(e);var n=a(57437),i=a(34392),o=a(3835),l=a(9413),r=a(15489),c=a(57818),u=a(49354);let d=(0,c.default)(()=>Promise.all([a.e(8173),a.e(231),a.e(9279),a.e(3293)]).then(a.bind(a,13293)),{loadableGenerated:{webpack:()=>[13293]}}),s=(0,c.default)(()=>Promise.all([a.e(231),a.e(8087),a.e(4162)]).then(a.bind(a,42692)),{loadableGenerated:{webpack:()=>[42692]}}),g=async t=>{var e;let{slice:a,context:n,pageSize:r,displayPagination:c}=t,u=(0,l.e)(),d=Number((null===(e=n.searchParams)||void 0===e?void 0:e.page)||1),s=[{field:"my.blog_post.published_at",direction:"desc"}],g=a.variation;if("blogListCustom"===g){let t=a.items.map(t=>i.BI(t.blog_post)?t.blog_post.id:null).filter(t=>t),e=await u.getAllByIDs(t,{lang:n.params.lang,fetchLinks:["blog_category.name","author.name","author.avatar"]});return{results:e,total_results_size:e.length}}if("blogListForCategory"!==g)return await u.getByType("blog_post",{pageSize:r,page:d,orderings:s,lang:n.params.lang,fetchLinks:["blog_category.name","author.name","author.avatar"]});{let t=i.BI(a.primary.blog_category)?a.primary.blog_category.id:n.blog_category_id||null;return t?await u.getByType("blog_post",{pageSize:r,page:c?d:1,orderings:s,lang:n.params.lang,fetchLinks:["blog_category.name","author.name","author.avatar"],filters:[o.h.at("my.blog_post.categories.category",t)]}):null}},p=async t=>{var e,a;let{slice:i,context:o,getBlogs:l}=t,c=i.variation,p="blogListForCategory"===c&&i.primary.page_size||6,f="blogListForCategory"!==c||i.primary.display_pagination_navigation,m=Number((null===(e=o.searchParams)||void 0===e?void 0:e.page)||1),b=async()=>await g({slice:i,context:o,pageSize:p,displayPagination:f}),y=l?await l():await b();return(0,n.jsxs)("section",{"data-slice-type":i.slice_type,"data-slice-variation":i.variation,className:(0,u.cn)("mt:pt-16 pb-8 pt-8 md:pb-20"),children:[(0,n.jsxs)("div",{className:"mx-auto flex max-w-4xl flex-col justify-center gap-5 md:gap-4 lg:max-w-7xl",children:[i.primary.title&&(0,n.jsx)("div",{children:(0,n.jsx)("h2",{className:"text-2xl font-extrabold md:text-4xl",children:i.primary.title})}),(0,n.jsx)("div",{className:"mx-auto grid w-full max-w-7xl grid-cols-1 gap-4 lg:grid-cols-2",children:null==y?void 0:null===(a=y.results)||void 0===a?void 0:a.map(t=>(0,n.jsx)(d,{displayCategory:"default"===c,hasReadMoreButton:!1,blog:t},t.id))})]}),"blogListCustom"!==c&&!!f&&!!(null==y?void 0:y.total_results_size)&&(0,n.jsx)(s,{total:y.total_results_size,pageSize:p,current:m}),(0,n.jsx)(r.BlogAnalyticEvents,{})]})};e.default=p}}]);
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.