1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,600685,(e,t,i)=>{var n="function"==typeof Float32Array;function r(e,t,i){return(((1-3*i+3*t)*e+(3*i-6*t))*e+3*t)*e}function s(e,t,i){return 3*(1-3*i+3*t)*e*e+2*(3*i-6*t)*e+3*t}function o(e){return e}t.exports=function(e,t,i,a){if(!(0<=e&&e<=1&&0<=i&&i<=1))throw Error("bezier x values must be in [0, 1] range");if(e===t&&i===a)return o;for(var l=n?new Float32Array(11):Array(11),d=0;d<11;++d)l[d]=r(.1*d,e,i);return function(n){return 0===n?0:1===n?1:r(function(t){for(var n=0,o=1;10!==o&&l[o]<=t;++o)n+=.1;var a=n+(t-l[--o])/(l[o+1]-l[o])*.1,d=s(a,e,i);if(d>=.001){for(var h=a,c=0;c<4;++c){var p=s(h,e,i);if(0===p)break;var u=r(h,e,i)-t;h-=u/p}return h}return 0===d?a:function(e,t,i,n,s){var o,a,l=0;do(o=r(a=t+(i-t)/2,n,s)-e)>0?i=a:t=a;while(Math.abs(o)>1e-7&&++l<10)return a}(t,n,n+.1,e,i)}(n),t,a)}}},159707,e=>{"use strict";var t,i,n,r,s,o,a,l,d,h,c,p=e.i(843476);e.i(238973);var u=e.i(185005),m=e.i(856082),g=e.i(271645),f=e.i(997053),x=e.i(312207);function w(e){let t,i,n;return 4==e.length?(t="0x"+e[1]+e[1],i="0x"+e[2]+e[2],n="0x"+e[3]+e[3]):7==e.length&&(t="0x"+e[1]+e[2],i="0x"+e[3]+e[4],n="0x"+e[5]+e[6]),t=(t/255*100).toFixed(0),i=(i/255*100).toFixed(0),n=(n/255*100).toFixed(0),`${t}, ${i}, ${n}`}var v=e.i(719631),b=e.i(705665),y=e.i(4154),_=e.i(345915),C=e.i(877253),j=e.i(94332),S=e.i(838478),I=e.i(573878),E=e.i(417734),$=e.i(456780),O=e.i(135581),k=e.i(535289),T=e.i(208049),H=e.i(54513),M=e.i(207340);let L=f.default.span.withConfig({displayName:"HomepageVideo__Mute",componentId:"sc-c71e2736-0"})` 2 position: absolute; 3 width: 3rem; 4 height: 3rem; 5 cursor: pointer; 6 background-color: #000; 7 display: flex; 8 justify-content: center; 9 align-items: center; 10 right: 1.5rem; 11 top: 1.5rem; 12`,N=(0,f.default)(L).withConfig({displayName:"HomepageVideo__PlayPause",componentId:"sc-c71e2736-1"})` 13 right: 5rem; 14`,A=(0,f.default)(y.Icon).withConfig({displayName:"HomepageVideo__MuteIcon",componentId:"sc-c71e2736-2"})` 15 width: 2rem !important; 16 height: 2rem !important; 17`,P=(0,f.default)(A).withConfig({displayName:"HomepageVideo__PlayPauseIcon",componentId:"sc-c71e2736-3"})``,z=0,q=f.default.div.withConfig({displayName:"HomepageVideo__Vimeo",componentId:"sc-c71e2736-4"})` 18 pointer-events: none; 19 position: relative; 20 overflow: hidden; 21 width: 100vw; 22 height: inherit; 23 24 div { 25 position: static !important; 26 } 27 28 iframe { 29 position: absolute !important; 30 top: 50% !important; 31 left: 50% !important; 32 width: 100vw !important; 33 height: 120vh !important; 34 transform: translate(-50%, -50%) !important; 35 36 @media (min-aspect-ratio: 16/9) { 37 height: 56.25vw !important; 38 } 39 @media (max-aspect-ratio: 16/9) { 40 width: 177.78vh !important; 41 } 42 } 43`,Y=({videoRef:e,thumbnail:t,streamingUrl:i,externalStreamingUrl:n,incrementCurrentIndex:r,setOverlayVisible:s})=>{let[o,a]=(0,H.useInView)({threshold:.2,initialInView:!0}),[l,d]=(0,g.useState)(!0),[h,c]=(0,g.useState)(!1),u=(t,i)=>{z&&(window.clearInterval(z),z=0),z=window.setInterval(()=>{if(e.current){let n=e.current.volume;i>0&&n<t||i<0&&n>t?e.current.volume=Math.round(1e3*n)/1e3+i:(window.clearInterval(z),z=0)}},20)},m=(e=.02)=>{u(.99,e)},f=(e=0,t=.02)=>{u(e,-t)};return(0,g.useEffect)(()=>{o(e.current)},[e]),(0,g.useEffect)(()=>{let e=!1;return!a||l||e?l||e||f(.2):m(),()=>{e=!0}},[a]),(0,g.useEffect)(()=>{if(n){if(!(0,M.isVimeoUrl)(n))return;let e=new T.default("vimeo",{url:n,controls:!1,autoplay:!0,responsive:!0,loop:!1,transparent:!0});e.setVolume(+!l),h?e.pause():e.play(),e.setLoop(!1),e.on("timeupdate",e=>{e.seconds>1&&e.seconds<2&&s(!1),e.seconds>e.duration-1&&s(!0)}),e.on("ended",()=>{r(),e.destroy()})}},[n,r,l,h,s]),(0,p.jsxs)(p.Fragment,{children:[n?(0,p.jsx)(q,{id:"vimeo"}):(0,p.jsx)("video",{autoPlay:!0,playsInline:!0,id:"video-hero",poster:t,muted:!0,ref:e,"aria-hidden":"true",tabIndex:-1,onCanPlay:async()=>{if(e.current)try{await e.current.play()}catch(t){d(!0),e.current.muted=!0,await e.current.play()}},children:(0,p.jsx)("source",{src:i,type:"application/vnd.apple.mpegURL"})}),(0,p.jsx)(N,{onClick:t=>{t.preventDefault(),h?(e.current&&e.current.play(),c(!1)):(e.current&&e.current.pause(),c(!0))},children:(0,p.jsx)(P,{name:h?"play":"pause"})}),(0,p.jsx)(L,{onClick:t=>{t.preventDefault(),l?(e.current&&(e.current.muted=!1),m(),d(!1)):(f(0,.05),d(!0))},children:(0,p.jsx)(A,{name:l?"mute":"unmute"})})]})};var X=e.i(728016),R=e.i(822315);let B={delta:10,preventScrollOnSwipe:!1,rotationAngle:0,trackMouse:!1,trackTouch:!0,swipeDuration:1/0,touchEventOptions:{passive:!0}},W={first:!0,initial:[0,0],start:0,swiping:!1,xy:[0,0]},F="mousemove",U="mouseup";function V(e,t){if(0===t)return e;let i=Math.PI/180*t;return[e[0]*Math.cos(i)+e[1]*Math.sin(i),e[1]*Math.cos(i)-e[0]*Math.sin(i)]}let D=f.keyframes` 44 from { 45 width: 0; 46 } 47 to { 48 width: 110px; 49 } 50`,Q=f.default.div.withConfig({displayName:"HeroSlider__Wrapper",componentId:"sc-d42a07f4-0"})` 51 display: flex; 52 flex-direction: column; 53 align-items: stretch; 54 height: auto; 55 margin-bottom: 108px; 56 position: relative; 57 58 video { 59 width: 100%; 60 height: 100%; 61 object-fit: cover; 62 object-position: left bottom; 63 } 64 65 ${j.mq.sm} { 66 margin-bottom: 0; 67 height: calc(100vh - 112px); 68 min-height: 680px; 69 70 video { 71 object-position: left bottom; 72 } 73 } 74 75 ${j.mq.md} { 76 video { 77 object-position: left center; 78 } 79 } 80`,Z=f.default.div.withConfig({displayName:"HeroSlider__Inner",componentId:"sc-d42a07f4-1"})` 81 width: 100%; 82 height: 100%; 83 position: relative; 84 flex-grow: 1; 85`,K=f.default.div.withConfig({displayName:"HeroSlider__Content",componentId:"sc-d42a07f4-2"})` 86 width: 100%; 87 position: relative; 88 display: flex; 89 90 ${j.mq.sm} { 91 position: absolute; 92 left: 0; 93 top: 0; 94 right: 0; 95 bottom: 0; 96 } 97`,G=f.default.div.withConfig({displayName:"HeroSlider__MediaWrapper",componentId:"sc-d42a07f4-3"})` 98 width: 100%; 99 height: auto; 100 filter: ${({visible:e})=>e?f.css`brightness(0)`:f.css`brightness(1)`}; 101 transition: filter 0.5s; 102 background: black; 103 overflow: hidden; 104 105 ${j.mq.sm} { 106 width: calc(100% - 72px); 107 height: 100%; 108 position: absolute; 109 } 110`,J=f.default.div.withConfig({displayName:"HeroSlider__SliderWrapper",componentId:"sc-d42a07f4-4"})` 111 width: 100%; 112 height: auto; 113 background: black; 114 overflow: hidden; 115 116 ${j.mq.sm} { 117 width: calc(100% - 72px); 118 height: 100%; 119 position: absolute; 120 } 121`,ee=f.default.div.withConfig({displayName:"HeroSlider__SlideWrapper",componentId:"sc-d42a07f4-5"})` 122 width: 100%; 123 height: auto; 124 filter: ${({visible:e})=>e?f.css`brightness(0)`:f.css`brightness(1)`}; 125 transition: filter 0.5s; 126 background: black; 127 overflow: hidden; 128 pointer-events: none; 129 130 ${j.mq.sm} { 131 height: 100%; 132 position: absolute; 133 } 134`,et=(0,f.default)(k.Image).withConfig({displayName:"HeroSlider__CustomImage",componentId:"sc-d42a07f4-6"})` 135 object-position: left bottom; 136 137 ${j.mq.md} { 138 object-position: left center; 139 } 140 141 ${e=>e.mobile&&` 142 ${j.mq.md} { 143 display: none; 144 } 145 `} 146 147 ${e=>e.desktop&&` 148 display: none; 149 ${j.mq.md} { 150 display: block; 151 } 152 `} 153`,ei=f.default.ul.withConfig({displayName:"HeroSlider__Nav",componentId:"sc-d42a07f4-7"})` 154 display: flex; 155 flex-direction: column; 156 justify-content: space-between; 157 padding: 40px 54px 16px; 158 position: relative; 159 z-index: 2; 160 margin-bottom: -108px; 161 background-color: ${e=>e.theme.color.white}; 162 163 ${j.mq.sm} { 164 width: 272px; 165 166 height: 480px; 167 padding: 88px; 168 margin-bottom: 0; 169 } 170`,en=f.default.li.withConfig({displayName:"HeroSlider__NavItem",componentId:"sc-d42a07f4-8"})` 171 display: flex; 172 flex-direction: row; 173 align-items: center; 174 cursor: pointer; 175 margin-bottom: 32px; 176 position: relative; 177 178 &:last-child { 179 margin-bottom: 0; 180 } 181`,er=f.default.span.withConfig({displayName:"HeroSlider__Name",componentId:"sc-d42a07f4-9"})` 182 display: inline-block; 183 margin-left: 32px; 184 line-height: 1; 185`,es=(0,f.default)(b.Heading).withConfig({displayName:"HeroSlider__SubNavHeading",componentId:"sc-d42a07f4-10"})``,eo=f.default.ul.withConfig({displayName:"HeroSlider__SubNavList",componentId:"sc-d42a07f4-11"})` 186 display: flex; 187 flex-direction: column; 188 position: relative; 189 z-index: 1; 190 font-family: var(--font-din-serif, serif); 191 text-align: center; 192`,ea=f.default.li.withConfig({displayName:"HeroSlider__SubNavItem",componentId:"sc-d42a07f4-12"})` 193 padding: 12px 24px; 194 195 & + & { 196 margin-top: 12px; 197 } 198 199 ${e=>e.highlighted?f.css` 200 border: 1px solid #fff; 201 transition: all 200ms; 202 @media not all and (pointer: coarse) { 203 &:hover { 204 color: #000; 205 background: #fff; 206 } 207 } 208 `:f.css` 209 @media not all and (pointer: coarse) { 210 &:hover { 211 text-decoration: underline; 212 } 213 } 214 `} 215`,el=f.default.div.withConfig({displayName:"HeroSlider__SubNavContent",componentId:"sc-d42a07f4-13"})` 216 display: flex; 217 flex-direction: column; 218 justify-content: flex-end; 219 align-items: center; 220 width: 100%; 221 222 ${j.mq.sm} { 223 justify-content: center; 224 height: 100%; 225 } 226`,ed=f.default.div.withConfig({displayName:"HeroSlider__SubNav",componentId:"sc-d42a07f4-14"})` 227 width: 100%; 228 height: 100%; 229 background-color: ${e=>`rgba(${"opera"===e.activeItem&&w(e.theme.color.lightgreen)||"drama"===e.activeItem&&w(e.theme.color.lightblue)||"ballet"===e.activeItem&&w(e.theme.color.lightred)||"latern"===e.activeItem&&w(e.theme.color.lightyellow)}, 0.8)`}; 230 color: #fff; 231 transition: background-color 0.5s; 232 233 svg { 234 opacity: 0.3; 235 mix-blend-mode: overlay; 236 } 237`,eh=f.default.div.withConfig({displayName:"HeroSlider__SubNavSlide",componentId:"sc-d42a07f4-15"})` 238 width: 100%; 239 height: calc(100vh - 112px); 240 position: relative; 241 242 ${j.mq.sm} { 243 width: 100%; 244 height: 480px; 245 } 246`,ec=f.default.div.withConfig({displayName:"HeroSlider__SubNavSlidesWrapper",componentId:"sc-d42a07f4-16"})` 247 width: 100%; 248 height: 400%; 249 display: flex; 250 flex-direction: column; 251 transition: transform 0.5s cubic-bezier(0.25, 0.25, 0, 0.995); 252 253 transform: ${e=>`translateY(${0===e.slideTo&&"0"||1===e.slideTo&&"calc(-100vh + 112px)"||2===e.slideTo&&"calc((-100vh + 112px) * 2)"||3===e.slideTo&&"calc((-100vh + 112px) * 3)"})`}; 254 255 ${j.mq.sm} { 256 transform: ${e=>`translateY(${0===e.slideTo&&"0"||1===e.slideTo&&"-480px"||2===e.slideTo&&"-960px"||3===e.slideTo&&"-1440px"})`}; 257 } 258`,ep=f.default.div.withConfig({displayName:"HeroSlider__SubNavWrapper",componentId:"sc-d42a07f4-17"})` 259 width: 100%; 260 height: 100%; 261 position: absolute; 262 top: 0; 263 left: 0; 264 right: 0; 265 overflow: hidden; 266 267 ${j.mq.sm} { 268 width: 320px; 269 height: 480px; 270 left: auto; 271 right: 272px; 272 } 273 274 ${j.mq.md} { 275 width: 480px; 276 } 277`,eu=f.default.div.withConfig({displayName:"HeroSlider__NavWrapper",componentId:"sc-d42a07f4-18"})` 278 width: calc(100% - 64px); 279 z-index: 2; 280 281 ${j.mq.sm} { 282 width: auto; 283 position: absolute; 284 top: 50%; 285 right: 0; 286 bottom: auto; 287 left: auto; 288 transform: translate(0, -50%); 289 } 290 291 /* ${eo} { 292 transition: transform 2s; 293 ${e=>"bottom"===e.parallaxDirection&&"transform: translateY(50px)"}; 294 ${e=>"top"===e.parallaxDirection&&"transform: translateY(-50px)"}; 295 } */ 296`,em=(0,f.default)(y.Icon).withConfig({displayName:"HeroSlider__StyledIcon",componentId:"sc-d42a07f4-19"})` 297 width: 100% !important; 298 height: 100%; 299 position: absolute !important; 300 top: 0; 301 left: 0; 302`,eg=(0,f.default)(C.Button).withConfig({displayName:"HeroSlider__RightBottomButton",componentId:"sc-d42a07f4-20"})` 303 position: absolute; 304 right: 0; 305 bottom: 40px; 306 z-index: 1; 307`,ef=f.default.div.withConfig({displayName:"HeroSlider__Line",componentId:"sc-d42a07f4-21"})` 308 width: 1px; 309 height: ${e=>e.lh?`${e.lh+48}px`:"100px"}; 310 position: absolute; 311 bottom: ${e=>e.posY?`${e.posY}px`:0}; 312 left: 40px; 313 z-index: 2; 314 background: ${e=>e.theme.color.gold}; 315 animation: ${e=>f.keyframes` 316 from { 317 height: 0; 318 } 319 to { 320 height: ${e.lh}; 321 } 322`} 500ms; 323 324 ${j.mq.sm} { 325 width: 0; 326 height: 1px; 327 animation: ${D} 500ms forwards; 328 right: calc(100% - 40px); 329 left: auto; 330 } 331`,ex=(0,f.default)(x.Link).withConfig({displayName:"HeroSlider__CustomLink",componentId:"sc-d42a07f4-22"})` 332 display: flex; 333 align-items: center; 334`,ew=(0,f.default)(x.Link).withConfig({displayName:"HeroSlider__AbsoluteLink",componentId:"sc-d42a07f4-23"})` 335 width: 100%; 336 height: auto; 337 display: flex;
338 user-drag: none; 339 340 ${j.mq.sm} { 341 position: absolute; 342 height: 100%; 343 } 344`,ev=f.default.div.withConfig({displayName:"HeroSlider__AbsoluteWrapper",componentId:"sc-d42a07f4-24"})` 345 width: 100%; 346 height: auto; 347 display: flex; 348 user-drag: none; 349 350 ${j.mq.sm} { 351 position: absolute; 352 height: 100%; 353 } 354`,eb=f.default.div.withConfig({displayName:"HeroSlider__TabsContainer",componentId:"sc-d42a07f4-25"})` 355 width: 100%; 356 display: flex; 357 flex-wrap: wrap; 358 justify-content: center; 359 align-items: center; 360 gap: 14px; 361 position: absolute; 362 left: 14px; 363 bottom: 14px; 364 right: 14px; 365 pointer-events: none; 366 367 ${j.mq.sm} { 368 gap: 16px; 369 left: 16px; 370 bottom: 16px; 371 right: 16px; 372 } 373`,ey=f.default.span.withConfig({displayName:"HeroSlider__TabButtonInner",componentId:"sc-d42a07f4-26"})` 374 width: 24px; 375 height: 6px; 376 background-color: ${({active:e,theme:t})=>e?t.color.gold:t.color.white}; 377 border: 1px solid ${({theme:e})=>e.color.gold}; 378 display: block; 379 transition: background-color ease-in-out 300ms; 380 381 ${j.mq.sm} { 382 width: 40px; 383 } 384`,e_=f.default.button.withConfig({displayName:"HeroSlider__TabButton",componentId:"sc-d42a07f4-27"})` 385 width: 24px; 386 padding: 2px 0; 387 outline: none; 388 pointer-events: auto; 389 position: relative; 390 z-index: 5; 391 392 &:focus-visible { 393 outline: 2px solid ${({theme:e})=>e.color.gold}; 394 outline-offset: 2px; 395 } 396 397 ${j.mq.sm} { 398 width: 40px; 399 } 400 401 &:disabled { 402 cursor: not-allowed; 403 } 404`,eC=({data:e,upcomingEventsLabel:t})=>{if(!e)throw Error("HeroSlider error");let[i,n]=(0,g.useState)("bottom"),{repertoirePage:r,programmePage:s,locale:o}=(0,g.useContext)(E.AppContext),a=(0,g.useContext)(f.ThemeContext)??S.theme,[l,d]=(0,g.useState)(-1),[h,c]=(0,g.useState)(-1),[u,m]=(0,g.useState)(0),[w,b]=(0,g.useState)(0),C=(0,g.useRef)(null),j=(0,g.useRef)(null),k=(0,g.useRef)(null),T=(0,g.useRef)(null),H=(0,g.useRef)(null),M=(0,g.useRef)(null),L=(0,g.useRef)([]),[N,A]=(0,g.useState)(0),[P,z]=(0,g.useState)(!0),q=-1!==l&&e.ensembleSlides&&e.ensembleSlides[l]?.desktopImage,D=(0,g.useRef)(void 0),eC=(0,g.useMemo)(()=>e.heroSlider.filter(e=>(0,R.default)().isBetween(e.showFrom??-1e15,e.showTo??1e15,"days","[]")),[]),ej=e=>{z(!0),setTimeout(()=>{A(e),z(!1)},1e3)},eS=function(e){var t,i,n;let r,{trackMouse:s}=e,o=g.useRef(Object.assign({},W)),a=g.useRef(Object.assign({},B)),l=g.useRef(Object.assign({},a.current));for(r in l.current=Object.assign({},a.current),a.current=Object.assign(Object.assign({},B),e),B)void 0===a.current[r]&&(a.current[r]=B[r]);let[d,h]=g.useMemo(()=>{var e,t;let i,n,r,l,d,h;return e=e=>o.current=e(o.current,a.current),t={trackMouse:s},i=t=>{let i="touches"in t;i&&t.touches.length>1||e((e,r)=>{r.trackMouse&&!i&&(document.addEventListener(F,n),document.addEventListener(U,l));let{clientX:s,clientY:o}=i?t.touches[0]:t,a=V([s,o],r.rotationAngle);return r.onTouchStartOrOnMouseDown&&r.onTouchStartOrOnMouseDown({event:t}),Object.assign(Object.assign(Object.assign({},e),W),{initial:a.slice(),xy:a,start:t.timeStamp||0})})},n=t=>{e((e,i)=>{var n,r,s,o;let a="touches"in t;if(a&&t.touches.length>1)return e;if(t.timeStamp-e.start>i.swipeDuration)return e.swiping?Object.assign(Object.assign({},e),{swiping:!1}):e;let{clientX:l,clientY:d}=a?t.touches[0]:t,[h,c]=V([l,d],i.rotationAngle),p=h-e.xy[0],u=c-e.xy[1],m=Math.abs(p),g=Math.abs(u),f=(t.timeStamp||0)-e.start,x=Math.sqrt(m*m+g*g)/(f||1),w=[p/(f||1),u/(f||1)],v=(n=m,r=g,s=p,o=u,n>r?s>0?"Right":"Left":o>0?"Down":"Up"),b="number"==typeof i.delta?i.delta:i.delta[v.toLowerCase()]||B.delta;if(m<b&&g<b&&!e.swiping)return e;let y={absX:m,absY:g,deltaX:p,deltaY:u,dir:v,event:t,first:e.first,initial:e.initial,velocity:x,vxvy:w};y.first&&i.onSwipeStart&&i.onSwipeStart(y),i.onSwiping&&i.onSwiping(y);let _=!1;return(i.onSwiping||i.onSwiped||i[`onSwiped${v}`])&&(_=!0),_&&i.preventScrollOnSwipe&&i.trackTouch&&t.cancelable&&t.preventDefault(),Object.assign(Object.assign({},e),{first:!1,eventData:y,swiping:!0})})},r=t=>{e((e,i)=>{let n;if(e.swiping&&e.eventData){if(t.timeStamp-e.start<i.swipeDuration){n=Object.assign(Object.assign({},e.eventData),{event:t}),i.onSwiped&&i.onSwiped(n);let r=i[`onSwiped${n.dir}`];r&&r(n)}}else i.onTap&&i.onTap({event:t});return i.onTouchEndOrOnMouseUp&&i.onTouchEndOrOnMouseUp({event:t}
404),Object.assign(Object.assign(Object.assign({},e),W),{eventData:n})})},l=e=>{document.removeEventListener(F,n),document.removeEventListener(U,l),r(e)},d=(e,t)=>{let s=()=>{};if(e&&e.addEventListener){let o=Object.assign(Object.assign({},B.touchEventOptions),t.touchEventOptions),a=[["touchstart",i,o],["touchmove",n,Object.assign(Object.assign({},o),t.preventScrollOnSwipe?{passive:!1}:{})],["touchend",r,o]];a.forEach(([t,i,n])=>e.addEventListener(t,i,n)),s=()=>a.forEach(([t,i])=>e.removeEventListener(t,i))}return s},h={ref:t=>{null!==t&&e((e,i)=>{if(e.el===t)return e;let n={};return e.el&&e.el!==t&&e.cleanUpTouch&&(e.cleanUpTouch(),n.cleanUpTouch=void 0),i.trackTouch&&t&&(n.cleanUpTouch=d(t,i)),Object.assign(Object.assign(Object.assign({},e),{el:t}),n)})}},t.trackMouse&&(h.onMouseDown=i),[h,d]},[s]);return t=o.current,i=a.current,n=l.current,o.current=i.trackTouch&&t.el?t.cleanUpTouch?i.preventScrollOnSwipe!==n.preventScrollOnSwipe||i.touchEventOptions.passive!==n.touchEventOptions.passive?(t.cleanUpTouch(),Object.assign(Object.assign({},t),{cleanUpTouch:h(t.el,i)})):t:Object.assign(Object.assign({},t),{cleanUpTouch:h(t.el,i)}):(t.cleanUpTouch&&t.cleanUpTouch(),Object.assign(Object.assign({},t),{cleanUpTouch:void 0})),d}({onSwipedLeft:()=>ej(0===N?eC.length-1:N-1),onSwipedRight:()=>ej(N===eC.length-1?0:N+1),trackMouse:!0,preventScrollOnSwipe:!0});(0,g.useEffect)(()=>{let e=null,t=null;if(Array.isArray(eC)&&eC.length>0&&"image_slide"===eC[N]._modelApiKey){z(!1);let i=eC[N].duration;e=setTimeout(()=>{A(N!==eC?.length-1?N+1:0)},1e3*i+1e3),eC.length>1&&(t=setTimeout(()=>{z(!0)},1e3*i))}return()=>{e&&clearTimeout(e),t&&clearTimeout(t)}},[eC,N]);let eI=(0,g.useCallback)(()=>{eC&&eC[N]&&eC?.[N]?._modelApiKey==="video_slide"&&(window.innerWidth<a.bp.md?D.current=_.getHLSVideo.call(D.current,eC?.[N]?.videoMobile?.video?.streamingUrl,"video-hero"):D.current=_.getHLSVideo.call(D.current,eC?.[N]?.video?.video?.streamingUrl,"video-hero"))},[N,eC,a.bp.md]),eE=(0,g.useCallback)(()=>{eC&&A(N!==eC?.length-1?N+1:0),eC?.length===1&&eI()},[N]),e$=(0,g.useCallback)(e=>{e.target.currentTime>(eC?.[N]?.video?.video?.duration||0)-1?z(!0):z(!1)},[N]);return(0,g.useEffect)(()=>{if(!(eC[N]?.videoExternal&&eC[N]?.videoMobileExternal)){let e=C.current,t=j.current;return e?.pause(),t?.pause(),e?.load(),t?.load(),eI(),e?.play(),t?.play(),e?.addEventListener("ended",eE),e?e?.addEventListener("timeupdate",e$):z(!1),t?.addEventListener("ended",eE),t?t?.addEventListener("timeupdate",e$):z(!1),()=>{e?.removeEventListener("ended",eE),e?e?.removeEventListener("timeupdate",e$):z(!1),t?.removeEventListener("ended",eE),t?t?.removeEventListener("timeupdate",e$):z(!1)}}},[N,q]),(0,g.useEffect)(()=>{n(l>=h?"bottom":"top"),-1!==l?(b(L.current[l].offsetTop),T&&T.current&&m(T.current.clientHeight)):eI(),c(l)},[l]),(0,g.useEffect)(()=>{let e=["mouseenter","focusin"];if(window.innerWidth>=a.bp.md){let t=L.current.map((t,i)=>{let n=()=>d(i);return e.forEach(e=>t?.addEventListener(e,n)),{item:t,handler:n}});return()=>{t.forEach(({item:t,handler:i})=>{e.forEach(e=>t?.removeEventListener(e,i))})}}},[L,a.bp.md]),(0,g.useEffect)(()=>(H?.current&&H.current.addEventListener("mouseleave",()=>d(-1)),()=>{H?.current&&H.current.removeEventListener("mouseleave",()=>d(-1))}),[H]),(0,g.useEffect)(()=>{/Android.+Firefox\//.test(navigator.userAgent)&&k.current&&window.innerWidth<650&&k.current.setAttribute("style",`height: ${window.innerHeight-112}px`)},[k]),(0,p.jsx)(p.Fragment,{children:(0,p.jsx)(Q,{ref:k,children:(0,p.jsxs)(Z,{children:[(0,p.jsxs)(K,{children:[q?(0,p.jsx)(G,{children:(0,p.jsx)(et,{src:q.url,alt:q.alt,fit:"crop",layout:"cover",noLazy:!0},`HeroImage${l}`)}):(0,p.jsxs)(J,{...eS,children:[((e,t,i,n,r,s,o)=>{if(Array.isArray(e)&&e.length>0&&"video_slide"===e[n]._modelApiKey){let a=(0,p.jsx)(g.Fragment,{children:(0,p.jsxs)(ee,{visible:r,children:[(0,p.jsx)(I.MediumMax,{children:(0,p.jsx)(Y,{videoRef:i,thumbnail:e[n]?.videoMobile?.video?.thumbnailUrl+"?time=0&width=750",streamingUrl:e[n]?.videoMobile?.video?.streamingUrl||"",externalStreamingUrl:e[n]?.videoMobileExternal?.url||"",incrementCurrentIndex:o,setOverlayVisible:s})}),(0,p.jsx)(I.Medium,{children:(0,p.jsx)(Y,{videoRef:t,thumbnail:e[n]?.video?.video?.thumbnailUrl+"?time=0&width=1440",streamingUrl:e[n]?.video?.video?.streamingUrl||"",externalStreamingUrl:e[n]?.videoExternal?.url||"",incrementCurrentIndex:o,setOverlayVisible:s})})]})},n);return e[n].link?(0,p.jsx)(ew,{href:e[n].link,title:e[n].title,noHover:!0,plain:!0,children:a}):(0,p.jsx)(ev,{children:a})}if(Array.isArray(e)&&e.length>0&&"image_slide"===e[n]._modelApiKey){let t=(0,p.jsxs)(ee,{visible:r,children:[(0,p.jsx)(et,{src:e[n].desktopImage.url,alt:e[n].desktopImage.alt,layout:"cover",fit:"crop",desktop:!0}),(0,p.jsx)(et,{src:e[n].mobileImage.url,alt:e[n].mobileImage.alt,layout:"cover",fit:"crop",mobile:!0})]});return e[n].link?(0,p.jsx)(ew,{href:e[n].link,title:e[n].title,noHover:!0,plain:!0,children:t}):(0,p.jsx)(ev,{children:t})}})(eC,C,j,N,P,z,eE),(0,p.jsx)(eb,{children:eC.map((e,t)=>{let i=N===t,n=((e,t,i)=>{let n=(0,$.getAccessibilityLabel)("slide_n",i??"cs",{n:t+1});if(!e)return n;let{title:r}=e;return r||("desktopImage"in e&&e.desktopImage?.alt?e.desktopImage.alt:"mobileImage"in e&&e.mobileImage?.alt?e.mobileImage.alt:n)})(e,t,o);return(0,p.jsx)(e_,{onClick:()=>ej(t),disabled:i||P,"aria-label":n,title:n,children:(0,p.jsx)(ey,{active:i})},t)})})]}),(0,p.jsx)(I.Small,{children:(0,p.jsx)(eg,{type:"gold",onClick:()=>{k.current&&window.scroll({top:k.current?.clientHeight+120,left:0,behavior:"smooth"})},children:t})})]}),(0,p.jsxs)(eu,{ref:H,parallaxDirection:i,children:[(0,p.jsxs)(ei,{ref:T,children:[-1!==l&&(0,p.jsx)(ef,{lh:w,posY:u-w-8}),e.ensembleSlides?.map((e,t)=>((e,t,i,n,r,s)=>{if(!t?.ensemble)return(0,p.jsx)("div",{});let o=t.ensemble.genre?.codename||"drama",a=(0,v.resolveEnsembleStyle)(o,n.color);return t.ensemble.page?(0,p.jsx)(en,{tabIndex:0,onFocus:()=>{window.innerWidth>=n.bp.md&&s?.(e)},ref:t=>{t&&(i.current[e]=t)},children:(0,p.jsxs)(ex,{href:`${r}/${t.ensemble.page.url}`,plain:!0,children:[a&&(0,p.jsx)(y.Icon,{name:a.icon,color:a.color}),(0,p.jsx)(er,{children:(0,X.nbsp)(t.ensemble.shortTitle)})]})},`heroSlider_${o}`):null})(t,e,L,a,o,d))]}),e?.ensembleSlides&&(0,p.jsx)(O.CSSTransition,{nodeRef:M,in:-1!==l,timeout:1e4,mountOnEnter:!0,unmountOnExit:!0,classNames:"fade-slow",children:(0,p.jsx)(ep,{ref:M,children:(0,p.jsx)(ec,{slideTo:l,children:e.ensembleSlides.map((t,i)=>(0,p.jsx)(eh,{children:((e,t,i,n,r)=>{if(!e?.ensemble)return(0,p.jsx)("div",{});let s=e.ensemble.genre?.codename||"drama",o=(0,v.resolveEnsembleStyle)(s,i.color);return(0,p.jsxs)(ed,{activeItem:s,children:[(0,p.jsxs)(el,{children:[(0,p.jsx)(es,{size:"lg",tag:"h2",marginBottom:"lg",color:"white",children:e.ensemble.shortTitle}),(0,p.jsxs)(eo,{children:[n&&n.title&&e.ensemble.genre&&(0,p.jsx)(ea,{highlighted:!0,children:(0,p.jsx)(x.Link,{noHover:!0,page:n,params:{g:e.ensemble.genre.id},children:n.title})}),r&&r.title&&e.ensemble.genre&&(0,p.jsx)(ea,{children:(0,p.jsx)(x.Link,{page:r,params:{g:e.ensemble.genre.id},children:r.title})}),t&&e.ensemble.page&&(0,p.jsx)(ea,{children:(0,p.jsx)(x.Link,{page:e.ensemble.page,children:t})})]})]}),o&&(0,p.jsx)(em,{name:o.icon,color:o.color})]})})(t,e.ensembleLinkText,a,r,s)},`HeroSubnav_${i}`))})})})]})]})})})};var ej=e.i(885791),eS=e.i(600685),eI=function(e){this.startX=e.startX,this.startY=e.startY,this.endX=e.endX,this.endY=e.endY,this.totalX=this.endX-this.startX,this.totalY=this.endY-this.startY,this.startMultiplierX=e.startMultiplierX||1,this.endMultiplierX=e.endMultiplierX||1,this.startMultiplierY=e.startMultiplierY||1,this.endMultiplierY=e.endMultiplierY||1};function eE(){return(eE=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(this,arguments)}(t=o||(o={})).speed="speed",t.translateX="translateX",t.translateY="translateY",t.rotate="rotate",t.rotateX="rotateX",t.rotateY="rotateY",t.rotateZ="rotateZ",t.scale="scale",t.scaleX="scaleX",t.scaleY="scaleY",t.scaleZ="scaleZ",t.opacity="opacity",(i=a||(a={})).px="px",i["%"]="%",i.vh="vh",i.vw="vw",(n=l||(l={})).deg="deg",n.turn="turn",n.rad="rad",(d||(d={}))[""]="",(r=h||(h={})).vertical="vertical",r.horizontal="horizontal",(s=c||(c={})).ease="ease",s.easeIn="easeIn",s.easeOut="easeOut",s.easeInOut="easeInOut",s.easeInQuad="easeInQuad",s.easeInCubic="easeInCubic",s.easeInQuart="easeInQuart",s.easeInQuint="easeInQuint",s.easeInSine="easeInSine",s.easeInExpo="easeInExpo",s.easeInCirc="easeInCirc",s.easeOutQuad="easeOutQuad",s.easeOutCubic="easeOutCubic",s.easeOutQuart="easeOutQuart",s.easeOutQuint="easeOutQuint",s.easeOutSine="easeOutSine",s.easeOutExpo="easeOutExpo",s.easeOutCirc="easeOutCirc",s.easeInOutQuad="easeInOutQuad",s.easeInOutCubic="easeInOutCubic",s.easeInOutQuart="easeInOutQuart",s.easeInOutQuint="easeInOutQuint",s.easeInOutSine="easeInOutSine",s.easeInOutExpo="easeInOutExpo",s.easeInOutCirc="easeInOutCirc",s.easeInBack="easeInBack",
404s.easeOutBack="easeOutBack",s.easeInOutBack="easeInOutBack";var e$=0,eO=function(){function e(e){var t=e.el.getBoundingClientRect();if(e.view.scrollContainer){var i=e.view.scrollContainer.getBoundingClientRect();t=eE({},t,{top:t.top-i.top,right:t.right-i.left,bottom:t.bottom-i.top,left:t.left-i.left})}this.height=e.el.offsetHeight,this.width=e.el.offsetWidth,this.left=t.left,this.right=t.right,this.top=t.top,this.bottom=t.bottom,e.rootMargin&&this._setRectWithRootMargin(e.rootMargin)}return e.prototype._setRectWithRootMargin=function(e){var t=e.top+e.bottom,i=e.left+e.right;this.top-=e.top,this.right+=e.right,this.bottom+=e.bottom,this.left-=e.left,this.height+=t,this.width+=i},e}(),ek=[d[""],a.px,a["%"],a.vh,a.vw,l.deg,l.turn,l.rad];function eT(e,t){void 0===t&&(t=a["%"]);var i={value:0,unit:t};if(void 0===e)return i;if("number"!=typeof e&&"string"!=typeof e)throw Error("Invalid value provided. Must provide a value as a string or number");if(i.value=parseFloat(e=String(e)),i.unit=e.match(/[\d.\-+]*\s*(.*)/)[1]||t,!ek.includes(i.unit))throw Error("Invalid unit provided.");return i}var eH={ease:[.25,.1,.25,1],easeIn:[.42,0,1,1],easeOut:[0,0,.58,1],easeInOut:[.42,0,.58,1],easeInQuad:[.55,.085,.68,.53],easeInCubic:[.55,.055,.675,.19],easeInQuart:[.895,.03,.685,.22],easeInQuint:[.755,.05,.855,.06],easeInSine:[.47,0,.745,.715],easeInExpo:[.95,.05,.795,.035],easeInCirc:[.6,.04,.98,.335],easeOutQuad:[.25,.46,.45,.94],easeOutCubic:[.215,.61,.355,1],easeOutQuart:[.165,.84,.44,1],easeOutQuint:[.23,1,.32,1],easeOutSine:[.39,.575,.565,1],easeOutExpo:[.19,1,.22,1],easeOutCirc:[.075,.82,.165,1],easeInOutQuad:[.455,.03,.515,.955],easeInOutCubic:[.645,.045,.355,1],easeInOutQuart:[.77,0,.175,1],easeInOutQuint:[.86,0,.07,1],easeInOutSine:[.445,.05,.55,.95],easeInOutExpo:[1,0,0,1],easeInOutCirc:[.785,.135,.15,.86],easeInBack:[.6,-.28,.735,.045],easeOutBack:[.175,.885,.32,1.275],easeInOutBack:[.68,-.55,.265,1.55]};function eM(e){if(Array.isArray(e))return(0,eS.default)(e[0],e[1],e[2],e[3]);if("string"==typeof e&&void 0!==eH[e]){var t=eH[e];return(0,eS.default)(t[0],t[1],t[2],t[3])}}var eL=Object.values(o),eN={speed:"px",translateX:"%",translateY:"%",rotate:"deg",rotateX:"deg",rotateY:"deg",rotateZ:"deg",scale:"",scaleX:"",scaleY:"",scaleZ:"",opacity:""};function eA(e,t){var i={};return eL.forEach(function(n){var r=eN[n];if("number"==typeof(null==e?void 0:e[n])){var s=null==e?void 0:e[n],o=eT(10*(s||0)+"px"),a=eT(-10*(s||0)+"px"),l={start:o.value,end:a.value,unit:o.unit};t===h.vertical&&(i.translateY=l),t===h.horizontal&&(i.translateX=l)}if(Array.isArray(null==e?void 0:e[n])){var d=null==e?void 0:e[n];if(void 0!==d[0]&&void 0!==d[1]){var c=eT(null==d?void 0:d[0],r),p=eT(null==d?void 0:d[1],r),u=eM(null==d?void 0:d[2]);if(i[n]={start:c.value,end:p.value,unit:c.unit,easing:u},c.unit!==p.unit)throw Error("Must provide matching units for the min and max offset values of each axis.")}}}),i}function eP(e,t,i,n){var r=(i-e)/t;return n&&(r=n(r)),r}function ez(e,t){var i,n;return{value:(i="function"==typeof e.easing?e.easing(t):t,n=(null==e?void 0:e.start)||0,(((null==e?void 0:e.end)||0)-n)*(i-0)/1+n),unit:null==e?void 0:e.unit}}var eq=Object.values(o).filter(function(e){return"opacity"!==e});function eY(e){var t=e.el;t&&(t.style.transform="",t.style.opacity="")}function eX(e,t,i){return Math.max(i/(i+(Math.abs(e)+Math.abs(t))*(t>e?-1:1)),1)}function eR(e,t){var i=e.start,n=e.end,r=e.unit;if("%"===r){var s=t/100;i*=s,n*=s}if("vw"===r){var o=i/100,a=n/100;i=window.innerWidth*o,n=window.innerWidth*a}if("vh"===r){var l=i/100,d=n/100;i=window.innerHeight*l,n=window.innerHeight*d}return{start:i,end:n}}var eB={start:0,end:0,unit:""},eW=function(e,t,i){return Math.min(Math.max(e,t),i)},eF=function(){function e(e){var t,i;this.el=e.el,this.props=e.props,this.scrollAxis=e.scrollAxis,this.disabledParallaxController=e.disabledParallaxController||!1,this.id=++e$,this.effects=eA(this.props,this.scrollAxis),this.isInView=null,this.progress=0,this._setElementEasing(e.props.easing),t=e.el,i=Object.keys(this.effects).includes("opacity"),t.style.willChange="transform"+(i?",opacity":"")}var t=e.prototype;return t.updateProps=function(e){return this.props=eE({},this.props,e),this.effects=eA(e,this.scrollAxis),this._setElementEasing(e.easing),this},t.setCachedAttributes=function(e,t){eY(this),this.rect=new eO({el:this.props.targetElement||this.el,rootMargin:this.props.rootMargin,view:e});var i,n,r,s,o,a,l,d,c,p,u,m,g=(i=this.props,n=this.effects,r=this.scrollAxis,!i.rootMargin&&!i.targetElement&&!i.shouldDisableScalingTranslations&&(!!n.translateX&&r===h.horizontal||!!n.translateY&&r===h.vertical));return"number"==typeof this.props.startScroll&&"number"==typeof this.props.endScroll?(this.limits=new eI({startX:this.props.startScroll,startY:this.props.startScroll,endX:this.props.endScroll,endY:this.props.endScroll}),this._setElementStyles(),this):(g?(this.limits=function(e,t,i,n,r,s){var o=i.translateX||eB,a=i.translateY||eB,l=eR(o,e.width),d=l.start,c=l.end,p=eR(a,e.height),u=p.start,m=p.end,g=e.top-t.height,f=e.left-t.width,x=e.bottom,w=e.right,v=1,b=1;r===h.vertical&&(b=v=eX(u,m,t.height+e.height));var y=1,_=1;if(r===h.horizontal&&(_=y=eX(d,c,t.width+e.width)),u<0&&(g+=u*v),m>0&&(x+=m*b),d<0&&(f+=d*y),c>0&&(w+=c*_),f+=n.x,w+=n.x,g+=n.y,x+=n.y,s){var C=n.y+e.top<t.height,j=n.x+e.left<t.width,S=n.y+e.bottom>t.scrollHeight-t.height,I=n.x+e.right>t.scrollWidth-t.height;C&&S&&(v=1,b=1,g=0,x=t.scrollHeight-t.height),j&&I&&(y=1,_=1,f=0,w=t.scrollWidth-t.width),!C&&S&&(g=e.top-t.height+n.y,v=eX(u,m,(x=t.scrollHeight-t.height)-g),b=1,u<0&&(g+=u*v)),!j&&I&&(f=e.left-t.width+n.x,y=eX(d,c,(w=t.scrollWidth-t.width)-f),_=1,d<0&&(f+=d*y)),C&&!S&&(g=0,v=1,b=eX(u,m,(x=e.bottom+n.y)-g),m>0&&(x+=m*b)),j&&!I&&(f=0,y=1,_=eX(d,c,(w=e.right+n.x)-f),c>0&&(w+=c*_))}return new eI({startX:f,startY:g,endX:w,endY:x,startMultiplierX:y,endMultiplierX:_,startMultiplierY:v,endMultiplierY:b})}(this.rect,e,this.effects,t,this.scrollAxis,this.props.shouldAlwaysCompleteAnimation),this.scaledEffects=(s=this.effects,o=this.limits,(a=eE({},s)).translateX&&(a.translateX=eE({},s.translateX,{start:a.translateX.start*o.startMultiplierX,end:a.translateX.end*o.endMultiplierX})),a.translateY&&(a.translateY=eE({},s.translateY,{start:a.translateY.start*o.startMultiplierY,end:a.translateY.end*o.endMultiplierY})),a)):this.limits=(l=this.rect,d=this.props.shouldAlwaysCompleteAnimation,c=l.top-e.height,p=l.left-e.width,u=l.bottom,m=l.right,p+=t.x,m
404+=t.x,c+=t.y,u+=t.y,d&&(t.y+l.top<e.height&&(c=0),t.x+l.left<e.width&&(p=0),u>e.scrollHeight-e.height&&(u=e.scrollHeight-e.height),m>e.scrollWidth-e.width&&(m=e.scrollWidth-e.width)),new eI({startX:p,startY:c,endX:m,endY:u})),this._setElementStyles(),this)},t._updateElementIsInView=function(e){var t=null===this.isInView;e!==this.isInView&&(e?this.props.onEnter&&this.props.onEnter(this):!t&&(this._setFinalProgress(),this._setElementStyles(),this.props.onExit&&this.props.onExit(this))),this.isInView=e},t._setFinalProgress=function(){var e=eW(Math.round(this.progress),0,1);this._updateElementProgress(e)},t._setElementStyles=function(){this.props.disabled||this.disabledParallaxController||function(e,t,i){if(i){var n,r,s,o,a,l=(n=e,r=t,eq.reduce(function(e,t){var i=n[t]&&ez(n[t],r);return void 0===i||void 0===i.value||void 0===i.unit?e:e+(t+"("+i.value+i.unit)+")"},"")),d=(s=e,o=t,void 0===(a=s.opacity&&ez(s.opacity,o))||void 0===a.value||void 0===a.unit?"":""+a.value);i.style.transform=l,i.style.opacity=d}}(this.scaledEffects||this.effects,this.progress,this.el)},t._updateElementProgress=function(e){this.progress=e,this.props.onProgressChange&&this.props.onProgressChange(this.progress),this.props.onChange&&this.props.onChange(this)},t._setElementEasing=function(e){this.easing=eM(e)},t.updateElementOptions=function(e){this.scrollAxis=e.scrollAxis,this.disabledParallaxController=e.disabledParallaxController||!1},t.updatePosition=function(e){if(!this.limits)return this;var t=this.scrollAxis===h.vertical,i=null===this.isInView,n=t?this.limits.startY:this.limits.startX,r=t?this.limits.endY:this.limits.endX,s=t?this.limits.totalY:this.limits.totalX,o=t?e.y:e.x,a=o>=n&&o<=r;if(this._updateElementIsInView(a),a){var l=eP(n,s,o,this.easing);this._updateElementProgress(l),this._setElementStyles()}else i&&(this.progress=eW(Math.round(eP(n,s,o,this.easing)),0,1),this._setElementStyles());return this},e}(),eU=function(){function e(e){this.scrollContainer=e.scrollContainer,this.width=e.width,this.height=e.height,this.scrollHeight=e.scrollHeight,this.scrollWidth=e.scrollWidth}var t=e.prototype;return t.hasChanged=function(e){return e.width!==this.width||e.height!==this.height||e.scrollWidth!==this.scrollWidth||e.scrollHeight!==this.scrollHeight},t.setSize=function(e){return this.width=e.width,this.height=e.height,this.scrollHeight=e.scrollHeight,this.scrollWidth=e.scrollWidth,this},e}(),eV=function(){function e(e,t){this.x=e,this.y=t,this.dx=0,this.dy=0}return e.prototype.setScroll=function(e,t){return this.dx=e-this.x,this.dy=t-this.y,this.x=e,this.y=t,this},e}(),eD=function(){function e(e){var t=e.scrollAxis,i=void 0===t?h.vertical:t,n=e.scrollContainer,r=e.disabled;this.disabled=void 0!==r&&r,this.scrollAxis=i,this.elements=[],this._hasScrollContainer=!!n,this.viewEl=null!=n?n:window;var s=this._getScrollPosition(),o=s[0],a=s[1];this.scroll=new eV(o,a),this.view=new eU({width:0,height:0,scrollWidth:0,scrollHeight:0,scrollContainer:this._hasScrollContainer?n:void 0}),this._ticking=!1,this._supportsPassive=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){return e=!0,!0}});window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(e){}return e}(),this._bindAllMethods(),this.disabled||(this._addListeners(this.viewEl),this._addResizeObserver(),this._setViewSize())}e.init=function(t){if(!("u">typeof window))throw Error("Looks like ParallaxController.init() was called on the server. This method must be called on the client.");return new e(t)};var t=e.prototype;return t._bindAllMethods=function(){var e=this;["_addListeners","_removeListeners","_getScrollPosition","_handleScroll","_handleUpdateCache","_updateAllElements","_updateElementPosition","_setViewSize","_addResizeObserver","_checkIfViewHasChanged","_getViewParams","getElements","createElement","removeElementById","resetElementStyles","updateElementPropsById","update","updateScrollContainer","destroy"].forEach(function(t){e[t]=e[t].bind(e)})},t._addListeners=function(e){e.addEventListener("scroll",this._handleScroll,!!this._supportsPassive&&{passive:!0}
404),window.addEventListener("resize",this._handleUpdateCache,!1),window.addEventListener("blur",this._handleUpdateCache,!1),window.addEventListener("focus",this._handleUpdateCache,!1),window.addEventListener("load",this._handleUpdateCache,!1)},t._removeListeners=function(e){var t;e.removeEventListener("scroll",this._handleScroll,!1),window.removeEventListener("resize",this._handleUpdateCache,!1),window.removeEventListener("blur",this._handleUpdateCache,!1),window.removeEventListener("focus",this._handleUpdateCache,!1),window.removeEventListener("load",this._handleUpdateCache,!1),null==(t=this._resizeObserver)||t.disconnect()},t._addResizeObserver=function(){var e=this;try{var t=this._hasScrollContainer?this.viewEl:document.documentElement;this._resizeObserver=new ResizeObserver(function(){return e.update()}),this._resizeObserver.observe(t)}catch(e){console.warn("Failed to create the resize observer in the ParallaxContoller")}},t._getScrollPosition=function(){return[this._hasScrollContainer?this.viewEl.scrollLeft:window.pageXOffset,this._hasScrollContainer?this.viewEl.scrollTop:window.pageYOffset]},t._handleScroll=function(){var e,t=this._getScrollPosition(),i=t[0],n=t[1];this.scroll.setScroll(i,n),!this._ticking&&(null==(e=this.elements)?void 0:e.length)>0&&(this._ticking=!0,window.requestAnimationFrame(this._updateAllElements))},t._handleUpdateCache=function(){this._setViewSize(),this._updateAllElements({updateCache:!0})},t._updateAllElements=function(e){var t=this,i=(void 0===e?{}:e).updateCache;this.elements&&this.elements.forEach(function(e){i&&e.setCachedAttributes(t.view,t.scroll),t._updateElementPosition(e)}),this._ticking=!1},t._updateElementPosition=function(e){e.props.disabled||this.disabled||e.updatePosition(this.scroll)},t._getViewParams=function(){if(this._hasScrollContainer){var e=this.viewEl.offsetWidth,t=this.viewEl.offsetHeight,i=this.viewEl.scrollHeight,n=this.viewEl.scrollWidth;return this.view.setSize({width:e,height:t,scrollHeight:i,scrollWidth:n})}var r=document.documentElement;return{width:window.innerWidth||r.clientWidth,height:window.innerHeight||r.clientHeight,scrollHeight:r.scrollHeight,scrollWidth:r.scrollWidth}},t._setViewSize=function(){return this.view.setSize(this._getViewParams())},t._checkIfViewHasChanged=function(){return this.view.hasChanged(this._getViewParams())},t.getElements=function(){return this.elements},t.createElement=function(e){var t=new eF(eE({},e,{scrollAxis:this.scrollAxis,disabledParallaxController:this.disabled}));return t.setCachedAttributes(this.view,this.scroll),this.elements=this.elements?[].concat(this.elements,[t]):[t],this._updateElementPosition(t),this._checkIfViewHasChanged()&&this.update(),t},t.removeElementById=function(e){this.elements&&(this.elements=this.elements.filter(function(t){return t.id!==e}))},t.updateElementPropsById=function(e,t){this.elements&&(this.elements=this.elements.map(function(i){return i.id===e?i.updateProps(t):i})),this.update()},t.resetElementStyles=function(e){eY(e)},t.update=function(){var e=this._getScrollPosition(),t=e[0],i=e[1];this.scroll.setScroll(t,i),this._setViewSize(),this._updateAllElements({updateCache:!0})},t.updateScrollContainer=function(e){this._removeListeners(this.viewEl),this.viewEl=e,this._hasScrollContainer=!!e,this.view=new eU({width:0,height:0,scrollWidth:0,scrollHeight:0,scrollContainer:e}),this._setViewSize(),this._addListeners(this.viewEl),this._updateAllElements({updateCache:!0})},t.disableParallaxController=function(){this.disabled=!0,this._removeListeners(this.viewEl),this.elements&&this.elements.forEach(function(e){return eY(e)})},t.enableParallaxController=function(){var e=this;this.disabled=!1,this.elements&&this.elements.forEach(function(t){return t.updateElementOptions({disabledParallaxController:!1,scrollAxis:e.scrollAxis})}),this._addListeners(this.viewEl),this._addResizeObserver(),this._setViewSize()},t.disableAllElements=function(){console.warn("deprecated: use disableParallaxController() instead"),this.elements&&(this.elements=this.elements.map(function(e){return e.updateProps({disabled:!0})})),this.update()},t.enableAllElements=function(){console.warn("deprecated: use enableParallaxController() instead"),this.elements&&(this.elements=this.elements.map(function(e){return e.updateProps({disabled:!1})})),this.update()},t.destroy=function(){this._removeListeners(this.viewEl),this.elements&&this.elements.forEac
404h(function(e){return eY(e)}),this.elements=void 0},e}();function eQ(e){var t;let{disabled:i,easing:n,endScroll:r,onChange:s,onEnter:o,onExit:a,onProgressChange:l,opacity:d,rootMargin:h,rotate:c,rotateX:p,rotateY:u,rotateZ:m,scale:g,scaleX:f,scaleY:x,scaleZ:w,shouldAlwaysCompleteAnimation:v,shouldDisableScalingTranslations:b,speed:y,startScroll:_,targetElement:C,translateX:j,translateY:S,...I}=e;return{parallaxProps:(Object.keys(t={disabled:i,easing:n,endScroll:r,onChange:s,onEnter:o,onExit:a,onProgressChange:l,opacity:d,rootMargin:h,rotate:c,rotateX:p,rotateY:u,rotateZ:m,scale:g,scaleX:f,scaleY:x,scaleZ:w,shouldAlwaysCompleteAnimation:v,shouldDisableScalingTranslations:b,speed:y,startScroll:_,targetElement:C,translateX:j,translateY:S}).forEach(e=>void 0===t[e]&&delete t[e]),t),rest:I}}let eZ=g.default.createContext(null);function eK(e){let{parallaxProps:t,rest:i}=eQ(e),{ref:n}=function(e){let t=function(){let e=(0,g.useContext)(eZ);if("u"<typeof window)return null;if(!e)throw Error("Could not find `react-scroll-parallax` context value. Please ensure the component is wrapped in a <ParallaxProvi
404der>");return e}(),i=(0,g.useRef)(null),{parallaxProps:n}=eQ(e);(0,g.useEffect)(()=>{let e=t instanceof eD;if(!("u"<typeof window)&&!t&&!e)throw Error("Must wrap your application's <Parallax /> components in a <ParallaxProvider />.")},[t]);let[r,s]=(0,g.useState)();return(0,g.useEffect)(()=>{let e;if(i.current instanceof HTMLElement){let r={el:i.current,props:n};s(e=null==t?void 0:t.createElement(r))}else throw Error("You must assign the ref returned by the useParallax() hook to an HTML Element.");return()=>{e&&(null==t||t.removeElementById(e.id))}},[]),(0,g.useEffect)(()=>{r&&(e.disabled&&(null==t||t.resetElementStyles(r)),null==t||t.updateElementPropsById(r.id,n))},[e.disabled,e.easing,e.endScroll,e.onChange,e.onEnter,e.onExit,e.onProgressChange,e.opacity,e.rootMargin,e.rotate,e.rotateX,e.rotateY,e.rotateZ,e.scale,e.scaleX,e.scaleY,e.scaleZ,e.shouldAlwaysCompleteAnimation,e.shouldDisableScalingTranslations,e.speed,e.startScroll,e.targetElement,e.translateX,e.translateY]),{ref:i,controller:t,element:r}}(t);return g.default.createElement("div",{ref:n,...i},e.children)}function eG(e){var t;let i=(0,g.useRef)(null);return i.current||(t={scrollAxis:e.scrollAxis||h.vertical,scrollContainer:e.scrollContainer,disabled:e.isDisabled},i.current="u">typeof window?eD.init(t):null),(0,g.useEffect)(()=>{e.scrollContainer&&i.current&&i.current.updateScrollContainer(e.scrollContainer)},[e.scrollContainer]),(0,g.useEffect)(()=>{e.isDisabled&&i.current&&i.current.disableParallaxController(),!e.isDisabled&&i.current&&i.current.enableParallaxController()},[e.isDisabled]),(0,g.useEffect)(()=>()=>{var e;null==i||null==(e=i.current)||e.destroy()},[]),g.default.createElement(eZ.Provider,{value:i.current},e.children)}let eJ=["disabled","easing","endScroll","onChange","onEnter","onExit","onProgressChange","opacity","rootMargin","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","shouldAlwaysCompleteAnimation","shouldDisableScalingTranslations","speed","startScroll","targetElement","translateX","translateY"],e0=["zIndex"],e1=e=>{let t=window.setTimeout(e,0);return()=>window.clearTimeout(t)},e5=()=>!0,e2=()=>!1,e4=g.default.createContext(!1),e7=({children:e})=>(0,g.useSyncExternalStore)(e1,e5,e2)?(0,p.jsx)(e4.Provider,{value:!0,children:(0,p.jsx)(eG,{children:e})}):(0,p.jsx)(e4.Provider,{value:!1,children:e}),e3=e=>(0,g.useContext)(e4)?(0,p.jsx)(eK,{...(e=>{let t={...e};for(let e of(delete t.children,e0))delete t[e];return t})(e),children:e.children}):(0,p.jsx)("div",{...(e=>{let t={...e};for(let e of(delete t.children,eJ))delete t[e];for(let e of e0)delete t[e];return t})(e),children:e.children}),e6=(0,f.default)(C.Button).withConfig({displayName:"Repertoire__StyledButton",componentId:"sc-8b731098-0"})` 405 align-self: unset; 406 position: relative; 407 z-index: 2; 408 /* margin-top: ${e=>e.theme.gap.md}; */ 409 410 ${j.mq.sm} { 411 align-self: center; 412 } 413`,e8=(0,f.default)(u.Col).withConfig({displayName:"Repertoire__StyledCol",componentId:"sc-8b731098-1"})``,e9=f.default.div.withConfig({displayName:"Repertoire__BoxWrapper",componentId:"sc-8b731098-2"})` 414 width: 100%; 415 position: relative; 416 display: flex; 417`,te=f.default.div.withConfig({displayName:"Repertoire__Box",componentId:"sc-8b731098-3"})` 418 position: relative; 419 display: flex; 420 flex-direction: column; 421 align-items: flex-end; 422 justify-content: flex-end; 423 width: 100%; 424 height: 460px; 425 margin-top: 84px; 426 margin-bottom: 40px; 427 padding: 32px 16px; 428 background-color: ${({theme:e,bgcolor:t})=>"red"===t?e.color.red:"green"===t?e.color.green:"blue"===t?e.color.blue:"yellow"===t?e.color.yellow:t||"transparent"}; 429 overflow: hidden; 430 431 ${j.mq.sm} { 432 align-items: flex-start; 433 justify-content: center; 434 width: 80%; 435 height: 480px; 436 /* height: 100%; */ 437 margin: 0; 438 padding: 0; 439 } 440 441 ${j.mq.lg} { 442 height: 540px; 443 } 444 445 ${j.mq.xlg} { 446 height: 700px; 447 } 448`,tt=f.default.div.withConfig({displayName:"Repertoire__ImageWrapper",componentId:"sc-8b731098-4"})` 449 display: flex; 450 align-items: flex-start; 451 width: 272px; 452 position: absolute; 453 /* top: 0; */ 454 z-index: 1; 455 box-shadow: 0 10px 54px -20px rgba(0, 0, 0, 0.5); 456 457 img { 458 width: 100%; 459 } 460 461 ${j.mq.sm} { 462 width: 260px; 463 height: auto; 464 /* top: auto; 465 left: auto; */ 466 overflow: hidden; 467 } 468 469 ${j.mq.md} { 470 width: 260px; 471 } 472 473 ${j.mq.lg} { 474 width: 360px; 475 } 476 477 ${j.mq.xlg} { 478 width: 420px; 479 } 480`,ti=(0,f.default)(e3).withConfig({displayName:"Repertoire__BoxBackgroun
480dParallax",componentId:"sc-8b731098-5"})` 481 position: absolute; 482 width: 130%; 483 height: 130%; 484 left: -15%; 485 top: -15%; 486`,tn=(0,f.default)(e3).withConfig({displayName:"Repertoire__ImageWrapperParallax",componentId:"sc-8b731098-6"})` 487 display: flex; 488 justify-content: flex-start; 489 position: absolute; 490 width: 100%; 491 height: 100%; 492 left: 0; 493 top: 0; 494 z-index: 1; 495`,tr=f.default.div.withConfig({displayName:"Repertoire__Wrapper",componentId:"sc-8b731098-7"})` 496 display: flex; 497 flex-direction: row; 498 flex-wrap: wrap; 499 justify-content: space-between; 500 position: relative; 501 width: 100vw; 502 left: 50%; 503 transform: translateX(-50%); 504 505 ${e8} { 506 &:nth-child(even) { 507 ${te} { 508 align-items: flex-end; 509 } 510 ${tt} { 511 right: 16px; 512 } 513 ${tn} { 514 justify-content: flex-end; 515 } 516 ${e6} { 517 align-self: flex-end; 518 justify-self: flex-end; 519 top: -8rem; 520 right: 1rem; 521 } 522 } 523 &:nth-child(odd) { 524 ${te} { 525 align-items: flex-start; 526 } 527 ${tt} { 528 left: 16px; 529 } 530 ${tn} { 531 justify-content: flex-start; 532 } 533 ${e6} { 534 align-self: flex-end; 535 top: -8rem; 536 left: 1rem; 537 } 538 } 539 } 540 541 ${j.mq.sm} { 542 ${e8} { 543 &:nth-child(1) { 544 ${e9} { 545 margin-top: 40px; 546 } 547 ${tt} { 548 top: -40px; 549 } 550 ${e6} { 551 top: -5rem; 552 left: -6rem; 553 } 554 } 555 &:nth-child(2) { 556 ${tt} { 557 bottom: -16px; 558 } 559 ${e6} { 560 top: 5rem; 561 left: 6.5rem; 562 } 563 } 564 &:nth-child(3) { 565 ${tt} { 566 top: -16px; 567 } 568 ${e6} { 569 top: -4.5rem; 570 left: -6.8rem; 571 } 572 } 573 &:nth-child(4) { 574 ${e9} { 575 margin-top: -40px; 576 } 577 ${tt} { 578 bottom: -40px; 579 } 580 ${e6} { 581 top: 6.5rem; 582 left: 6.5rem; 583 } 584 } 585 &:nth-child(odd) { 586 ${te} { 587 padding-left: 32px; 588 } 589 ${e9} { 590 justify-content: flex-start; 591 } 592 ${tn} { 593 justify-content: flex-end; 594 } 595 ${tt} { 596 right: 8px; 597 left: auto; 598 } 599 } 600 &:nth-child(even) { 601 display: flex; 602 justify-content: flex-end; 603 ${e9} { 604 justify-content: flex-end; 605 } 606 ${te} { 607 padding-right: 32px; 608 align-items: flex-end; 609 } 610 ${tt} { 611 left: 8px; 612 } 613 ${tn} { 614 justify-content: flex-start; 615 } 616 ${e6} { 617 align-self: flex-start; 618 } 619 } 620 } 621 } 622 623 ${j.mq.md} { 624 ${e8} { 625 &:nth-child(even) { 626 ${tt} { 627 left: 10%; 628 } 629 ${e6} { 630 right: unset; 631 left: calc(10% + 260px); 632 transform: translateX(-100%); 633 } 634 } 635 636 &:nth-child(odd) { 637 ${tt} { 638 right: 10%; 639 } 640 ${e6} { 641 left: unset; 642 right: calc(10% + 260px); 643 transform: translateX(100%); 644 } 645 } 646 } 647 } 648 649 ${j.mq.lg} { 650 ${e8} { 651 ${e6} { 652 top: unset !important; 653 bottom: 7rem; 654 align-self: flex-end !important; 655 } 656 657 &:nth-child(even) { 658 ${e6} { 659 right: unset; 660 left: calc(10% + 360px); 661 transform: translateX(1rem); 662 } 663 } 664 665 &:nth-child(odd) { 666 ${e6} { 667 left: unset; 668 right: calc(10% + 360px); 669 transform: translateX(-1rem); 670 } 671 } 672 } 673 } 674 675 ${j.mq.xlg} { 676 ${e8} { 677 &:nth-child(even) { 678 ${e6} { 679 right: unset; 680 left: calc(10% + 420px); 681 transform: translateX(1rem); 682 } 683 } 684 685 &:nth-child(odd) { 686 ${e6} { 687 left: unset; 688 right: calc(10% + 420px); 689 transform: translateX(-1rem); 690 } 691 } 692 } 693 } 694`,ts=({data:e})=>{let{repertoirePage:t}=(0,g.useContext)(E.AppContext);return(0,p.jsx)(tr,{children:(0,p.jsx)(u.Container,{children:(0,p.jsx)(u.Row,{children:e.map((e,i)=>e&&e.ensemble&&e.ensemble.genre&&e.ensemble.genre.color&&(0,p.jsx)(e8,{xs:16,sm:8,children:(0,p.jsxs)(e9,{children:[(0,p.jsx)(te,{bgcolor:e.ensemble.genre.color.hex||"",children:e.backgroundImage&&e.backgroundImage.url&&(0,p.jsx)(ti,{translateY:[10,-5],children:(0,p.jsx)(k.Image,{src:e.backgroundImage.url,alt:"",layout:"cover",sizes:"(min-width: 768px) 53vw, 100vw"})})},i),e.posterImage&&(0,p.jsxs)(tn,{translateY:[30,-15],children:[(0,p.jsx)(tt,{children:e.posterImage.url&&(0,p.jsx)(k.Image,{src:e.posterImage.url,alt:e.posterImage.alt,width:420,sizes:"(min-width: 1440px) 360px, (min-width: 640px) 260px, 272px",noLazy:!0})}),e.buttonLabel&&(0,p.jsx)(e6,{page:t,params:{g:String(e?.ensemble?.genre.id)},type:"gold",children:e.buttonLabel})]})]})},`StyledCol-${i}`))})})})},to=f.default.div.withConfig({displayName:"Frequenter__Wrapper",componentId:"sc-2973c554-0"})` 695 position: relative; 696 width: 100vw; 697 left: 50%; 698 transform: translateX(-50%); 699`,ta=f.default.div.withConfig({displayName:"Frequenter__Box",componentId:"sc-2973c554-1"})` 700 display: flex; 701 justify-content: flex-end; 702 flex-direction: column; 703 width: 100%; 704 705 ${j.mq.md} { 706 height: 528px; 707 } 708 709 ${e=>"dark"===e.type&&f.css` 710 width: 100vw; 711 color: #fff; 712 background: ${e.theme.color.gold}; 713 padding: 300px 36px 56px; 714 /* transform: translateX(-16px); */ 715 716 ${j.mq.md} { 717 /* width: auto; */ 718 padding: 91px 176px 91px 112px; 719 transform: none; 720 } 721 `||"light"===e.type&&f.css` 722 width: calc(100% - 32px); 723 margin-left: 16px; 724 margin-bottom: calc(-300px + 56px); 725 padding: 56px 40px 112px; 726 position: relative; 727 z-index: 1; 728 background: #fff; 729 box-shadow: 0 15px 132px -34px rgba(0, 0, 0, 0.29); 730 731 &:after { 732 width: 100%; 733 height: 1px; 734 position: absolute; 735 bottom: 68px; 736 left: 0; 737 background-image: linear-gradient( 738 to left, 739 transparent 50%, 740 ${e=>e.theme.color.gold} 50% 741 ); 742 background-size: 16px 100%; 743 transform: translateX(4px); 744 content: ''; 745 } 746 747 ${j.mq.md} { 748 height: calc(528px - 95px); 749 margin-bottom: 0; 750 padding: 56px 88px 56px 40px; 751 transform: translate(40px, 40px); 752 753 &:after { 754 width: 1px; 755 height: 100%; 756 top: -4px; 757 right: 64px; 758 left: auto; 759 background-image: linear-gradient( 760 to bottom, 761 transparent 50%, 762 ${e=>e.theme.color.gold} 50% 763 ); 764 background-size: 100% 16px; 765 transform: none; 766 } 767 } 768 769 ${j.mq.lg} { 770 padding: 91px 200px 91px 112px; 771 transform: translate(64px, 40px); 772 773 &:after { 774 right: 144px; 775 } 776 } 777 `}; 778`,tl=(0,f.default)(x.Link).withConfig({displayName:"Frequenter__StyledLink",componentId:"sc-2973c554-2"})` 779 width: 100%; 780`,td=f.default.p.withConfig({displayName:"Frequenter__Description",componentId:"sc-2973c554-3"})` 781 margin-bottom: ${e=>e.theme.gap.md}; 782`,th=(0,f.default)(e3).withConfig({displayName:"Frequenter__FrequenterParallax",componentId:"sc-2973c554-4"})` 783 ${e=>e.zIndex&&`position: relative; z-index: ${e.zIndex}`}; 784 width: 100%; 785`,tc=({data:e,...t})=>{let i=(e,t)=>t.buttonLink?(0,p.jsx)(tl,{page:t.buttonLink,noHover:!0,children:(0,p.jsxs)(ta,{type:e%2==0?"light":"dark",children:[(0,p.jsx)(b.Heading,{tag:"h3",size:"lg",marginBottom:"sm",color:e%2==0?"gold":"white",serif:!0,
785children:t.title}),(0,p.jsx)(td,{children:(0,X.nbsp)(t.description)}),t.buttonText&&(0,p.jsx)(C.Button,{type:e%2==0?"transparent":"white",children:t.buttonText})]})}):(0,p.jsx)(p.Fragment,{});return(0,p.jsx)(to,{...t,children:(0,p.jsx)(u.Container,{children:(0,p.jsx)(u.Row,{children:e&&e.length>0&&e.map((e,t)=>e&&(0,p.jsx)(u.Col,{xs:16,md:8,children:e?.buttonLink&&(t%2==0?(0,p.jsxs)(th,{translateY:[40,-20],zIndex:1,children:[i(t,e),";"]}):i(t,e))},t))})})})};var tp=e.i(445747),tu=e.i(595842),tm=e.i(800883),tg=e.i(542185);let tf=(0,f.default)(C.Button).withConfig({displayName:"HomepageNewsList__StyledButton",componentId:"sc-18519465-0"})` 786 margin-right: 10rem; 787`,tx=f.default.div.withConfig({displayName:"HomepageNewsList__Wrapper",componentId:"sc-18519465-1"})` 788 display: flex; 789 flex-direction: column; 790 position: relative; 791 792 ${tf} { 793 align-self: flex-end; 794 795 ${j.mq.mdmax} { 796 margin-top: 24px; 797 } 798 } 799`,tw=(0,f.default)(x.Link).withConfig({displayName:"HomepageNewsList__ItemLink",componentId:"sc-18519465-2"})` 800 flex-shrink: 0; 801 ${e=>e.hasImage?` 802 width: 20rem; 803 flex-shrink: 0; 804 805 ${j.mq.sm} { 806 width: 30rem; 807 }`:` 808 width: 12.5rem; 809 margin-right: 3rem; 810 811 ${j.mq.sm} { 812 width: 20rem; 813 margin-right: 6rem; 814 }`} 815`,tv=(0,f.default)(tm.ImageBox).withConfig({displayName:"HomepageNewsList__StyledImageBox",componentId:"sc-18519465-3"})` 816 width: 20rem; 817 818 ${j.mq.sm} { 819 width: 30rem; 820 } 821 822 > div:first-child { 823 ${e=>!e.image&&"display: none"} 824 } 825 826 > div:nth-child(2) { 827 ${e=>e.image?"width: 200px;":` 828 width: 12.5rem; 829 height: 17rem; 830 margin-top: 0; 831 margin-left: 0; 832 border: solid 1px ${e.theme.color.gold}; 833 `} 834 835 ${j.mq.sm} { 836 ${e=>e.image?"width: 280px;":` 837 width: 20rem; 838 height: 416px; 839 margin-top: 0; 840 margin-left: 0; 841 border: solid 1px ${e.theme.color.gold}; 842 `} 843 } 844 } 845`,tb=({news:e,newsListPage:t,allNews:i})=>{let{newsPage:n}=(0,g.useContext)(E.AppContext),r=(0,g.useRef)(null);return Array.isArray(e)?(0,p.jsxs)(tx,{children:[(0,p.jsx)(tu.Slider,{ref:r,children:e.map((e,t)=>(0,p.jsx)(tw,{page:n,params:{slug:e.slug||""},hasImage:!!e.image,noHover:!0,children:(0,p.jsx)(tv,{genre:e?.displayFrom?(0,tg.formatDate)(e.displayFrom).calendar():(0,R.default)().calendar(),name:e.title,title:null,venues:e.tags[0]?.title,ensemble:null,image:e.image?.url,alt:e.image?.alt})},"NewsList_Holder_"+t))}),i&&(0,p.jsx)(tf,{page:t,children:i})]}):null},ty=f.default.div.withConfig({displayName:"HomepageEshop__Wrapper",componentId:"sc-bc456869-0"})` 846 width: 100%; 847`,t_=f.default.div.withConfig({displayName:"HomepageEshop__Item",componentId:"sc-bc456869-1"})` 848 display: flex; 849 flex-direction: column; 850 align-items: center; 851 justify-content: flex-start; 852`,tC=(0,f.default)(y.Icon).withConfig({displayName:"HomepageEshop__StyledIcon",componentId:"sc-bc456869-2"})` 853 width: 45px !important; 854 height: 60px !important; 855 margin-bottom: ${e=>e.theme.gap.xs}; 856 color: ${e=>e.theme.color.gold}; 857 858 ${j.mq.sm} { 859 width: 60px !important; 860 height: 80px !important; 861 } 862`,tj=f.default.p.withConfig({displayName:"HomepageEshop__Title",componentId:"sc-bc456869-3"})` 863 font-weight: bold; 864 font-size: 16px; 865 line-height: 1.2; 866 text-align: center; 867 868 ${j.mq.sm} { 869 font-size: 20px; 870 } 871`,tS=(0,f.default)(u.Col).withConfig({displayName:"HomepageEshop__FlexCol",componentId:"sc-bc456869-4"})` 872 display: flex; 873 flex-direction: row; 874 justify-content: center; 875 margin-bottom: 32px; 876`,tI=({title:e,categories:t,...i})=>{if(!t)throw Error("NepodaÅilo se naÄÃst e-shop");let{eshopPage:n}=(0,g.useContext)(E.AppContext);return(0,p.jsx)(ty,{...i,children:(0,p.jsxs)(u.Container,{children:[e&&(0,p.jsx)(b.Heading,{tag:"h2",size:"xl",marginBottom:"xl",children:e}),(0,p.jsx)(u.Row,{children:t.slice(4).map((e,t)=>(0,p.jsx)(tS,{xs:4,sm:3,lg:2,children:(0,p.jsx)(x.Link,{page:n,params:{c:String(e.id)},noAlignSelf:!0,children:(0,p.jsxs)(t_,{children:[(0,p.jsx)(tC,{name:e.icon?.codename,width:"80"}),(0,p.jsx)(tj,{children:(0,X.nbsp)(e.title)})]})})},`homepage_eshop_item_${t}`))})]})})};var tE=e.i(775268);let t$=f.default.div.withConfig({displayName:"Tags__Container",componentId:"sc-ffbb0575-0"})` 877 max-height: 200px; 878 overflow: hidden; 879 transition: all 0.25s ease; 880 881 ${e=>e.showAll&&f.css` 882 max-height: 2000px; 883 `} 884 885 ${j.mq.sm} { 886 max-height: none; 887 } 888`,tO=(0,f.default)(x.Link).withConfig({displayName:"Tags__LinkStyled",componentId:"sc-ffbb0575-1"})` 889 margin-right: ${e=>e.theme.gap.xs}; 890 margin-bottom: ${e=>e.theme.gap.xs}; 891`,tk=(0,f.default)(C.Button).withConfig({displayName:"Tags__ButtonStyled",componentId:"sc-ffbb0575-2"})` 892 ${j.mq.sm} { 893 display: none; 894 } 895`,tT=({tags:e,buttonText:t})=>{let{repertoirePage:i}=(0,g.useContext)(E.AppContext),[n,r]=(0,g.useState)(!1);return(0,p.jsxs)(g.Fragment,{children:[(0,p.jsx)(t$,{showAll:n,children:e.map(e=>e.title&&(0,p.jsx)(tO,{page:i,params:{t:String(e.id)},noHover:!0,children:(0,p.jsx)(tE.Tag,{color:"black",children:e.title})},String(e.id)))}),!n&&t&&e.length>10&&(0,p.jsx)(tk,{onClick:()=>r(!0),children:t})]})};var tH=e.i(549536);let tM=f.default.div.withConfig({displayName:"MagazineFloor__Wrapper",componentId:"sc-a71ee7-0"})` 896 background: ${({theme:e})=>e.color.magazineBlack}; 897 padding: ${({theme:e})=>e.gap.md} 0 0 ${({theme:e})=>e.gap.xs}; 898 ${j.mq.sm} { 899 padding: ${({theme:e})=>e.gap.lg} 0 0 ${({theme:e})=>e.gap.sm}; 900 } 901 ${j.mq.lg} { 902 padding: ${({theme:e})=>e.gap.xl} 0 0 ${({theme:e})=>e.gap.sm}; 903 } 904`,tL=(0,f.default)(C.Button).withConfig({displayName:"MagazineFloor__StyledButton",componentId:"sc-a71ee7-1"})` 905 margin-top: ${({theme:e})=>e.gap.sm}; 906 ${j.mq.sm} { 907 margin-top: ${({theme:e})=>e.gap.md}; 908 } 909 910 ${j.mq.md} { 911 margin-top: 0; 912 } 913`,tN=(0,f.default)(u.Row).withConfig({displayName:"MagazineFloor__StyledRow",componentId:"sc-a71ee7-2"})` 914 margin-top: ${({theme:e})=>e.gap.sm}; 915 ${j.mq.sm} { 916 margin-top: ${({theme:e})=>e.gap.lg}; 917 } 918 ${j.mq.md} { 919 margin-top: ${({theme:e})=>e.gap.xl}; 920 } 921`,tA=f.default.div.withConfig({displayName:"MagazineFloor__HeaderRow",componentId:"sc-a71ee7-3"})` 922 padding-right: ${({theme:e})=>e.gap.xs}; 923 ${j.mq.sm} { 924 padding-right: ${({theme:e})=>e.gap.sm}; 925 } 926 ${j.mq.md} { 927 display: flex; 928 align-items: center; 929 justify-content: space-between; 930 } 931`,tP=(0,f.default)(u.Col).withConfig({displayName:"MagazineFloor__StyledCol",componentId:"sc-a71ee7-4"})` 932 width: 100%; 933 min-width: 0 !important; 934 flex-shrink: 0; 935`,tz=({title:e,articles:t,currentIssue:i,linkText:n})=>{let{magazinePage:r,textCurrentIssue:s,textNumberSeasonMagazineIssue:o}=(0,g.useContext)(E.AppContext),a=(0,g.useRef)(null);return(0,p.jsx)(tM,{children:(0,p.jsxs)(u.Container,{children:[(0,p.jsx)(u.Row,{children:(0,p.jsx)(u.Col,{xs:16,sm:14,offset:{sm:1},children:(0,p.jsxs)(tA,{children:[(0,p.jsx)(b.Heading,{size:"xl",color:"white",tag:"h2",children:e}),n&&(0,p.jsx)(tL,{page:r,whiteText:!0,children:n})]})})}),(0,p.jsx)(tN,{children:(0,p.jsx)(tu.Slider,{ref:a,marginToButtons:!0,children:(0,p.jsxs)(p.Fragment,{children:[i&&s&&i.publishDate&&o&&(0,p.jsx)(tP,{xs:12,sm:6,md:5,lg:3.5,xl:3,offset:{sm:1},children:(0,p.jsx)(tH.MagazineArticleCard,{type:"issue",image:i.image,title:s,description:o.replace("{number}",String(i.number)).replace("{season}",String(i.season)),date:i.publishDate})}),t.map(e=>e.title&&e.publishDate&&e.subtitle&&e.articleType?.codename&&(0,p.jsx)(tP,{xs:12,sm:6,md:5,lg:3.5,xl:3,offset:1,children:(0,p.jsx)(tH.MagazineArticleCard,{image:e.image,type:e.articleType.codename,date:e.publishDate,title:e.title,de
935scription:e.subtitle,id:e.id,slug:e.slug,category:e.category})},`MagazineFloor_Article_${e.id}`))]})})})]})})},tq=(0,f.default)(b.Heading).withConfig({displayName:"Homepage__SrOnlyHeading",componentId:"sc-e312ab10-0"})` 936 position: absolute; 937 width: 1px; 938 height: 1px; 939 padding: 0; 940 margin: -1px; 941 overflow: hidden; 942 clip: rect(0, 0, 0, 0); 943 clip-path: inset(50%); 944 border: 0; 945 white-space: nowrap; 946`;e.s(["Homepage",0,({data:e,pageHeading:t,tags:i})=>{if(!e||!e.homepage)throw Error("Nelze naÄÃst data pro homepage");let n=e.homepage;return(0,p.jsxs)(e7,{children:[t&&(0,p.jsx)(tq,{tag:"h1",size:"xl",children:t}),(0,p.jsx)(eC,{data:n,upcomingEventsLabel:String(n.programmeCarouselTitle)}),n.showProgrammeCarousel&&(0,p.jsx)(u.Container,{children:(0,p.jsx)(u.Row,{children:(0,p.jsx)(u.Col,{xs:14,offset:1,children:(0,p.jsx)(m.Section,{withTopMargin:!0,children:(0,p.jsx)(ej.ExtendedProgrammeCarousel,{filterHeading:String(n.programmeCarouselTitle),allEvents:e.allEvents,allSeasons:e.allSeasons,textFeaturedProgramme:n.textFeaturedProgramme,goldenTileTitle:String(n.goldenTileTitle),goldenTileSubtitle:String(n.goldenTileSubtitle),goldenTileLink:n.goldenTileLink,withGoldenTile:!!n.showProgrammeGoldenTile,textTicketValidation:n.textTicketValidation,onlineTicketPage:n.onlineTicketPage,homepage:!0})})})})}),n.showTags&&i&&i.length>0&&(0,p.jsx)(u.Container,{children:(0,p.jsx)(u.Row,{children:(0,p.jsx)(u.Col,{xs:14,offset:1,children:(0,p.jsxs)(m.Section,{withTopMargin:!0,children:[(0,p.jsx)(b.Heading,{tag:"h2",size:"xl",textAlign:"left",marginBottom:"md",children:n?.headlineTags}),(0,p.jsx)(tT,{tags:i,buttonText:n.textShowMore})]})})})}),n.showNews&&(0,p.jsxs)(m.Section,{withTopMargin:!0,children:[(0,p.jsx)(b.Heading,{tag:"h2",size:"xl",textAlign:"center",marginBottom:"lg",children:n.newsTitle}),(0,p.jsx)(tb,{news:e.allNews,newsListPage:n.newsListPage,allNews:n.buttonNews})]}),n.showRepertoireSelection&&n?.repertoireSelection&&(0,p.jsxs)(m.Section,{withTopMargin:!0,children:[(0,p.jsx)(b.Heading,{tag:"h2",size:"xl",textAlign:"center",marginBottom:"xl",children:n.repertoireSelectionTitle}),(0,p.jsx)(ts,{data:n.repertoireSelection})]}),n.showMagazine&&(0,p.jsx)(m.SectionFull,{withTopMargin:!0,children:(0,p.jsx)(tz,{currentIssue:e.magazine,title:n.magazineTitle,linkText:n.magazineLinkText,articles:n.magazineArticles})}),n.showEshop&&(0,p.jsx)(u.Container,{children:(0,p.jsx)(u.Row,{children:(0,p.jsx)(u.Col,{xs:16,sm:14,offset:{sm:1},children:(0,p.jsx)(m.Section,{withTopMargin:!0,children:(0,p.jsx)(tI,{title:n.titleEshop,categories:e.allEshopCategories})})})})}),n.showFrequenter&&(0,p.jsxs)(m.Section,{withTopMargin:!0,children:[(0,p.jsx)(b.Heading,{tag:"h2",size:"xl",textAlign:"left",marginBottom:"xl",children:n.titleFrequenter}),(0,p.jsx)(tc,{data:n.frequenter})]}),n.showInformations&&n.informations&&n.informationsTitle&&(0,p.jsx)(u.Container,{children:(0,p.jsx)(u.Row,{children:(0,p.jsx)(u.Col,{xs:16,sm:14,offset:{sm:1},children:(0,p.jsx)(m.Section,{withTopMargin:!0,children:(0,p.jsx)(tp.Practical,{title:n.informationsTitle,data:n.informations})})})})})]})}],159707)}]);
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.