PageSourceSearch

https://gphaiphong.org/_next/static/chunks/pages/category/%5Bslug%5D-2f7f45f20a4d4249.js

js gphaiphong.org collected 2026-10-02 07:30:28 UTC 3,053 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[24],{91571:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/category/[slug]",function(){return n(43030)}])},47335:function(e,t,n){"use strict";n.a(e,async function(e,a){try{n.d(t,{i:function(){return s}});var i=n(43202),r=e([i]);i=(r.then?(await r)():r)[0];var c=n(96486);let s={getCurrentCategory:e=>{let t;if(e){let n=i.Z;t=c.find(n.categories,t=>t.code===e)}return t},getSubCategories:e=>{let t=[];if(e){let n=i.Z,a=c.find(n.categories,t=>t.code===e);a&&(t=c.filter(n.categories,e=>e.parentId===a.id))}return t}};a()}catch(e){a(e)}})},43030:function(e,t,n){"use strict";n.a(e,async function(e,a){try{n.r(t),n.d(t,{default:function(){return p}});var i=n(85893),r=n(11163),c=n(39332),s=n(67294),o=n(9008),l=n.n(o),u=n(18302),h=n(26261),x=n(31412),d=n(95997),g=n(47335),f=n(16155),m=e([h,x,g]);function p(){var e;let t=(0,r.useRouter)(),n=null!==(e=t.query.slug)&&void 0!==e?e:null,[a,o]=(0,s.useState)({}),[m,p]=(0,s.useState)({}),[y,j]=(0,s.useState)(!0),v=(0,c.usePathname)(),P=async()=>{let e=t.query.page||1,a=t.query.status,i="/api/news?cid="+n+"&page="+e+"".concat(a?"&status=".concat(a):"");fetch(i).then(e=>e.json()).then(e=>{p(e)}).finally(()=>{j(!1)})};return((0,s.useEffect)(()=>{n&&(P().then(()=>{}),o(g.i.getCurrentCategory(n)))},[n]),y)?(0,i.jsx)(f.Z,{}):y||(null==m?void 0:m.total)?(0,i.jsxs)("div",{className:"bg-light-container mb-[50px]",children:[(0,i.jsxs)(l(),{children:[(0,i.jsxs)("title",{children:[null==a?void 0:a.name," | Gi\xe1o Phận Hải Ph\xf2ng"]}),(0,i.jsx)("meta",{name:"description",content:"Chuy\xean trang truyền th\xf4ng Gi\xe1o Phận Hải Ph\xf2ng"}),(0,i.jsx)("meta",{name:"keywords",content:"Gi\xe1o Phận Hải Ph\xf2ng, giao phan hai phong, linh mục, linh mục đo\xe0n, Hải Ph\xf2ng"}),(0,i.jsx)("meta",{property:"og:url",content:"".concat(d.D.Settings.WebServer,"/").concat(v)}),(0,i.jsx)("meta",{property:"og:title",content:"".concat(null==a?void 0:a.name," | Gi\xe1o Phận Hải Ph\xf2ng")}),(0,i.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,i.jsx)("meta",{name:"twitter:title",content:"".concat(null==a?void 0:a.name," | Gi\xe1o Phận Hải Ph\xf2ng")}),(0,i.jsx)("meta",{name:"twitter:description",content:"Chuy\xean trang truyền th\xf4ng Gi\xe1o Phận Hải Ph\xf2ng"})]}),(0,i.jsxs)("div",{className:"xl:px-0 py-3 xl:pt-5 xl:pb-12 grid md:grid-cols-12 md:px-4 md:pb-5 gap-4",children:[(0,i.jsx)("div",{className:"col-span-12 md:col-span-8 bg-white border border-light-2",children:m&&(0,i.jsx)(x.Z,{data:m.value,pageData:m.pageData,path:t.asPath,headerTitle:null==a?void 0:a.name})}),(0,i.jsx)("div",{className:"col-span-12 md:col-span-4 mb-12",children:(0,i.jsx)(h.Z,{})})]})]}):(0,i.jsx)("div",{className:"h-[500px] xl:h-[800px] flex flex-col justify-center items-center",children:(0,i.jsx)(u.Z,{query:n})})}[h,x,g]=m.then?(await m)():m,a()}catch(e){a(e)}})}},function(e){e.O(0,[866,277,445,260,927,521,992,120,825,199,998,413,801,928,888,179],function(){return e(e.s=91571)}),_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.