PageSourceSearch

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

js fondationbeyeler.ch collected 2026-10-02 03:28:32 UTC 19,904 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 l=e=>"number"==typeof e?`calc(${e} / var(--fluid-base) * 100vw)`:e,r=(0,a.forwardRef)(function({children:e,parallax:a,progress:r,height:n="screen",gradientTop:o,gradientBottom:d,text:c,textAlign:m="end",textClassName:p,imageRef:x,className:u,style:h},f){return(0,t.jsxs)("div",{ref:f,"data-hero-edge":"",style:h,className:(0,s.cn)("relative w-full overflow-clip","fill"===n?"h-full min-h-0":"h-lvh",u),children:[(0,t.jsx)(i.Parallax,{full:a,progress:r,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:x,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:l(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:l(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",p),children:c})]})});r.displayName="Stage",e.s(["COVER_FILL",0,"fb-media-fill absolute inset-0 h-full w-full overflow-hidden","Stage",0,r])},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:l="light"}){let r=(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)(()=>(r(!e),o(i&&e),c(l),()=>{n(),d(),m()}),[e,i,l,r,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 l=(0,a.forwardRef)(function({label:e,items:l,className:r},n){let o=l.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",r),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))})});l.displayName="SectionNav",e.s(["SectionNav",0,l],756507)},797221,e=>{"use strict";var t=e.i(239675),a=e.i(674656),s=e.i(248085),i=e.i(943902),l=e.i(457842),r=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:p,className:x},u){let h=o&&(o.date||o.counts?.length);return(0,t.jsxs)("header",{ref:u,className:(0,l.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",x),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}),h&&(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":p,children:(0,t.jsx)("div",{className:"w-presse-hero-img",children:(0,t.jsx)(r.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,l.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),p=e.i(183946),x=e.i(242548),u=e.i(446028),h=e.i(924631),f=e.i(776788),g=e.i(595386);function y({title:e,intro:a,terms:s,labels:i,consents:l,onSubmit:r,open:n,onOpenChange:o,backgroundImage:d}){return(0,t.jsxs)(u.FormSheet,{title:e,variant:"large",backgroundImage:d,open:n,onOpenChange:o,onSubmit:r,actions:(0,t.jsx)(h.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)(x.FormField,{name:"email",type:"email",label:i.email,required:!0}),(0,t.jsx)(x.FormField,{name:"firstname",label:i.firstName,required:!0}),(0,t.jsx)(x.FormField,{name:"lastname",label:i.lastName,required:!0}),(0,t.jsx)(x.FormField,{name:"medium",label:i.medium,children:(0,t.jsx)(p.Input,{multiline:!0,rows:3,name:"medium"})}),l.map(({name:e,text:a,link:s})=>(0,t.jsx)(x.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)(f.RequiredNote,{children:i.requiredNote})]})}var b=e.i(347208),v=e.i(433745),j=e.i(382633),w=e.i(398779),N=e.i(742340),F=e.i(594848);function C(e,t,a,s){let i=[e.file,t],l=(0,N.getLocalizedContent)(a?.title,s);l&&i.push("",e.title,l);let r=(0,N.getLocalizedContent)(a?.description,s);
1r&&i.push("",e.description,r);let n=(0,N.getLocalizedContent)(a?.rights?.copyright,s);return n&&i.push("",e.copyright,n),i.join("\n")}function k(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 S(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:l,contact:r,assetMetadata:n,locale:m}){let p,x,u,h=(0,F.useTranslation)(),[f,g]=(0,s.useState)(!1),L=(0,N.getLocalizedContent)(l.title,m),T=(0,N.getLocalizedContent)(l.description,m),I=(0,N.getLocalizedContent)(l.hero?.headline,m),R=(0,N.getLocalizedContent)(l.hero?.intro,m),U=I||L||"",$=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}(l.downloads),A=(p=[],x=$.texte.length,u=$.bilder.length+$.video.length+$.audio.length,x>0&&p.push(h("press.countTexte",{n:x})),u>0&&p.push(h("press.countMedien",{n:u})),p),z={file:h("press.infoLabelFile"),title:h("press.infoLabelTitle"),description:h("press.infoLabelDescription"),copyright:h("press.infoLabelCopyright")},_=`${h("press.infoFilename")}.txt`,B=l.hero?.image??l.thumbnail??null,D=B?.assetId?n[B.assetId]:void 0,O=D?{src:D.url,alt:U,width:D.width,height:D.height}:void 0,P=l.exhibition,E=(0,a.formatLongDateRange)(P?.dateStart,P?.dateEnd,m),H=(0,N.getLocalizedContent)(r?.role,m),q=[{label:h("press.termsCopyrightLabel"),text:h("press.termsCopyrightText")},{label:h("press.termsUsageLabel"),text:h("press.termsUsageText")},{text:h("press.termsNoticeText")}],W="press-download-consent",[M,K]=(0,s.useState)(!1),[V,Z]=(0,s.use
1State)(null);function G(e){if(function(){try{return"1"===sessionStorage.getItem(W)}catch{return!1}}())return e();Z(()=>e),K(!0)}async function J(e){e.preventDefault();try{sessionStorage.setItem(W,"1")}catch{}K(!1),Z(null),await V?.()}async function Q(t,a,s){let{default:i}=await e.A(980476),l=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})`);l.file(t,await a.blob())})),a))l.file(e,s);let r=await l.generateAsync({type:"blob",compression:"STORE"}),n=URL.createObjectURL(r),o=document.createElement("a");o.href=n,o.download=`${s.replace(/\s+/g,"_").toLowerCase()||"pressemappe"}.zip`,o.click(),URL.revokeObjectURL(n)}async function X(){if(l.downloads&&0!==l.downloads.length){g(!0);try{let e=[],t=[];for(let a of l.downloads){let s=k(a,m);if(!s?.assetId)continue;let i=n[s.assetId],l=S(s,i);if(!l)continue;let r=String(e.length+1).padStart(2,"0"),o=`${r}_${s.filename??"download"}`;e.push({url:l,name:o}),t.push(C(z,o,i,m))}if(0===e.length)return;let a=[{name:_,content:t.join(`
2
3---------------------
4
5`)}];await Q(e,a,L??"pressemappe")}finally{g(!1)}}}async function Y(e){let t=k(e,m);if(!t?.assetId)return;let a=n[t.assetId],s=S(t,a);if(!s)return;let i=t.filename??"download",l=C(z,i,a,m),r=i.replace(/\.[^.]+$/,"")||"download";await Q([{url:s,name:i}],[{name:_,content:l}],r)}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:U,dateRange:E,intro:R||T||"",image:O,imageDataSanity:B?(0,i.createDataAttribute)({id:l._id,type:"pressRelease",path:l.hero?.image?["hero","image"]:["thumbnail"],baseUrl:w.studioUrl}).toString():void 0,meta:{counts:A},downloadAllLabel:f?"...":h("press.downloadAll"),onDownloadAll:()=>G(X),renderImage:function(e){return D?(0,t.jsx)(j.MediaPicture,{metadata:D,locale:m,loading:"eager"}):null}}),(0,t.jsx)(v.TeaserFlow,{blocks:[["texte",h("press.texte"),$.texte,"text"],["bilder",h("press.bilder"),$.bilder,"image"],["video",h("press.video"),$.video,"media"],["audio",h("press.audio"),$.audio,"media"]].filter(([,,e])=>e.length>0).map(([e,s,r,o])=>(0,b.collectionBlock)("presseMedia",{title:s,variant:o,items:r.map(e=>{var s;let r=k(e,m),o=r?.assetId??void 0,d=o?n[o]:void 0,c=d?.url??r?.url??void 0,p=r?.extension?.toUpperCase()??"",x=(s=r?.size)?s<1048576?`${(s/1024).toFixed(1)} KB`:`${(s/1048576).toFixed(1)} MB`:"",u=r?.mimeType?.startsWith("image/"),h=r?.mimeType?.startsWith("video/"),f=r?.mimeType?.startsWith("audio/"),g=(0,N.getLocalizedContent)(d?.title,m)??r?.filename??"",y=(0,N.getLocalizedContent)(d?.description,m),b=(0,N.getLocalizedContent)(d?.rights?.copyright,m),v=y||b?(0,t.jsxs)("span",{className:"flex flex-col gap-space-5",children:[y&&(0,t.jsx)("span",{children:y}),b&&(0,t.jsx)("span",{children:b})]}):void 0,j=(0,i.createDataAttribute)({id:l._id,type:"pressRelease",path:`downloads[_key=="${e._key}"]`,baseUrl:w.studioUrl}).toString();return{id:e._key,"data-sanity":j,thumbnail:h?{src:c??"",alt:r?.filename??"",width:196,height:110}:u&&d?{src:d.url,alt:r?.filename??"",width:d.width??183,height:d.height??146}:f?{src:"",alt:"",width:170,height:170}:void 0,videoUrl:h?c:void 0,title:g,subtitle:v,date:"pdfDownload"===e._type?(0,a.formatLongDateRange)(e.date,void 0,m):void 0,meta:[p,x].filter(Boolean).join("   |   "),onDownload:r?.assetId?()=>G(()=>Y(e)):void 0,assetId:o}}),downloadLabel:h("press.download"),renderImage:ee},`presse-${e}`))}),(0,t.jsx)(c,{blocks:q}),r&&(0,t.jsx)(d.KontaktBox,{variant:"card","data-sanity":(0,i.createDataAttribute)({id:r._id,type:r._type,path:"name",baseUrl:w.studioUrl}).toString(),title:h("press.contactTitle"),person:(0,t.jsxs)(t.Fragment,{children:[r.name,(0,t.jsx)("br",{}),H,r.phone&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("br",{}),(0,t.jsx)("a",{href:`tel:${r.phone}`,className:"text-gray-800 transition-opacity hover:opacity-60",children:r.phone})]}),r.email&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("br",{}),(0,t.jsx)("a",{href:`mailto:${r.email}`,className:"text-gray-800 transition-opacity hover:opacity-60",children:r.email})]})]}),children:h("press.contactBoxBody")}),M&&(0,t.jsx)(y,{open:!0,onOpenChange:K,onSubmit:J,title:h("press.downloadFormTitle"),intro:h("press.downloadFormIntro"),terms:[{label:h("press.termsCopyrightLabel"),text:h("press.termsCopyrightText")}],labels:{email:h("press.downloadFormEmail"),firstName:h("press.downloadFormFirstName"),lastName:h("press.downloadFormLastName"),medium:h("press.downloadFormMedium"),submit:h("press.downloadFormSubmit"),requiredNote:h("common.requiredNote")},consents:[{name:"copyright",text:h("press.downloadFormCopyrightConsent")},{name:"privacy",text:h("press.downloadFormPrivacyConsent"),link:{label:h("press.downloadFormPrivacyLink"),href:h("press.downloadFormPrivacyHref")}}]})]})}],797221)},841717,e=>{"use strict";var t=e.i(239675),a=e.i(248085),s=e.i(457842),i=e.i(748209),l=e.i(369505);let r=[{x:0,y:30,h:54,tone:"low"},{x:38,y:23,h:61,tone:"low"},{x:74,y:39,h:45,tone:"low"},{x:113,y:30,h:54,tone:"low"},{x:148,y:13,h:71,tone:"mid"},{x:186,y:30,h:54,tone:"low"},{x:224,y:23,h:61,tone:"low"},{x:259,y:0,h:84,tone:"peak"},{x:297,y:30,h:54,tone:"low"},{x:334,y:50,h:34,tone:"low"}],n=[{x:18.5,label:"10h"},{x:90.5,label:"12h"},{x:166.5,label:"14h"},{x:242.5,label:"16h"},{x:315.5,label:"18h"}],o={low:"fill-gray-400",mid:"fill-gray-600",peak:"fill-gray-700"},d=(0,a.forwardRef)(function({label:e="Stoßzeiten im Tagesverlauf",className:a},i){return(0,t.jsxs)("svg",{ref:i,viewBox:"0 0 369 104",className:(0,s.cn)("block h-auto w-full",a),role:"img","aria-label":e,children:[r.map(e=>(0,t.jsx)("rect",{x:e.x,y:e.y,width:35,height:e.h,rx:1,className:o[e.tone]},e.x)),n.map(e=>(0,t.jsx)("text",{x:e.x,y:100,textAnchor:"middle",className:"fill-gray-900",style:{fontFamily:"var(--font-brand)",fontSize:"var(--text-meta)",fontWeight:400},children:e.label},e.x))]})});d.displayName="BusyChart";var c=e.i(454063),m=e.i(386985);let p=e=>`calc(${e} / var(--fluid-base) * 100vw)`;function x({items:e,className:s}){return(0,t.jsx)("p",{className:s,children:e.map((e,s)=>(0,t.jsxs)(a.Fragment,{children:[s>0&&(0,t.jsx)("br",{}),e||" "]},s))})}function u({lead:e}){let a=e.label?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"text-black",children:e.label}),(0,t.jsx)("br",{})]}):void 0;return(0,i.renderTextField)(e.text,"w-besuch-hint text-body-s text-gray-800",a)}function h({title:e,status:a}){return(0,t.jsxs)("div",{className:"flex items-center gap-space-20 max-md:pb-space-50",children:[(0,t.jsx)("h2",{children:e}),a&&(0,t.jsx)("span",{className:"shrink-0 rounded-full bg-success max-md:ml-auto",style:{width:p(8),height:p(8)}})]})}function f({aside:e,LinkComponent:s}){return"address"===e.type?(0,t.jsxs)("p",{className:"text-body-l",children:[e.lines.map((e,s)=>(0,t.jsxs)(a.Fragment,{children:[s>0&&(0,t.jsx)("br",{}),e]},s)),e.link&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("br",{}),(0,t.jsx)(s??"a",{href:e.link.href,className:"text-gray-800 no-underline",children:e.link.label})]})]}):(0,t.jsxs)("div",{className:"flex gap-x-grid-gutter max-md:min-h-(--spacing-besuch-price-table)",children:[(0,t.jsx)(x,{items:e.rows.map(e=>e.label),className:"flex-1 text-body-l"}),(0,t.jsx)(x,{items:e.rows.map(e=>e.value),className:"text-body-l text-right text-gray-800"})]})}let g=(0,a.forwardRef)(function({title:e,status:a,lead:i,chart:r,button:n,aside:o,action:p,LinkComponent:x,className:g},y){let b="hours"===o.type;return(0,t.jsx)("section",{ref:y,className:(0,s.cn)("px-grid-margin","pb-space-25 max-md:pb-space-50",g),children:(0,t.jsxs)("div",{className:(0,s.cn)("flex flex-col rounded-md bg-gray-150 p-space-50",b?"gap-space-50":"gap-space-150","max-md:gap-space-50 max-md:px-space-33 max-md:py-space-66"),children:[b?(0,t.jsxs)("div",{className:"flex flex-col gap-space-75 max-md:contents",children:[(0,t.jsxs)("div",{className:"grid grid-cols-2 items-start gap-x-grid-gutter max-md:contents",children:[(0,t.jsx)("div",{className:"max-md:order-1",children:(0,t.jsx)(h,{title:e,status:a})}),(0,t.jsx)("p",{className:"text-body-l max-md:order-4",children:o.dates})]}),(0,t.jsxs)("div",{className:"grid grid-cols-2 items-start gap-x-grid-gutter max-md:contents",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-space-50 pr-space-100 max-md:order-2 max-md:pr-0",children:[i&&(0,t.jsx)(u,{lead:i}),r&&(0,t.jsx)("div",{className:"w-besuch-chart",children:(0,t.jsx)(d,{})})]}),(0,t.jsx)("div",{className:"pr-space-100 max-md:order-5 max-md:pr-0",children:o.note&&(0,t.jsx)("div",{className:"text-body-s",children:o.note})})]}),(0,t.jsx)("div",{className:"max-md:order-3 max-md:pt-space-25 max-md:pb-space-50 md:hidden",children:(0,t.jsx)(m.Line.Root,{className:"bg-gray-400"})})]}):(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-x-grid-gutter max-md:contents",children:[(0,t.jsxs)("div",{className:"flex flex-col pr-space-100 max-md:contents",children:[(0,t.jsx)(h,{title:e,status:a}),(0,t.jsxs)("div",{className:"mt-auto flex flex-col gap-space-33 pt-space-50 max-md:contents max-md:pt-0",children:[i&&(0,t.jsx)(u,{lead:i}),n&&(0,t.jsx)("div",{className:"flex max-md:[--fb-btn-h-md:var(--fb-btn-h-cta)]",children:n.href?(0,t.jsx)(c.Button,{as:x??"a",href:n.href,variant:"primary",size:"md",children:n.label}):(0,t.jsx)(c.Button,{variant:"primary",size:"md",onClick:n.onClick,children:n.label})})]})]}),(0,t.jsx)("div",{className:(0,s.cn)("address"===o.type&&"pr-space-100 max-md:pr-0 max-md:pt-space-75"),children:(0,t.jsx)(f,{aside:o,LinkComponent:x})})]}),(0,t.jsx)("div",{className:"flex justify-end max-md:order-6 max-md:pt-space-100",children:(0,t.jsx)(l.ArrowLink,{href:p.href,onClick:p.onClick,as:p.href?x:void 0,className:"box-content h-[1cap] [--fb-arrowlink-gap:var(--spacing-space-20)] text-gray-800",children:p.label})})]})})});g.displayName="BesuchCard";var y=e.i(594848),b=e.i(856525),v=e.i(869637);e.i(679022);var j=e.i(803328);function w(e,t){let[a,s]=e.split(":"),i=String(Number(a));return"fr"===t?"00"===s?`${i}h`:`${i}h${s}`:"00"===s?i:`${i}:${s}`}let N=["sunday","monday","tuesday","wednesday","thursday","friday","saturday"];
5function F(e){let[t,a]=e.split(":").map(Number);return 60*t+a}e.s(["VisitHoursCard",0,function({week:e,fallbackTitle:a,locale:s,...i}){let l=(0,y.useTranslation)(),r=(0,v.useIsClient)()?function(e){if(!e)return null;let t=e[N[(0,j.museumNow)().getDay()]];return{begin:t?.begin||null,end:t?.end||null}}(e):null,n=r?function(e,t,a){if(!e||!t)return{type:"closedAllDay"};let s=function(){let[e,t]=(0,j.museumTimeKey)((0,j.museumNow)()).split(":").map(Number);return 60*e+t}(),i=F(e),l=F(t);if(s<i)return{type:"opensAt",time:w(e,a)};if(s>=l)return{type:"closedForToday"};let r=l-s;return r<=60?{type:"closesIn",minutes:r}:{type:"openUntil",time:w(t,a)}}(r.begin,r.end,s):null;return(0,t.jsx)(g,{...i,title:n?function(e,t){switch(e.type){case"closedAllDay":return t("museum.closedToday");case"opensAt":return t("museum.opensAt",{time:e.time});case"openUntil":return t("museum.openUntil",{time:e.time});case"closesIn":return e.minutes<=1?t("museum.closesInOne"):t("museum.closesIn",{minutes:e.minutes});case"closedForToday":return t("museum.closedForToday")}}(n,l):a,status:!!n&&("openUntil"===n.type||"closesIn"===n.type),LinkComponent:b.RouterLink})}],841717)},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.