PageSourceSearch

https://khn.nl/_nuxt/DR7Kutex.js

js khn.nl collected 2026-09-24 08:54:37 UTC 4,110 bytes, 1 lines download raw bytes

1import{c as T,a as b,g as m,v as a,s as w,b as H,d as A,e as g,f as W,h as S}from"./DuhvY0DA.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new t.Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="1972a59a-9ca3-4bcd-8ff8-97a04fc8a7df",t._sentryDebugIdIdentifier="sentry-dbid-1972a59a-9ca3-4bcd-8ff8-97a04fc8a7df")}catch{}})();var P="5.56.0";function v(t){return[{url:`${t}-dsn.algolia.net`,accept:"read",protocol:"https"},{url:`${t}.algolia.net`,accept:"write",protocol:"https"}].concat(w([{url:`${t}-1.algolianet.com`,accept:"readWrite",protocol:"https"},{url:`${t}-2.algolianet.com`,accept:"readWrite",protocol:"https"},{url:`${t}-3.algolianet.com`,accept:"readWrite",protocol:"https"}]))}function C({appId:t,apiKey:n,authMode:l,algoliaAgents:y,...d}){const p=H(t,n,l),s=b({hosts:v(t),...d,algoliaAgent:m({algoliaAgents:y,client:"Lite",version:P}),baseHeaders:{"content-type":"text/plain",...p.headers(),...d.baseHeaders},baseQueryParameters:{...p.queryParameters(),...d.baseQueryParameters}});return{transporter:s,appId:t,apiKey:n,clearCache(){return Promise.all([s.requestsCache.clear(),s.responsesCache.clear()]).then(()=>{})},get _ua(){return s.algoliaAgent.value},addAlgoliaAgent(e,r){s.algoliaAgent.add({segment:e,version:r})},setClientApiKey({apiKey:e}){!l||l==="WithinHeaders"?s.baseHeaders["x-algolia-api-key"]=e:s.baseQueryParameters["x-algolia-api-key"]=e},searchForHits(e,r){return this.search(e,r)},searchForFacets(e,r){return this.search(e,r)},customPost({path:e,parameters:r,body:o},i){a("path","customPost",e);const c={method:"POST",path:"/{path}".replace("{path}",e),queryParameters:r||{},headers:{},data:o||{}};return s.request(c,i)},customPostWithHTTPInfo({path:e,parameters:r,body:o},i){a("path","customPostWithHTTPInfo",e);const c={method:"POST",path:"/{path}".replace("{path}",e),queryParameters:r||{},headers:{},data:o||{}};return s.requestWithHttpInfo(c,i)},getRecommendations(e,r){e&&Array.isArray(e)&&(e={requests:e}),a("getRecommendationsParams","getRecommendations",e),a("getRecommendationsParams.requests","getRecommendations",e.requests);const u={method:"POST",path:"/1/indexes/*/recommendations",queryParameters:{},headers:{},data:e,useReadTransporter:!0,cacheable:!0};return s.request(u,r)},getRecommendationsWithHTTPInfo(e,r){e&&Array.isArray(e)&&(e={requests:e}),a("getRecommendationsParams","getRecommendationsWithHTTPInfo",e),a("getRecommendationsParams.requests","getRecommendationsWithHTTPInfo",e.requests);const u={method:"POST",path:"/1/indexes/*/recommendations",queryParameters:{},headers:{},data:e,useReadTransporter:!0,cacheable:!0};return s.requestWithHttpInfo(u,r)},search(e,r){e&&Array.isArray(e)&&(e={requests:e.map(({params:c,...h})=>h.type==="facet"?{...h,...c,type:"facet"}:{...h,...c,facet:void 0,maxFacetHits:void 0,facetQuery:void 0})}),a("searchMethodParams","search",e),a("searchMethodParams.requests","search",e.requests);const u={method:"POST",path:"/1/indexes/*/queries",queryParameters:{},headers:{},data:e,useReadTransporter:!0,cacheable:!0};return s.request(u,r)},searchWithHTTPInfo(e,r){e&&Array.isArray(e)&&(e={requests:e.map(({params:c,...h})=>h.type==="facet"?{...h,...c,type:"facet"}:{...h,...c,facet:void 0,maxFacetHits:void 0,facetQuery:void 0})}),a("searchMethodParams","searchWithHTTPInfo",e),a("searchMethodParams.requests","searchWithHTTPInfo",e.requests);const u={method:"POST",path:"/1/indexes/*/queries",queryParameters:{},headers:{},data:e,useReadTransporter:!0,cacheable:!0};return s.requestWithHttpInfo(u,r)}}}function I(t,n,l){if(!t||typeof t!="string")throw new Error("`appId` is missing.");if(!n||typeof n!="string")throw new Error("`apiKey` is missing.");const{compression:y,...d}=l||{};return C({appId:t,apiKey:n,timeouts:{connect:1e3,read:2e3,write:3e4},logger:S(),requester:W(),algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:g(),requestsCache:g({serializable:!1}),hostsCache:T({caches:[A({key:`${P}-${t}`}),g()]}),...d})}export{P as apiClientVersion,I as liteClient};

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.