PageSourceSearch

https://compilado.codigofonte.com.br/_next/static/chunks/pages/[slug]/series/[serie]-3f966948a45c893b.js

js codigofonte.com.br collected 2026-10-02 05:19:42 UTC 5,930 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[525],{79628:function(t,e,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[slug]/series/[serie]",function(){return i(7396)}])},7396:function(t,e,i){"use strict";i.r(e),i.d(e,{__N_SSP:function(){return k}});var n=i(85893),o=i(67294),r=i(9008),_=i.n(r),s=i(11163),m=i(24561),a=i(9473),u=i(79943),c=i(37447),l=i(42879),y=i(71074),h=i(81837),C=i(29355),p=i(4207),d=i(2606),g=i(27281),b=i(26498),x=i(68768),f=i(44243),w=i(2921),j=i.n(w),v=i(54572),L=i(69738),A=i(61762);let Z=t=>{let{slug:e,page:i,language:r,serieSlug:w,communityData:Z,isCommunityManager:k,isCustomDomain:I,customDomainUrl:M}=t,{t:N}=(0,u.$G)("common"),S=(0,a.I0)(),P=(0,s.useRouter)(),{customDomain:B}=(0,o.useContext)(v.g),T=(0,L.GT)(e,B),[E,G]=(0,o.useState)(!0),[D,W]=(0,o.useState)(parseInt(i)),{isManager:X}=(0,a.v9)(d.BF),[F,J]=(0,o.useState)({serie:{articlesCount:0,banner:"",description:"",enabled:!0,id:"",name:"",slug:""},articles:[],countArticles:0}),O=(null==Z?void 0:Z.uid)==="3e2244bd-0234-4561-84e2-ee504a243b43";(0,o.useEffect)(()=>{k&&S((0,d.j)(!0))},[k]);let Q=Math.ceil(F.countArticles/12),V=()=>{P.push("".concat(T,"/series"))};(0,o.useEffect)(()=>{Y()},[]);let Y=async function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;try{let i=await C.Z.getArticlesInSeries(e,w,t);J(i),t>=0&&(0,p.t)("page",t),W(t),G(!1)}catch(t){G(!1),l.Am.error(N("search.error"))}};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(_(),{children:[(0,n.jsx)("title",{children:"".concat(null==Z?void 0:Z.name," | ").concat(N("community:serie"))}),(0,A.JI)(Z,M)]}),(0,n.jsx)(h.Z,{slug:e,activeTab:2,language:r,communityProps:Z,isCustomDomain:I,children:(0,n.jsxs)("section",{className:j().serieContainer,children:[(0,n.jsx)(b.Z,{appearence:"clear",onClick:V,leftElement:(0,n.jsx)(c.ArrowLeftIcon,{}),children:O?"Voltar":N("backToSeries")}),E?(0,n.jsx)("div",{className:j().articles,children:Array.from({length:12}).map((t,e)=>(0,n.jsxs)(m.default,{viewBox:"0 0 100% 400",height:400,width:"100%",className:j().contentLoader,children:[(0,n.jsx)("rect",{x:"3",y:"6",rx:"10",ry:"10",width:"100%",height:"168"}),(0,n.jsx)("rect",{x:"6",y:"190",rx:"0",ry:"0",width:"90%",height:"10"}),(0,n.jsx)("rect",{x:"4",y:"215",rx:"0",ry:"0",width:"70%",height:"10"}),(0,n.jsx)("rect",{x:"4",y:"370",rx:"0",ry:"0",width:"100%",height:"2"})]},e))}):(0,n.jsx)(n.Fragment,{children:0===F.countArticles?(0,n.jsx)(g.Z,{title:N(X?"community:empty.serie.title":"community:empty.emptySeries",{content:N("community:serie").toLocaleLowerCase()}),showButton:X,subtitle:N(X?"community:empty.serie.subtitle":"community:empty.emptySeriesDescription"),buttonLabel:N("community:empty.serie.addArticles"),onClickButton:()=>window.open("".concat(y.c,"/publish/contents/serie/").concat(null==F?void 0:F.serie.id))}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:j().titleWrapper,children:[(0,n.jsxs)(f.Z,{tag:"h3",mt:24,color:"primary",type:"font",typeStyles:"page_title",mb:8,children:[F.serie.name,(0,n.jsx)(f.Z,{color:"tertiary",opacity:.85,className:j().count,type:"font",typeStyles:"meta_thin",children:F.countArticles})]}),(0,n.jsx)("span",{className:j().subtitle,children:F.serie.description})]}),(0,n.jsx)(x.Z,{channelUid:null==Z?void 0:Z.uid,communitySlug:e,articles:F.articles,className:j().serieList}),Q>1&&(0,n.jsx)(l.tl,{totalPages:Q,page:D+1,onPageChange:t=>Y(t-1)})]})})]})}),(0,A.g9)(null==Z?void 0:Z.twitterPixelId),(0,A.Mc)(null==Z?void 0:Z.facebookPixelId),(0,A.e6)(null==Z?void 0:Z.googleAnalyticsPixelId)]})};var k=!0;e.default=Z},2921:function(t){t.exports={container:"Community_container__nGMWm",main:"Community_main__cV_LJ",header:"Community_header__z8HLY",banner:"Community_banner__5Db1I",avatar:"Community_avatar__We70Z",title:"Community_title__TXGYR",readMore:"Community_readMore__LIWic",buttonsContent:"Community_buttonsContent__Gr9Gb",content:"Community_content___m9wr",footer:"Community_footer__TCOgM",topbar:"Community_topbar__cBhD3",subscriptionWrapper:"Community_subscriptionWrapper__YROt3",highlights:"Community_highlights__TuJnU",highlightMobile:"Community_highlightMobile__LQIGu",highlightDesktop:"Community_highlightDesktop__QfsTI",left:"Community_left__cXxEG","left--full":"Community_left--full__huCfT",highlight:"Community_highlight__Yx52P",right:"Community_right__pSBv6",serieContainer:"Community_serieContainer__LXwvP",backBtn:"Community_backBtn__8ApYU",titleWrapper:"C
1ommunity_titleWrapper__2L1SH",count:"Community_count__aJZ1V",subtitle:"Community_subtitle__Uy9ix",serieList:"Community_serieList__XT7L8",series:"Community_series__bcKmQ",overflow:"Community_overflow__cLkps",list:"Community_list__qJn91",serie:"Community_serie__5zR7g",seriesContainer:"Community_seriesContainer__qHpox",page:"Community_page__ZBeVA",articles:"Community_articles__mioZo",article:"Community_article__ePQhb",articleContainer:"Community_articleContainer__hlPrx",relatedArticles:"Community_relatedArticles__MssSO",articleMobile:"Community_articleMobile__OhUmX",pagination:"Community_pagination__ssMjX",otherArticles:"Community_otherArticles__bzZgY",grow:"Community_grow__6QqAI",contentLoader:"Community_contentLoader__qwwZx",products:"Community_products__2JZiV",teste:"Community_teste__bClQ3",productForm:"Community_productForm__Cbqqc",form:"Community_form__G0cta",containerForm:"Community_containerForm__ButQV",success:"Community_success__nXiNW",thanksMessage:"Community_thanksMessage__YZ7wh",bannerContent:"Community_bannerContent__Tj9Kd",icon:"Community_icon__oJR71",socialEngage:"Community_socialEngage__KU7DM",author:"Community_author__u3pOZ",date:"Community_date__xNLv8",dot:"Community_dot__G7u6c",phoneLabel:"Community_phoneLabel__dsVe5",phoneDropdown:"Community_phoneDropdown__o4t14",phoneInput:"Community_phoneInput__lvzit",phoneButton:"Community_phoneButton__zpyu4"}}},function(t){t.O(0,[424,959,163,664,464,737,376,763,643,837,774,888,179],function(){return t(t.s=79628)}),_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.