PageSourceSearch

https://www.siniat.pl/etex/js/assets/js/5508.78fe38c2eeefbdfe4bdc.mjs

js siniat.pl collected 2026-10-07 23:25:15 UTC 1,138 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkwebpack=self.webpackChunkwebpack||[]).push([[5508],{95508:function(e,t,c){c.r(t),c.d(t,{default:function(){return i}});var n=c(79234),a=c(42799),l=c(49762),r=c.n(l),s=c(32515),u="wc-input-search";class i extends a.o{constructor(e){super(e),this.searchAutoComplete=r()(((e,t)=>{if(!e||e.length<3){if(!t)return;t(null)}else this.getAjaxData(e,t)}),300),this.init()}init(){const e=this.element.querySelector(u);e&&e.addEventListener(s.G2.inputSearchUpdated,(e=>{const t=e.detail;t&&this.searchAutoComplete(t.value,t.callback)}))}getAjaxData(e,t){const c=this.parm.searchUrl+"&keyword="+e,a=new n.o(c,null,!1);this.ajaxWrapper.doFetch(a).then((e=>{e.clone().json().then((e=>{const c=e;if(!c||c.length<1)return t(null);t(c.map(((e,t,c)=>({label:e.title,link:e.url}))))}))}))}}},32515:function(e,t,c){c.d(t,{G2:function(){return l},Hz:function(){return a},x2:function(){return n}});class n{}n.ctaClicked="wc-sticky-menu-cta-clicked";class a{}a.facetRemoved="wc-facet-removed",a.clearAll="wc-facet-clear-all";class l{}l.inputSearchUpdated="wc-input-search-updated",l.inputSearchSubmit="wc-input-search-submit"}}]);

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.