PageSourceSearch

https://www.haysfreepress.com/build/8884.519e1532.js

js haysfreepress.com collected 2026-09-24 19:04:29 UTC 18,196 bytes, 1 lines download raw bytes

1(self.webpackChunk=self.webpackChunk||[]).push([[8884],{60910:(function(de,$,i){var Q=i(74692);function T(s){"@babel/helpers - typeof";return T=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(D){return typeof D}:function(D){return D&&typeof Symbol=="function"&&D.constructor===Symbol&&D!==Symbol.prototype?"symbol":typeof D},T(s)}i(52675),i(89463),i(2259),i(2008),i(50113),i(74423),i(25276),i(23792),i(26910),i(60739),i(79432),i(26099),i(84864),i(27495),i(38781),i(21699),i(47764),i(71761),i(25440),i(42762),i(50778),i(23500),i(62953),i(3296),i(27208),i(48408),(function(s){var D=(function(){return{postMessage:function(e,r,n){e=JSON.stringify(e),r=r||"*",n=n||window.parent,window.postMessage&&n.postMessage(e,r.replace(/([^:]+:\/\/[^\/]+).*/,"$1"))},receiveMessage:function(e){function r(n){var o;try{o=JSON.parse(n.data)}catch{}e(n,o)}window.postMessage&&(window.addEventListener?window[e?"addEventListener":"removeEventListener"]("message",r,!1):window[e?"attachEvent":"detachEvent"]("onmessage",r))}}})();document.addEventListener("error",function(t){var e=t.target;if(!(!e||e.tagName!=="IMG"||!e.closest(".card-rendered-preview .card-footer"))){var r=document.createElement("i");r.className="fal fa-globe mr-2 text-muted",r.setAttribute("aria-hidden","true"),e.parentNode&&e.parentNode.replaceChild(r,e)}},!0),s.ajaxPrefilter("script",function(t){t.url.indexOf("reader.js")>-1&&(t.cache=!0)}),s.iframely=s.iframely||{},s.iframely.iframes=s.iframely.iframes||{},D.receiveMessage(function(t,e){var r;if(e&&e.windowId&&(r=s.iframely.iframes[e.windowId])&&s.iframely.setIframeHeight&&e.method==="resize"&&e.height){var n=r.attr("src");n&&n.indexOf("facebook.com")===-1&&(e.height=e.height<130?130:e.height,s.iframely.setIframeHeight(r,e.height))}}),s.iframely.setIframeHeight=function(t,e){var r=t.attr("iframely-wrapped"),n=t.parent();if(typeof r>"u"){var o=n.attr("style"),a=t.attr("style");o&&a&&o.match("position: relative;")&&o.match("height: 0px;")&&a.match("height: 100%;")&&a.match("width: 100%;")?(t.attr("iframely-wrapped",!0),r=!0):(t.attr("iframely-wrapped",!1),r=!1)}r?n.css("padding-bottom","").css("height",e):t.css("height",e)},s.iframely.registerIframesIn=function(t){t.find("iframe").each(function(){var e=s(this);s.iframely.registerIframe(e)})},s.iframely.registerIframe=function(t,e){!t||t.attr("iframely-registered")||(t.attr("iframely-registered",!0),t.on("load",function(){var r=s.iframely.iframesCounter=(s.iframely.iframesCounter||0)+1,n=e||r;s.iframely.iframes[n]=t,D.postMessage({method:"register",windowId:n},"*",this.contentWindow)}))};var V=/^_.+/;s.iframely.getPageData=function(t,e,r){typeof e=="function"&&(r=e,e={}),e=e||{};var n={uri:e.url?void 0:t,url:e.url?t:void 0,debug:e.debug,mixAllWithDomainPlugin:e.mixAllWithDomainPlugin,refresh:e.refresh,meta:e.meta,whitelist:e.whitelist,api_key:e.api_key,origin:e.origin,autoplay:e.autoplay,ssl:e.ssl,html5:e.html5,iframe:e.iframe,group:e.group};for(var o in e)o.length>1&&V.test(o)&&(n[o]=e[o]);if(s.support.cors=!0,typeof n.uri<"u"&&n.uri){var a=new URL(n.uri),c=new RegExp(/\/player\/embed\/[a-z0-9]+/gi);if(a.pathname.match(c)){var f=new URLSearchParams(a.search);f.set("ts",Date.now()),a.search=f.toString(),n.uri=a.href}}var u=n.url||n.uri||"";s.ajax({crossDomain:!0,url:s.iframely.defaults.endpoint,dataType:"json",data:n,success:function(h,l,m){h.src_url=u,typeof h.links.app>"u"&&typeof h.links.player>"u"&&typeof h.links.reader>"u"&&(h.html=Z(h),h.iframe_html=Z(h),h.rel=["summary","ssl","html5","inline"]);var d=r(null,h,m)},error:function(h,l,m){var d=(function(){try{return JSON.parse(h.responseText)}catch{}})();r(l,d,h)}})},s.iframely.defaults={endpoint:"//iframely.com/iframely"},s.iframely.get=function(t,e,r){s.ajax({url:t,dataType:"json",data:e,success:function(o,a,c){r(null,o,c)},error:function(o,a,c){var f=(function(){try{return JSON.parse(o.responseText)}catch{}})();r(f&&f.error||o.status||c.message,f,o)}})};function Z(t){if(typeof t.html<"u"&&t.html)return t.html;var e="";if(typeof t.meta.title<"u"&&typeof t.meta.canonical<"u"&&t.meta.title&&t.meta.canonical){var r=t.src_url&&t.src_url!==t.meta.canonical?t.src_url:t.meta.canonical,n=new URL(r),o={},a="";try{typeof t.links.thumbnail<"u"&&t.links.thumbnail.length&&(o.url=t.links.thumbnail[0].href)}catch{}if(n.hostname.includes("widget.spreaker.com"))return n.searchParams.set("playlist","false"),e='<div class="w-100"><iframe src="'+n.toString()+'" width="100%" height="200" style="border:0;"></iframe></div>',e.trim().replace(/[\n\r\t]/g,"");Object.keys(o).length===1&&(a='<img src="'+o.url+'" alt="'+t.meta.title+'" class="align-self-start mb-3 mb-sm-0 mr-sm-3 media-image">');var c=n.hostname===window.location.hostname?"":' rel="nofollow"',f=t.meta.site||t.meta.author||n.hostname.replace(/^www\./,"");e+='<div class="card card-rendered-preview shadow-sm m-0">                '+(typeof t.links.thumbnail<"u"&&t.links.thumbnail.indexOf("cdninstagram.com")>-1?'<a href="'+n.href+'" target="_blank"><img src="'+t.links.thumbnail[0].href+'" class="card-img-top img-fluid" alt=""></a>':"")+'                <div class="card-body pb-3 pb-sm-1">                    <a href="'+n.href+'" class="d-block" target="_blank"'+c+'>                        <div class="media">                            '+a+'                            <div class="media-body">
1                                <span class="h6 d-block">'+t.meta.title+'</span>                                <span class="text-body">'+(typeof t.meta.description<"u"?t.meta.description:"")+"</span>                            </div>                        </div>                    </a>                </div>",e+='<div class="card-footer bg-white border-top-0 pt-0">                <a href="'+(typeof n.origin<"u"?n.origin:"#")+'"'+c+">                    "+(typeof t.links.icon<"u"?'<img src="'+t.links.icon[0].href+'" class="mr-2 img-fluid" alt="" style="max-height:16px;">':'<i class="fal fa-globe mr-2 text-muted" aria-hidden="true"></i>')+'                    <span class="text-muted small">'+f+"</span>                </a>            </div>",e+="</div>"}return e.trim().replace(/[\n\r\t]/g,"")}function S(t,e){var r=e.media;if(r&&r.height&&r.width&&!r["aspect-ratio"])return t.attr("width",r.width),t.attr("height",r.height),t;if(r&&r.height&&!r.width&&!r["aspect-ratio"])return t.css("width","100%"),t.css("height",r.height+"px"),t;t.css("top",0).css("left",0).css("width","100%").css("height","100%").css("position","absolute");var n="";r["aspect-ratio"]&&(n='data-aspect-ratio="'+r["aspect-ratio"]+'"',r.height&&(n='data-height="'+r.height+'"'));var o=s("<div>").css("left",0).css("width","100%").css("height",0).css("position","relative").append(t);(!r||!r.height&&!r["aspect-ratio"])&&o.css("padding-bottom","56.25%");var a=s("<div "+n+">").append(o);return r&&(r["aspect-ratio"]?r.height?o.css("height",r.height):(o.css("padding-bottom",Math.round(1e3*100/r["aspect-ratio"])/1e3+"%"),r["padding-bottom"]&&o.css("padding-top",r["padding-bottom"]+"px")):(r.height&&o.css("height",r.height),r.width&&o.css("width",r.width)),(r["max-width"]||r["min-width"])&&["max-width","min-width"].forEach(function(c){r[c]&&a.css(c,r[c])})),a}var N={javascript:{test:function(e){return/(text|application)\/javascript/i.test(e.type)&&e.href},generate:function(e){return s("<script>").attr("type",e.type).attr("src",e.href)}},image:{test:function(e){return/^image(\/[\w\.-]+)?$/i.test(e.type)&&e.href},generate:function(e){var r=s("<img>").attr("src",e.href);return e.title&&r.attr("title",e.title).attr("alt",e.title),r}},mp4video:{test:function(e){return e.type=="video/mp4"||e.type=="video/webm"||e.type=="video/ogg"},generate:function(e,r){var n=r&&r.iframelyData,o=e.rel.indexOf("gifv")>-1,a=e.rel.indexOf("autoplay")>-1||o,c=s("<video"+(o?" loop muted webkit-playsinline":" controls")+(a?" autoplay":"")+"></video>");if(n&&n.links){var f=e.media,u,y;f&&(u=f["aspect-ratio"],u||[["min-width","min-height"],["max-width","max-height"],["width","height"]].forEach(function(d){y=f[d[0]];var M=f[d[1]];y&&M&&(u=y/M)}));var h=s.iframely.filterLinks(n.links,function(d){return d.rel.indexOf("promo")>-1}).length,l=s.iframely.filterLinks(n.links,function(d){if(!(h&&d.rel.indexOf("promo")===-1)&&N.image.test(d)&&(d.rel.indexOf("thumbnail")>-1||d.rel.indexOf("image")>-1)&&d.type.indexOf("gif")===-1&&!d.href.match(/\.gif(?:[#\?].*)?$/i)){var M=d.media;if(u&&M&&M.width&&M.height){var O=M.width/M.height;return Math.abs(O-u)<.15}return!0}});l.sort(function(d,M){var O=d.media&&d.media.width,L=M.media&&M.media.width;if(O==L)return 0;if(O&&L)return L-O;if(!O)return 1;if(!L)return-1}),l.length&&c.attr("poster",l[0].href)}if(c.append("<source />").children("source").attr("src",e.href).attr("type",e.type),e.type=="application/x-mpegURL"||e.type=="application/vnd.apple.mpegurl"){var m=new Hls;m.loadSource(e.href),m.attachMedia(c.get(0))}return r&&r.disableSizeWrapper?c:S(c,e)}},flash:{test:function(e){return e.type==="application/x-shockwave-flash"&&e.href},generate:function(e,r){var n=s("<embed>").attr("src",e.href).attr("type","application/x-shockwave-flash");return r&&r.disableSizeWrapper?n:S(n,e)}},iframe:{test:function(e){return e.type=="text/html"&&typeof e.href<"u"&&e.href},generate:function(e,r){var n=s("<iframe>").attr("src",e.href).attr("frameborder","0").attr("allowfullscreen","").attr("allow","autoplay; encrypted-media");return e.media&&e.media.scrolling==="no"&&n.attr("scrolling","no"),r&&r.disableSizeWrapper?n:S(n,e)}},inline:{test:function(e){return e.type==="text/html"&&(e.rel.indexOf("inline")>-1||e.rel.indexOf("html5")>-1)&&!e.href&&e.html},generate:function(e,r){e.html=e.html.replace('<div id="fb-root"></div>',"");var n;try{n=s(e.html)}catch{n=s("<div>").append(e.html)}return n}},mp3audio:{test:function(e){return/^audio\//i.test(e.type)&&e.href},generate:function(e){return s('<audio controls preload="auto"><source src="'+e.href+'" type="audio/mp3"></audio>')}}};s.iframely.generateLinkElement=function(t,e){e&&e.links&&(e={iframelyData:e});for(var r in N){var n=N[r];if(n.test(t))return n.generate(t,e)}},s.iframely.findBestFittedLink=function(t,e,r){var n=s.iframely.filterLinks(r,function(l){var m=l.media;return m&&m.width&&m.height});if(n.length==0)return z(r);var o=t/e,a=[];
1n.forEach(function(l){var m=l.media.width,d=l.media.height,M=m/d,O;M>o?O=m/t:O=d/e,O>1&&(m=m/O,d=d/O);var L=t*e-m*d;a.push({link:l,scale:O,modScale:O>1?O:1/O,diffSquare:L})});var c,f=a.filter(function(l){return l.scale<=1});f.length>0&&(f.sort(function(l,m){return m.scale-l.scale}),c=f[0]);var u,y=a.filter(function(l){return l.scale>1});y.length>0&&(y.sort(function(l,m){var d=l.diffSquare-l.diffSquare;return d==0&&(d=l.scale-m.scale),d}),u=y[0]);var h=[c,u].filter(function(l){return l});return h.sort(function(l,m){return l.modScale-m.modScale}),h[0].link},s.iframely.findBestSizedLink=function(t,e,r){var n=s.iframely.filterLinks(r,function(f){var u=f.media;return u&&u.width&&u.height});if(n.length==0)return z(r);var o=[];n.forEach(function(f){var u=f.media.width,y=f.media.height,h=u-t,l=y-e,m=0,d=0;h>0&&l>0&&(m=u*y-t*e),h<0&&l<0&&(d=t*e-u*y),h>0&&l<0&&(m=h*y,d=-l*t),h<0&&l>0&&(m=l*u,d=-h*e),o.push({link:f,overSquare:m,lostSquare:d})});var a=o.filter(function(f){return f.lostSquare==0});if(a.length>0)return a.sort(function(f,u){return f.overSquare-u.overSquare}),a[0].link;var c=o.filter(function(f){return f.lostSquare>0});return c.sort(function(f,u){return f.lostSquare-u.lostSquare}),c[0].link},s.iframely.filterLinksByRel=function(t,e,n){var n=n||{};typeof t=="string"&&(t=[t]);function o(c){return/^(?:https:)?\/\/.+/i.test(c)}var a=s.iframely.filterLinks(e,function(c){if(n.httpsOnly&&!o(c.href))return!1;for(var f=!1,u=0;!f&&u<t.length;)c.rel.indexOf(t[u])>-1&&(f=!0),u++;return f});return a&&n.httpsFirst&&a.sort(function(c,f){var u=o(c.href),y=o(f.href);return u==y?0:u&&!y?-1:1}),a&&n.returnOne?a.length>0?a[0]:null:a},s.iframely.filterLinks=function(t,e){if(t){if(t instanceof Array)return t.filter(e);if(T(t)==="object"){var r=[];for(var n in t){var o=t[n];o instanceof Array&&o.forEach(function(a){e(a)&&r.push(a)})}return r}}return[]};function z(t){if(t){if(t instanceof Array)return t.length>0?t[0]:void 0;if(T(t)==="object")for(var e in t){var r=t[e];if(r instanceof Array&&r.length>0)return r[0]}}}})(Q)}),98884:(function(de,$,i){"use strict";var Q=i(52675),T=i.n(Q),s=i(89463),D=i.n(s),V=i(2259),Z=i.n(V),S=i(45700),N=i.n(S),z=i(50113),t=i.n(z),e=i(74423),r=i.n(e),n=i(23792),o=i.n(n),a=i(34782),c=i.n(a),f=i(89572),u=i.n(f),y=i(2892),h=i.n(y),l=i(9868),m=i.n(l),d=i(84185),M=i.n(d),O=i(79432),L=i.n(O),ue=i(26099),je=i.n(ue),ce=i(78459),Pe=i.n(ce),me=i(27495),De=i.n(me),he=i(47764),we=i.n(he),ve=i(23500),xe=i.n(ve),pe=i(62953),be=i.n(pe),v=i(74692);function U(p){"@babel/helpers - typeof";return U=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(_){return typeof _}:function(_){return _&&typeof Symbol=="function"&&_.constructor===Symbol&&_!==Symbol.prototype?"symbol":typeof _},U(p)}function _e(p,_){if(!(p instanceof _))throw new TypeError("Cannot call a class as a function")}function ee(p,_){for(var w=0;w<_.length;w++){var g=_[w];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(p,ge(g.key),g)}}function ye(p,_,w){return _&&ee(p.prototype,_),w&&ee(p,w),Object.defineProperty(p,"prototype",{writable:!1}),p}function ge(p){var _=Ee(p,"string");return U(_)=="symbol"?_:_+""}function Ee(p,_){if(U(p)!="object"||!p)return p;var w=p[Symbol.toPrimitive];if(w!==void 0){var g=w.call(p,_||"default");if(U(g)!="object")return g;throw new TypeError("@@toPrimitive must return a primitive value.")}return(_==="string"?String:Number)(p)}i(60910);var Oe=(function(){function p(){_e(this,p),this.iframely_domain=typeof _env<"u"&&_env==="dev"?"iframely-dev.4media.com":"iframely.4media.com",this.iframely_api_url="https://"+this.iframely_domain+"/iframely/",this.iframely_render_url="https://"+this.iframely_domain+"/render/"}return ye(p,[{key:"init",value:function(){var w=this;v.iframely.defaults.endpoint=this.iframely_api_url,document.querySelectorAll("oembed[url]").forEach(function(g){var I=g.getAttribute("url"),j=g.parentNode,J=g.getAttribute("data-options"),x=J?JSON.parse(J):null,X=!!(x&&typeof x._noSlide<"u"&&x._noSlide==="true");v.iframely.getPageData(I,x,function(te,E){var C=null;if(typeof E.links<"u"&&(C=typeof E.links.player<"u"?E.links.player:typeof E.links.app<"u"||typeof E.links.reader<"u"?E.links.app||E.links.reader:null),C&&Array.isArray(C)&&C[0]){var re=C[0],Y=["Twitter","Facebook","Instagram","YouTube","Vimeo","TikTok","Pinterest"],b=v.iframely.generateLinkElement(re,E),P=b.data(),A=!1;if(P&&P.aspectRatio&&P.aspectRatio<1)A=!0;else{var H=E.links&&E.links.thumbnail;if(H&&H.length){var W=H[0];W.media&&W.media.width&&W.media.height&&W.media.height>W.media.width&&(A=!0)}if(!A){var ie=E.meta&&E.meta.canonical||"";A=/\/reel\//i.test(I)||/\/reel\//i.test(ie)||/tiktok\.com\/@.+\/video\//i.test(I)||/tiktok\.com\/@.+\/video\//i.test(ie)}}if(Y.includes(E.meta.site)&&X===!1&&A===!1){if(P&&typeof P.aspectRatio<"u"&&P.aspectRatio){if(P.aspectRatio<1)var K=0;else var K=parseFloat((100/P.aspectRatio).toFixed(4));if(K===0){console.log(v(j).width());var R=v('<div class="app-embed-wrapper av shown" style="max-width:500px; aspect-ratio:'+P.aspectRatio.toFixed(4)+'" lang="'+i.g.app_locale+'"></div>')}else if(K>0&&K<=60)var R=v('<div class="app-embed-wrapper av shown" style="padding-top:'+K+'%;" lang="'+i.g.app_locale+'"></div>');else var R=v('<div class="app-embed-wrapper" lang="'+i.g.app_locale+'"></div>')}else if(P&&typeof P.height<"u"&&P.height)var R=v('<div class="app-embed-wrapper av shown" style="height:'+P.height+'px; padding-top:0;" lang="'+i.g.app_locale+'"></div>');else var R=v('<div class="app-embed-wrapper" lang="'+i.g.app_locale+'"></div>');var ne=v('<div class="app-embed-container"></div>'),se=v('<div class="app-embed-content"></div>');R.append(ne),ne.append(se),se.append(b),v(j).empty(),v(j).append(R)}else{if(v(j).append(b),E.meta.site==="Facebook"){if(b.find("#fb-root").remove(),b.find('script[src*="facebook.net"]').remove(),v(j).append(b),!document.getElementById("fb-root")){var oe=document.createElement("div");oe.id="fb-root",document.body.insertBefore(oe,document.body.firstChild)}if(document.querySelector('script[src*="connect.facebook.net"]'))window.FB&&window.FB.XFBML&&window.FB.XFBML.parse(v(j)[0]);else{var ae=window.fbAsyncInit;window.fbAsyncInit=function(){typeof ae=="function"&&ae(),window.FB.XFBML.parse()};var G=(i.g.app_locale||"pl")+"_"+(i.g.app_locale||"pl").toUpperCase();G=G==="en_EN"?"en_US":G;var F=document.createElement("script");F.async=!0,F.defer=!0,F.crossOrigin="anonymous",F.src="https://connect.facebook.net/"+G+"/sdk.js#xfbml=1&version=v25.0",document.body.appendChild(F)}}if(A){var B=v(j).closest("figure.media");if(B.css({"max-width":"500px","margin-left":"auto","margin-right":"auto"}),B.find("blockquote").css({"border-left":"none",padding:"0",margin:"1.5em 0","font-style":"normal",overflow:"visible","max-width":"500px"}),E.meta.site==="Facebook"){var fe=setInterval(function(){var k=B.find(".fb-video");if(k.attr("fb-xfbml-state")==="rendered"&&(clearInterval(fe),typeof ResizeObserver<"u")){var le=Math.round(B.width()),Me=new ResizeObserver(function(){var q=Math.round(B.width());q!==le&&(le=q,k.attr("fb-xfbml-state",""),k.css("width",q+"px"),window.FB&&window.FB.XFBML&&window.FB.XFBML.parse(B[0]))});Me.observe(B[0])}},300);setTimeout(function(){clearInterval(fe)},1e4)}}}v.iframely.registerIframesIn(v(j))}else typeof E.html<"u"&&E.html&&(v(j).empty(),v(j).append(E.html))})}),v(document).on("click",".app-embed-wrapper",function(g){var I=v(this),j=I.find(".app-embed-container > .app-embed-content:first"),J=g.currentTarget||g.target,x=getComputedStyle(J,":before");if(x&&j.length){var X=Number(x.getPropertyValue("top").slice(0,-2)),te=Number(x.getPropertyValue("height").slice(0,-2)),E=Number(x.getPropertyValue("left").slice(0,-2))-16,C=Number(x.getPropertyValue("width").slice(0,-2)),re=g.originalEvent.layerX,Y=g.originalEvent.layerY;if(Y>X&&Y<X+te){var b=j.height();I.css("padding-top",b+22+"px"),I.addClass("shown")}}})}}])})();$.default=Oe})}]);

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.