PageSourceSearch

https://www.voetbalzone.nl/_next/static/chunks/9899-552807e5eeab44d2.js

js voetbalzone.nl collected 2026-09-24 17:12:02 UTC 16,321 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9899],{1687:(e,t,a)=>{"use strict";a.d(t,{f:()=>i});var r=a(54842),o=a(89593),s=a(6854),l=a(97001),n=a(837),i=({db:e,user:t,favoriteTeams:a=[],setFavoriteTeams:i,setError:c,actionCallbacks:d})=>{let m=(0,o.l)();return{removeFavoriteTeam:(0,l.useCallback)(async o=>{if(!t)return{success:!1,error:s.t.USER_NOT_LOGGED_IN};if(!e)return{success:!1,error:s.t.FIREBASE_NOT_INITIALIZED};if(!a.includes(o))return{success:!1,error:"Team is not in favorites"};try{c?.(null);let s=(0,n.H9)(e,r.N5,t.uid),l=a.filter(e=>e!==o);return await (0,n.mZ)(s,{favoriteTeams:(0,n.C3)(o),updatedAt:new Date().toISOString()}),i(l),d?.onTeamDeletionSuccess?.(o),{success:!0}}catch(t){let e="Failed to remove team from favorites";return m?.withError(t).error(e),c?.(e),d?.onToggleError?.(),{success:!1,error:e}}},[t,a,e,d,i,c,m])}}},6854:(e,t,a)=>{"use strict";a.d(t,{t:()=>r});var r={FIREBASE_NOT_INITIALIZED:"Firebase is not initialized",USER_NOT_LOGGED_IN:"User not logged in"}},8749:()=>{},14012:(e,t,a)=>{"use strict";a.d(t,{E:()=>N,i:()=>_});var r=a(54842),o=a(89593),s=a(71135),l=a(16931),n=a(35196),i=a(69749),c=a(47410),d=a(43833),m=a(28887),u=a(20230),p=a(53664),f=a(64247),h=a(33852),v=a(4077),b=a(81828),g=a(97001),w=a(22517);a(79786);var _=function(e){return e.TvSchedule="tvSchedule",e.Livescores="livescores",e.Article="article",e}({}),x={...u.t,Goal:"https://onelink.to/modal-goalapp"},I="App Download Promo Modal",y={[_.TvSchedule]:{image:_.TvSchedule,titleKey:"component.appPromoModal.tvSchedule.title",paragraphKey:"component.appPromoModal.tvSchedule.paragraph",gaImpressionAction:"TV schedule Modal impression",gaDownloadAction:"TV schedule Modal download click",minVisitsRequired:1},[_.Livescores]:{image:_.Livescores,titleKey:"component.appPromoModal.liveScore.title",paragraphKey:"component.appPromoModal.liveScore.paragraph",gaImpressionAction:"Livescores Modal impression",gaDownloadAction:"Livescores Modal download click",minVisitsRequired:1},[_.Article]:{image:_.Article,titleKey:"component.appPromoModal.article.title",paragraphKey:"component.appPromoModal.article.paragraph",gaImpressionAction:"Article Modal impression",gaDownloadAction:"Article Modal download click",minVisitsRequired:2}},S=(e,t)=>new Date(new Date(e).getTime()+864e5*t).toISOString(),T=e=>"string"==typeof e,j=e=>"boolean"==typeof e,E=e=>"object"==typeof e&&!!e&&Object.values(e).every(e=>"number"==typeof e),N=({type:e,imageDir:t,forceOpen:a})=>{let u=(0,o.o)(),N=(0,l.t)(),C=(0,o.f)(),O=(0,o.l)(),k=N?.toLowerCase()??"",{isOpen:D,handleSnooze:L,handleDownload:A}=(({type:e,platform:t})=>{let a=(0,p.t)()??new Date().toISOString(),{cmpLoaded:o}=(0,h.t)(),l=(0,s.Q)(`((max-width: ${parseInt(r.SL["tablet-landscape"])-1}px)`),[i,c]=(0,g.useState)(!1),[d,m]=(0,g.useState)(!1),[u,b]=(0,g.useState)(!1),[w,x]=(0,g.useState)(0),{item:N,setItem:C}=(0,v.x)("APP_PROMO_MODAL_DISMISSED",{type:"local",validator:T}),{item:O,setItem:k}=(0,v.x)("APP_PROMO_MODAL_SESSION_SHOWN",{type:"session",validator:j});(0,g.useEffect)(()=>{let t=new f.g("APP_PROMO_MODAL_PAGE_VISITS",{type:"local",validator:E}),a=t.getItem(),r=(a?.[e]??0)+1;t.setItem({...a??{},[e]:r}),x(r)},[]);let D=!!N&&!!a&&new Date(a)<new Date(N),L=o&&l&&!D&&!O&&w>=y[e].minVisitsRequired;return(0,g.useEffect)(()=>{if(!L)return;let e=setTimeout(()=>m(!0),1e4),t=()=>{window.scrollY>=300&&b(!0)};return window.addEventListener("scroll",t,{passive:!0}),()=>{clearTimeout(e),window.removeEventListener("scroll",t)}},[L]),(0,g.useEffect)(()=>{L&&d&&u&&!i&&(c(!0),k(!0),(0,n.t)({platform:t,category:I,action:y[e].gaImpressionAction}))},[t,L,d,u,i,k,e]),{isOpen:i,handleSnooze:(0,g.useCallback)(()=>{C(S(a,e===_.Article?30:7)),c(!1)},[C,a,e]),handleDownload:(0,g.useCallback)(()=>{C(S(a,90)),c(!1)},[C,a])}})({type:e,platform:k}),M=(0,s.Q)(`(max-width: ${parseInt(r.SL["tablet-portrait"])-1}px)`),{fallbackImagePlaceholder:P}=(0,d.t)(),F=y[e],R=(0,g.useCallback)(()=>{(0,n.t)({platform:k,category:I,action:F.gaDownloadAction}),A()},[k,F.gaDownloadAction,A]),q=(0,g.useMemo)(()=>(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(i.S,{appearance:"filled",variant:"primary",size:"medium",href:N?x[N]:"",target:"_blank",rel:"noopener",onClick:R,children:u("component.appPromoModal.downloadCta")}),(0,w.jsx)(i.S,{appearance:"ghost",variant:"neutral",size:"medium",onClick:L,children:u("component.appPromoModal.maybeLater")})]}),[L,R,u,N]);return(0,w.jsxs)(b.d,{isOpen:a??D,onClose:L,isMobileDrawer:M,disableBackgroun
1dScroll:!0,stopPropagation:!0,title:u(F.titleKey),className:"fco-app-promo-modal",footer:q,children:[(0,w.jsx)(c._V,{src:(0,m.m)(`${t}${F.image}.webp`,C,O),width:"735",height:"551",loading:c.uj.LAZY,className:"fco-app-promo-modal__image",alt:"app redirect",onError:e=>{e.currentTarget.onerror=null,e.currentTarget.src=P,e.currentTarget.classList.add("fco-image__image--fallback")}}),(0,w.jsx)("p",{className:"fco-app-promo-modal__message",children:u(F.paragraphKey)})]})}},28152:(e,t,a)=>{"use strict";a.d(t,{t:()=>o});var r={maxIntervals:9,interval:1e3,detectInterference:!0},o=(e,t)=>{if(!e)return;let a=0,o={...r,...t},s=0,l=()=>{e.scrollIntoView({behavior:"smooth",block:"start"}),s>o.maxIntervals-1&&clearInterval(n),s++},n=setInterval(l,o.interval);l();let i=()=>{clearInterval(n),window.removeEventListener("scroll",d)},c=new IntersectionObserver(e=>{let[t]=e;t.isIntersecting&&i()},{root:null,rootMargin:"-50% 0px",threshold:0}),d=()=>{document.documentElement.scrollTop<=a&&i(),a=document.documentElement.scrollTop};c.observe(e),o.detectInterference&&(window.addEventListener("scroll",d),window.addEventListener("touchstart",i,{once:!0}),window.addEventListener("wheel",i,{once:!0}))}},41540:()=>{},42218:(e,t,a)=>{"use strict";a.d(t,{c:()=>v});var r=a(28152),o=a(89593),s=a(33004),l=a(60243),n=a(22517),i=a(30413),c=a(61e3);a(89937);var d=({onChange:e})=>(0,n.jsx)(i.pL,{as:"div",threshold:0,className:"fco-liveblog-slide__hash-bar","aria-label":"Slide InView",onChange:t=>e?.(t)}),m=({id:e,media:t,isNew:a,headline:r,publishDateISO:i,publishTimeString:m,publishDateString:u,details:p,onChange:f,bodyEmbeds:h})=>{let v=(0,o.o)();return(0,n.jsxs)("li",{className:c("fco-liveblog-slide",{"fco-liveblog-slide--new":a}),id:e,"data-id":e,"aria-label":"Liveblog Slide",children:[(0,n.jsx)(d,{onChange:f}),(0,n.jsxs)("div",{className:"fco-liveblog-slide__info",children:[a?(0,n.jsx)("span",{className:"fco-liveblog-slide__new-badge",children:v("page.liveblog.newPost",void 0,{ns:"article"})}):null,m&&i||u&&i?(0,n.jsxs)("div",{className:"fco-liveblog-slide__period",children:[u?(0,n.jsx)("time",{className:"fco-liveblog-slide__period--date",dateTime:i,children:u}):null,m?(0,n.jsx)("time",{className:"fco-liveblog-slide__period--time",dateTime:i,children:m}):null]}):null]}),(0,n.jsx)("h2",{className:"fco-liveblog-slide__headline","aria-label":"Headline",children:r}),t?(0,n.jsx)(l.y,{...t}):null,p?(0,n.jsx)(s.o,{body:p,bodyEmbeds:h,useSanitizedBody:!0}):null]})};a(43436);var u=({onChange:e})=>(0,n.jsx)(i.pL,{as:"div",threshold:0,className:"fco-standard-slide__hash-bar","aria-label":"Slide InView",onChange:t=>e?.(t)}),p=({text:e,number:t})=>(0,n.jsxs)("h2",{className:"fco-standard-slide__headline","aria-label":"Headline",children:[t?(0,n.jsx)("span",{className:"fco-standard-slide__number","aria-label":"Number",children:t}):null,e]}),f=({id:e,media:t,number:a,headline:r,body:o,onChange:i,bodyEmbeds:c})=>(0,n.jsxs)("li",{className:"fco-standard-slide","data-id":e,"aria-label":"Standard Slide",children:[t?(0,n.jsx)(l.y,{...t}):null,(0,n.jsx)(u,{onChange:i}),r.trim().length>0&&(0,n.jsx)(p,{text:r,number:a}),o?(0,n.jsx)(s.o,{...o,bodyEmbeds:c}):null]}),h=a(97001);a(88807);var v=({slides:e,scrollToSlideId:t,setCurrentSlideId:a,bodyEmbeds:o})=>{if((0,h.useEffect)(()=>{t&&(0,r.t)(window.document.querySelector(`[data-id=${t}]`))},[t]),!e?.length)return null;let s=e=>{e&&a?.(e)};return(0,n.jsx)("ul",{className:"fco-slide-list",children:e.map(e=>(0,n.jsxs)(h.Fragment,{children:[(e=>"body"in e&&!!e.body)(e)?(0,n.jsx)(f,{...e,onChange:t=>{t&&s(e.id),e.onChange?.(t)},bodyEmbeds:o}):(0,n.jsx)(m,{...e,onChange:t=>{t&&s(e.id),e.onChange?.(t)},bodyEmbeds:o}),e.additionalElementAfter]},e.id))})}},43436:()=>{},45703:(e,t,a)=>{"use strict";a.d(t,{w:()=>i});var r=a(54842),o=a(89593),s=a(6854),l=a(97001),n=a(837),i=({db:e,user:t,favoriteTeams:a=[],setFavoriteTeams:i,setError:c,actionCallbacks:d})=>{let m=(0,o.l)();return{addFavoriteTeam:(0,l.useCallback)(async o=>{if(!t)return{success:!1,error:s.t.USER_NOT_LOGGED_IN};if(!e)return{success:!1,error:s.t.FIREBASE_NOT_INITIALIZED};if(a.length>=10)return{success:!1,error:"Maximum of 10 favorite teams allowed"};
1if(a.includes(o))return{success:!1,error:"Team is already in favorites"};try{c?.(null);let s=(0,n.H9)(e,r.N5,t.uid),l=[...a,o];return await (0,n.mZ)(s,{favoriteTeams:(0,n.hq)(o),updatedAt:new Date().toISOString()}),i(l),d?.onTeamAdditionSuccess?.(o),{success:!0}}catch(t){let e="Failed to add team to favorites";return m?.withError(t).error(e),c?.(e),d?.onToggleError?.(),{success:!1,error:e}}},[t,e,d,a,i,c,m])}}},47809:(e,t,a)=>{"use strict";a.d(t,{u:()=>i});var r=a(54842),o=a(89593),s=a(6854),l=a(97001),n=a(837),i=({db:e,user:t,userLoading:a})=>{let[i,c]=(0,l.useState)(!0),[d,m]=(0,l.useState)([]),[u,p]=(0,l.useState)(null),f=(0,o.l)(),h=(0,l.useCallback)(async()=>{if(!t){c(a),m([]);return}if(!e){p(s.t.FIREBASE_NOT_INITIALIZED),c(!1);return}c(!0);try{await (0,n.iB)(e);let a=(await (0,n.x7)((0,n.H9)(e,r.N5,t.uid))).data();a?.favoriteTeams?m(a.favoriteTeams):m([])}catch(t){let e="Failed to load favorite teams";f?.withError(t).error(e),p(e)}finally{c(!1)}},[t,e,a,f]);return(0,l.useEffect)(()=>{h()},[h]),{favoriteTeams:d,isLoading:i,error:u,isFavoriteTeam:(0,l.useCallback)(e=>d.includes(e),[d]),canAddMoreFavTeams:d.length<10,remainingFavTeamsSlots:10-d.length,maxFavoriteTeams:10,refetch:h,setFavoriteTeams:m,setError:p}}},62725:(e,t,a)=>{"use strict";a.d(t,{i:()=>m});var r=a(89593),o=a(72145),s=a(21579),l=a(97001),n=a(22517),i=a(1881),c=a(30413),d={rootMargin:"256px"},m=({threadId:e,postUrl:t,articleTags:a,onOpenWebReady:m,onUnmount:u,observerOptions:p=d,onLoginButtonClick:f})=>{let h=(0,s.t)(),{isOWScriptReady:v}=(0,o.t)(),{user:b,loading:g}=(0,r.i)(),{ref:w,inView:_}=(0,c.Wx)({...p,triggerOnce:!0});return(0,l.useEffect)(()=>{!v||g||b||(0,i.ri)()},[g,b,v]),(0,l.useEffect)(()=>{if(f&&v)return document.addEventListener("spot-im-login-start",f),()=>{document.removeEventListener("spot-im-login-start",f)}},[f,b,v]),(0,l.useEffect)(()=>{if(m&&v)return document.addEventListener("spot-im-conversation-loaded",m),()=>{u?.(),document.removeEventListener("spot-im-conversation-loaded",m)}},[m,u,v]),e&&h&&v?(0,n.jsx)("div",{ref:w,className:"fco-openweb-conversation",children:_?(0,n.jsx)(i.sy,{spotId:h.spotId,postId:e,articleTags:a,postUrl:t??""}):null}):null}},79786:()=>{},80616:(e,t,a)=>{"use strict";a.d(t,{Q:()=>c});var r=a(72145),o=a(41788),s=a(21579),l=a(28152),n=a(22517),i=a(1881);a(41540);var c=({threadId:e,shouldScrollToConversation:t=!1})=>{let{isOWScriptReady:a}=(0,r.t)(),c=(0,s.t)();return e&&a?t?(0,n.jsx)("button",{onClick:e=>{e.preventDefault();let t=document.querySelector(".fco-openweb-conversation");t&&(0,l.t)(t)},className:"fco-openweb-comments-count-button",children:(0,n.jsxs)("span",{className:"fco-openweb-comments-count",children:[(0,n.jsx)(o.I,{glyph:"comment"}),(0,n.jsx)(i.cx,{spotId:c?.spotId,postId:e})]})}):(0,n.jsxs)("span",{className:"fco-openweb-comments-count",children:[(0,n.jsx)(o.I,{glyph:"comment"}),(0,n.jsx)(i.cx,{spotId:c?.spotId,postId:e})]}):null}},81828:(e,t,a)=>{"use strict";a.d(t,{d:()=>d});var r=a(69749),o=a(35712);a(20855);var s=a(56907),l=a(97001),n=a(22517),i=a(61e3),c=a.n(i);a(82608);var d=(0,l.forwardRef)(({children:e,isOpen:t,onClose:a,setIsOpen:i,closeOnBackdropClick:d,closeButton:m,isFullScreenOnMobile:u,isMobileDrawer:p,className:f,disableBackgroundScroll:h,stopPropagation:v,style:b,title:g,footer:w,disableTopCloseButton:_,isMobileLayout:x},I)=>{let y=(0,l.useRef)(null),S=(0,l.useCallback)(()=>{y.current&&y.current.showModal()},[]),T=(0,l.useCallback)(e=>{y.current&&(v&&e&&(e.stopPropagation(),e.preventDefault()),y.current.close())},[v]),j=(0,l.useCallback)(()=>{a?.(y.current?.returnValue),i&&i(!1)},[a,i]);return(0,l.useEffect)(()=>{t?S():T()},[t,T,S]),(0,s.t)(t&&!!h),t?(0,n.jsxs)("dialog",{ref:e=>{y.current=e,"function"==typeof I?I(e):I&&(I.current=e)},className:c()(["fco-base-modal",{"fco-base-modal--responsive":u},{"fco-base-modal--mobile-drawer":p},{"fco-base-modal--mobile-layout":x},f]),onClose:e=>{e.target===y.current&&(v&&(e.stopPropagation(),e.preventDefault()),j())},onClick:e=>{d&&e.target===y.current&&T(e)},style:b,children:[(0,n.jsxs)("div",{className:"fco-base-modal__header",children:[g?(0,n.jsx)("h3",{className:"fco-base-modal__title",children:g}):null,!_&&(0,n.jsx)(r.S,{onClick:e=>T(e),className:"fco-base-modal__close",variant:"muted",size:"large","data-testid":"modal-close-button-icon",children:m||(0,n.jsx)(o.t,{glyph:"close-md"})})]}),(0,n.jsx)("div",{className:"fco-base-modal__content",children:e}),w?(0,n.jsx)("div",{className:"fco-base-modal__footer",children:w}):null]}):null});d.displayName="BaseModal"},82154:(e,t,a)=>{"use strict";function r(e,t){if(Object.is(e,t))return!0;
1if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(let[a,r]of e)if(!Object.is(r,t.get(a)))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(let a of e)if(!t.has(a))return!1;return!0}let a=Object.keys(e);if(a.length!==Object.keys(t).length)return!1;for(let r=0;r<a.length;r++)if(!Object.prototype.hasOwnProperty.call(t,a[r])||!Object.is(e[a[r]],t[a[r]]))return!1;return!0}a.d(t,{A:()=>o,x:()=>r});var o=(e,t)=>(console.warn("[DEPRECATED] Default export is deprecated. Instead use `import { shallow } from 'zustand/shallow'`."),r(e,t))},82608:()=>{},86937:(e,t,a)=>{"use strict";a.d(t,{l:()=>u});var r=a(89593),o=a(16931),s=a(35196),l=a(35712);a(20855);var n=a(47410),i=a(53664),c=a(22517);a(8749);var d=new Date("2026-06-09T10:00:00Z"),m=new Date("2026-07-20T22:00:00Z"),u=({backgroundTextureUrl:e,logoUrl:t,href:a})=>{let u=(0,r.o)(),p=(0,i.t)()??new Date().toISOString(),f=(0,o.t)()?.toLowerCase()??"",h=new Date(p).getTime();return h<d.getTime()||h>m.getTime()?null:(0,c.jsx)("div",{className:"fco-wchq-promo-banner__container",children:(0,c.jsxs)("a",{href:a,onClick:()=>{(0,s.t)({platform:f,category:"Recirculation Widgets",action:"Widget Click",label:"WCHQ Promo Banner"})},className:"fco-wchq-promo-banner",style:{"--wchq-background-texture":`url(${e})`},children:[(0,c.jsx)(n._V,{className:"fco-wchq-promo-banner__logo",src:t}),(0,c.jsxs)("div",{className:"fco-wchq-promo-banner__content",children:[(0,c.jsx)("h3",{className:"fco-wchq-promo-banner__title",children:u("component.wchqPromoBanner.title")}),(0,c.jsxs)("div",{className:"fco-wchq-promo-banner__description",children:[u("component.wchqPromoBanner.description")," ",(0,c.jsx)(l.t,{glyph:"circle-arrow-right-filled"})]})]}),(0,c.jsx)("div",{className:"fco-wchq-promo-banner__button",children:u("component.wchqPromoBanner.button")})]})})}},88186:(e,t,a)=>{"use strict";a.d(t,{T:()=>o});var r=a(22517);a(88854);var o=({summary:e,pinned:t,pinnedLinkFn:a})=>(0,r.jsxs)("div",{className:"fco-pinned-list",children:[(0,r.jsx)("h2",{className:"fco-pinned-list__summary",children:e}),(0,r.jsx)("ul",{className:"fco-pinned-list__pinned",children:t?.map(e=>(0,r.jsx)("li",{className:"fco-pinned-list__item",children:(0,r.jsx)("a",{className:"fco-pinned-list__link",onClick:()=>{a?.(e.id)},href:`#${e.id}`,children:e.headline})},e.id))})]})},88807:()=>{},88854:()=>{},89937:()=>{},98293:(e,t,a)=>{"use strict";a.d(t,{OJ:()=>r.v});var r=a(89593)},98312:(e,t,a)=>{"use strict";a.d(t,{F:()=>l});var r=a(45703),o=a(1687),s=a(97001),l=({db:e,user:t,favoriteTeams:a=[],setFavoriteTeams:l,setError:n,actionCallbacks:i})=>{let{addFavoriteTeam:c}=(0,r.w)({db:e,user:t,favoriteTeams:a,setFavoriteTeams:l,setError:n,actionCallbacks:i}),{removeFavoriteTeam:d}=(0,o.f)({db:e,user:t,favoriteTeams:a,setFavoriteTeams:l,setError:n,actionCallbacks:i});return{toggleFavoriteTeam:(0,s.useCallback)(async e=>a.includes(e)?{...await d(e),action:"removed"}:{...await c(e),action:"added"},[a,c,d])}}}}]);

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.