PageSourceSearch

https://stjosephpost.com/_next/static/chunks/pages/category/%5Bcategory%5D-f568150aa353df18.js

js stjosephpost.com collected 2026-09-24 09:41:29 UTC 9,155 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[694],{4123:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/category/[category]",function(){return a(4574)}])},9707:function(e,t,a){"use strict";var r=a(4924),s=a(5893),n=a(9490);t.Z=function(e){var t=e.post;return(0,s.jsx)("div",{className:"border-b border-gray-300 mt-4",children:(0,s.jsx)("a",{href:"/posts/".concat(t.id),className:"cursor-pointer group",children:(0,s.jsxs)("div",{className:"flex mb-4",children:[(0,s.jsx)("img",{style:{height:"8rem"},className:"bg-gray-200 w-1/3 ".concat(t.categories.includes("obituaries")?"object-contain":"object-cover"),alt:t.title,src:t.featured_image_thumbnail,loading:"lazy"}),(0,s.jsxs)("div",{className:"flex flex-col justify-between px-2 w-2/3 relative",children:[(0,s.jsx)("div",{className:"text-xl leading-tight font-bold text-gray-800 group-hover:underline decoration-gray-900 decoration-1 overflow-hidden",style:{height:"8rem"},children:t.title}),(0,s.jsxs)("div",{className:"text-sm text-gray-600 group-hover:text-gray-900 italic font-sans absolute bottom-0 w-full h-5 flex flex-col justify-end pt-16",style:(0,r.Z)({background:"rgb(255,255,255)"},"background","linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 72%)"),children:["Posted ",n.ou.fromISO(t.published).toFormat("LLL dd, yyyy")]})]})]})})})}},9539:function(e,t,a){"use strict";var r=a(1438),s=a(2951),n=a(8029),o=a(460),i=a(5893),c=a(7294),l=a(9821),d=function(e){(0,n.Z)(a,e);var t=(0,o.Z)(a);function a(e){return(0,r.Z)(this,a),t.call(this,e)}return(0,s.Z)(a,[{key:"componentDidMount",value:function(){if("code"===this.props.ad.type){var e=this.props.ad.code;if(e.includes("<script")){var t=/<script.*?src="(.*?)"/gim.exec(e)[1],a=document.createElement("script");a.setAttribute("src",t),document.head.append(a)}}}},{key:"render",value:function(){var e=this.props.ad;return this.props.ad?(0,i.jsxs)("div",{className:"justify-center",children:["code"===e.type&&(0,i.jsx)("div",{dangerouslySetInnerHTML:{__html:e.code}}),"adunit"===e.type&&(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("div",{children:(0,i.jsx)(l.Z,{mappings:[[[770,0],["fluid",[720,60],[728,90]]],[[0,0],["fluid",[300,250],[320,50],[468,60]]]],path:"/12112127/".concat(e.code),sizes:[[720,90]],adId:"".concat(e.code)})})})]}):null}}]),a}(c.Component);t.Z=d},7072:function(e,t,a){"use strict";var r=a(1438),s=a(2951),n=a(8029),o=a(460),i=a(5893),c=a(7294),l=a(9821),d=function(e){(0,n.Z)(a,e);var t=(0,o.Z)(a);function a(e){return(0,r.Z)(this,a),t.call(this,e)}return(0,s.Z)(a,[{key:"componentDidMount",value:function(){if("code"===this.props.ad.type){var e=this.props.ad.code;if(e.includes("<script")){var t=/<script.*?src="(.*?)"/gim.exec(e)[1],a=document.createElement("script");a.setAttribute("src",t),document.head.append(a)}}}},{key:"render",value:function(){var e=this.props.ad;return(0,i.jsxs)("div",{className:"flex justify-center sidebar relative",children:["code"===e.type&&(0,i.jsx)("div",{dangerouslySetInnerHTML:{__html:e.code}}),"adunit"===e.type&&(0,i.jsx)("div",{id:"Google Ad Unit ID: ".concat(e.code),className:"relative",children:(0,i.jsx)("div",{className:"relative z-30 bg-white",children:(0,i.jsx)(l.Z,{mappings:[[[0,0],["fluid",[300,250],[300,80]],[300,600]]],path:"/12112127/".concat(e.code),sizes:["fluid",[300,250],[300,80],[300,600]],style:{width:"300",height:"250px"},adId:e.code})})})]})}}]),a}(c.Component);t.Z=d},4574:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSP:function(){return b}});var r=a(7568),s=a(655),n=a(5893),o=a(7294),i=a(3144),c=a.n(i),l=a(2918),d=a(8775),u=a(9707),p=a(7072),g=a(3177),h=a(9008),m=a.n(h),f=a(9539),x=a(132),y=a(1163),b=!0;t.default=function(e){var t=e.posts,a=e.meta,i=e.category,h=e.config,b=e.error,j=e.status,v=(0,y.useRouter)(),w=(0,o.useState)([]),_=w[0],N=w[1],Z=(0,o.useState)({}),k=Z[0],E=Z[1],P=(0,o.useState)({}),T=P[0],q=P[1];(0,o.useEffect)((function(){"salina"===h.site&&"arrests"===v.query.category?S("arrests").then((function(e){N(e.data)})):"salina"===h.site&&"obituaries"===v.query.category||"hutch"===h.site&&"obituaries"===v.query.category?S("obituaries").then((function(e){N(e.data)})):S(t[0].ad_sidebar_location).then((function(e){N(e.data)})),"salina"===h.site&&"salinas-most-wanted"===v.query.category?S("most-wanted-page-bottom").then((function(e){E(e.data[0])})):S("bottom-banner-ad").then((function(e){E(e.data[0])})),"coronavirus-update"===v.query.category?S("coronavirusUpdate").then((function(e){q(e.data[0])})):"obituaries"===v.query.category?S("obituaryBanner").then((function(e){q(e.data[0])})):"election-2022"===v.query.category?S("ElectionsMiddleBanner").then((function(e){q(e.data[0])})):"jobs"===v.query.category?S("hutch-jobs").then((function(e){q(e.data[0])})):S("homeBelowFeatured").then((function(e){q(e.data[0])})),setTimeout((function(){window._taboola=window._taboola||[],_taboola.push({mode:"thumbnails-rr",container:"taboola-right-rail-thumbnails",placement:"Right Rail Thumbn
1ails",target_type:"mix"})}),2e3)}),[]);var S=function(){var e=(0,r.Z)((function(e){var t;return(0,s.__generator)(this,(function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),[4,c()("".concat(g.b,"/ads?location=").concat(e,"&site=").concat(h.site))];case 1:return[2,a.sent().json()];case 2:return t=a.sent(),console.log("Could not fetch ad.  Error: "+t),[3,3];case 3:return[2]}}))}));return function(t){return e.apply(this,arguments)}}();return b?(0,n.jsx)(l.default,{statusCode:j}):(0,n.jsxs)(d.Z,{config:h,children:[(0,n.jsxs)(m(),{children:[(0,n.jsxs)("title",{children:[i," | ",h.title]},"title"),(0,n.jsx)("meta",{name:"description",content:"View posts categorized as ".concat(i)},"description"),(0,n.jsx)("meta",{property:"og:title",content:"".concat(i," | ").concat(h.title)},"og:title"),(0,n.jsx)("meta",{property:"og:site_name",content:h.title},"og:site_name"),(0,n.jsx)("meta",{property:"og:type",content:"website"},"og:type"),(0,n.jsx)("meta",{property:"og:url",content:"http://".concat(h.host,"/catgory/").concat(i)},"og:url"),(0,n.jsx)("meta",{property:"og:image",content:h.logo},"og:image"),(0,n.jsx)("meta",{property:"og:description",content:"View posts categorized as ".concat(i)},"og:description"),(0,n.jsx)("meta",{property:"twitter:card",content:"summary"},"twitter:card"),(0,n.jsx)("meta",{property:"twitter:card",content:"http://".concat(h.host,"/category/").concat(i)},"twitter:card"),(0,n.jsx)("meta",{property:"twitter:title",content:i},"twitter:title"),(0,n.jsx)("meta",{property:"twitter:description",content:"View posts categorized as ".concat(i)},"twitter:description"),(0,n.jsx)("meta",{property:"twitter:image:src",content:h.logo},"twitter:image:src")]}),(0,n.jsxs)("div",{className:"flex flex-wrap",children:[(0,n.jsxs)("div",{className:"w-full sm:w-full md:w-full lg:w-2/3 lg:border-r lg:border-gray-300",children:[(0,n.jsx)("div",{className:"m-4 flex items-center justify-center overflow-hidden",children:(0,n.jsx)(x.Z,{ad:T})}),(0,n.jsxs)("div",{className:"flex flex-wrap p-4",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("h2",{className:"text-3xl",children:i.replace(/-/g," ").replace("tv","TV").replace(/(^\w{1})|(\s{1}\w{1})/g,(function(e){return e.toUpperCase()})).replace("And","and").replace("The","the")}),(0,n.jsx)("div",{className:"w-24 h-1 bg-blue-500 mb-4"}),("stjoseph"===h.site||"maryville"===h.site)&&"obituaries"===i&&(0,n.jsx)("div",{className:"w-full mb-6",children:(0,n.jsx)("img",{src:"/misc/obituary-banner.png",alt:"To Place an Obituary call us at 816-233-8881 or email [email protected]. We want to make this as easy for you as possible",className:"w-full h-auto rounded shadow-sm border border-gray-200"})})]}),(0,n.jsxs)("div",{className:"w-full",children:[a.total_results," Total Results"," ",(0,n.jsx)("span",{className:"text-gray-600",children:"|"})," Page ",a.current_page," of"," ",a.total_pages]}),(0,n.jsx)("div",{className:"w-full",children:t.map((function(e){return(0,n.jsx)(u.Z,{post:e},e.id)}))}),(0,n.jsxs)("div",{className:"w-full flex justify-between items-center my-4",children:[(0,n.jsx)("a",{className:"".concat(a.current_page>1?"bg-blue-500 text-white hover:bg-blue-600":"bg-gray-400 text-gray-700 cursor-not-allowed"," rounded-lg px-4 py-3"),href:a.current_page>1?"/category/"+i+"?page="+(a.current_page-1):null,children:"Previous Page"}),(0,n.jsxs)("div",{className:"text-center text-sm text-gray-800",children:["Page ",a.current_page," of ",a.total_pages]}),(0,n.jsx)("a",{className:"".concat(a.current_page<a.total_pages?"bg-blue-500 text-white hover:bg-blue-600":"bg-gray-400 text-gray-700 cursor-not-allowed"," rounded-lg px-4 py-3"),href:a.current_page<a.total_pages?"/category/"+i+"?page="+(a.current_page+1):null,children:"Next Page"})]})]}),(0,n.jsx)("div",{className:"m-2 justify-center",children:(0,n.jsx)(f.Z,{ad:k})})]}),(0,n.jsx)("div",{className:"w-full sm:w-full md:w-full lg:w-1/3 p-4",children:(0,n.jsx)("div",{children:_.map((function(e){return(0,n.jsx)("div",{className:"mb-6",children:(0,n.jsx)(p.Z,{ad:e})},e.id)}))})})]})]})}},2918:function(e,t,a){e.exports=a(9185)}},function(e){e.O(0,[809,664,761,775,774,888,179],(function(){return t=4123,e(e.s=t);var t}));var t=e.O();_N_E=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.