PageSourceSearch

https://hayspost.com/_next/static/chunks/pages/posts/[id]-3526a90211ff956f.js

js hayspost.com collected 2026-09-24 18:08:32 UTC 18,686 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[646],{640:function(e,t,n){"use strict";var r=n(1742),o={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,a,i,c,s,l,u=!1;t||(t={}),n=t.debug||!1;try{if(i=r(),c=document.createRange(),s=document.getSelection(),(l=document.createElement("span")).textContent=e,l.style.all="unset",l.style.position="fixed",l.style.top=0,l.style.clip="rect(0, 0, 0, 0)",l.style.whiteSpace="pre",l.style.webkitUserSelect="text",l.style.MozUserSelect="text",l.style.msUserSelect="text",l.style.userSelect="text",l.addEventListener("copy",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),"undefined"===typeof r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var a=o[t.format]||o.default;window.clipboardData.setData(a,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(l),c.selectNodeContents(l),s.addRange(c),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");u=!0}catch(d){n&&console.error("unable to copy using execCommand: ",d),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),u=!0}catch(d){n&&console.error("unable to copy using clipboardData: ",d),n&&console.error("falling back to prompt"),a=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(a,e)}}finally{s&&("function"==typeof s.removeRange?s.removeRange(c):s.removeAllRanges()),l&&document.body.removeChild(l),i()}return u}},1569:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/posts/[id]",function(){return n(5865)}])},5689:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(5893),o=n(7294),a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};var i=function(e){var t=e.html,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["html"]),r=(0,o.useRef)(null);return(0,o.useEffect)((function(){if(t){var e=document.createRange().createContextualFragment(t);r.current.innerHTML="",r.current.appendChild(e)}}),[t]),o.createElement("div",a({},n,{ref:r}))},c=function(e){var t=e.blocks;return t=JSON.parse(t),(0,r.jsx)("article",{className:"p-4 text-lg text-gray-800 leading-loose",children:t.map((function(e,t){switch(e.type){case"paragraph":return(0,r.jsx)("p",{dangerouslySetInnerHTML:{__html:e.data.text}},t);case"image":return(0,r.jsxs)("figure",{className:"py-8",children:[(0,r.jsx)("img",{className:"mx-auto w-full sm:w-full ".concat(e.data.withBackground?"md:w-1/2":"md:w-full"),src:e.data.url,alt:e.data.caption}),(0,r.jsx)("figcaption",{className:"text-center italic text-gray-700 text-sm pt-2",dangerouslySetInnerHTML:{__html:e.data.caption}})]},t);case"header":return(0,r.jsx)("h2",{children:e.data.text},t);case"raw":return(0,r.jsx)(i,{html:e.data.html},t);case"list":return"ordered"===e.data.style?(0,r.jsx)("ol",{className:"list-disc pl-12 py-10",children:e.data.items.map((function(e,t){return(0,r.jsx)("li",{id:t,dangerouslySetInnerHTML:{__html:e}},t)}))},t):(0,r.jsx)("ol",{className:"list-decimal pl-12 py-10",children:e.data.items.map((function(e,t){return(0,r.jsx)("li",{dangerouslySetInnerHTML:{__html:e}},t)}))},t);case"embed":return(0,r.jsxs)("figure",{className:"w-full mx-auto",children:[(0,r.jsx)("iframe",{width:"100%",height:"415",frameBorder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,src:e.data.embed}),(0,r.jsx)("figcaption",{className:"text-center italic text-gray-700 text-sm",dangerouslySetInnerHTML:{__html:e.data.caption}})]},t);case"center":return(0,r.jsx)("p",{className:"text-center",dangerouslySetInnerHTML:{__html:e.data.text}},t);case"delimiter":return(0,r.jsx)("p",{className:"text-xl text-center items-center py-12",children:". . ."},t);default:return null}}))})}},2303:function(e,t,n){"use strict";var r=n(1438),o=n(2951),a=n(8029),i=n(460),c=n(5893),s=n(7294),l=function(e){(0,a.Z)(n,e);var t=(0,i.Z)(n);function n(e){var o;return(0,r.Z)(this,n),(o=t.call(this,e)).article=s.createRef(),o.state={},o}
1return(0,o.Z)(n,[{key:"componentDidMount",value:function(){var e=this.props.body;if(e.includes("<script")){var t=/<script.*?src="(.*?)"/gim.exec(e)[1],n=document.createElement("script");n.setAttribute("src",t),document.head.append(n)}this.article.current.childNodes.forEach((function(e,t){"tweet"==e.className&&twttr.widgets.createTweet(e.dataset.id,state.$refs.article.childNodes[t])}))}},{key:"render",value:function(){return(0,c.jsx)("div",{className:"p-4",children:(0,c.jsx)("article",{dangerouslySetInnerHTML:{__html:this.props.body},ref:this.article,className:"leading-relaxed post-article"})})}}]),n}(s.Component);t.Z=l},7072:function(e,t,n){"use strict";var r=n(1438),o=n(2951),a=n(8029),i=n(460),c=n(5893),s=n(7294),l=n(9821),u=function(e){(0,a.Z)(n,e);var t=(0,i.Z)(n);function n(e){return(0,r.Z)(this,n),t.call(this,e)}return(0,o.Z)(n,[{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],n=document.createElement("script");n.setAttribute("src",t),document.head.append(n)}}}},{key:"render",value:function(){var e=this.props.ad;return(0,c.jsxs)("div",{className:"flex justify-center sidebar relative",children:["code"===e.type&&(0,c.jsx)("div",{dangerouslySetInnerHTML:{__html:e.code}}),"adunit"===e.type&&(0,c.jsx)("div",{id:"Google Ad Unit ID: ".concat(e.code),className:"relative",children:(0,c.jsx)("div",{className:"relative z-30 bg-white",children:(0,c.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})})})]})}}]),n}(s.Component);t.Z=u},5865:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return C},default:function(){return N}});var r=n(7568),o=n(655),a=n(5893),i=n(7294),c=n(3144),s=n.n(c),l=n(8775),u=n(7072),d=n(132),p=n(9490),f=n(2303),m=n(9008),h=n.n(m),y="text-gray-800 hover:text-blue-600 bg-gray-100 rounded flex flex-row items-center space-x-2 text-sm px-3 py-1 border border-gray-300 hover:border-gray-400 group capitalize",x=function(e){var t=e.title,n=e.href,r=e.icon,o=e.onClick,i=void 0===o?null:o,c=e.target,s=void 0===c?"_self":c;return n?(0,a.jsxs)("a",{href:n,target:s,className:y,children:[r&&(0,a.jsx)(a.Fragment,{children:r}),(0,a.jsx)("span",{children:t})]}):(0,a.jsxs)("button",{className:y,onClick:i,children:[r&&(0,a.jsx)(a.Fragment,{children:r}),(0,a.jsx)("span",{children:t})]})},g=n(4855),b=function(e){var t=e.published,n=(0,i.useState)(!1),r=n[0],o=n[1],c=(0,i.useState)(""),s=c[0],l=c[1];(0,i.useEffect)((function(){window&&l(window.location.href)}),[]),(0,i.useEffect)((function(){if(r){var e=setTimeout((function(){o(!1)}),1500);return function(){return clearTimeout(e)}}}),[r]);return(0,a.jsxs)("div",{className:"bg-white w-full border-b flex flex-row items-center px-4 py-3 z-30 sticky top-0 justify-between",children:[(0,a.jsx)("div",{className:"truncate overflow-hidden text-gray-600 font-bold text-right font-sans uppercase text-sm",children:p.ou.fromISO(t).toFormat("LLL dd, yyyy")}),(0,a.jsx)("div",{children:s&&(0,a.jsxs)("div",{className:"flex flex-row items-center space-x-3",children:[r&&(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("p",{className:"text-sm text-green-500",children:"Copied to Clipboard"})}),(0,a.jsx)(g.CopyToClipboard,{text:s,onCopy:function(){o(!0)},children:(0,a.jsx)(x,{title:"Copy Link",icon:(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-5 w-5 text-gray-600 group-hover:text-blue-600",viewBox:"0 0 20 20",fill:"currentColor",children:[(0,a.jsx)("path",{d:"M7 9a2 2 0 012-2h6a2 2 0 012 2v6a2 2 0 01-2 2H9a2 2 0 01-2-2V9z"}),(0,a.jsx)("path",{d:"M5 3a2 2 0 00-2 2v6a2 2 0 002 2V5h8a2 2 0 00-2-2H5z"})]})})})]})})]})},v=n(5689),w=n(3177),j=function(e){var t=e.zoneId,n=e.keyword,c=void 0===n?"article":n,s=(0,i.useState)(""),l=s[0],u=s[1],d=(0,i.useRef)(null);(0,i.useEffect)((function(){var e=encodeURIComponent(window.location.href);p(t,e,c).then((function(e){"SUCCESS"===e.status?u("\n          <img src=".concat(e.placements.placement_1.eligible_url," width=1 height=1 />\n          <img src=").concat(e.placements.placement_1.accupixel_url," width=1 height=1 />\n          <img src=").concat(e.placements.placement_1.viewable_url," width=1 height=1 />\n          ").concat(e.placements.placement_1.body,"\n        ")):console.warn("Issue loading Empower Local Video\nReason: ".concat(e.status))}))}),[]);var p=function(){var e=(0,r.Z)((function(e,t,n){var r;return(0,o.__generator)(this,(function(o){switch(o.label){case 0:return o.trys.push([0,3,,4]),[4,fetch("https://ads.empowerlocal.co/adserve/;ID=181918;size=0x0;setID=".concat(e,";referrer=").concat(t,";kw=").concat(n,";type=json;click=CLICK_MACRO_PLACEHOLDER"),{})];case 1:return[4,o.sent().json()];case 2:return[2,o.sent()];case 3:return r=o.sent(),console.error(r),[2,{status:"ERROR_IN_FETCH",message:r}];case 4:return[2]}}
1))}));return function(t,n,r){return e.apply(this,arguments)}}();return(0,i.useEffect)((function(){if(l){var e=document.createRange().createContextualFragment(l);d.current.appendChild(e)}}),[l]),(0,a.jsx)("div",{ref:d})},_=function(e){var t=e.categories,n=void 0===t?[]:t;return(0,a.jsx)("div",{className:"flex flex-row space-x-3",children:n.map((function(e){return(0,a.jsx)(x,{title:e,href:"/category/".concat(e.toLowerCase()),icon:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-5 w-5 text-gray-600 group-hover:text-blue-600",viewBox:"0 0 20 20",fill:"currentColor",children:(0,a.jsx)("path",{fillRule:"evenodd",d:"M17.707 9.293a1 1 0 010 1.414l-7 7a1 1 0 01-1.414 0l-7-7A.997.997 0 012 10V5a3 3 0 013-3h5c.256 0 .512.098.707.293l7 7zM5 6a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})})},e)}))})},C=!0,N=function(e){var t,n=e.config,c=e.post,m=(0,i.useState)([]),y=m[0],x=m[1],g=(0,i.useState)(!1),C=g[0],N=g[1],O=(0,i.useState)({}),S=O[0],E=O[1],k=(0,i.useState)({}),P=k[0],T=k[1],D=null===c||void 0===c||null===(t=c.categories)||void 0===t?void 0:t.includes("obituaries");(0,i.useEffect)((function(){c&&(I(c.ad_sidebar_location).then((function(e){e&&x(e.data)})),c.categories.includes("obituaries")?I("obituaryBanner").then((function(e){E(e.data[0])})):c.categories.includes("jobs")?I("hutch-jobs").then((function(e){E(e.data[0])})):c.categories.includes("homegrown-music")?I("homegrown-music-banner").then((function(e){E(e.data[0])})):c.categories.includes("arrests")?I("arrests-banner").then((function(e){E(e.data[0])})):I("homeBelowFeatured").then((function(e){E(e.data[0])})),I("belowPost").then((function(e){var t=e.data[0]?e.data[0]:null;T(t)})),"jc"!==n.site&&"littleapple"!==n.site||c.categories.includes("obituaries")&&N(!0),window._taboola=window._taboola||[],_taboola.push({mode:"thumbnails-a",container:"taboola-below-article-thumbnails",placement:"Below Article Thumbnails",target_type:"mix"}))}),[c,n.site]);var I=function(){var e=(0,r.Z)((function(e){return(0,o.__generator)(this,(function(t){switch(t.label){case 0:return[4,s()("".concat(w.b,"/ads?location=").concat(e,"&site=").concat(n.site))];case 1:return[2,t.sent().json()]}}))}));return function(t){return e.apply(this,arguments)}}(),R=function(e){return e?e.replace(/(<([^>]+)>)/gi,"").slice(0,140):(null===c||void 0===c?void 0:c.title)||""};return c?(0,a.jsxs)(l.Z,{config:n,hideBannerAd:C,post:c,children:[(0,a.jsxs)(h(),{children:[(0,a.jsx)("title",{children:c.title},"title"),(0,a.jsx)("meta",{name:"description",content:R(c.body)},"description"),(0,a.jsx)("meta",{property:"og:title",content:c.title},"og:title"),(0,a.jsx)("meta",{property:"og:site_name",content:n.title},"og:site_name"),(0,a.jsx)("meta",{property:"og:type",content:"website"},"og:type"),(0,a.jsx)("meta",{property:"og:url",content:"https://".concat(n.host,"/posts/").concat(c.id)},"og:url"),(0,a.jsx)("meta",{property:"og:image",content:c.featured_image?c.featured_image:"https://".concat(n.host).concat(n.logo)},"og:image"),(0,a.jsx)("meta",{property:"og:description",content:R(c.body)},"og:description"),(0,a.jsx)("meta",{property:"twitter:card",content:"summary"},"twitter:card"),(0,a.jsx)("meta",{property:"twitter:card",content:"http://".concat(n.host,"/posts/").concat(c.id)},"twitter:card"),(0,a.jsx)("meta",{property:"twitter:title",content:c.title},"twitter:title"),(0,a.jsx)("meta",{property:"twitter:description",content:R(c.body)},"twitter:description"),(0,a.jsx)("meta",{property:"twitter:image:src",content:c.featured_image?c.featured_image:"https://".concat(n.host).concat(n.logo)},"twitter:image:src"),(0,a.jsx)("meta",{property:"article:published_time",content:p.ou.fromISO(c.published).toFormat("LL-dd-yyyy tt")},"article:published_time")]}),(0,a.jsxs)("div",{className:"flex flex-wrap",children:[(0,a.jsx)("div",{className:"w-full sm:w-full md:w-full lg:w-2/3 lg:border-r lg:border-gray-300",children:(0,a.jsxs)("div",{className:"flex flex-wrap",children:[(0,a.jsx)(b,{host:n.host,postId:c.id,title:c.title,published:c.published,siteTitle:n.title}),(0,a.jsx)("div",{className:"m-2 justify-center",style:{width:"100%"},children:(0,a.jsx)(d.Z,{ad:S})}),(0,a.jsx)("div",{className:"p-4 leading-tight w-full",children:(0,a.jsx)("h1",{className:"text-4xl text-[#424242] font-bold leading-tight",children:c.title})}),(0,a.jsxs)("div",{className:"text-gray-600 px-4 text-lg leading-tight italic flex py-4 w-full",children:["Posted"," ",p.ou.fromISO(c.published).toFormat("LLL dd, yyyy h:mm a")]}),(0,a.jsx)("div",{className:"w-full",children:"v2"===c.editor?(0,a.jsx)(v.Z,{blocks:c.blocks}
1):(0,a.jsx)(f.Z,{body:c.body})}),(0,a.jsx)("div",{className:"px-4",children:(0,a.jsx)(_,{categories:c.categories})}),!D&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"w-full h-px bg-gray-300 mt-6"}),(0,a.jsx)("div",{className:"w-full p-4",children:(0,a.jsx)(j,{zoneId:n.empower_zone_id})})]}),null!==P&&(0,a.jsx)("div",{className:"p-4 my-6 block md:hidden mx-auto relative z-10",children:(0,a.jsx)(u.Z,{ad:P})})]})}),(0,a.jsx)("div",{className:"w-full lg:w-1/3 p-0 lg:p-4",children:(0,a.jsx)("div",{className:"grid grid-cols-1 gap-6",children:y&&y.map((function(e){return(0,a.jsx)("div",{children:(0,a.jsx)(u.Z,{ad:e})},e.id)}))})}),(0,a.jsx)("div",{className:"p-4",children:(0,a.jsx)("div",{id:"taboola-below-article-thumbnails"})})]})]}):(0,a.jsx)(l.Z,{config:n,children:(0,a.jsx)("div",{children:"Post not found."})})}},4300:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CopyToClipboard=void 0;var r=a(n(7294)),o=a(n(640));function a(e){return e&&e.__esModule?e:{default:e}}function i(e){return i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?f(e):t}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y=function(e){function t(){var e,n;l(this,t);for(var a=arguments.length,i=new Array(a),c=0;c<a;c++)i[c]=arguments[c];return h(f(n=d(this,(e=p(t)).call.apply(e,[this].concat(i)))),"onClick",(function(e){var t=n.props,a=t.text,i=t.onCopy,c=t.children,s=t.options,l=r.default.Children.only(c),u=(0,o.default)(a,s);i&&i(a,u),l&&l.props&&"function"===typeof l.props.onClick&&l.props.onClick(e)})),n}var n,a,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(t,e),n=t,a=[{key:"render",value:function(){var e=this.props,t=(e.text,e.onCopy,e.options,e.children),n=s(e,["text","onCopy","options","children"]),o=r.default.Children.only(t);return r.default.cloneElement(o,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(n,!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},n,{onClick:this.onClick}))}}],a&&u(n.prototype,a),i&&u(n,i),t}(r.default.PureComponent);t.CopyToClipboard=y,h(y,"defaultProps",{onCopy:void 0,options:void 0})},4855:function(e,t,n){"use strict";var r=n(4300).CopyToClipboard;r.CopyToClipboard=r,e.exports=r},1742:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEac
1h((function(t){e.addRange(t)})),t&&t.focus()}}}},function(e){e.O(0,[809,664,761,775,774,888,179],(function(){return t=1569,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.