PageSourceSearch

https://www.nemosciencemuseum.nl/_next/static/chunks/8101.0304970952b24ab8.js

js nemosciencemuseum.nl collected 2026-10-02 03:59:23 UTC 15,399 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8101],{12684:function(e,n,i){i.d(n,{Z:function(){return E}});var t=i(57437);i(2265);var s=i(45008),r=i(34043),l=i(58237),o=i(18890),a=i(10468),c=i(71371),d=i(42093);function x(){let e=(0,s._)(["\n            ",";\n        "]);return x=function(){return e},e}function u(){let e=(0,s._)(["\n            width: 54px;\n        "]);return u=function(){return e},e}function f(){let e=(0,s._)(["\n            width: 60px;\n        "]);return f=function(){return e},e}function h(){let e=(0,s._)(["\n            width: ",";\n            \n            "," {\n                width: ",";\n                height: ",";\n                \n                svg {\n                    width: 100%;\n                    height: 100%;    \n                }\n            }\n        "]);return h=function(){return e},e}function p(){let e=(0,s._)(["\n            font-size: 28px;\n        "]);return p=function(){return e},e}function g(){let e=(0,s._)(["\n            ",";\n        "]);return g=function(){return e},e}function Z(){let e=(0,s._)(["\n            font-size: 16px;\n            margin-bottom: 20px;\n        "]);return Z=function(){return e},e}function m(){let e=(0,s._)(["\n            ",";\n            margin-bottom: ",";\n            gap: ",";\n        "]);return m=function(){return e},e}function w(){let e=(0,s._)(["\n            padding-right: ",";\n        "]);return w=function(){return e},e}let v=r.ZP.div.withConfig({componentId:"sc-bf0d3f31-0"})(["width:100%;.link-wrapper{width:100%;}.link{text-decoration:none;}.image-box{display:grid;aspect-ratio:1 / 1;position:relative;background-color:",";color:",";margin-bottom:25px;overflow:hidden;","}.image-wrapper{position:relative;grid-area:1 / 1;overflow:hidden;}.arrow-wrapper{position:absolute;bottom:0;left:0;width:47px;aspect-ratio:1 / 1;background-color:",";display:flex;align-items:center;justify-content:center;z-index:1;","{width:30px;height:30px;}"," "," ","}.item-heading{font-size:24px;font-weight:475;line-height:1.2;&:not(:last-child){margin-bottom:10px;}"," ","}.label{display:flex;flex-wrap:wrap;gap:16px;font-size:16px;margin-bottom:13px;text-transform:uppercase;line-height:1.1;font-family:",";"," ","}","{padding-right:40px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;","}"],l.ZP.colors.black,l.ZP.colors.white,o.Z.xxl(x(),(0,a.Fl)(25)),l.ZP.colors.black,c.Z,o.Z.md(u()),o.Z.lg(f()),o.Z.xxl(h(),(0,a.Ok)(60),c.Z,(0,a.Ok)(30),(0,a.Ok)(30)),o.Z.lg(p()),o.Z.xxl(g(),(0,a.Fl)(28)),l.ZP.fonts.heading,o.Z.lg(Z()),o.Z.xxl(m(),(0,a.Fl)(16),(0,a.Ok)(20),(0,a.Ok)(16)),d.Z,o.Z.xxl(w(),(0,a.Ok)(40)));var P=i(84046),b=i(44286),z=i(72239),_=i(7043),S=i(46763),j=i(78446),k=i(35561),y=i(42586),N=i(88060),$=i(77562),C=i(44045),E=e=>{let{title:n,image:i,is_custom:s,eyebrow:r,related_content_page:l,url:o,description:a,excerpt:c,is_eyebrow_hidden:d}=e,x=(0,y.useTranslations)(),u=(()=>{if(!d){if(s&&r)return(0,$.ZP)(r);switch(null==l?void 0:l._type){case N.Z.EDUCATION_PAGE:if(l.eyebrow)return(0,$.ZP)((0,C.$)(l.eyebrow));return x("education.".concat(null==l?void 0:l.eyebrow));case N.Z.CONTENT_PAGE:default:return x("content_type_eyebrows.".concat(null==l?void 0:l._type))}}})(),f=s?n:l.title,h=s&&c?c:s&&a?a:(null==l?void 0:l.excerpt)?null==l?void 0:l.excerpt:(null==l?void 0:l.description)?null==l?void 0:l.description:void 0,p=s&&l&&o?o:l?"/".concat(l.slug.current):o,g=s&&i?i:l?{image:l.image.image,alt:l.image.alt}:void 0;return(0,t.jsx)(v,{children:(0,t.jsx)(b.E.div,{initial:"initial",whileHover:"hover",className:"link-wrapper",children:p&&(0,t.jsxs)(z.Z,{href:p,className:"link",children:[(0,t.jsx)("div",{className:"image-box",children:(0,t.jsxs)(b.E.div,{className:"image-wrapper",variants:{initial:{clipPath:"circle(".concat((100/Math.sqrt(2)).toFixed(2),"%)")},hover:{clipPath:"circle(50%)"}},transition:{duration:.3,ease:"easeOut"},children:[(null==g?void 0:g.image)?(0,t.jsx)(j.Z,{alt:g.alt,image:g.image,cropRatios:{xs:1}}):(0,t.jsx)(S.Z,{fit:"cover"}),(0,t.jsx)(b.E.div,{className:"arrow-wrapper",variants:{initial:{x:0},hover:{x:"-100%"}},transition:{duration:.3,ease:"easeOut"},children:(0,t.jsx)(P.Z,{name:(0,_.Z)(p)?"arrow_diagonal":"arrow_right",size:30})})]})}),u&&(0,t.jsx)("span",{className:"label",children:u}),(0,t.jsx)("h3",{className:"item-heading",children:f}),h&&(0,t.jsx)(k.Z,{value:h})]})})})}},68101:function(e,n,i){i.r(n),i.d(n,{default:function(){return Z}});
1var t=i(57437),s=i(2265),r=i(45008),l=i(34043),o=i(18890),a=i(37041),c=i(78492);function d(){let e=(0,r._)(["\n            flex-wrap: nowrap;\n        "]);return d=function(){return e},e}let x=l.ZP.div.withConfig({componentId:"sc-3e582721-0"})([".header{",";","}.swiper{width:100%;overflow:visible;}.items-list{row-gap:40px;}"],(0,c.TE)("row-gap",a.Z.spacings.sm),o.Z.lg(d()));var u=i(18804),f=i(60104),h=i(66454),p=i(7674),g=i(12684),Z=e=>{let{items:n,header:i,id:r,is_grid_layout:l}=e,[o,a]=(0,s.useState)(!1),[c,d]=(0,s.useState)({slidesPerView:2,speed:500}),Z=(0,f.Av)(),m=(0,f.dD)();return(0,s.useEffect)(()=>{d(e=>({...e,slidesPerView:m?1+3/14:Z?2:3})),a(Z&&n.length>2||m&&n.length>1||n.length>3)},[Z,m,n.length]),(0,t.jsx)(x,{children:(0,t.jsx)(p.Z,{id:r,swiperConfig:c,header:i,isSwiperNeeded:o&&!l,children:o&&!l?(0,t.jsx)(t.Fragment,{children:n&&n.map((e,n)=>{let{title:i,related_content_page:s,url:r,image:l,eyebrow:o,is_custom:a,description:c,is_eyebrow_hidden:d}=e;return(0,t.jsx)(h.o5,{className:"slide",children:a?(0,t.jsx)(g.Z,{is_custom:!0,related_content_page:s,title:i,image:l,description:c,eyebrow:o,url:r,is_eyebrow_hidden:d}):(0,t.jsx)(g.Z,{is_custom:!1,related_content_page:s})},n)})}):(0,t.jsx)(u.Z,{$cols:{xs:1},as:"ul",$alignItems:"flex-start",className:"items-list",children:n&&n.map((e,n)=>{let{title:i,related_content_page:s,url:r,image:l,eyebrow:o,is_custom:a,description:c,is_eyebrow_hidden:d}=e;return(0,t.jsx)(u.Z,{$cols:{xs:1,md:.5,lg:1/3},as:"li",className:"item",children:a?(0,t.jsx)(g.Z,{is_custom:a,related_content_page:s,title:i,image:l,description:c,eyebrow:o,url:r,is_eyebrow_hidden:d}):(0,t.jsx)(g.Z,{is_custom:!1,related_content_page:s})},n)})})})})}},66678:function(e,n,i){var t=i(45008),s=i(34043),r=i(37041),l=i(78492),o=i(18890),a=i(5135),c=i(10468),d=i(58237);function x(){let e=(0,t._)(["\n        ","\n    "]);return x=function(){return e},e}function u(){let e=(0,t._)(["\n        ","\n    "]);return u=function(){return e},e}function f(){let e=(0,t._)(["\n            min-height: 68px;\n        "]);return f=function(){return e},e}function h(){let e=(0,t._)(["\n            flex-wrap: nowrap;\n            min-height: 100px;\n        "]);return h=function(){return e},e}function p(){let e=(0,t._)(["\n            min-height: 100px;\n        "]);return p=function(){return e},e}function g(){let e=(0,t._)(["\n            min-height: ",";\n        "]);return g=function(){return e},e}function Z(){let e=(0,t._)(["\n            margin-top: 40px;\n        "]);return Z=function(){return e},e}function m(){let e=(0,t._)(["\n            margin-top: ",";\n        "]);return m=function(){return e},e}let w=s.ZP.div.withConfig({componentId:"sc-c65933a0-0"})(["overflow-x:hidden;"," "," "," .header-wrapper{width:100%;}.header{",";min-height:68px;width:100%;"," "," "," ","}.swiper-pagination-bullet-active{background:",";}.swiper-slide{&:not(:first-child){margin-left:-1px;}}.swiper{width:100%;overflow:visible;}.swiper-outer{","}","{position:relative;margin-top:30px;"," ","}"],e=>e.$isContentBlock&&"\n            margin-bottom: ".concat(d.K0,"px;\n        "),o.Z.lg(x(),e=>e.$isContentBlock&&"\n            margin-bottom: ".concat(d.IL,"px;\n        ")),o.Z.xxl(u(),e=>e.$isContentBlock&&"\n            margin-bottom: ".concat((0,c.Ok)(d.IL),";\n        ")),(0,l.TE)("row-gap",r.Z.spacings.sm),o.Z.md(f()),o.Z.lg(h()),o.Z.xl(p()),o.Z.xxl(g(),(0,c.Ok)(100)),d.ZP.colors.black,e=>e.$offset&&"\n            padding-left: ".concat(e.$offset,"px;\n            padding-right: ").concat(e.$offset,"px;\n        "),a.Z,o.Z.lg(Z()),o.Z.xxl(m(),(0,c.Ok)(40)));n.Z=w},7674:function(e,n,i){i.d(n,{d:function(){return h}});var t=i(57437),s=i(2265),r=i(83003),l=i(73377),o=i(66454),a=i(66678);i(7354);var c=i(80222),d=i(18804),x=i(10468),u=i(42586),f=i(99686);r.Z.use([l.s5,l.N1,l.W_,l.tl]);let h={speed:1250,spaceBetween:0,slidesPerView:1,allowTouchMove:!0,watchOverflow:!0,grabCursor:!0,keyboard:{enabled:!0}};n.Z=e=>{let{swiperConfig:n,header:i,id:r,children:l,isSwiperNeeded:p,includeMargin:g=!0,hasOffset:Z=!0}
1=e,m=(0,u.useTranslations)("a11y"),[w,v]=(0,s.useState)(!0),[P,b]=(0,s.useState)(!1),z=(0,s.useRef)(null),[_,S]=(0,s.useState)(0),j=(0,s.useRef)(null),k=e=>{v(e.isBeginning),b(e.isEnd)};return(0,s.useEffect)(()=>{j.current&&new ResizeObserver(()=>{j.current&&S(j.current.getBoundingClientRect().left)}).observe(window.document.body)},[j]),(0,t.jsxs)(a.Z,{$isContentBlock:g,$offset:p&&Z?_:void 0,children:[(0,t.jsx)(x.ZP,{children:(0,t.jsx)("div",{ref:j,className:"header-wrapper",children:i&&(null==i?void 0:i.block_has_header)&&((null==i?void 0:i.title)||(null==i?void 0:i.description))&&(0,t.jsx)(d.Z,{$cols:{xs:1},$alignItems:"flex-end",$justifyContent:i?"space-between":"flex-end",className:"header",as:"header",children:(0,t.jsx)(c.Z,{...i})})})}),p?(0,t.jsxs)("div",{className:"swiper-outer",children:[(0,t.jsx)(o.tq,{ref:z,navigation:{nextEl:".next-slide-".concat(r),prevEl:".prev-slide-".concat(r)},pagination:{el:".pagination-".concat(r),dynamicBullets:!0},a11y:{enabled:!0,prevSlideMessage:m("carousel.prev_slide"),nextSlideMessage:m("carousel.next_slide")},onSlideChange:k,onSwiper:k,...h,...n,children:l}),(0,t.jsx)(d.Z,{$justifyContent:"center",$cols:{xs:1},children:(0,t.jsx)(f.Z,{isPrevDisabled:w,isNextDisabled:P,id:r,isSmall:!0})})]}):(0,t.jsx)(x.ZP,{children:l})]})}},5135:function(e,n,i){var t=i(45008),s=i(34043),r=i(58237),l=i(10468),o=i(18890);function a(){let e=(0,t._)(["\n            width: 60px;\n        "]);return a=function(){return e},e}function c(){let e=(0,t._)(["\n            width: ",";\n            border: "," solid ",";\n        "]);return c=function(){return e},e}let d=s.ZP.div.withConfig({componentId:"sc-a519cb50-0"})(["display:flex;align-items:center;flex-shrink:0;gap:",";position:relative;.button{width:47px;aspect-ratio:1 / 1;border:1.5px solid ",";position:relative;overflow:hidden;display:inline-grid;align-items:center;cursor:pointer;flex-shrink:0;touch-action:manipulation;svg{width:50%;height:50%;}"," "," &[disabled]{cursor:not-allowed;opacity:0.5;}}.initial-arrow{grid-area:1 / 1;}.additional-arrow{grid-area:1 / 1;}.next-slide{border-radius:100%;.additional-arrow{left:0;}}.prev-slide{border-radius:",";.additional-arrow{right:0;}}.pagination{text-align:center;transform:none !important;}"],e=>e.$isSmall?"12px":"0",r.ZP.colors.black,o.Z.lg(a()),o.Z.xxl(c(),e=>e.$isScaling?(0,l.Ok)(60):"60px",(0,l.Ok)(1.5),r.ZP.colors.black),e=>e.$isSmall?"100%":"0");n.Z=d},99686:function(e,n,i){var t=i(57437);i(2265);var s=i(5135),r=i(24482),l=i(42586),o=i(84046),a=i(44286),c=i(58237);n.Z=e=>{let{id:n,className:i,isPrevDisabled:d,isNextDisabled:x,isSmall:u=!1,isScaling:f=!0}=e,h=(0,l.useTranslations)("a11y"),p={duration:.3,ease:"easeOut"};return(0,t.jsxs)(s.Z,{className:i,$isSmall:u,$isScaling:f,children:[(0,t.jsxs)(a.E.button,{className:"prev-slide prev-slide-".concat(n," button"),whileHover:d?"initial":"hover",initial:"initial",transition:p,variants:{initial:{backgroundColor:"rgba(0,0,0,0)"},hover:{color:c.ZP.colors.white,backgroundColor:c.ZP.colors.black}},children:[(0,t.jsx)(r.Z,{children:h("carousel.prev_slide")}),(0,t.jsx)(a.E.span,{className:"initial-arrow",variants:{initial:{x:0},hover:{x:"-100%"}},transition:p,children:(0,t.jsx)(o.Z,{name:"arrow_left",size:30})}),(0,t.jsx)(a.E.span,{className:"additional-arrow",variants:{initial:{x:"100%"},hover:{x:0}},transition:p,children:(0,t.jsx)(o.Z,{name:"arrow_left",size:30})})]}),u&&(0,t.jsx)("div",{className:"pagination pagination-".concat(n)}),(0,t.jsxs)(a.E.button,{className:"next-slide next-slide-".concat(n," button"),whileHover:x?"initial":"hover",initial:"initial",variants:{initial:{backgroundColor:"rgba(0,0,0,0)"},hover:{color:c.ZP.colors.white,backgroundColor:c.ZP.colors.black}},children:[(0,t.jsx)(r.Z,{children:h("carousel.next_slide")}),(0,t.jsx)(a.E.span,{className:"initial-arrow",variants:{initial:{x:0},hover:{x:"100%"}},transition:p,children:(0,t.jsx)(o.Z,{name:"arrow_right",size:30})}),(0,t.jsx)(a.E.span,{className:"additional-arrow",variants:{initial:{x:"-100%"},hover:{x:0}},transition:p,children:(0,t.jsx)(o.Z,{name:"arrow_right",size:30})})]})]})}},46763:function(e,n,i){i.d(n,{Z:function(){return d}});var t=i(57437);i(2265);var s={src:"/_next/static/media/placeholder.a37f520e.svg",height:649,width:649,blurWidth:0,blurHeight:0},r=i(33145),l=i(6290),o=i(43618),a=i(86495),c=i(78446),d=e=>{var n;let{className:i,...d}=e,x=(0,o.sJ)(a.eT),u=null==x?void 0:null===(n=x.locale)||void 0===n?void 0:n.globalMeta;return(0,t.jsx)(l.Z,{...d,$fit:d.fit,className:i,children:u?(0,t.jsx)(c.Z,{image:u.image,alt:u.title,cropRatios:{xs:1},fit:"cover"}):(0,t.jsx)(r.default,{src:s,alt:"Placeholder"})})}},44045:function(e,n,i){i.d(n,{$:function(){return t}});function t(e){if(Array.isArray(e)){let n=e.filter(e=>e.includes("Onderbouw")).map(e=>e.replace(/^Onderbouw\s*/,"")),i=e.filter(e=>e.includes("Bovenbouw")).map(e=>e.replace(/^Bovenbouw\s*/,"")),t="Onderbouw ".concat(n.join("/")),s="Bovenbouw ".concat(i.join("/")),r=[];return(n.length&&r.push(t),i.length&&r.push(s),r.length)?"<span>".concat(r.join("</span><span>"),"</span>"):"<span>".concat(e.join("</span><span>"),"</span>")}return e}},37041:function(e,n,i){var t=i(58237);let s={spacings:{xs:{xs:t.ZP.distances.xxs,xl:t.ZP.distances.xs},sm:{xs:t.ZP.distances.xs,xl:t.ZP.distances.sm},md:{xs:t.ZP.distances.sm,xl:t.ZP.distances.md},lg:{xs:t.ZP.distances.md,xl:t.ZP.distances.lg},xl:{xs:t.ZP.distances.lg,xl:t.ZP.distances.xl},xxl:{xs:t.ZP.distances.xl,xl:t.ZP.distances.xxl}
1,xxxl:{xs:t.ZP.distances.xxl,xl:t.ZP.distances.xxxl},xxxxl:{xs:t.ZP.distances.xxxl,xl:t.ZP.distances.xxxxl}},typos:{h1:{size:{xs:t.ZP.fontSizes["5xl"],md:t.ZP.fontSizes["7xl"],lg:t.ZP.fontSizes["8xl"],xl:t.ZP.fontSizes["9xl"]},weight:300},h2:{size:{xs:t.ZP.fontSizes["4xl"],md:t.ZP.fontSizes["6xl"],lg:t.ZP.fontSizes["7xl"],xl:t.ZP.fontSizes["8xl"]},weight:300},h3:{size:{xs:t.ZP.fontSizes["3xl"],md:t.ZP.fontSizes["5xl"],lg:t.ZP.fontSizes["6xl"],xl:t.ZP.fontSizes["7xl"]},weight:300},h4:{size:{xs:t.ZP.fontSizes["2xl"],md:t.ZP.fontSizes["4xl"],lg:t.ZP.fontSizes["5xl"],xl:t.ZP.fontSizes["6xl"]},weight:500},h5:{size:{xs:t.ZP.fontSizes.xl,md:t.ZP.fontSizes["3xl"],lg:t.ZP.fontSizes["4xl"],xl:t.ZP.fontSizes["5xl"]},weight:300},h6:{size:{xs:t.ZP.fontSizes.xl,md:t.ZP.fontSizes["3xl"],lg:t.ZP.fontSizes["3xl"],xl:t.ZP.fontSizes["4xl"]},weight:300},h7:{size:{xs:t.ZP.fontSizes.lg,md:t.ZP.fontSizes.lg,lg:t.ZP.fontSizes["2xl"],xl:t.ZP.fontSizes["3xl"]},weight:300},h8:{size:{xs:t.ZP.fontSizes.lg,md:t.ZP.fontSizes.lg,lg:t.ZP.fontSizes["2xl"],xl:t.ZP.fontSizes["2xl"]},weight:500},p:{size:{xs:t.ZP.fontSizes.base,md:t.ZP.fontSizes.md,lg:t.ZP.fontSizes.lg,xl:t.ZP.fontSizes.xl},weight:300},p_mid:{size:{xs:t.ZP.fontSizes.xs,md:t.ZP.fontSizes.sm,lg:t.ZP.fontSizes.md,xl:t.ZP.fontSizes.lg},weight:300}},sizes:{header_height:{xs:80,xl:104}}};n.Z=s},83003:function(e,n,i){i.d(n,{Z:function(){return t.S}});var t=i(64897)}}]);

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.