PageSourceSearch

https://www.tamandareweb.com.br/_next/static/chunks/app/page-154747dd8b970280.js

js tamandareweb.com.br collected 2026-10-10 01:04:44 UTC 4,720 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[931],{4849:function(e,t,r){Promise.resolve().then(r.bind(r,8496)),Promise.resolve().then(r.bind(r,1897)),Promise.resolve().then(r.bind(r,8472)),Promise.resolve().then(r.bind(r,7180)),Promise.resolve().then(r.bind(r,2966)),Promise.resolve().then(r.bind(r,4310)),Promise.resolve().then(r.bind(r,5727)),Promise.resolve().then(r.bind(r,6193)),Promise.resolve().then(r.bind(r,788)),Promise.resolve().then(r.bind(r,263)),Promise.resolve().then(r.bind(r,2130)),Promise.resolve().then(r.t.bind(r,9329,23)),Promise.resolve().then(r.t.bind(r,6665,23)),Promise.resolve().then(r.bind(r,233)),Promise.resolve().then(r.bind(r,4197)),Promise.resolve().then(r.bind(r,4419))},8496:function(e,t,r){"use strict";r.r(t),r.d(t,{CategoryTag:function(){return l}});var n=r(7009),o=r(4967),s=r(9851),i=r.n(s);let l=e=>{var t,r,s;let{category:l}=e;return(0,n.jsx)(n.Fragment,{children:l&&(0,n.jsx)(i(),{href:"/portal/editorial/".concat(l.slug),children:(0,n.jsx)(o.E.button,{className:"rounded-full border px-2 py-0.5 text-xs",initial:{borderColor:null===(t=l.categoryColor)||void 0===t?void 0:t.value,color:null===(r=l.categoryColor)||void 0===r?void 0:r.value},whileHover:{backgroundColor:null===(s=l.categoryColor)||void 0===s?void 0:s.value,color:"#fff"},children:l.title})})})}},788:function(e,t,r){"use strict";r.r(t),r.d(t,{PortalMoreArticles:function(){return N}});var n=r(7009),o=r(2577),s=r(5978),i=r.n(s);let l=(0,o.eI)({projectId:"vikl9ywp",dataset:"production",useCdn:!0,apiVersion:"2023-10-29"}),a=i()(l);var c=r(4405);let d=c.ou.now().setZone("America/Recife").toUTC();async function u(){let{offset:e=0,limit:t=10,filterByCategory:r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=await l.fetch("*[_type == 'post' ".concat(r?"&& category.slug.current == '".concat(r,"'"):""," && sponsored == null && dateTime(publishedAt) <= dateTime('").concat(d,"')] | order(publishedAt desc) {\n      'id': _id,\n      title,\n      'slug': slug.current,\n      mainImage{altText,attribution,caption,asset->},\n      category->{title,'slug':slug.current,'categoryColor': categoryColor[0]{key, value}},\n    }[").concat(e,"...").concat(t,"]"),{},{next:{tags:["articles"]}});return n}var m=r(3541),h=r(9512),g=r(4421),v=r(1897),b=r(1779),p=r(4995),x=r.n(p),f=r(9851),y=r.n(f),j=r(8496),w=r(1903),P=r(5191);let C=e=>{var t,r;let{slug:o,title:s,mainImage:i,category:l,featured:c,displayPage:d="home"}=e,u=new URL("/portal/noticia/"+o,P.env.APP_URL||"https://www.tamandareweb.com.br/").toString();return(0,n.jsxs)("article",{className:(0,b.cn)("grid min-w-[85%] flex-1 snap-start auto-rows-min gap-2 md:min-w-[unset] md:grid-cols-2 md:gap-10",c&&"md:grid-cols-none md:gap-0"),children:[c&&"categories"!=d&&(0,n.jsx)(j.CategoryTag,{category:l}),(0,n.jsx)(y(),{href:u,className:(0,b.cn)(c&&"my-4"),children:(null==i?void 0:i.asset)?(0,n.jsx)(x(),{src:(r=i.asset,a.image(r)).quality(100).width(500).height(280).fit("crop").url(),alt:i.altText||"",width:1080,height:720,placeholder:i.asset.metadata.lqip?"blur":"empty",blurDataURL:i.asset.metadata.lqip,className:"aspect-video rounded-lg transition-all hover:scale-95"}):(0,n.jsx)("div",{role:"img","aria-label":"Imagem indispon\xedvel",className:"grid aspect-video place-items-center rounded-lg bg-blue-4/10 text-blue/40",children:(0,n.jsx)(w.f,{size:48,weight:"duotone"})})}),(0,n.jsxs)("div",{className:"grid w-full auto-rows-min content-center",children:[!c&&"categories"!=d&&(0,n.jsx)("div",{className:"mb-2 mt-2 md:mt-0",children:(0,n.jsx)(j.CategoryTag,{category:l})}),(0,n.jsx)(y(),{href:u,children:(0,n.jsx)("h3",{className:"mb-1 text-xl font-bold hover:underline",style:{color:"categories"===d?null===(t=l.categoryColor)||void 0===t?void 0:t.value:"#3d2d9f"},children:s})})]})]})},N=e=>{let{articlesMount:t,articlesLenght:r,category:o}=e,[s,i]=(0,h.useState)(r),[l,a]=(0,h.useState)([]),[c,d]=(0,h.useState)(!1);async function b(){d(!0);let e=await u({offset:s,limit:s+10,filterByCategory:o});i(s+e.length),a([...l,...e]),d(!1)}return(0,n.jsxs)(n.Fragment,{children:[l.length>0&&(0,n.jsx)(v.Divider,{}),l.map((e,t)=>{let{...r}=e;return(0,n.jsxs)("div",{className:"contents",children:[(0,n.jsx)(C,{...r}),t+1<l.length&&(0,n.jsx)(v.Divider,{})]},r.slug)}),(0,n.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[t>s&&(0,n.jsx)(g.z,{label:"Carregar mais not\xedcias",apparence:"stroked",iconPos:c?"before":void 0,Icon:c?(0,n.jsx)(m.U,{className:"animate-spin"}):void 0,onClick:b,disabled:c}),(0,n.jsxs)("p",{className:"text-xs text-blue-3",children:[s," de ",t," not\xedcias"]})]})]})}}},function(e){e.O(0,[318,748,549,665,689,329,8,296,328,939,146,999,696,744],function(){return e(e.s=4849)}),_N_E=e.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.