1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[1224],{21224:function(e,t,r){r.r(t),r.d(t,{default:function(){return h}});var s=r(76482),a=r(94533),u=r(17408),o={name:"nx-author-search",props:{},components:{NxPredictiveSearch:a.Z},data(){return{searchResults:[],author:""}},methods:{goToAuthor(e){window.location=e.url},searchText:(0,s.Z)((function(e){e?.length>3&&this.getAuthors(e)}),400),getAuthors(e){u.Z.searchWithFilter({categoryId:null,dateValue:[],filterValues:{},limit:12,moduleId:null,type:"author",searchText:e}).then((t=>{this.searchResults=t.results,this.author=e})).catch((e=>console.error(e)))}}},h=(0,r(40810).Z)(o,(function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",{staticClass:"author-search"},[t("nx-predictive-search",{attrs:{items:e.searchResults,searchBy:"name",placeholder:e.$t("search.author")},on:{input:e.searchText,select:e.goToAuthor},model:{value:e.author,callback:function(t){e.author=t},expression:"author"}})],1)}),[],!1,null,null,null).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.