PageSourceSearch

https://on-deck.nl/Scripts/Main.min.js?v=3.51.85.0

js on-deck.nl collected 2026-10-07 02:50:08 UTC 13,811 bytes, 3 lines download raw bytes

1const Settings={},initializeSettings=function(){const n="data-settings",t=document.querySelectorAll(`[${n}]`);t.forEach(t=>{const i=JSON.parse(t.getAttribute(n));t.removeAttribute(n);i&&Object.entries(i).forEach(([n,t])=>{Settings[n]&&Settings[n]!==t&&console.warn(`Setting "${n}" already exists with a different value. Existing: ${Settings[n]}, New: ${t}`),Settings[n]||(Settings[n]=t)})})},initializeLazyBackgroundImageObservers=function(){const n="data-background-image",t=document.querySelectorAll(`[${n}]`);if("IntersectionObserver"in window){const i=new IntersectionObserver((t,i)=>{t.forEach(t=>{if(t.isIntersecting){const r=t.target.getAttribute(n);r&&(t.target.style.backgroundImage=r,t.target.removeAttribute(n));i.unobserve(t.target)}})});t.forEach(n=>i.observe(n))}else t.forEach(t=>{const i=t.getAttribute(n);i&&(t.style.backgroundImage=i,t.removeAttribute(n))})},getCookie=function(n){const i=`; ${document.cookie}`,t=i.split(`; ${n}=`);return t.length===2?t.pop().split(";").shift():null},readMoreLess=function(){function n(n,t){n.dataset.limitUnit==="lh"?n.style.maxHeight=t?n.dataset.limit+n.dataset.limitUnit:`${n.scrollHeight}px`:n.dataset.limitUnit==="ch"&&(n.style.maxWidth=t?n.dataset.limit+n.dataset.limitUnit:null,n.style.whiteSpace=t?"nowrap":null,n.style.maxHeight=t?"1lh":`${n.scrollHeight}px`,n.addEventListener("transitionend",function(){n.style.maxHeight=t?"1lh":`${n.scrollHeight}px`},{once:!0}))}function t(n){const t=n.querySelectorAll('a[href], button, input, select, textarea, [tabindex]:not([tabindex="-1"])');if(t.length){const i=new IntersectionObserver(n=>{n.forEach(n=>{n.target.toggleAttribute("inert",!n.isIntersecting)})},{root:n,threshold:.01});t.forEach(n=>i.observe(n))}}document.querySelectorAll(".read-more > .read-more__content").forEach(i=>{n(i,!0),i.classList.add("collapse","in"),i.tabIndex=-1,t(i)});document.querySelectorAll(".read-more > .btn-read-more").forEach(t=>{t.addEventListener("click",()=>{const i=t.ariaExpanded==="true",r=document.getElementById(t.getAttribute("aria-controls"));t.ariaExpanded=String(!i);t.dataset.readMoreText&&t.dataset.readMoreIcon?t.innerHTML=i?t.dataset.readMoreIcon+t.dataset.readMoreText:(t.dataset.readLessIcon??"")+(t.dataset.readLessText??""):t.dataset.readMoreText?t.innerText=i?t.dataset.readMoreText:t.dataset.readLessText??"":t.dataset.readMoreIcon&&(t.innerHTML=i?t.dataset.readMoreIcon:t.dataset.readLessIcon??"");r.classList.toggle("in",i);r.classList.toggle("out",!i);n(r,i);i||requestAnimationFrame(()=>r.focus())})})};document.addEventListener("DOMContentLoaded",function(){initializeSettings();initializeLazyBackgroundImageObservers();readMoreLess()});const AccordionV1={init:function(n){const t=document.querySelectorAll(n);t.forEach(n=>{(n.dataset.original===undefined||n.dataset.original===null)&&(n.dataset.original=n.innerHTML)})},filter:function(n,t,i,r,u){const f=document.getElementById(n).value.toLowerCase(),o=document.querySelectorAll(t);let e=!1;o.forEach(n=>{n.innerHTML=n.dataset.original;const t=n.textContent.toLowerCase();t.includes(f)?(n.style.display="",e=!0,this.highlight(f,n)):n.style.display="none"});const s=document.getElementById(i),h=document.getElementById(r);e?document.getElementById(r)?.remove():h===null&&s.insertAdjacentHTML("beforeend",`<p id="${r}" style="color: gray; font-style: italic;">
2                        ${u}
3                </p>`)},highlight:function(n,t){if(n!==undefined&&n!==null&&n!==""&&/\S/.test(n)){n=n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");const i=new RegExp(n,"gi"),r=document.createTreeWalker(t,NodeFilter.SHOW_TEXT),u=[];while(r.nextNode())u.push(r.currentNode);u.forEach(n=>{const r=[...n.nodeValue.matchAll(i)];if(r.length){const u=n.nodeValue.split(i),t=document.createDocumentFragment();u.forEach((n,i)=>{if(i>0){const n=document.createElement("span");n.className="highlighted";n.textContent=r[i-1][0];t.appendChild(n)}n&&t.appendChild(document.createTextNode(n))});n.parentNode.replaceChild(t,n)}})}}};document.addEventListener("DOMContentLoaded",function(){CookieConsentV1.isEopsCookiesActive()&&(document.addEventListener("OpenCookieConsent",function(n){const i=n.detail.elementID,t=document.getElementById(i);t&&(t.classList.add("show"),t.classList.remove("hide"))}),document.addEventListener("CloseCookieConsent",function(n){const i=n.detail.elementID,t=document.getElementById(i);t&&(t.classList.add("hide"),t.classList.remove("show"))}),CookieConsentV1.validCookieConsent(0)||CookieConsentV1.openCookieConsent());CookieConsentV1.isCookiebotActive()&&(CookieConsentV1.updateInfoFromCookiebot(),window.addEventListener("CookiebotOnConsentReady",()=>{const n=window.Cookiebot?window.Cookiebot.consent.preferences:!1,t=window.Cookiebot?window.Cookiebot.consent.statistics:!1,i=window.Cookiebot?window.Cookiebot.consent.marketing:!1;var r=CookieConsentV1.updateCookieInfo(!0,n,t,i,!1);r&&window.location.reload()}))});const CookieConsentV1={updateInfoFromCookiebot:function(){let n=this.getCookie("CookieConsent");if(n){if(n.length===4){document.cookie=`CookieConsent=${undefined}`;return}(n=n.replace(/\s/g,""),(n.includes("preferences:true")||n.includes("preferences:false"))&&(n.includes("statistics:true")||n.includes("statistics:false"))&&(n.includes("marketing:true")||n.includes("marketing:false")))&&this.updateCookieInfo(!0,n.includes("preferences:true"),n.includes("statistics:true"),n.includes("marketing:true"),!0)}},validCookieConsent:function(n){this.isCookiebotActive()&&this.updateInfoFromCookiebot();let t=getCookie(this.getCookieKey());if(!t||isNaN(t)||t.length!==4)return this.isDNTEnabled()&&this.updateCookieInfo(!0,!1,!1,!1,!0),!1;var f=t.charAt(0),i=t.charAt(1),r=t.charAt(2),u=t.charAt(3);return f!=="1"||i!=="0"&&i!=="1"||r!=="0"&&r!=="1"||u!=="0"&&u!=="1"?!1:t.charAt(n)==="1"},isDNTEnabled:function(){const n=navigator.doNotTrack||window.doNotTrack||navigator.msDoNotTrack;return n==="1"||n==="yes"},updateCookieInfo:function(n,t,i,r,u){var f="1"+(t?"1":"0")+(i?"1":"0")+(r?"1":"0"),e=getCookie(this.getCookieKey())!==f,o;return(e||u!==!1)&&(o=this.calculateExpirationDateTime(),document.cookie=`${this.getCookieKey()}=${f}; expires=${o.toUTCString()}; path=/`),e},calculateExpirationDateTime:function(){var t=30,n;const i=Number(Settings.CookieConsentExpirationTime);return isNaN(i)||(t=i),n=new Date,n.setDate(n.getDate()+t),n},openCookieConsent:function(){this.setCookieConsentCheckboxes();document.dispatchEvent(new CustomEvent("OpenCookieConsent",{detail:{elementID:"cookie-alert"}}))},closeCookieConsent:function(){document.dispatchEvent(new CustomEvent("CloseCookieConsent",{detail:{elementID:"cookie-alert"}}))},updateCookieConsent:function(n,t,i,r){this.updateCookieInfo(n,t,i,r);this.closeCookieConsent();window.location.reload()},consentToAllCookies:function(){this.updateCookieConsent(!0,!0,!0,!0)},declineAllCookies:function(){this.updateCookieConsent(!0,!1,!1,!1)},showCookieSettings:function(){const n=document.getElementById("cookie-notification");n&&(n.classList.add("hide"),n.classList.remove("show"));
3const t=document.getElementById("cookie-settings");t&&(t.classList.add("show"),t.classList.remove("hide"))},toggleCookieText:function(n){const t=n.querySelector("i");t.classList.contains("fa-angle-right")?(t.classList.add("fa-angle-down"),t.classList.remove("fa-angle-right")):(t.classList.add("fa-angle-right"),t.classList.remove("fa-angle-down"))},consentSelectedCookies:function(){const n=document.getElementById("preferredCookies"),t=document.getElementById("analyticsCookies"),i=document.getElementById("marketingCookies");this.updateCookieConsent(!0,n.checked,t.checked,i.checked)},isPreferredAllowed:function(){return this.validCookieConsent(1)},isAnalyticsAllowed:function(){return this.validCookieConsent(2)},isMarketingAllowed:function(){return this.validCookieConsent(3)},setCookieConsentCheckboxes:function(){const n=document.getElementById("essentialCookies"),t=document.getElementById("preferredCookies"),i=document.getElementById("analyticsCookies"),r=document.getElementById("marketingCookies");n.checked=!0;t.checked=this.isPreferredAllowed();i.checked=this.isAnalyticsAllowed();r.checked=this.isMarketingAllowed()},isCookiebotActive:function(){return Settings.CookieConsentServiceType&&Settings.CookieConsentServiceType.toLowerCase()==="cookiebot"},isEopsCookiesActive:function(){return Settings.CookieConsentServiceType&&Settings.CookieConsentServiceType.toLowerCase()==="e-ops"},getCookieKey:function(){return!Settings.CookieConsentServiceType||Settings.CookieConsentServiceType.toLowerCase()==="e-ops"?"CookieConsent":"CookieConsentEops"}};document.addEventListener("DOMContentLoaded",()=>{if(document.addEventListener("scroll",()=>{TemplateV1_Header.ticking||(window.requestAnimationFrame(()=>{TemplateV1_Header.SetStickyHeader(),TemplateV1_Header.ticking=!1}),TemplateV1_Header.ticking=!0)}),TemplateV1_Header.header){const n=new ResizeObserver(()=>TemplateV1_Header.UpdateSpacer());n.observe(TemplateV1_Header.header)}});const TemplateV1_Header={header:document.querySelector("header"),HeaderHasStickyElements:function(){return document.querySelectorAll("header .sticky-section").length>0},GetSpacer:function(){return this.header.parentElement.querySelector("#header-spacer")},GetNonStickySections:function(){return this.header.querySelectorAll(":scope > div:not(.sticky-section)")},GetStickyHeaderHeight:function(){return Array.from(this.header.querySelectorAll(".sticky-section")).reduce((n,t)=>n+t.offsetHeight,0)},SetHeaderSectionsMaxHeight:function(){this.GetNonStickySections().forEach(n=>{!n.dataset.maxHeightSet&&n.offsetHeight&&(n.style.maxHeight=n.offsetHeight+"px",n.dataset.maxHeightSet="true")})},UpdateSpacer:function(){const n=this.GetSpacer();n&&(n.style.height=this.GetStickyHeaderHeight()+"px")},ToggleSectionClasses:function(n,t){n.classList.add("transitioning");n.addEventListener("transitionend",()=>n.classList.remove("transitioning"),{once:!0});n.classList.toggle("off-screen",t);n.inert=t},ToggleNonStickySections(n){this.GetNonStickySections().forEach(t=>this.ToggleSectionClasses(t,n))},FadeOutNonStickySections:function(){this.ToggleNonStickySections(!0)},FadeInNonStickySections:function(){this.ToggleNonStickySections(!1)},SetStickyHeader:function(){if(this.HeaderHasStickyElements()){const n=this.GetSpacer();window.scrollY>0?(n||this.header.insertAdjacentHTML("afterend",`<div id="header-spacer" style="height: ${this.header.offsetHeight}px"></div>`),this.header.classList.add("sticky-header"),this.SetHeaderSectionsMaxHeight(),this.FadeOutNonStickySections()):(n?.remove(),this.header.classList.remove("sticky-header"),this.FadeInNonStickySections())}}};document.addEventListener("DOMContentLoaded",()=>{document.querySelectorAll(".hamburger-toggle, .close-btn").forEach(n=>{n.addEventListener("click",()=>HamburgerMenuV1.toggleHamburgerMenu(n)),n.addEventListener("keydown",n=>HamburgerMenuV1.toggleHamburgerMenuFocus(n))}),document.addEventListener("keyup",n=>HamburgerMenuV1.closeHamburgerMenu("",n))});const HamburgerMenuV1={toggleHamburgerMenu:function(n){this.closeHamburgerMenu(n);document.querySelector("#hamburger-"+n.id).classList.toggle("open");document.querySelector(".hamburger-toggle#"+n.id).classList.toggle("open")},toggleHamburgerMenuFocus:function(n){(n.code==="Space"||n.code==="Enter")&&this.toggleHamburgerMenu(n.target)},closeHamburgerMenu:function(n,t){(t?.code==="Escape"||n)&&(document.querySelectorAll(".hamburger-nav .menu:not(#hamburger-"+n.id+")").forEach(n=>
3{n.classList.remove("open")}),document.querySelectorAll(".hamburger-toggle:not(#"+n.id+")").forEach(n=>{n.classList.remove("open")}))}};document.addEventListener("DOMContentLoaded",()=>{document.querySelectorAll(".menu-item-focus:has(~.full-width-submenu)").forEach(n=>{n.addEventListener("mouseenter",()=>MenuLevelV1.calculateSubmenuHeight())})});const MenuLevelV1={submenuHeight:0,submenuOffset:0,calculateSubmenuHeight:function(){const n=document.querySelectorAll(".full-width-submenu");n.forEach(n=>{n.style.height="",this.submenuHeight=Math.max(this.submenuHeight,n.scrollHeight),this.submenuOffset=Math.max(this.submenuOffset,n.getBoundingClientRect().top)});const t=window.innerHeight-this.submenuOffset;n.forEach(n=>{n.style.height=`${this.submenuHeight}px`,n.style.maxHeight=`${t}px`})}};window.addEventListener("load",function(){const n=document.querySelectorAll(".glide");n.forEach(n=>{let i=n.getAttribute("ID"),t=n.getAttribute("data-glide-config");if(i&&t){i="#"+i;t=JSON.parse(t);n.removeAttribute("data-glide-config");const u={type:"carousel",startAt:0,autoplay:t.Autoplay?t.Speed:!1,perView:t.SlidesToShow,hoverpause:t.PauseOnHover,animationDuration:500,waitForTransition:!1,touchRatio:0};if(t.Dots){const n=document.querySelectorAll(i+" .glide__slide"),t=document.querySelector(i+" .glide__bullets");n.forEach((n,i)=>{const r=document.createElement("button"),u=document.createTextNode(`slider pagination bullet-${i}`);r.className="glide__bullet";r.setAttribute("data-glide-dir",`=${i}`);r.appendChild(u);t.appendChild(r)})}const r=new Glide(i,u);r.on(["build.after","run.after"],()=>{const t=document.querySelectorAll(i+" .glide__slide");let n=-1;t.forEach(t=>{t.classList.contains("glide__slide--active")&&(n=0);let i="true",u="-1";n!==-1&&n<r.settings.perView&&(i="false",u=0,n++);t.setAttribute("aria-hidden",i);const f=t.querySelectorAll("a, input, button, select");f.forEach(n=>{n.setAttribute("tabindex",u)})})});r.on("swipe.end",()=>{document.querySelector(".glide").classList.remove("glide--dragging")});if(t.Arrows)r.on("mount.after",()=>{const n=document.querySelector(i+" .glide__arrow--right"),u=document.querySelector(i+" .glide__arrow--left");n.addEventListener("click",()=>{for(let n=t.SlidesToScroll;n>0;n--)r.go(">")});u.addEventListener("click",()=>{for(let n=t.SlidesToScroll;n>0;n--)r.go("<")})});r.mount()}})});

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.