PageSourceSearch

https://www.prosa.app/_next/static/chunks/pages/blog/post/[slug]-53f2ca3c73761a58.js

js prosa.app collected 2026-10-02 01:15:10 UTC 7,425 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[671],{2189:function(t,e,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog/post/[slug]",function(){return r(5350)}])},2511:function(t,e,r){"use strict";r.d(e,{A:function(){return l}});var s=r(5893),n=r(761);let i={rightBlob:(0,n.iv)({position:"absolute",top:-300,left:"20vw",width:"150vw",minWidth:1200,maxWidth:2e3,height:"160vh",overflow:"hidden"}),leftBlob:(0,n.iv)({position:"absolute",top:-700,right:"50vw",width:"150vw",height:"160vh",overflow:"hidden"}),outer:(0,n.iv)({position:"absolute",top:0,left:0,right:0,bottom:0,zIndex:-1,overflow:"hidden"})},l=()=>(0,s.jsxs)("div",{className:i.outer,children:[(0,s.jsx)("svg",{preserveAspectRatio:"none",className:i.rightBlob,viewBox:"0 0 480 480",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",children:(0,s.jsx)("path",{fill:"var(--color-primary-50)",d:"M389,258.5Q329,277,325.5,299.5Q322,322,319,373Q316,424,278,419Q240,414,202.5,418Q165,422,158,375.5Q151,329,101.5,323.5Q52,318,54,279Q56,240,82,212.5Q108,185,107,145.5Q106,106,141,95Q176,84,208,83Q240,82,271.5,85Q303,88,353.5,82Q404,76,418.5,118Q433,160,441,200Q449,240,389,258.5Z"})}),(0,s.jsx)("svg",{preserveAspectRatio:"none",className:i.leftBlob,viewBox:"0 0 480 480",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",children:(0,s.jsx)("path",{fill:"var(--color-primary-50)",d:"M389,258.5Q329,277,325.5,299.5Q322,322,319,373Q316,424,278,419Q240,414,202.5,418Q165,422,158,375.5Q151,329,101.5,323.5Q52,318,54,279Q56,240,82,212.5Q108,185,107,145.5Q106,106,141,95Q176,84,208,83Q240,82,271.5,85Q303,88,353.5,82Q404,76,418.5,118Q433,160,441,200Q449,240,389,258.5Z"})})]})},5350:function(t,e,r){"use strict";r.r(e),r.d(e,{__N_SSG:function(){return f},default:function(){return w}});var s=r(5893),n=r(2511),i=r(6158),l=r(6031),o=r(761),a=r(8258);let d={container:(0,o.iv)({display:"flex",justifyContent:"center",marginTop:"1rem",marginBottom:"1rem"}),button:(0,o.iv)({marginRight:"0.5rem",marginLeft:"0.5rem",transition:"transform 0.2s",":hover":{transform:"scale(1.1)"}})},c=t=>{let{url:e,title:r}=t;return(0,s.jsxs)("div",{className:d.container,children:[(0,s.jsx)(a.Dk,{url:e,title:r,className:d.button,children:(0,s.jsx)(a.Vq,{size:32,round:!0})}),(0,s.jsx)(a.B,{url:e,title:r,className:d.button,children:(0,s.jsx)(a.Zm,{size:32,round:!0})}),(0,s.jsx)(a.N0,{url:e,title:r,className:d.button,children:(0,s.jsx)(a.ud,{size:32,round:!0})}),(0,s.jsx)(a.cG,{url:e,subject:r,className:d.button,children:(0,s.jsx)(a.LQ,{size:32,round:!0})})]})};var m=r(9075),h=r(8717),x=r(9008),u=r.n(x),p=r(1664),g=r.n(p),j=r(7294);let b={outer:(0,o.iv)({maxWidth:"35rem",marginLeft:"auto",marginRight:"auto",width:"100%",minHeight:"80vh",paddingLeft:"1rem",paddingRight:"1rem",position:"relative"}),inner:(0,o.iv)({backgroundColor:"white",padding:"1.5rem",width:"100%",marginTop:"1rem",border:"1px solid var(--color-neutral-200)",boxShadow:"0 6px 60px rgba(0,0,0,0.06)",borderRadius:"1rem",marginBottom:"2rem"}),skeleton:(0,o.iv)({backgroundColor:"var(--color-neutral-100)",borderRadius:"0.25rem",animation:"pulse 1.5s infinite"}),title:(0,o.iv)({height:"2rem",width:"80%",marginBottom:"1.5rem"}),paragraph:(0,o.iv)({height:"1rem",marginBottom:"0.75rem"}),"@keyframes pulse":{"0%, 100%":{opacity:1},"50%":{opacity:.5}}};function v(){return(0,s.jsxs)(l._,{children:[(0,s.jsx)(m.D,{}),(0,s.jsx)("div",{className:b.outer,children:(0,s.jsxs)("div",{className:b.inner,children:[(0,s.jsx)("div",{className:"".concat(b.skeleton," ").concat(b.title)}),[void 0,void 0,void 0,void 0,void 0].map((t,e)=>(0,s.jsx)("div",{className:"".concat(b.skeleton," ").concat(b.paragraph),style:{width:"".concat(Math.floor(20*Math.random())+80,"%")}},e))]})}),(0,s.jsx)(i.$,{})]})}var f=!0;function w(t){let{article:e}=t;if(!e)return(0,s.jsx)(v,{});let r=e.tags.map(t=>t.tag).join(", "),o="".concat(h.FH,"/blog/post/").concat(e.slug),a=e.relatedQuestions.map((t,r)=>(0,s.jsxs)(j.Fragment,{children:[(0,s.jsx)(g(),{className:"font-sans block text-neutral-500 no-underline font-body text-sm lg:text-base my-2 hover:text-primary-500 transition-colors duration-200",href:"/blog/post/".concat(t.slug),children:t.title}),r<e.relatedQuestions.length-1&&(0,s.jsx)("hr",{className:"w-full h-[1px] bg-neutral-100 border-none"})]},r));return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(u(),{children:[(0,s.jsxs)("title",{children:["Blog da Prosa | ",e.title]}
1,"title"),(0,s.jsx)("meta",{name:"description",content:e.body.substring(0,160)},"description"),(0,s.jsx)("meta",{name:"keywords",content:r},"keywords"),(0,s.jsx)("meta",{property:"og:title",content:"Blog da Prosa | ".concat(e.title)}),(0,s.jsx)("meta",{property:"og:description",content:e.body.substring(0,160)}),(0,s.jsx)("meta",{property:"og:type",content:"article"}),(0,s.jsx)("meta",{property:"og:url",content:o}),(0,s.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,s.jsx)("meta",{name:"twitter:title",content:"Blog da Prosa | ".concat(e.title)}),(0,s.jsx)("meta",{name:"twitter:description",content:e.body.substring(0,160)}),(0,s.jsx)("link",{rel:"canonical",href:o},"canonical")]}),(0,s.jsx)(n.A,{}),(0,s.jsxs)(l._,{children:[(0,s.jsx)(m.D,{}),(0,s.jsxs)("div",{className:"max-w-[35rem] mx-auto w-full min-h-[80vh] px-4 relative",children:[(0,s.jsxs)("div",{className:"bg-white p-6 w-full mt-4 border border-black-900  rounded-2xl mb-8 shadow-lg",children:[(0,s.jsx)("h1",{className:"font-semibold text-neutral-800 font-heading mt-2 mb-4 text-2xl lg:mb-6 leading-normal",children:e.title}),(0,s.jsx)(y,{article:e})]}),(0,s.jsx)("div",{className:"mt-4 mb-6",children:(0,s.jsx)(c,{url:o,title:e.title})}),a.length>0&&(0,s.jsxs)("div",{className:"bg-white p-6 my-6 w-full border border-neutral-200 shadow-lg rounded-2xl",children:[(0,s.jsx)("h1",{className:"font-semibold text-neutral-800 font-heading block text-base lg:text-lg mb-3",children:"Posts relacionados"}),(0,s.jsx)("div",{className:"flex flex-col items-start",children:a})]})]}),(0,s.jsx)(i.$,{})]})]})}function y(t){let{article:e}=t,r=e.body.split(/[\r\n]+/).map(t=>t.trim()),n=[];for(let t of r)if(t.startsWith("- ")){(0===n.length||"unorderedList"!==n[n.length-1].type)&&n.push({type:"unorderedList",items:[]});let e=n[n.length-1];"unorderedList"===e.type&&e.items.push(t.replace(/^- /,""))}else if(t.match(/^\d+\./)){(0===n.length||"orderedList"!==n[n.length-1].type)&&n.push({type:"orderedList",items:[]});let e=n[n.length-1];"orderedList"===e.type&&e.items.push(t.replace(/^\d+\.\s/,""))}else n.push({type:"paragraph",text:t});let i="leading-[1.7] mb-4 font-body text-neutral-700 text-sm lg:text-base";return(0,s.jsx)(s.Fragment,{children:n.map((t,e)=>"paragraph"===t.type?(0,s.jsx)("p",{className:i,children:(0,s.jsx)(Q,{text:t.text})},e):"orderedList"===t.type?(0,s.jsx)("ol",{className:"list-decimal pl-6 mb-4",children:t.items.map((t,e)=>(0,s.jsx)("li",{className:i,children:(0,s.jsx)(Q,{text:t})},e))},e):"unorderedList"===t.type?(0,s.jsx)("ul",{className:"list-disc pl-6 mb-4",children:t.items.map((t,e)=>(0,s.jsx)("li",{className:i,children:(0,s.jsx)(Q,{text:t})},e))},e):void 0)})}let Q=t=>{let{text:e}=t,r=e.split(/\*\*/);return(0,s.jsx)(s.Fragment,{children:r.map((t,e)=>e%2==0?(0,s.jsx)("span",{children:t},e):(0,s.jsx)("strong",{className:"font-sans font-medium text-primary-500",children:t},e))})}}},function(t){t.O(0,[191,664,258,533,888,774,179],function(){return t(t.s=2189)}),_N_E=t.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.