PageSourceSearch

https://www.anwb.nl/_next/static/chunks/1147.8b89a6dc49c19344.js

js anwb.nl collected 2026-10-01 08:50:19 UTC 5,995 bytes, 1 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="94d068d8-99be-4681-8937-e51a99ff862c",e._sentryDebugIdIdentifier="sentry-dbid-94d068d8-99be-4681-8937-e51a99ff862c")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1147],{3401:(e,n,t)=>{t.d(n,{y:()=>i});var a=t(73651),r=t(9338);function i({config:e={}}){let n=!1!==e.enabled,t={...e,enabled:n,queryFn:()=>(0,r.L)(),queryKey:[r.s]},s=(0,a.I)(t);return Object.assign({},s,{isLoading:s.isLoading&&n})}},11541:(e,n,t)=>{t.d(n,{e:()=>s,Gp:()=>d,gp:()=>c,WV:()=>g,d4:()=>v,KY:()=>L,Qj:()=>w,V6:()=>C,OP:()=>p,y5:()=>F.y,tH:()=>h,Aw:()=>k,_B:()=>_,BO:()=>S,yE:()=>V,ky:()=>x});var a=t(73651),r=t(53264),i=t(55677);function s({config:e={},identifier:n}){let t=!!(!1!==e.enabled&&n),o={...e,enabled:t,queryFn:async()=>i.q.parse((await (0,r.j)({identifier:n})).data),queryKey:[(0,r.y)({identifier:n})]},d=(0,a.I)(o);return Object.assign({},d,{isLoading:d.isLoading&&t})}var o=t(43021);function d({config:e={},coverageArea:n}){let t=!!(!1!==e.enabled&&n),r={...e,enabled:t,queryFn:()=>(0,o.N)({coverageArea:n}),queryKey:[(0,o.y)(),n]},i=(0,a.I)(r);return Object.assign({},i,{isLoading:i.isLoading&&t})}var u=t(5260),l=t(51577);function c({config:e={}}={}){let n=!1!==e.enabled,t={...e,enabled:n,queryFn:async()=>l.u.parse((await (0,u.x)()).data),queryKey:[u.s]},r=(0,a.I)(t);return Object.assign({},r,{isLoading:r.isLoading&&n})}var y=t(23346),b=t(69631);function g({config:e={}}={}){let n=!1!==e.enabled,t={...e,enabled:n,queryFn:async()=>b.u.parse((await (0,y.J)()).data),queryKey:[y.s]},r=(0,a.I)(t);return Object.assign({},r,{isLoading:r.isLoading&&n})}var f=t(53239);let v=()=>{let[e,n]=(0,f.useState)();return(0,f.useEffect)(()=>{let e=localStorage.getItem("recommenderCustomerId");e&&n(e);let t=e=>{"recommenderCustomerId"===e.key&&n(e.newValue||void 0)};return window.addEventListener("storage",t),()=>{window.removeEventListener("storage",t)}},[]),e};var I=t(94723);let p=e=>{let[n,t]=(0,f.useState)(null),[a,r]=(0,f.useState)(!1);return{loading:a,pdfUrl:(0,f.useCallback)(async()=>{if(n)return n;r(!0);try{let n=await e(),a=URL.createObjectURL(n.data);return t(a),a}catch(e){return e instanceof Error?console.error("Fout bij ophalen van PDF:",e.message):console.error("Onbekende fout bij ophalen van PDF"),null}finally{r(!1)}},[n,e])}},L=e=>p(()=>(0,I._U)(e));var q=t(51823);function w({config:e={}}={}){let n=!1!==e.enabled,t={...e,enabled:n,queryFn:async()=>await (0,q.C)(),queryKey:q.H},r=(0,a.I)(t);return Object.assign({},r,{isLoading:r.isLoading&&n})}var O=t(32515),j=t(59950);function C({config:e={},productExtId:n}){let t=!1!==e.enabled,r={...e,enabled:t,queryFn:async()=>{let{data:e}=await (0,O.w)({productExtId:n});return j.kU.parse(e.data)},queryKey:[(0,O.y)({productExtId:n})]},i=(0,a.I)(r);return Object.assign({},i,{isLoading:i.isLoading&&t})}var F=t(3401),m=t(29845);function h({cancellationType:e,config:n={},identifier:t}){let r=!!(!1!==n.enabled&&e),i={...n,enabled:r,queryFn:()=>(0,m.G)({cancellationType:e,identifier:t}),queryKey:[(0,m.y)(t),e]},s=(0,a.I)(i);return Object.assign({},s,{isLoading:s.isLoading&&r})}var K=t(95346);function k({config:e={},identifier:n}){let t=!1!==e.enabled,r={...e,enabled:t,queryFn:()=>(0,K.d)({identifier:n}),queryKey:[(0,K.y)(n)]},i=(0,a.I)(r);return Object.assign({},i,{isLoading:i.isLoading&&t})}var E=t(870);function _({config:e={},identifier:n,schema:t}){let r=!!(!1!==e.enabled&&n),i={...e,enabled:r,queryFn:async()=>await (0,E.B)({identifier:n,schema:t}),queryKey:[(0,E.y)({identifier:n}),t]},s=(0,a.I)(i);return Object.assign({},s,{isLoading:s.isLoading&&r})}var D=t(22375);function S({cityOrPostalCode:e,config:n={},damageType:t,vehicleType:r}){let i=!!(!1!==n.enabled&&e),s={...n,enabled:i,queryFn:()=>(0,D.U)({cityOrPostalCode:e,damageType:t,vehicleType:r}),queryKey:[D.s,e,r,t]},o=(0,a.I)(s);return Object.assign({},o,{isLoading:o.isLoading&&i})}var U=t(80688);function V({config:e={},identifier:n,reason:t}){let r=!!(!1!==e.enabled&&n),i={...e,enabled:r,queryFn:async()=>{let{data:e}=await (0,U.B)({identifier:n,reason:t});return j.oS.parse(e.data)},queryKey:[(0,U.y)(n),t]},s=(0,a.I)(i);return Object.assign({},s,{isLoading:s.isLoading&&r})}var R=t(22998);function x({config:e={},identifier:n}){let t=!1!==e.enabled,r={...e,enabled:t,queryFn:()=>(0,R.d)({identifier:n}),queryKey:[(0,R.y)({identifier:n})],refetchOnMount:!1,refetchOnReconnect:!1,refetchOnWindowFocus:!1},i=(0,a.I)(r);return Object.assign({},i,{isLoading:i.isLoading&&t})}},51823:(e,n,t)=>{t.d(n,{C:()=>s,H:()=>i});var a=t(20768),r=t(41529);let i=[a.s,r.s];async function s(){let e=await (0,a.D)(),n=[];for(let t of e.myPolicyInvoicesValueObjects){let e=await o(t);n.push(...e)}let t=n.filter(e=>e.tsInvoiceCreated).sort((e,n)=>e.tsInvoiceCreated||n.tsInvoiceCreated?e.tsInvoiceCreated?n.tsInvoiceCreated?n.tsInvoiceCreated.localeCompare(e.tsInvoiceCreated):-1:1:0);return{closedInvoices:t.filter(e=>"Volledig betaald"===e.invoiceStatus),openInvoices:t.filter(e=>"Volledig betaald"!==e.invoiceStatus)}}async function o(e){let{myInvoiceList:n,policyIdentifier:t,productExtId:a,productName:i}=e,s=e=>({...e,productExtId:a,productName:i}),o=n.rows.map(s),d=n.isResultsetTruncated,u=o.at(-1)?.externalIdentifier;for(;d&&u;){let e=await (0,r.u)({invoiceIdentifier:u,policyIdentifier:t}),n=e.rows.map(s);o.push(...n),d=e.isResultsetTruncated,u=n.at(-1)?.externalIdentifier}return o}},52983:(e,n,t)=>{t.d(n,{$:()=>d});var a=t(80263),r=t(75405),i=t(24432),s=t(53239),o=t(81586);function d({children:e,config:n,packageName:t}){let u=(0,s.useMemo)(()=>new r.E({...n,defaultOptions:{...n?.defaultOptions,mutations:{onError:e=>{(0,o.Cp)(e,{package:t})},...n?.defaultOptions?.mutations},queries:{onError:e=>{(0,o.Cp)(e,{package:t})},...n?.defaultOptions?.queries}}}),[t,n]);return(0,a.jsx)(i.Ht,{client:u,children:e})}}}]);

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.