PageSourceSearch

https://www.wtfestival.org/_next/static/chunks/128-390298e615dd6e9d.js

js wtfestival.org collected 2026-10-02 04:08:26 UTC 25,445 bytes, 1 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="6a90506f-1e7f-4995-9d79-0ef2e30cb412",e._sentryDebugIdIdentifier="sentry-dbid-6a90506f-1e7f-4995-9d79-0ef2e30cb412")}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[128],{108:(e,a,t)=>{t.d(a,{A:()=>o});var l=t(7876),s=t(8230),r=t.n(s),n=t(7835),i=t(5039),d=t.n(i),c=t(8524);let o=e=>{let{stories:a,title:t}=e;return 0===a.length?null:(0,l.jsx)("div",{className:"page-x-padding mt-24 tablet:mb-16","data-sentry-component":"RelatedStories","data-sentry-source-file":"RelatedStories.tsx",children:(0,l.jsxs)("div",{className:"border-t-2 border-brand-black pt-4",children:[(0,l.jsx)("h2",{className:"type-head mb-6 tablet:mb-12",children:t}),(0,l.jsx)("div",{className:d()("grid grid-cols-1 gap-6 tablet:grid-cols-3 desktop:grid-cols-4"),children:a.map((e,a)=>{var t,s;let i=0===a;return(0,l.jsxs)(r(),{className:d()("group mb-16 tablet:mb-0",{"tablet:hidden desktop:block":3===a}),href:n.B.StoryDetail(e.slug),children:[(0,l.jsx)("div",{className:"mb-4",children:e.feature_image?(0,l.jsx)(c.L,{src:e.feature_image,alt:e.title,sizes:["100vw","50vw","50vw"],aspectRatio:i?4/3:3/4}):(0,l.jsx)("div",{className:d()("border-y-2 border-brand-black",{"aspect-[4/3]":!i,"aspect-[3/4]":i})})}),(0,l.jsxs)("div",{className:"flex flex-col space-y-2",children:[e.primary_tag?(0,l.jsx)("p",{className:"type-eyebrow uppercase",children:null==(t=e.primary_tag)?void 0:t.name}):null,(0,l.jsx)("h3",{className:"type-deck group-hover-underline",children:e.title}),(0,l.jsxs)("div",{className:d()("flex flex-col",{hidden:i}),children:[e.excerpt?(0,l.jsx)("p",{className:"type-body",children:e.excerpt}):null,(null==(s=e.primary_author)?void 0:s.name)?(0,l.jsx)("p",{className:"type-body",children:"By ".concat(e.primary_author.name)}):null]})]})]},e.slug)})})]})})}},776:(e,a,t)=>{t.d(a,{A:()=>o});var l=t(7876),s=t(4232),r=t(8983),n=t(5039),i=t.n(n),d=t(1532),c=t(3567);let o=e=>{let{isOpen:a,onCloseClick:t,children:n,ariaLabel:o}=e,[m,p]=(0,s.useState)(!1),h=(0,s.useRef)(null),{lockScroll:u,unlockScroll:b}=(0,c.G)();return(0,s.useEffect)(()=>{if(a?u():b(),!a){var e;p(!1),null==(e=h.current)||e.scrollTo({top:0,behavior:"instant"})}let t=e=>{a&&"Tab"===e.key&&!m&&p(!0)};return document.addEventListener("keydown",t),()=>{document.removeEventListener("keydown",t),b()}},[a,m,h,u,b]),a?(0,l.jsxs)("dialog",{"aria-hidden":!a,"aria-label":o,open:a,className:i()("fixed inset-0 z-modal flex h-dvh w-screen justify-end bg-transparent selection:bg-brand-yellow",{"pointer-events-none hidden opacity-0":!a}),"data-sentry-component":"ModalContainer","data-sentry-source-file":"ModalContainer.tsx",children:[(0,l.jsx)("div",{className:"absolute left-0 top-0 h-full w-full",onClick:t}),(0,l.jsx)(r.Ay,{disabled:!m,as:"div",autoFocus:!1,ref:h,className:"no-scrollbar webkit-overflow-scrolling-touch relative h-full w-full overflow-y-scroll bg-brand-brown tablet:w-2/3","data-sentry-element":"FocusLock","data-sentry-source-file":"ModalContainer.tsx",children:(0,l.jsxs)("div",{className:"p-4 pb-40 tablet:p-6 tablet:pb-40",children:[(0,l.jsx)("div",{className:"absolute right-6 top-6 z-10",children:(0,l.jsx)(d.K0,{ariaLabel:"Close the modal.",iconName:"largeClose",iconClasses:"w-6 tablet:w-8 h-6 tablet:h-8",onClick:t,"data-sentry-element":"IconButton","data-sentry-source-file":"ModalContainer.tsx"})}),n]})})]}):null}},6756:(e,a,t)=>{t.d(a,{k:()=>s});var l=t(8334);let s=e=>{let a=Number(e);return isNaN(a)||!Number.isInteger(a)||a<1955?(l.wd("Invalid year: ".concat(e)),"?"):String(a-1955+1)}},7595:(e,a,t)=>{t.d(a,{A:()=>m});var l=t(7876),s=t(4232),r=t(5039),n=t.n(r),i=t(4587),d=t.n(i),c=t(6648),o=t(1532);let m=e=>{let{header:a,gap:t="large"}=e,{text:r,title:i,buttons:m,svgTitle:p}=a,h=(0,s.useRef)(null),{fontSize:u,isMinimumFontSize:b}=(e=>{let{textRef:a,minFontSize:t=24,maxFontSize:l=600,text:r}=e,[n,i]=(0,s.useState)(t);return(0,s.useEffect)(()=>
1{if(!r)return;let e=()=>{if(a&&a.current){var e;let s=(null==(e=a.current.parentElement)?void 0:e.offsetWidth)||0,r=a.current.offsetWidth;r>0&&i(Math.max(t,Math.min(s/r*n,l)))}};return e(),document.fonts.addEventListener("loadingdone",e),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[a,n,t,l,r]),{fontSize:n,isMinimumFontSize:n===t}})({textRef:h,text:i});if(!p&&!i)return null;let x=(e=>{if(!e)return!1;let a=new Set(["q","g","j","y","p"]);return e.split("").some(e=>a.has(e))})(i);return(0,l.jsxs)("div",{className:n()("LargeTextHeader page-x-padding flex flex-col items-center pt-3 tablet:pt-0",{"mb-16 tablet:mb-24":"large"===t,"mb-6 tablet:mb-20":"small"===t}),"data-sentry-component":"LargeTextHeader","data-sentry-source-file":"LargeTextHeader.tsx",children:[(0,l.jsxs)("div",{className:"flex w-full justify-center py-1 tablet:py-2.5",children:[!p&&i?(0,l.jsx)("h1",{lang:"en",ref:h,className:n()("font-review",{"whitespace-nowrap":!b}),style:{fontSize:"".concat(u/16,"rem"),lineHeight:"".concat(u/16,"rem"),marginTop:"".concat(-(u/16*.06),"rem"),maxHeight:x?"none":"".concat(u/16*.83,"rem")},children:i}):null,p?(0,l.jsx)("h1",{className:"contents",children:(0,l.jsx)(d(),{src:p.asset.url,alt:i,width:p.asset.metadata.dimensions.width,height:p.asset.metadata.dimensions.height,className:"w-full max-w-full",priority:!0})}):null]}),r?(0,l.jsx)(c.A,{className:"mt-16 max-w-[37.5rem] tablet:mt-24 desktop:max-w-[50rem]",content:r,font:"type-deck",alignCenter:!0}):null,(null==m?void 0:m.length)?(0,l.jsx)("div",{className:"mt-4 flex flex-row flex-wrap tablet:mt-8",children:m.map(e=>(0,l.jsx)(o.z9,{label:e.label,variant:e.style,ariaLabel:e.ariaLabel,link:e.link,className:"mx-1"},e._key))}):null]})}},9366:(e,a,t)=>{t.r(a),t.d(a,{__N_SSG:()=>L,default:()=>P});var l=t(7876),s=t(1532),r=t(7595),n=t(6542),i=t(9056),d=t(548);let c=e=>{let{program:a}=e,{title:t,content:c,seasonYear:o,startDate:m,endDate:p,stage:h,credits:u,author:b,director:x,mainImage:y,cast:g,creative:j,media:f}=a,{announcementBarHeight:v}=(0,i.lH)(),N="".concat(o," Season"),w=[[[null==m?void 0:m.monthName,null==m?void 0:m.day].filter(Boolean).join(" "),[null==p?void 0:p.monthName,null==p?void 0:p.day].filter(Boolean).join(" ")].filter(Boolean).join("–"),h].filter(Boolean).join(", "),k=(b||x)&&(0,l.jsxs)("p",{children:[b&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("span",{children:["By"," ",(0,l.jsx)(d.N,{className:"uppercase",link:{_type:"link",documentLink:{_type:"archiveSearch",_id:"archiveSearch"},queryParams:{search:b}},children:b})]}),(0,l.jsx)("br",{})]}),x&&(0,l.jsxs)("span",{children:["Directed by"," ",(0,l.jsx)(d.N,{className:"uppercase",link:{_type:"link",documentLink:{_type:"archiveSearch",_id:"archiveSearch"},queryParams:{search:x}},children:x})]})]}),_=null==f?void 0:f.map(e=>({node:(0,l.jsx)("img",{src:e.url,alt:e.caption,className:"h-full w-full object-cover"},e.id),caption:e.caption}));return(0,l.jsxs)("div",{className:"WpProgram","data-sentry-component":"WpProgram","data-sentry-source-file":"WpProgram.tsx",children:[(0,l.jsxs)("div",{className:"px-4 pt-4 tablet:hidden",children:[(0,l.jsx)("img",{className:"tablet:max-h-auto mb-8 max-h-[60dvh] w-full object-cover",src:null==y?void 0:y.url,alt:null==y?void 0:y.alt}),(0,l.jsx)("h1",{className:"type-head",children:t}),o&&(0,l.jsx)(s.z9,{link:{_type:"link",documentLink:{_type:"season",_id:"",slug:o}},label:N,variant:"text-link",className:"mb-3 mt-4"}),w&&(0,l.jsx)("p",{className:"type-body",children:w})]}),(0,l.jsx)("div",{className:"hidden tablet:block",children:(0,l.jsx)(r.A,{header:{title:t,svgTitle:void 0},"data-sentry-element":"LargeTextHeader","data-sentry-source-file":"WpProgram.tsx"})}),(0,l.jsxs)("div",{className:"px-4 tablet:px-6",children:[(0,l.jsx)("div",{className:"mb-12 h-8 border-b-[2px] border-brand-black tablet:mb-14 tablet:h-0"}),(0,l.jsxs)("div",{className:"flex flex-col tablet:flex-row tablet:gap-6",children:[(0,l.jsxs)("div",{className:"grow-0 basis-1/2",children:[(0,l.jsxs)("div",{className:"hidden tablet:block",children:[o&&(0,l.jsx)(s.z9,{link:{_type:"link",documentLink:{_type:"season",_id:"",slug:o}},label:N,variant:"text-link",className:"mb-8"}),w&&(0,l.jsx)("p",{className:"type-body",children:w})]}),(0,l.jsxs)("div",{className:"wordpress-post-content",children:[k,u&&(0,l.jsx)("p",{dangerouslySetInnerHTML:{__html:u},className:"whitespace-pre-wrap"}),c&&(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:c}})]})]}),(0,l.jsx)("div",{className:"hidden basis-1/2 tablet:block",children:(0,l.jsx)("div",{className:"sticky w-full",style:{to
1p:v+56},children:(0,l.jsx)("img",{src:null==y?void 0:y.url,alt:null==y?void 0:y.alt,title:null==y?void 0:y.alt,className:"w-full"})})})]}),(g||j)&&(0,l.jsxs)("section",{children:[(0,l.jsx)("div",{className:"mb-4 h-8 border-b-[2px] border-brand-black tablet:mb-4 tablet:h-24"}),(0,l.jsxs)("div",{className:"flex flex-col gap-12 tablet:flex-row tablet:gap-6",children:[g&&(0,l.jsxs)("div",{className:"grow-0 basis-1/2",children:[(0,l.jsx)("h2",{className:"type-head mb-4 tablet:mb-10",children:"Cast"}),(0,l.jsx)("div",{className:"type-body grid auto-rows-fr grid-cols-1 gap-6 tablet:grid-cols-2",children:g.map((e,a)=>(0,l.jsxs)("div",{children:[e.title?(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:e.title}}):null,e.name?(0,l.jsx)(s._2,{label:e.name.toUpperCase(),link:{_type:"link",documentLink:{_type:"archiveSearch",_id:"archiveSearch"},queryParams:{search:e.name}}}):null]},a))})]}),j&&(0,l.jsxs)("div",{className:"grow-0 basis-1/2",children:[(0,l.jsx)("h2",{className:"type-head mb-4 tablet:mb-10",children:"Creative"}),(0,l.jsx)("div",{className:"type-body grid auto-rows-fr grid-cols-1 gap-6 tablet:grid-cols-2",children:j.map((e,a)=>(0,l.jsxs)("div",{children:[e.title?(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:e.title}}):null,e.name?(0,l.jsx)(s._2,{label:e.name.toUpperCase(),link:{_type:"link",documentLink:{_type:"archiveSearch",_id:"archiveSearch"},queryParams:{search:e.name}}}):null]},a))})]})]})]}),f.length>0&&(0,l.jsxs)("section",{children:[(0,l.jsx)("div",{className:"columns mb-4 h-8 border-b-[2px] border-brand-black tablet:mb-4 tablet:h-24"}),(0,l.jsx)("h2",{className:"type-head mb-8 tablet:mb-10",children:"Media"}),(0,l.jsx)(n.l,{imagesAsReactNodes:_,isFirstSection:!1})]})]})]})};var o=t(4232),m=t(5039),p=t.n(m),h=t(7835),u=t(6756),b=t(2987),x=t(6922),y=t(5578),g=t(1971),j=t(6648),f=t(4504),v=t(894),N=t(3529),w=t(776);let k=e=>{let{program:a,isOpen:t,bundleGroups:r,events:n,onCloseClick:i,ticketOffSaleMessage:d}=e,{ticketPurchaseModalDescription:c,ticketPurchaseModalAdditionalInfo:o,ticketPurchaseModalEmptyStateText:m,singleEventPrice:h,programAccessType:u,title:x}=a,y=c||u.ticketPurchaseModalDescription,g=o||u.ticketPurchaseModalAdditionalInfo,f=m||u.ticketPurchaseModalEmptyStateText,v=((e,a)=>{let t=(e||[]).sort((e,a)=>new Date(e.startDateTime).getTime()-new Date(a.startDateTime).getTime()).filter(e=>!e.isAddOn&&!!e.eventPurchaseUrl),l=(a||[]).reduce((e,a)=>{let t="",l="";return a.bundles.map(e=>{t?new Date(t).getTime()>new Date(e.startDateTime).getTime()&&(t=e.startDateTime):t=e.startDateTime,l?new Date(l).getTime()<new Date(e.endDateTime).getTime()&&(l=e.endDateTime):l=e.endDateTime}),e[a._id]={startDateTime:t,endDateTime:l},e},{});return t.reduce((e,a)=>{let t=Object.keys(l).find(e=>{let{startDateTime:t,endDateTime:s}=l[e];return(0,N.v)(new Date(a.startDateTime),{start:new Date(t),end:new Date(s)})}),s=e[e.length-1];return t?s&&s[0]===t?e[e.length-1][1].push(a):e.push([t,[a]]):s&&""===s[0]?e[e.length-1][1].push(a):e.push(["",[a]]),e},[])})(n||[],r||[]);return(0,l.jsx)(w.A,{ariaLabel:"Ticket purchase modal",isOpen:t,onCloseClick:i,"data-sentry-element":"ModalContainer","data-sentry-component":"IndividualTicketSaleModal","data-sentry-source-file":"IndividualTicketSaleModal.tsx",children:(0,l.jsxs)("div",{className:"relative bg-brand-brown pb-40",children:[(0,l.jsxs)("div",{className:"mb-6 flex flex-col pr-14 tablet-large:pr-24",children:[(0,l.jsx)("h2",{className:"type-head",children:"Select showtime for ".concat(x)}),(0,l.jsx)("h3",{className:"type-lead",children:h})]}),y?(0,l.jsx)("div",{className:"mb-6 border-b-2 border-brand-black py-6",children:(0,l.jsxs)("div",{className:"mb-9 mr-14 tablet-large:mr-24",children:[y.title&&(0,l.jsx)("h3",{className:"type-action uppercase",children:y.title}),y.description&&(0,l.jsx)(j.A,{content:y.description})]})}):null,v.length>0?(0,l.jsx)("div",{className:"space-y-16 tablet-large:space-y-12",children:v.map((e,t)=>{var n;let[i,c]=e,o=null==r||null==(n=r.find(e=>e._id===i))?void 0:n.title;return(0,l.jsxs)("div",{children:[o&&(0,l.jsx)("h3",{className:"type-subhead mb-3",children:o}),(0,l.jsx)("div",{className:"space-y-6 tablet-large:space-y-4",children:c.map(e=>{let t=b.H9(e.startDateTime),r=e.isSoldOut||t||b.R6(e.startDateTime),n=r?"/":e.eventPurchaseUrl,i=()=>{window.dataLayer&&window.dataLayer.push({event:"purchase",ecommerce:{currency:"USD",value:h,transaction_id:"".concat(e._id,"-").concat(e.startDateTime,"-").concat(new Date().getTime()),items:[{item_name:"".concat(a.title," individual ticket - ").concat(e.startDateTime),item_id:e._id,quantity:1}]}})};return(0,l.jsxs)("div",{className:"flex flex-col justify-between tablet-large:flex-row tablet-large:items-start",children:[(0,l.jsxs)("div",{className:p()("flex flex-col tablet-large:flex-row tablet-large:flex-wrap tablet-large:items-end",{"opacity-20":r}),children:[(0,l.jsx)("h4",{className:"type-deck tablet-large:mr-4",children:b.D_(e.startDateTime)}),(0,l.jsx)("p",{className:"type-action mt-2 tablet-large:mb-1 tablet-large:mt-0",children:e.shortDe
1scription})]}),(0,l.jsxs)("div",{className:"ml-4 mt-1 hidden w-full max-w-[16.125rem] flex-col tablet-large:flex",children:[(0,l.jsx)(s.z9,{onClick:i,disabled:r,link:{_type:"link",externalUrl:n,openInNewTab:!0},variant:"primary",label:"Buy Ticket",fullWidth:!0}),t&&(0,l.jsx)("p",{className:"type-caption mt-2",children:d})]}),(0,l.jsxs)("div",{className:"mt-4 flex flex-col tablet-large:hidden",children:[(0,l.jsx)(s.z9,{onClick:i,fullWidth:!0,disabled:r,link:{_type:"link",externalUrl:n,openInNewTab:!0},variant:"primary",label:"Buy Ticket"}),t&&(0,l.jsx)("p",{className:"type-caption mt-2",children:d})]})]},e._id)})})]},t)})}):(0,l.jsx)("div",{className:"my-16 flex flex-col items-center tablet-large:my-40",children:f&&(0,l.jsx)("div",{className:"max-w-[40rem] text-center",children:(0,l.jsx)(j.A,{alignCenter:!0,content:f})})}),g?(0,l.jsxs)("div",{className:"mt-16 border-t-2 border-brand-black pt-4 tablet-large:mt-40",children:[g.title&&(0,l.jsx)("h3",{className:"type-subhead mb-4",children:g.title}),g.description&&(0,l.jsx)("div",{className:"mb-9",children:(0,l.jsx)(j.A,{content:g.description})}),g.buttons&&(0,l.jsx)("div",{className:"flex flex-row justify-center space-x-2 tablet-large:justify-start",children:g.buttons.map(e=>(0,l.jsx)(s.z9,{link:e.link,variant:e.style,label:e.label,ariaLabel:e.ariaLabel},e._key))})]}):null]})})};var _=t(108);let T=e=>{let{program:a,bundleGroups:t,allBundleGroups:i,events:d,featuredStories:c,relatedStories:m,ticketOffSaleMessage:u}=e,[v,N]=(0,o.useState)(!1),[w,T]=(0,o.useState)(!0),{title:S,svgTitle:L,cast:P,creative:A,mainImage:C,gallery:I,contentArea:E,reviews:M}=a,H=(0,o.useRef)(null),B=()=>{N(!0)};(0,o.useEffect)(()=>{let e=new IntersectionObserver(e=>{let[a]=e;T(a.isIntersecting)},{threshold:0,rootMargin:"-300px 0px 0px 0px"});return H.current&&e.observe(H.current),()=>{e.disconnect()}},[]);let z=!!(null==t?void 0:t.map(e=>e.bundles).flat().every(e=>!(0,b.R6)(e.endDateTime))),R=(0,x.c)(m)||[];return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{id:"how-to-attend-portal-root"}),(0,l.jsxs)("div",{className:"Program",ref:H,children:[(0,l.jsx)(r.A,{header:{title:S,svgTitle:L},gap:"none","data-sentry-element":"LargeTextHeader","data-sentry-source-file":"Program.tsx"}),(0,l.jsxs)("div",{className:"default-grid page-x-padding relative z-10 mt-[3.125rem]",children:[(0,l.jsx)(D,{className:"col-span-4 hidden tablet-large:block",program:a,bundleGroups:t,openModal:B,bundleEventHasNotEnded:z,isPortalVisible:w,"data-sentry-element":"HeroInfo","data-sentry-source-file":"Program.tsx"}),(0,l.jsxs)("div",{className:"col-span-full tablet-large:col-start-5 tablet-large:col-end-13",children:[(0,l.jsx)(g.s,{className:"aspect-4/3 w-full object-cover",image:C,sizes:["120vw","80vw","80vw"],style:{objectPosition:(0,y.A)(C.hotspot)},"data-sentry-element":"SanityImage","data-sentry-source-file":"Program.tsx"}),(0,l.jsx)(D,{className:"col-span-4 mt-7 tablet-large:hidden",program:a,bundleGroups:t,openModal:B,bundleEventHasNotEnded:z,isPortalVisible:w,"data-sentry-element":"HeroInfo","data-sentry-source-file":"Program.tsx"}),(0,l.jsxs)("div",{className:p()("my-12 grid grid-cols-12 gap-x-4 gap-y-12 tablet-large:mb-7 tablet-large:mt-16 tablet-large:grid-cols-8 tablet-large:gap-x-6 tablet-large:gap-y-12",{hidden:!P||0===P.length}),children:[P&&P.length>0?(0,l.jsxs)("div",{className:"col-span-full border-t-2 border-brand-black tablet-large:col-span-4",children:[(0,l.jsx)("h2",{className:"type-subhead col-span-full my-6",children:"Cast"}),null==P?void 0:P.map(e=>(0,l.jsxs)("div",{className:"grid grid-cols-2 gap-4 tablet-large:col-span-4 tablet-large:gap-6",children:[(0,l.jsx)("div",{children:(0,l.jsx)(s._2,{className:"type-body",link:{_type:"link",externalUrl:h.B.ArchiveSearchWithSearchParam(e.name),openInNewTab:!1},label:e.name})}),(0,l.jsx)("p",{className:"type-body",children:e.role})]},e._key))]}):null,A&&A.length>0?(0,l.jsxs)("div",{className:"col-span-full border-t-2 border-brand-black tablet-large:col-span-4",children:[(0,l.jsx)("h2",{className:"type-subhead my-6",children:"Creative"}),null==A?void 0:A.map(e=>(0,l.jsxs)("div",{className:"grid grid-cols-2 gap-4 tablet-large:col-span-4 tablet-large:gap-6",children:[(0,l.jsx)("div",{children:(0,l.jsx)(s._2,{className:"type-body",link:{_type:"link",externalUrl:h.B.ArchiveSearchWithSearchParam(e.name),openInNewTab:!1},label:e.name})}),(0,l.jsx)("p",{className:"type-body",children:e.title})]},e._key))]}):null,M?(0,l.jsxs)("div",{className:"col-span-full border-t-2 border-brand-black tablet-large:col-span-4",children:[(0,l.jsx)("h2",{className:"type-subhead my-6",children:"Review"}
1),(0,l.jsx)(j.A,{content:M,font:"type-body"})]}):null]})]})]}),I&&I.length>0?(0,l.jsx)("div",{className:"page-x-padding my-7 tablet-large:my-24",children:(0,l.jsx)(n.l,{images:I,isFirstSection:!1})}):null,E?(0,l.jsx)(f.A,{sections:E,featuredStories:c}):null,R.length>0?(0,l.jsx)(_.A,{stories:R,title:"Related Stories"}):null]}),(0,l.jsx)(k,{program:a,isOpen:v,onCloseClick:()=>N(!1),bundleGroups:i,events:d,ticketOffSaleMessage:u,"data-sentry-element":"IndividualTicketSaleModal","data-sentry-source-file":"Program.tsx"})]})},S=e=>{let{program:a,bundleEventHasNotEnded:t,openModal:r,isPortalVisible:n}=e,{howToAttend:i,programAccessType:d}=a,[c,m]=(0,o.useState)(!1),[h,u]=(0,o.useState)(!1),b=(0,o.useRef)(null);(0,o.useEffect)(()=>{m(!0),n&&b.current&&b.current.focus()},[n]),(0,o.useEffect)(()=>{function e(e){"Escape"===e.key&&u(!1)}return n&&window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[n]);let x=document.getElementById("how-to-attend-portal-root")||document.body;return c&&n&&x?(0,l.jsxs)("div",{ref:b,role:"dialog","aria-modal":"true","aria-labelledby":"how-to-attend-heading","aria-describedby":"how-to-attend-content",className:"fixed bottom-0 left-0 right-0 z-nav flex flex-col items-start justify-between gap-3 border-t-2 border-brand-black bg-white p-[0.91rem] tablet-large:flex-row tablet-large:space-y-0 tablet-large:p-6","data-sentry-component":"HowToAttendPortal","data-sentry-source-file":"Program.tsx",children:[(0,l.jsxs)("div",{className:"flex w-full items-center justify-between tablet-large:hidden",children:[(0,l.jsx)("span",{id:"how-to-attend-heading",className:"type-action uppercase",children:"How to Attend"}),(0,l.jsx)("button",{className:"type-caption","aria-expanded":h,"aria-controls":"how-to-attend-content",onClick:()=>u(e=>!e),children:h?"Hide details –":"View details +"})]}),(0,l.jsx)("div",{id:"how-to-attend-content",className:p()("w-full px-2 pb-2 tablet-large:hidden",{hidden:!h}),"aria-live":"polite",children:i?(0,l.jsx)(j.A,{content:i}):(0,l.jsx)(j.A,{content:d.howToAttend})}),(0,l.jsx)("span",{id:"how-to-attend-heading-desktop",className:"type-action hidden min-w-[16.67%] uppercase tablet-large:block",children:"How to Attend"}),(0,l.jsx)("div",{className:"hidden w-full tablet-large:block","aria-live":"polite","aria-describedby":"how-to-attend-content",children:i?(0,l.jsx)(j.A,{content:i}):(0,l.jsx)(j.A,{content:d.howToAttend})}),d.buyBundleButtonLabel&&t||d.buyTicketButtonLabel?(0,l.jsxs)("div",{className:"w-full space-y-2 tablet-large:w-auto",children:[d.buyBundleButtonLabel&&t?(0,l.jsx)(s.z9,{fullWidth:!0,variant:"emphasis-large",label:d.buyBundleButtonLabel,link:{_type:"link",documentLink:{_type:"bundlePurchasePage",_id:"bundlePurchasePage"},queryParams:{program_id:a._id}}}):null,d.buyTicketButtonLabel?(0,l.jsx)(s.$n,{fullWidth:!0,variant:"primary-large",label:d.buyTicketButtonLabel,onClick:r}):null]}):null]}):null},D=e=>{let{program:a,className:t,bundleGroups:r,openModal:n,bundleEventHasNotEnded:d,isPortalVisible:c}=e,[m,h]=(0,o.useState)(!1),{announcementBarHeight:x}=(0,i.lH)(),{season:y,location:g,description:f,shortDescription:N,attribution:w,eventInstances:k,inactive:_}=a,T=(e=>{if(!Array.isArray(e)||0===e.length)return{first:null,last:null};let a=e.sort((e,a)=>new Date(e.startDateTime).getTime()-new Date(a.startDateTime).getTime());return{first:a[0],last:a[a.length-1]}})(k),D=!T.last||(0,b.R6)(T.last.startDateTime),L=D&&y&&!y.archived;return(0,l.jsx)("div",{className:t,"data-sentry-component":"HeroInfo","data-sentry-source-file":"Program.tsx",children:(0,l.jsxs)("div",{className:"w-full tablet-large:sticky",style:{to
1p:"".concat(x+50,"px")},children:[y&&y.archived?(0,l.jsxs)("div",{className:"mb-6 flex flex-row items-end border-y-2 border-brand-black py-3",children:[(0,l.jsxs)("div",{className:"mr-4 flex flex-row items-center",children:[(0,l.jsx)(v.Ez,{className:"mr-0.5 w-[0.85rem] text-brand-black tablet:w-[1rem] desktop:w-[1.26rem]"}),(0,l.jsx)("p",{className:"type-deck",children:(0,u.k)(y.slug)})]}),(0,l.jsxs)("p",{className:"type-body",children:[y.slug," Season"]})]}):null,(0,l.jsxs)("div",{className:"space-y-1",children:[!y&&k&&k.length>0?(0,l.jsxs)("p",{className:"type-body",children:["Date"," ",k.length>1?(0,l.jsxs)(l.Fragment,{children:[T.first?(0,l.jsx)("span",{className:"uppsercase type-action",children:(0,b.ao)(T.first.startDateTime)}):null,(0,l.jsx)("span",{className:"type-action uppercase",children:" – "}),T.last?(0,l.jsx)("span",{className:"uppsercase type-action",children:(0,b.ao)(T.last.startDateTime)}):null]}):(0,l.jsx)("span",{className:"uppsercase type-action",children:(0,b.ao)(k[0].startDateTime)})]}):null,r&&r.length>0?(0,l.jsxs)("p",{className:"type-body",children:[(null==y?void 0:y.archived)||!d?"Showed":"Showing in",r.sort((e,a)=>e.title.localeCompare(a.title,void 0,{numeric:!0})).map((e,a)=>(0,l.jsxs)(o.Fragment,{children:[(0,l.jsxs)("span",{className:p()({hidden:0===a}),children:[" ","and"]}),(0,l.jsxs)("span",{className:"type-action uppercase",children:[" ",e.title]})]},e._id))]}):null,(0,l.jsxs)("p",{className:"type-body",children:["Located at ",(0,l.jsx)("span",{className:"uppsercase type-action",children:g})]}),y?(0,l.jsxs)("p",{className:"type-body",children:[(0,l.jsxs)("span",{children:[y.slug," "]}),"Season ",(0,l.jsx)("span",{className:"uppsercase type-action",children:(0,b.Wk)(y.startDate)}),(0,l.jsx)("span",{className:"uppsercase type-action",children:" – "}),(0,l.jsx)("span",{className:"uppsercase type-action",children:(0,b.Wk)(y.endDate)})]}):null]}),(0,l.jsxs)("div",{className:"my-6",children:[(0,l.jsx)("h2",{className:"type-action mb-2 uppercase",children:"About the Performance"}),(0,l.jsx)(j.A,{content:f,className:p()({"hidden desktop:block":!m&&!!N}),"data-sentry-element":"RichText","data-sentry-source-file":"Program.tsx"}),N?(0,l.jsxs)("div",{className:p()("RichText RichTextWithoutWrapper type-body desktop:hidden",{hidden:m}),children:[(0,l.jsx)(j.$,{content:N}),(0,l.jsx)(s.gn,{className:"type-body ml-1 inline-block",onClick:()=>h(!0),label:"Read more"})]}):null,w&&w.length>0?(0,l.jsx)("div",{className:"my-6",children:w.map(e=>(0,l.jsxs)("p",{className:"type-body",children:[e.credit," ",(0,l.jsx)("span",{className:"type-action uppercase",children:e.name})]},"".concat(e.credit,"-").concat(e.name)))}):null]}),L||D?(0,l.jsx)("div",{className:"border-t-2 border-brand-black pt-6",children:(0,l.jsxs)("p",{className:"type-body",children:["Thank you for attending! See media from this season's performance below."," "]})}):null,D||_?null:(0,l.jsx)(S,{program:a,bundleEventHasNotEnded:d,openModal:n,isPortalVisible:c})]})})};var L=!0;let P=e=>{let{program:a,bundleGroups:t,allBundleGroups:s,events:r,featuredStories:n,relatedStories:i,ticketOffSaleMessage:d}=e;return"program"==a._type?(0,l.jsx)(T,{program:a,allBundleGroups:s,bundleGroups:t,events:r,featuredStories:n,relatedStories:i,ticketOffSaleMessage:d}):"wpPost"!=a._type?null:(0,l.jsx)(c,{program:a,"data-sentry-element":"WpProgram","data-sentry-component":"ProgramDetail","data-sentry-source-file":"[slug].tsx"})}}}]);

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.