1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6918],{90872:function(e,t,l){l.d(t,{D:function(){return BlogPostsSection}});var a=l(15311),n=l(29328),o=l(91093),r=l(37604),d=l(34406),i=l(77746),s=l(5724),c=l(5762),x=l(10934),u=l(30424),g=l(50432),p=l(55005),m=l(5342),f=l(37147),h=l(64843),b=l(97752),v=l(20132),y=l(76408),j=l.n(y);function BlogPostCard(e){let{bgColor:t,post:l,dateLocale:n}=e,o=(0,v.useRef)(null),r=function(e){let[t,l]=(0,v.useState)(1);return(0,v.useEffect)(()=>{if(!e.current)return;let t=e.current,calculateLineCount=()=>{let e=window.getComputedStyle(t),a=parseFloat(e.lineHeight),n=t.offsetHeight;a>0&&l(Math.round(n/a))};calculateLineCount();let a=new ResizeObserver(calculateLineCount);return a.observe(t),()=>{a.disconnect()}},[e]),t}(o);return(0,a.jsxs)("div",{className:(0,p.AK)("flex h-full w-full flex-col overflow-hidden rounded-lg border border-gray-100 dark:border-gray-500",null!=t?t:"bg-white dark:bg-gray"),children:[(0,a.jsx)(h.Z,{href:l.href,target:"_blank",passHref:!0,"aria-label":l.title,children:(0,a.jsx)("div",{className:"h-[200px] w-full p-3",children:(0,a.jsx)("div",{className:"relative h-full w-full overflow-hidden rounded border border-gray-100 dark:border-gray-500",children:(0,a.jsx)(j(),{src:l.imageUrl,alt:l.title,layout:"fill",className:"object-cover"})})})}),(0,a.jsxs)("div",{className:"flex h-full flex-col gap-2 px-3 pb-3",children:[(0,a.jsx)(h.Z,{href:l.href,target:"_blank",passHref:!0,"aria-label":l.title,children:(0,a.jsx)("h3",{ref:o,className:"font-code line-clamp-2 !text-[16px] font-semibold",children:l.title})}),(0,a.jsx)(f.xv,{className:"".concat(1===r?"line-clamp-3":"line-clamp-2"," text-gray-400 dark:text-gray-100"),children:l.excerpt}),(0,a.jsx)("div",{className:"flex gap-3 py-1",children:l.tags.map((e,t)=>(0,a.jsx)(h.Z,{href:e.href,passHref:!0,children:(0,a.jsx)("div",{className:"font-code cursor-pointer rounded-[4px] bg-gray-75 px-2 py-1 text-sm text-gray-500 transition-colors hover:bg-gray-100 hover:text-gray dark:bg-gray-500 dark:text-gray-75 dark:hover:bg-gray-400 dark:hover:text-gray-50",children:e.label})},t))}),(0,a.jsx)(f.KI,{className:"font-code capitalize text-gray-300",children:""!==l.date&&(0,b.Z)(new Date(l.date),"dd MMM yyyy",{locale:n})})]})]})}var k=l(96067);function BlogPostsSection(e){var t,l,h;let{componentType:b="BlogPostsSection",variantId:v="default",componentConfig:y,title:j,blogPosts:N,postsNotBlog:w,button:C,withViewTracker:B=!0}=e,{locale:Z}=(0,c.useRouter)(),A="pt-BR"===Z?o.Z:r.Z,S=w&&Array.isArray(w)?Object.values(w):null,T=(0,d.i)({componentId:(0,p.zW)(b),variant:v}),{t:P}=(0,s.Z)("static-components");return(0,a.jsxs)(k.S,{className:"flex flex-col items-center gap-10",paddingTop:null==y?void 0:y.paddingTop,paddingBottom:null==y?void 0:y.paddingBottom,ref:B?T:void 0,backgroundColor:null!==(t=null==y?void 0:y.backgroundColor)&&void 0!==t?t:"bg-gray-75 dark:bg-black-200",id:null==y?void 0:y.id,children:[(0,a.jsx)(f.H2,{className:"font-code text-center !font-normal lg:!text-4xl xl:!text-4xl",children:(0,a.jsx)(i.Z,{components:{bold:(0,a.jsx)("span",{className:"font-code highlight !font-bold"})},text:null!=j?j:P("blogPosts.title")})}),(null==N?void 0:N.length)===0&&(0,a.jsx)("div",{className:"text-center",children:(0,a.jsx)(f.xv,{children:P("blogPosts.errors.notFound")})}),(0,a.jsxs)("div",{className:"grid w-full grid-cols-1 items-stretch gap-6 md:grid-cols-2 lg:grid-cols-3",children:[N&&N.length>0&&N.map((e,t)=>(0,a.jsx)(BlogPostCard,{post:e,dateLocale:A},t)),S&&S.length>0&&S.map((e,t)=>(0,a.jsx)(BlogPostCard,{post:e,dateLocale:A},t))]}),(0,a.jsx)(m.zx,{buttonType:null!==(l=null==C?void 0:C.buttonType)&&void 0!==l?l:m.L$.Ghost,onClick:()=>{var e;(0,x.B)(u.e.ButtonClick,{event_category:"click",component:b,id:"blogPostsButton",buttonVariant:"ghost",parentVariant:v}),window.open((0,g.yl)(null!==(e=null==C?void 0:C.href)&&void 0!==e?e:n.H.blog.index,"blogPostsButton"),"_blank")},className:"!bg-gray-50 !text-gray-500 !ring-gray-200 hover:!bg-white hover:!ring-primary dark:!bg-gray-500 dark:!text-gray-100 dark:!ring-gray-400 dark:hover:!text-white dark:hover:!ring-primary",children:null!==(h=null==C?void 0:C.label)&&void 0!==h?h:P("blogPosts.buttonLabel")})]})}},65472:function(e,t,l){l.d(t,{F:function(){return CenteredCTA}});var a=l(15311),n=l(29328),o=l(34406),r=l(77746),d=l(5724),i=l(10934),s=l(30424),c=l(55005),x=l(50432),u=l(5342),g=l(37147),p=l(96067);function CenteredCTA(e){var t,l,m;let{componentType:f="CenteredCTA",variantId:h="default",componentConfig:b,title:v,text:y,button:j,hideButton:k=!1,withViewTracker:N=!1,titleClassName:w,textClassName:C}=e,{t:B}=(0,d.Z)(),Z=(0,o.i)({componentId:(0,c.zW)(f),variant:h}),A=v||B("static-components:cta.centered.title");return(0,a.jsx)(p.S,{backgroundColor:null==b?void 0:b.backgroundColor,paddingTop:null==b?void 0:b.paddingTop,paddingBottom:null==b?void 0:b.paddingBottom,ref:N?Z:void 0,children:(0,a.jsxs)("div",{className:"flex flex-col items-center gap-5 rounded-2xl bg-primary p-6 text-black md:flex-row md:gap-10 md:px-[60px] md:py-10",children:[(0,a.jsxs)("div",{className:"flex w-full flex-grow flex-col gap-2 text-center md:text-left",children:[(0,a.jsx)(g.H2,{className:(0,
1c.AK)("font-code !font-semibold [text-wrap:balance]",w),children:A.split("\n").map((e,t)=>(0,a.jsx)("span",{className:"block",children:(0,a.jsx)(r.Z,{components:{bold:(0,a.jsx)("span",{className:"highlight"})},text:e},t)},t))}),(0,a.jsx)(g.xv,{className:(0,c.AK)("[text-wrap:balance]",C),children:(0,a.jsx)(r.Z,{components:{bold:(0,a.jsx)("span",{className:"font-bold"})},text:null!=y?y:B("static-components:cta.centered.text")})})]}),!k&&(0,a.jsx)("div",{className:"flex-shrink-0 px-5",children:(0,a.jsx)(u.zx,{buttonType:null!==(t=null==j?void 0:j.buttonType)&&void 0!==t?t:u.L$.Secondary,buttonSize:null!==(l=null==j?void 0:j.buttonSize)&&void 0!==l?l:u.qE.Medium,onClick:()=>{var e,t;(0,i.B)(s.e.ButtonClick,{event_category:"click",component:f,id:"registerButton",buttonVariant:null!==(e=null==j?void 0:j.buttonType)&&void 0!==e?e:u.L$.Secondary,parentVariant:h}),window.open((0,x.yl)(null!==(t=null==j?void 0:j.href)&&void 0!==t?t:n.H.dash.register,"registerButton"),"_blank")},className:"dark:text-white",children:null!==(m=null==j?void 0:j.label)&&void 0!==m?m:B("static-components:cta.centered.button.label")})})]})})}},75891:function(e,t,l){l.d(t,{Z:function(){return FAQ}});var a=l(15311),n=l(82581),o=l(11151),r=l(34406),d=l(77746),i=l(5724),s=l(20132),c=l(55005),x=l(37147),u=l(66600),g=l(92620),p=l(56749);function Accordion(e){let{i:t,mainColor:l,expanded:r,setExpanded:d,title:i,text:s}=e,c=l?"text-".concat(l):"text-light",x=t===r,m=s.split("\n");return(0,a.jsxs)(o.E.div,{className:"w-full",variants:(0,n.BX)({directionX:"left"}),children:[(0,a.jsxs)("button",{onClick:()=>d(!x&&t),className:"flex w-full justify-between rounded-lg border border-gray-100 bg-gray-50 px-5 py-3 dark:border-gray-500 dark:bg-black-200 md:p-6",children:[(0,a.jsx)("h3",{className:"font-code text-left text-base font-medium text-gray-500 dark:text-gray-250 xl:text-lg",children:i}),(0,a.jsx)(o.E.div,{initial:!1,animate:x?"rotate-180":"rotate-0",children:(0,a.jsx)(u.Z,{className:"text-gray-500 dark:text-gray-250",height:24})})]}),(0,a.jsx)(g.M,{initial:!1,children:x&&(0,a.jsx)(o.E.section,{className:"overflow-hidden",initial:"collapsed",animate:"open",exit:"collapsed",variants:{open:{opacity:1,height:"auto"},collapsed:{opacity:0,height:0}},transition:{duration:.8,ease:[.04,.62,.23,.98]},children:(0,a.jsx)("div",{className:"p-3 text-sm md:px-6 md:text-base xl:p-6 [&>p]:mb-2",children:m.map((e,t)=>(0,a.jsx)(p.U,{markdown:e,customClasses:{a:"".concat(c," font-code font-bold text-md"),li:"!text-base",code:"!bg-gray-50 dark:!bg-gray border border-gray-100 dark:border-gray-500 mx-1 rounded-sm"}},t))})},"content")})]})}var m=l(96067);function FAQ(e){var t;let{componentType:l="FAQ",variantId:u="default",componentConfig:g,title:p,items:f,withViewTracker:h=!1}=e,[b,v]=(0,s.useState)(0),{t:y}=(0,i.Z)("static-components"),j=(0,r.i)({componentId:(0,c.zW)(l),variant:u}),k=(null==g?void 0:g.mainColor)?"text-".concat(null==g?void 0:g.mainColor):"text-primary";return(0,a.jsxs)(m.S,{backgroundColor:null==g?void 0:g.backgroundColor,className:"flex flex-col gap-10 pt-[60px] md:pt-20 lg:gap-16",id:null!==(t=null==g?void 0:g.id)&&void 0!==t?t:"faq",ref:h?j:void 0,children:[(0,a.jsx)(x.H2,{className:"font-code text-center !text-4xl !font-semibold",children:(0,a.jsx)(d.Z,{components:{bold:(0,a.jsx)("span",{className:"".concat(k," highlight font-code")})},text:null!=p?p:y("faq.title")})}),(0,a.jsx)(o.E.div,{className:"flex flex-col gap-6",variants:(0,n.rL)({delay:.3}),children:Object.values(f).map((e,t)=>(0,a.jsx)(Accordion,{i:t,mainColor:null==g?void 0:g.mainColor,expanded:b,setExpanded:v,title:e.question,text:e.answer},t))})]})}}}]);
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.