PageSourceSearch

https://www.fondationbeyeler.ch/_next/static/chunks/0ju_r680nxszs.js?dpl=dpl_63Tg8nxt7DN3RZje26jkFLwAf6mp

js fondationbeyeler.ch collected 2026-10-02 03:28:31 UTC 15,689 bytes, 5 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,299909,e=>{"use strict";var t=e.i(239675),a=e.i(248085),s=e.i(457842),i=e.i(610095);let r=e=>"number"==typeof e?`calc(${e} / var(--fluid-base) * 100vw)`:e,l=(0,a.forwardRef)(function({children:e,parallax:a,progress:l,height:n="screen",gradientTop:o,gradientBottom:d,text:c,textAlign:m="end",textClassName:u,imageRef:p,className:h,style:f},x){return(0,t.jsxs)("div",{ref:x,"data-hero-edge":"",style:f,className:(0,s.cn)("relative w-full overflow-clip","fill"===n?"h-full min-h-0":"h-lvh",h),children:[(0,t.jsx)(i.Parallax,{full:a,progress:l,className:(0,s.cn)("absolute inset-0 w-full","fill"===n?"h-full":"h-lvh"),innerClassName:"top-(--fb-stage-reserve) bottom-(--fb-stage-reserve)",children:(0,t.jsx)("div",{ref:p,className:"absolute inset-0 h-full w-full",children:e})}),void 0!==o&&(0,t.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-x-0 top-0 bg-gradient-to-b from-scrim to-transparent",style:{height:r(o)}}),void 0!==d&&(0,t.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-x-0 bottom-0 bg-gradient-to-t from-scrim to-transparent",style:{height:r(d)}}),c&&(0,t.jsx)("div",{className:(0,s.cn)("pointer-events-none absolute inset-x-0 top-0 flex [&>*]:pointer-events-auto","fill"===n?"h-full":"h-svh","end"===m?"items-end":"items-start",u),children:c})]})});l.displayName="Stage",e.s(["COVER_FILL",0,"fb-media-fill absolute inset-0 h-full w-full overflow-hidden","Stage",0,l])},241342,e=>{"use strict";var t=e.i(239675),a=e.i(248085),s=e.i(559558);e.s(["SetHeroOverlay",0,function({hasHero:e,announce:i=!1,tone:r="light"}){let l=(0,s.useHeroOverlayStore)(e=>e.setSuppressed),n=(0,s.useHeroOverlayStore)(e=>e.clearSuppressed),o=(0,s.useHeroOverlayStore)(e=>e.setAnnounced),d=(0,s.useHeroOverlayStore)(e=>e.clearAnnounced),c=(0,s.useHeroOverlayStore)(e=>e.setTone),m=(0,s.useHeroOverlayStore)(e=>e.clearTone);return((0,a.useEffect)(()=>(l(!e),o(i&&e),c(r),()=>{n(),d(),m()}),[e,i,r,l,n,o,d,c,m]),i&&e)?(0,t.jsx)("div",{"data-fb-stage":!0,hidden:!0}):null}])},756507,e=>{"use strict";e.s([],892171),e.i(892171);var t=e.i(239675),a=e.i(248085),s=e.i(454063),i=e.i(457842);let r=(0,a.forwardRef)(function({label:e,items:r,className:l},n){let o=r.filter(e=>!!e.id),d=o[0]?.id,[c,m]=(0,a.useState)(d);return((0,a.useEffect)(()=>{m(d)},[d]),o.length<2)?null:(0,t.jsx)("nav",{ref:n,"aria-label":`${e}: Abschnitte`,className:(0,i.cn)("flex flex-wrap gap-space-10","max-md:hidden",l),children:o.map(e=>(0,t.jsx)(s.Button,{shape:"pill",variant:"outline",size:"md","aria-current":e.id===c||void 0,onClick:()=>{var t;m(t=e.id),document.getElementById(t)?.scrollIntoView({behavior:"smooth",block:"start"})},className:e.id===c?void 0:"border-gray-800 text-gray-800",children:e.label},e.id))})});r.displayName="SectionNav",e.s(["SectionNav",0,r],756507)},797221,e=>{"use strict";var t=e.i(239675),a=e.i(674656),s=e.i(248085),i=e.i(943902),r=e.i(457842),l=e.i(283039),n=e.i(454063);let o=(0,s.forwardRef)(function({title:e,dateRange:a,intro:s,image:i,meta:o,downloadAllLabel:d,onDownloadAll:c,renderImage:m,imageDataSanity:u,className:p},h){let f=o&&(o.date||o.counts?.length);return(0,t.jsxs)("header",{ref:h,className:(0,r.cn)("grid w-full grid-cols-5 gap-x-grid-gutter","max-md:flex max-md:flex-col max-md:gap-space-50 max-md:pt-space-100",p),children:[(0,t.jsxs)("div",{className:"col-span-3 flex flex-col gap-space-100 max-md:order-2",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-space-50",children:[(0,t.jsx)("h1",{className:"text-display",children:e}),a&&(0,t.jsx)("p",{className:"text-body-s",children:a})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-space-66",children:[(0,t.jsx)("p",{className:"text-body-l",children:s}),f&&(0,t.jsxs)("div",{className:"flex gap-space-100 text-body-s text-gray-800",children:[o?.date&&(0,t.jsx)("span",{children:o.date}),o?.counts?.map(e=>(0,t.jsx)("span",{children:e},e))]}),d&&(0,t.jsx)(n.Button,{variant:"primary",size:"md",onClick:c,className:"self-start",children:d})]})]}),i&&(0,t.jsx)("div",{className:"col-span-2 flex justify-end max-md:order-1","data-sanity":u,children:(0,t.jsx)("div",{className:"w-presse-hero-img",children:(0,t.jsx)(l.Image,{cover:!0,className:"w-full",src:i.src,alt:i.alt??"",width:i.width,height:i.height,captionZone:!1,boxStyle:{aspectRatio:"271 / 210"},renderImage:m})})})]})});var d=e.i(433236);let c=(0,s.forwardRef)(function({blocks:e,className:a},s){return(0,t.jsx)("section",{ref:s,className:(0,r.cn)("flex flex-col gap-space-25",a),children:e.map(({label:e,text:a},s)=>(0,t.jsxs)("p",{className:"text-meta",children:[e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"text-gray-800",children:e}),(0,t.jsx)("br",{})]}),a]},e??s))})});c.displayName="PresseTerms";var m=e.i(713809),u=e.i(183946),p=e.i(242548),h=e.i(446028),f=e.i(924631),x=e.i(776788),g=e.i(595386);function v({title:e,intro:a,terms:s,labels:i,consents:r,onSubmit:l,open:n,onOpenChange:o,backgroundImage:d}){return(0,t.jsxs)(h.FormSheet,{title:e,variant:"large",backgroundImage:d,open:n,onOpenChange:o,onSubmit:l,actions:(0,t.jsx)(f.PanelActions,{children:(0,t.jsx)(m.Form.Submit,{children:i.submit})}),children:[a&&(0,t.jsx)("p",{className:"mb-space-50 text-meta",children:a}),(0,t.jsx)(p.FormField,{name:"email",type:"email",label:i.email,required:!0}),(0,t.jsx)(p.FormField,{name:"firstname",label:i.firstName,required:!0}),(0,t.jsx)(p.FormField,{name:"lastname",label:i.lastName,required:!0}),(0,t.jsx)(p.FormField,{name:"medium",label:i.medium,children:(0,t.jsx)(u.Input,{multiline:!0,rows:3,name:"medium"})}),r.map(({name:e,text:a,link:s})=>(0,t.jsx)(p.CheckboxField,{name:e,required:!0,label:(0,t.jsxs)(t.Fragment,{children:[a,s&&(0,t.jsxs)(t.Fragment,{children:[" ",(0,t.jsx)("a",{href:s.href,target:"_blank",rel:"noreferrer",children:s.label})]})]})},e)),s?.map(({label:e,text:a},s)=>(0,t.jsxs)(g.NoticeBox,{className:"mt-space-50",children:[e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"text-gray-800",children:e}),(0,t.jsx)("br",{})]}),a]},e??s)),(0,t.jsx)(x.RequiredNote,{children:i.requiredNote})]})}var b=e.i(347208),y=e.i(433745),j=e.i(382633),w=e.i(398779),N=e.i(742340),S=e.i(594848);function F(e,t,a,s){let i=[e.file,t],r=(0,N.getLocalizedContent)(a?.title,s);r&&i.push("",e.title,r);let l=(0,N.getLocalizedContent)(a?.description,s);
1l&&i.push("",e.description,l);let n=(0,N.getLocalizedContent)(a?.rights?.copyright,s);return n&&i.push("",e.copyright,n),i.join("\n")}function L(e,t){return"mediaDownload"===e._type?e.asset:"en"===t?e.file_en??e.file_de:"fr"===t?e.file_fr??e.file_de:e.file_de}function C(e,t){let a=t?.url??e.url??void 0;return a?.startsWith("https://imagedelivery.net/")?a.replace(/\/[^/]+$/,"/og"):a}e.s(["PressDetailContent",0,function({release:r,contact:l,assetMetadata:n,locale:m}){let u,p,h,f=(0,S.useTranslation)(),[x,g]=(0,s.useState)(!1),k=(0,N.getLocalizedContent)(r.title,m),R=(0,N.getLocalizedContent)(r.description,m),I=(0,N.getLocalizedContent)(r.hero?.headline,m),T=(0,N.getLocalizedContent)(r.hero?.intro,m),_=I||k||"",z=function(e){let t={texte:[],bilder:[],video:[],audio:[]};if(!e)return t;for(let a of e){if("pdfDownload"===a._type){t.texte.push(a);continue}let e=a.asset?.mimeType??"";e.startsWith("image/")?t.bilder.push(a):e.startsWith("video/")?t.video.push(a):e.startsWith("audio/")?t.audio.push(a):t.bilder.push(a)}return t}(r.downloads),A=(u=[],p=z.texte.length,h=z.bilder.length+z.video.length+z.audio.length,p>0&&u.push(f("press.countTexte",{n:p})),h>0&&u.push(f("press.countMedien",{n:h})),u),O={file:f("press.infoLabelFile"),title:f("press.infoLabelTitle"),description:f("press.infoLabelDescription"),copyright:f("press.infoLabelCopyright")},U=`${f("press.infoFilename")}.txt`,B=r.hero?.image??r.thumbnail??null,P=B?.assetId?n[B.assetId]:void 0,$=P?{src:P.url,alt:_,width:P.width,height:P.height}:void 0,D=r.exhibition,E=(0,a.formatLongDateRange)(D?.dateStart,D?.dateEnd,m),H=(0,N.getLocalizedContent)(l?.role,m),q=[{label:f("press.termsCopyrightLabel"),text:f("press.termsCopyrightText")},{label:f("press.termsUsageLabel"),text:f("press.termsUsageText")},{text:f("press.termsNoticeText")}],W="press-download-consent",[M,K]=(0,s.useState)(!1),[V,Y]=(0,s.useState)(null);function Z(e){if(function(){try{return"1"===sessionStorage.getItem(W)}catch{return!1}}())return e();Y(()=>e),K(!0)}async function G(e){e.preventDefault();try{sessionStorage.setItem(W,"1")}catch{}K(!1),Y(null),await V?.()}async function J(t,a,s){let{default:i}=await e.A(980476),r=new i;for(let{name:e,content:s}of(await Promise.all(t.map(async({url:e,name:t})=>{let a=await fetch(e);if(!a.ok)throw Error(`Download failed: ${t} (${a.status})`);r.file(t,await a.blob())})),a))r.file(e,s);let l=await r.generateAsync({type:"blob",compression:"STORE"}),n=URL.createObjectURL(l),o=document.createElement("a");o.href=n,o.download=`${s.replace(/\s+/g,"_").toLowerCase()||"pressemappe"}.zip`,o.click(),URL.revokeObjectURL(n)}async function Q(){if(r.downloads&&0!==r.downloads.length){g(!0);try{let e=[],t=[];for(let a of r.downloads){let s=L(a,m);if(!s?.assetId)continue;let i=n[s.assetId],r=C(s,i);if(!r)continue;let l=String(e.length+1).padStart(2,"0"),o=`${l}_${s.filename??"download"}`;e.push({url:r,name:o}),t.push(F(O,o,i,m))}if(0===e.length)return;let a=[{name:U,content:t.join(`
2
3---------------------
4
5`)}];await J(e,a,k??"pressemappe")}finally{g(!1)}}}async function X(e){let t=L(e,m);if(!t?.assetId)return;let a=n[t.assetId],s=C(t,a);if(!s)return;let i=t.filename??"download",r=F(O,i,a,m),l=i.replace(/\.[^.]+$/,"")||"download";await J([{url:s,name:i}],[{name:U,content:r}],l)}function ee(e,a){if(a.videoUrl)return(0,t.jsx)("video",{src:a.videoUrl,className:e.className,muted:!0,autoPlay:!0,loop:!0,playsInline:!0});let s=a.assetId?n[a.assetId]:void 0;return s?(0,t.jsx)(j.MediaPicture,{metadata:s,locale:m}):null}return(0,t.jsxs)("div",{className:"flex flex-col gap-space-200 pb-space-200",children:[(0,t.jsx)(o,{title:_,dateRange:E,intro:T||R||"",image:$,imageDataSanity:B?(0,i.createDataAttribute)({id:r._id,type:"pressRelease",path:r.hero?.image?["hero","image"]:["thumbnail"],baseUrl:w.studioUrl}).toString():void 0,meta:{counts:A},downloadAllLabel:x?"...":f("press.downloadAll"),onDownloadAll:()=>Z(Q),renderImage:function(e){return P?(0,t.jsx)(j.MediaPicture,{metadata:P,locale:m,loading:"eager"}):null}}),(0,t.jsx)(y.TeaserFlow,{blocks:[["texte",f("press.texte"),z.texte,"text"],["bilder",f("press.bilder"),z.bilder,"image"],["video",f("press.video"),z.video,"media"],["audio",f("press.audio"),z.audio,"media"]].filter(([,,e])=>e.length>0).map(([e,s,l,o])=>(0,b.collectionBlock)("presseMedia",{title:s,variant:o,items:l.map(e=>{var s;let l=L(e,m),o=l?.assetId??void 0,d=o?n[o]:void 0,c=d?.url??l?.url??void 0,u=l?.extension?.toUpperCase()??"",p=(s=l?.size)?s<1048576?`${(s/1024).toFixed(1)} KB`:`${(s/1048576).toFixed(1)} MB`:"",h=l?.mimeType?.startsWith("image/"),f=l?.mimeType?.startsWith("video/"),x=l?.mimeType?.startsWith("audio/"),g=(0,N.getLocalizedContent)(d?.title,m)??l?.filename??"",v=(0,N.getLocalizedContent)(d?.description,m),b=(0,N.getLocalizedContent)(d?.rights?.copyright,m),y=v||b?(0,t.jsxs)("span",{className:"flex flex-col gap-space-5",children:[v&&(0,t.jsx)("span",{children:v}),b&&(0,t.jsx)("span",{children:b})]}):void 0,j=(0,i.createDataAttribute)({id:r._id,type:"pressRelease",path:`downloads[_key=="${e._key}"]`,baseUrl:w.studioUrl}).toString();return{id:e._key,"data-sanity":j,thumbnail:f?{src:c??"",alt:l?.filename??"",width:196,height:110}:h&&d?{src:d.url,alt:l?.filename??"",width:d.width??183,height:d.height??146}:x?{src:"",alt:"",width:170,height:170}:void 0,videoUrl:f?c:void 0,title:g,subtitle:y,date:"pdfDownload"===e._type?(0,a.formatLongDateRange)(e.date,void 0,m):void 0,meta:[u,p].filter(
5Boolean).join("   |   "),onDownload:l?.assetId?()=>Z(()=>X(e)):void 0,assetId:o}}),downloadLabel:f("press.download"),renderImage:ee},`presse-${e}`))}),(0,t.jsx)(c,{blocks:q}),l&&(0,t.jsx)(d.KontaktBox,{variant:"card","data-sanity":(0,i.createDataAttribute)({id:l._id,type:l._type,path:"name",baseUrl:w.studioUrl}).toString(),title:f("press.contactTitle"),person:(0,t.jsxs)(t.Fragment,{children:[l.name,(0,t.jsx)("br",{}),H,l.phone&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("br",{}),(0,t.jsx)("a",{href:`tel:${l.phone}`,className:"text-gray-800 transition-opacity hover:opacity-60",children:l.phone})]}),l.email&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("br",{}),(0,t.jsx)("a",{href:`mailto:${l.email}`,className:"text-gray-800 transition-opacity hover:opacity-60",children:l.email})]})]}),children:f("press.contactBoxBody")}),M&&(0,t.jsx)(v,{open:!0,onOpenChange:K,onSubmit:G,title:f("press.downloadFormTitle"),intro:f("press.downloadFormIntro"),terms:[{label:f("press.termsCopyrightLabel"),text:f("press.termsCopyrightText")}],labels:{email:f("press.downloadFormEmail"),firstName:f("press.downloadFormFirstName"),lastName:f("press.downloadFormLastName"),medium:f("press.downloadFormMedium"),submit:f("press.downloadFormSubmit"),requiredNote:f("common.requiredNote")},consents:[{name:"copyright",text:f("press.downloadFormCopyrightConsent")},{name:"privacy",text:f("press.downloadFormPrivacyConsent"),link:{label:f("press.downloadFormPrivacyLink"),href:f("press.downloadFormPrivacyHref")}}]})]})}],797221)},95544,e=>{"use strict";var t=e.i(248085),a=e.i(978763);e.s(["SetLanguageAlternates",0,function({alternates:e}){let s=(0,a.useLanguageAlternatesStore)(e=>e.setAlternates),i=(0,a.useLanguageAlternatesStore)(e=>e.clearAlternates);return(0,t.useEffect)(()=>(e&&s(e),()=>i()),[e,s,i]),null}])},604241,e=>{"use strict";var t=e.i(239675),a=e.i(248085),s=e.i(457842),i=e.i(454063),r=e.i(109378);e.i(418396);var l=e.i(346127);let n=(0,a.forwardRef)(function({openingHours:e,visit:n,cta:o,LinkComponent:d,className:c},m){let u=(0,a.useRef)(null),p=(0,a.useRef)(null),h=(0,a.useRef)(null),[f,x]=(0,a.useState)(!1);if((0,a.useEffect)(()=>{let e=p.current,t=h.current;if(!e||!t)return;l.gsap.set(t,{yPercent:-100,y:0});let a=new IntersectionObserver(([e])=>{if(!e)return;let a=!e.isIntersecting&&e.boundingClientRect.top<0;x(a),l.gsap.killTweensOf(t,"yPercent"),l.gsap.to(t,{yPercent:a?0:-100,duration:.6,ease:"sine.out"})},{threshold:0});return a.observe(e),()=>a.disconnect()},[]),!n&&!o)return null;let g=d??"a";return(0,t.jsxs)("div",{ref:e=>{u.current=e,"function"==typeof m?m(e):m&&(m.current=e)},className:(0,s.cn)("grid grid-cols-5 gap-x-grid-gutter max-md:grid-cols-1 max-md:gap-y-space-75",c),children:[(0,t.jsx)("div",{className:"col-span-2 max-md:col-span-1",children:(0,t.jsx)(r.OpeningHours,{...e,className:"text-body max-md:text-body-s",children:n&&(0,t.jsx)(g,{href:n.href,className:"text-gray-800 no-underline",children:n.label})})}),o&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{ref:p,"data-ticket-cta":"",className:"col-span-2 col-start-4 flex self-start justify-self-end max-md:col-span-1 max-md:col-start-auto",children:(0,t.jsx)(i.Button,{as:d??"a",href:o.href,variant:"primary",size:"md",children:o.label})}),(0,t.jsx)("div",{ref:h,"data-top-bar":"","data-shown":f?"":void 0,"aria-hidden":!f,inert:!f,style:{"--fb-btn-h-md":"calc(40 / var(--fluid-base) * 100vw)",transform:"translateY(-100%)"},className:(0,s.cn)("fixed inset-x-0 top-0 z-sticky flex h-nav-bar items-center justify-end bg-background px-grid-margin",!f&&"pointer-events-none"),children:(0,t.jsx)(i.Button,{as:d??"a",href:o.href,variant:"primary",size:"md",children:o.label})})]})]})});n.displayName="BookingRow",e.s(["BookingRow",0,n])},980476,e=>{e.v(t=>Promise.all(["static/chunks/0a4h0clh~8_~j.js","static/chunks/141tzedhd357w.js"].map(t=>e.l(t))).then(()=>t(65666)))}]);

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.