PageSourceSearch

https://antyweb.pl/_aw/1d1df2f.modern.js

js antyweb.pl collected 2026-09-24 08:28:46 UTC 10,344 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[64],{303:function(t,e,r){"use strict";var n=r(4),c=r(9),l=r(43),o=r(34),d=r(15),f=r(11),h=r(327),v=r(165),m=r(328),y=r(329),x=r(75),O=r(330),w=[],j=w.sort,k=f((function(){w.sort(void 0)})),_=f((function(){w.sort(null)})),C=v("sort"),F=!f((function(){if(x)return x<70;if(!(m&&m>3)){if(y)return!0;if(O)return O<603;var code,t,e,r,n="";for(code=65;code<76;code++){switch(t=String.fromCharCode(code),code){case 66:case 69:case 70:case 72:e=3;break;case 68:case 71:e=4;break;default:e=2}for(r=0;r<47;r++)w.push({k:t+r,v:e})}for(w.sort((function(a,b){return b.v-a.v})),r=0;r<w.length;r++)t=w[r].k.charAt(0),n.charAt(n.length-1)!==t&&(n+=t);return"DGBEFHACIJK"!==n}}));n({target:"Array",proto:!0,forced:k||!_||!C||!F},{sort:function(t){void 0!==t&&c(t);var e=l(this);if(F)return void 0===t?j.call(e):j.call(e,t);var r,n,f=[],v=o(e.length);for(n=0;n<v;n++)n in e&&f.push(e[n]);for(f=h(f,function(t){return function(e,r){return void 0===r?-1:void 0===e?1:void 0!==t?+t(e,r)||0:d(e)>d(r)?1:-1}}(t)),r=f.length,n=0;n<r;)e[n]=f[n++];for(;n<v;)delete e[n++];return e}})},312:function(t,e,r){"use strict";var n=r(6),c=(r(303),r(58),r(19)),l=r(8);e.a=()=>{var{$axios:t}=Object(l.o)(),e=function(){var e=Object(n.a)((function*(e){var{query:r,start:n=0,size:l=20,includeFields:o=["*"],excludeFields:d=[],sort:f="date",sortOrder:h="desc",type:v=null,index:m="post"}=e;c.elasticsearch.indexes.includes(m)||(m=c.elasticsearch.defaultIndex),m=m||c.elasticsearch.defaultIndex,v&&(r=r.filter("term","type",v));var body=r.size(l).from(n).sort(f,h).build(),y=JSON.stringify(body),x={};"*"!==(null==o?void 0:o[0])&&(x._source_includes=o),(null==d?void 0:d.length)&&(x._source_excludes=d);var O=Object.entries(x).map((i=>[i[0],encodeURIComponent(i[1])].join("="))).join("&"),{data:data}=yield t.post("/collection/".concat(m,"/_search?").concat(O),y);return data}));return function(t){return e.apply(this,arguments)}}();return{decorateResults:data=>{var{hits:t}=data;return{total:t.total,hits:t.hits.map((t=>{var{_source:e}=t;return e}))}},quickSearchByQuery:e}}},327:function(t,e){var r=Math.floor,n=function(t,e){var o=t.length,d=r(o/2);return o<8?c(t,e):l(n(t.slice(0,d),e),n(t.slice(d),e),e)},c=function(t,e){for(var element,r,n=t.length,i=1;i<n;){for(r=i,element=t[i];r&&e(t[r-1],element)>0;)t[r]=t[--r];r!==i++&&(t[r]=element)}return t},l=function(t,e,r){for(var n=t.length,c=e.length,l=0,o=0,d=[];l<n||o<c;)l<n&&o<c?d.push(r(t[l],e[o])<=0?t[l++]:e[o++]):d.push(l<n?t[l++]:e[o++]);return d};t.exports=n},328:function(t,e,r){var n=r(59).match(/firefox\/(\d+)/i);t.exports=!!n&&+n[1]},329:function(t,e,r){var n=r(59);t.exports=/MSIE|Trident/.test(n)},330:function(t,e,r){var n=r(59).match(/AppleWebKit\/(\d+)\./);t.exports=!!n&&+n[1]},374:function(t,e,r){t.exports={}},375:function(t,e,r){t.exports={}},427:function(t,e,r){"use strict";var n=r(6),c=r(8),l=r(19),o=r(331),d=r.n(o),f=r(312),h=Object(c.l)({});e.a=()=>{var{quickSearchByQuery:t}=Object(f.a)(),e=function(){var e=Object(n.a)((function*(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:4;r();var{searchableFields:o}=l.entities.post,f=d()().query("multi_match","fields",o,{query:e,operator:"and"});h.value=yield t({query:f,start:n,size:c,type:"post"})}));return function(t){return e.apply(this,arguments)}}(),r=()=>{h.value={}};return{results:h,clearSearch:r,search:e}}},428:function(t,e,r){"use strict";r(374)},429:function(t,e,r){"use strict";r(375)},433:function(t,e,r){"use strict";var n=r(8),c=Object(n.b)({props:{size:{type:Number,default:40}},setup:t=>({spinnerStyle:Object(n.a)((()=>({height:"".concat(t.size,"px"),width:"".concat(t.size,"px")}))),innerStyle:Object(n.a)((()=>({height:"".concat(.8*t.size,"px"),width:"".concat(.8*t.size,"px"),borderWidth:"".concat(Math.round(.075*t.size),"px")})))})}),l=(r(428),r(57)),o=Object(l.a)(c,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"spinner",style:t.spinnerStyle},[r("div",{staticClass:"spinner__inner",style:t.innerStyle})])}),[],!1,null,"7c718a42",null).exports,d=Object(n.b)({components:{Spinner:o},props:{loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},setup:t=>({isDisabled:Object(n.a)((()=>t.disabled||t.loading))})}),f=(r(429),Object(l.a)(d,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("button",{staticClass:"search-button absolute right-0 top-0 md:mt-3 md:mr-3 flex items-center justify-center",attrs:{type:"submit",disabled:t.isDisabled}},[t.loading?r("Spinner",{attrs:{size:40}}):r("svg",{staticClass:"h-4 w-4 md:h-6 md:w-6",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 17 18"}},[r("path",{attrs:{fill:"#FFF","fill-rule":"evenodd",stroke:"#FFF","stroke-width":".5",d:"M7.666 1c3.681 0 6.666 2.934 6.666 6.552a6.458 6.458 0 01-1.523 4.17L17 15.841 15.822 17l-4.228-4.154a6.713 6.713 0 01-3.928 1.258C3.984 14.104 1 11.171 1 7.552 1 3.934 3.984 1 7.666 1zm0 1.638c-2.761 0-5 2.2-5 4.914 0 2.714 2.239 4.914 5 4.914.978 0 1.91-.275 2.71-.783l.235-.16.511-.366.402-.479a4.836 4.836 0 001.134-2.86l.007-.266c0-2.714-2.238-4.914-5-4.914z"}})])],1)}),[],!1,null,"7196cd67",null));e.a=f.exports},525:function(t,e,r){t.exports={}},742:function(t,e,r){"use strict";r(525)},765:function(t,e,r){"use strict";r.r(e);var n=r(20),c=r(6),l=(r(27),r(73),r(8)),o=r(306),d=r(427),f=r(494),h=r(296),v=Object(l.b)({props:{post:{type:Object,required:!0}},setup:t=>({route:Object(l.a)((()=>Object(h.a)(t.post)))})}),m=r(57),y=Object(m.a)(v,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("NuxtLink",{staticClass:"mb-6 md:mb-0 text-base md:text-lg font-bold text-white leading-6 tracking-base",attrs:{to:t.route},domProps:{textContent:t._s(t.post.title)}})}),[],!1,null,null,null).exports,x=r(433),O=r(42);function w(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function j(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};
1i%2?w(Object(source),!0).forEach((function(e){Object(n.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):w(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var k=Object(l.b)({components:{SearchResultItem:y,SearchButton:x.a},setup(t,e){var{emit:r}=e,n=Object(o.a)(),{search:h,results:v}=Object(d.a)(),{sendScreenView:m}=Object(O.a)(),y=Object(l.l)(""),x=Object(l.l)(!1),w=Object(l.a)((()=>"/search?q=".concat(y.value))),k=function(){var t=Object(c.a)((function*(){y.value&&(x.value=!0,yield h(y.value),window._gaq.push(["_trackEvent","search",y.value]),x.value=!1)}));return function(){return t.apply(this,arguments)}}();Object(l.t)((()=>n.isVisible.value),(t=>{t&&m("search"),Object(f.a)(t)}));var _=Object(l.a)((()=>v.value.hits?v.value.hits.slice(0,4):[]));return j(j({},n),{},{results:v,items:_,route:w,query:y,isLoading:x,handleSearch:k,handleLinkClick:()=>{n.hide(),r("hide")}})}}),_=k,C=(r(742),Object(m.a)(_,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"md:mr-6 md:ml-auto"},[t.$device.isMobile?t._e():r("button",{attrs:{type:"button","aria-label":"search"},on:{click:t.toggle}},[r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"17",height:"18",viewBox:"0 0 17 18"}},[r("path",{attrs:{fill:"#FFF","fill-rule":"evenodd",stroke:"#FFF","stroke-width":".5",d:"M7.666 1c3.681 0 6.666 2.934 6.666 6.552a6.458 6.458 0 01-1.523 4.17L17 15.841 15.822 17l-4.228-4.154a6.713 6.713 0 01-3.928 1.258C3.984 14.104 1 11.171 1 7.552 1 3.934 3.984 1 7.666 1zm0 1.638c-2.761 0-5 2.2-5 4.914 0 2.714 2.239 4.914 5 4.914.978 0 1.91-.275 2.71-.783l.235-.16.511-.366.402-.479a4.836 4.836 0 001.134-2.86l.007-.266c0-2.714-2.238-4.914-5-4.914z"}})])]),t._v(" "),t.isVisible||t.$device.isMobile?r("div",{class:{"search fixed inset-0 z-50 flex flex-col items-center justify-center":!t.$device.isMobile}},[t.$device.isMobile?t._e():r("div",{staticClass:"container absolute top-0 text-right mt-3"},[r("button",{staticClass:"search__close",attrs:{type:"button","aria-label":"close"},on:{click:function(e){return e.preventDefault(),t.hide.apply(null,arguments)}}},[r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"}},[r("defs",[r("path",{attrs:{id:"a",d:"M0 0h16v16H0z"}})]),t._v(" "),r("g",{attrs:{fill:"none","fill-rule":"evenodd"}},[r("mask",{attrs:{id:"b",fill:"#fff"}},[r("use",{attrs:{"xlink:href":"#a"}})]),t._v(" "),r("path",{attrs:{stroke:"#FFF","stroke-width":"2",d:"M16 8.5H0",transform:"rotate(-45 8 8.5)"}}),t._v(" "),r("path",{attrs:{stroke:"#FFF","stroke-width":"2",d:"M16 8.5H0",transform:"rotate(45 8 8.5)"}})])])])]),t._v(" "),r("div",{class:{container:!t.$device.isMobile}},[r("form",{staticClass:"relative",on:{submit:function(e){return e.preventDefault(),t.handleSearch.apply(null,arguments)}}},[r("input",{directives:[{name:"model",rawName:"v-model",value:t.query,expression:"query"}],staticClass:"search-input font-semibold tracking-tighter",attrs:{type:"text",placeholder:"Wpisz szukaną frazę..."},domProps:{value:t.query},on:{input:function(e){e.target.composing||(t.query=e.target.value)}}}),t._v(" "),r("SearchButton",{staticClass:"search__button",attrs:{loading:t.isLoading,disabled:!t.query}}),t._v(" "),t.results&&Array.isArray(t.results.hits)?r("div",{staticClass:"search-results pt-8 md:pt-12"},[r("strong",{staticClass:"text-grey-400 text-xs font-bold uppercase tracking-wider leading-normal"},[t._v("Artukuły ("+t._s(t.results.total)+")")]),t._v(" "),r("div",{staticClass:"search-results__grid pt-6 md:py-8"},t._l(t.items,(function(e){return r("SearchResultItem",{key:e.id,attrs:{post:e},nativeOn:{click:function(e){return t.handleLinkClick.apply(null,arguments)}}})})),1),t._v(" "),r("NuxtLink",{staticClass:"underline text-primary text-sm tacking-wide",attrs:{to:t.route},nativeOn:{click:function(e){return t.handleLinkClick.apply(null,arguments)}}},[t._v("\n            Pokaż wszystkie\n          ")])],1):t._e()],1)])]):t._e()])}),[],!1,null,"5de71545",null));e.default=C.exports}}]);

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.