PageSourceSearch

https://www.walibi.nl/etc.clientlibs/cda/clientlibs/clientlib-shar…/chunk-7896-09874fb980e49a673bf8.js

js walibi.nl collected 2026-10-01 11:47:29 UTC 3,877 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkaem_maven_archetype=self.webpackChunkaem_maven_archetype||[]).push([[7896],{8688:function(e,t,n){n.d(t,{j:function(){return c}});var r=n(1732),s=n(6463);const o={any:0,all:1};function c(e,t,{root:n,margin:c,amount:l="any"}={}){if("undefined"==typeof IntersectionObserver)return()=>{};const i=(0,r.I)(e),a=new WeakMap,d=new IntersectionObserver((e=>{e.forEach((e=>{const n=a.get(e.target);if(e.isIntersecting!==Boolean(n))if(e.isIntersecting){const n=t(e);(0,s.m)(n)?a.set(e.target,n):d.unobserve(e.target)}else n&&(n(e),a.delete(e.target))}))}),{root:n,rootMargin:c,threshold:"number"==typeof l?l:o[l]});return i.forEach((e=>d.observe(e))),()=>d.disconnect()}},7896:function(e,t,n){n.r(t),n.d(t,{default:function(){return g}});var r=n(9862),s=n(3096),o=n.n(s),c=n(723),l=n(6824);var i=({scrollElement:e,onScrollStart:t,onScrollEnd:n})=>{let r=null;const s=o()((()=>{t?.()}),100),c=o()((()=>{n?.()}),100);e.addEventListener("scroll",(()=>{clearTimeout(r),s(),r=setTimeout((function(){c()}),100)}))},a=n(8688);const d=e=>{const t=(0,r.o_)(e,".cmp-endangered-species__list"),n=(0,r.JM)(e,".cmp-endangered-species__item--active"),s=(0,r.g0)(e,".cmp-endangered-species__label"),a=(0,r.oy)(e,".cmp-endangered-species__circle"),d={},g=n?.id;let f=g;if(!t||!a||!s)return void console.error("endangered species: missing scroll element, circles or label");const p=()=>{f=g,v()},m=e=>{e&&(f=e.replace("#",""))},u=()=>{f?(e.classList.remove("cmp-endangered-species--hide-label"),(()=>{const t=document.getElementById((f||"").replace("#",""));if(e.classList.contains("cmp-endangered-species--horizontal-scroll")||!f||!t)return void s.removeAttribute("style");const n=e.clientWidth/2,r=t.getBoundingClientRect().left+t.clientWidth/2;s.style.transform=`translateX(calc(-50% - ${n-r}px)`})(),s.innerText=d[f]):e.classList.add("cmp-endangered-species--hide-label")},v=()=>{e.classList.contains("cmp-endangered-species--horizontal-scroll")?(e=>{if(!e)return;const n=document.getElementById(e.replace("#","")),r=n?.offsetLeft??0;t.scrollLeft=r+1-t.getBoundingClientRect().width/2||0})(f):(u(),E())},h=(e,t)=>{t?.preventDefault(),e?(m(e),v()):console.error("endangered species: missing id or title")},E=()=>{e.classList.toggle("cmp-endangered-species--active-selected",f===g)};i({scrollElement:t,onScrollEnd:()=>{u(),E()}}),((e,t)=>{const n=new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting&&e.intersectionRatio>=.5&&m(e.target.getAttribute("href")?.replace("#",""))}))}),{root:e,threshold:.5,rootMargin:"0px -45% 0px -45%"});t.forEach((e=>{n.observe(e)}))})(t,Array.from(a)),(0,l.Z)({scrollElement:t,onGrabStart:()=>{e.classList.add("cmp-endangered-species--grabbing")},onGrabEnd:()=>{e.classList.remove("cmp-endangered-species--grabbing")}}),(0,c.Z)({scrollElement:t,onResize:({hasHorizontalScroll:t})=>{e.classList.toggle("cmp-endangered-species--horizontal-scroll",t)}}),a.forEach((e=>{const t=e.getAttribute("href")?.replace("#",""),n=e.getAttribute("title");t&&n&&(d[t]=n,e.addEventListener("click",(e=>h(t,e))),e.addEventListener("focus",(e=>h(t,e))))})),window.addEventListener("scroll",o()(p,200)),p()};var g=e=>{(0,a.j)(e,(()=>{d(e)}))}},723:function(e,t,n){var r=n(3096),s=n.n(r);t.Z=({scrollElement:e,onResize:t})=>{if(!e)return;const n=e=>{const n=e.scrollWidth>e.clientWidth,r=e.scrollHeight>e.clientHeight;t({hasHorizontalScroll:n,hasVerticalScroll:r})};n(e),window.addEventListener("resize",s()((()=>n(e)),200))}},6824:function(e,t){t.Z=({scrollElement:e,onGrabStart:t,onGrabEnd:n})=>{let r,s,o;if(!e)return;const c=()=>{o=!1,n?.()};e.addEventListener("mousedown",(n=>(n=>{t?.(),o=!0,r=n.pageX-e.offsetLeft,s=e.scrollLeft})(n))),e.addEventListener("mouseup",(()=>c())),e.addEventListener("mouseleave",(()=>c())),e.addEventListener("mousemove",(t=>(t=>{if(o){t.preventDefault();const n=t.pageX-e.offsetLeft-r;e.scrollLeft=s-n}})(t)))}}}]);

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.