PageSourceSearch

https://www.houstongrandopera.org/_next/static/chunks/2105-0ef765d5aafb6929.js

js houstongrandopera.org collected 2026-09-24 09:24:53 UTC 13,369 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2105],{2902:function(e,n,t){t.d(n,{Z:function(){return l}});var i=t(1527),r=t(4685),a=t.n(r);function l(e){var n=e.currentPage,t=e.parentPage;return(0,i.jsxs)("div",{className:"bread-crumbs",children:[(0,i.jsx)("div",{className:"bread-crumbs__parent-page",children:(0,i.jsx)(a(),{href:(null===t||void 0===t?void 0:t.link)||"",children:null===t||void 0===t?void 0:t.text})}),(0,i.jsx)("span",{className:"bread-crumbs__divider",children:"/"}),(0,i.jsx)("span",{className:"bread-crumbs__current-page",children:null===n||void 0===n?void 0:n.text})]})}},7997:function(e,n,t){t.d(n,{Z:function(){return _}});var i=t(7444),r=t(7835),a=t(3693),l=t(1527),o=t(5657),c=t(8995),s=t(3287),d=t(2018),u=t(4685),h=t.n(u),v=t(706),f=t(959),m=t(8997),x=t.n(m),g=t(4703),b={tablet:{breakpoint:{max:1280,min:0},items:1}},p=/\d{2}\/\d{2}\/\d{4} \d{2}:\d{2}:\d{2} [APM]{2}/;function _(e){var n=e.title,t=e.subTitle,c=e.button,d=e.itemsPerPage,u=e.rightRail,m=e.isIgnoreCarouselStep,_=e.isBreakTitle,y=e.schedule,N=(0,f.useState)(!1),k=N[0],Z=N[1],S=(0,f.useRef)(null),w=(0,f.useRef)(null),A=(0,f.useState)(0),C=A[0],M=A[1],T=(0,s.Z)().width,F=(0,f.useState)(!1),q=F[0],H=F[1],E=((0,v.useRouter)(),(0,f.useMemo)((function(){var e,n=[],t=+d,i=[];y&&(e=i).push.apply(e,(0,a.Z)(null===y||void 0===y?void 0:y.map((function(e){return{isSchedule:!0,link:{text:x()(e.dateTime).format("dddd, MMM".concat(4!==x()(e.dateTime).month()?".":""," DD, YYYY / h:mm a")),callToAction:e.cta},hidden:e.hidden,title:e.headline?e.headline:void 0}}))));for(var r=0;r<u.length+i.length;r+=t)null===n||void 0===n||n.push((0,a.Z)(u).concat((0,a.Z)(i)).slice(r,r+t));return n}),[u,y,d]));return(0,f.useEffect)((function(){var e;w&&M((null===(e=w.current)||void 0===e?void 0:e.clientHeight)||0)}),[w,T]),(0,f.useEffect)((function(){if(T<1280&&E&&1==E.length&&Z(!0),S.current){var e=function(){var e,n,t;if(S.current)return(null===(e=S.current)||void 0===e?void 0:e.clientHeight)+(null===(n=S.current)||void 0===n?void 0:n.scrollTop)>=(null===(t=S.current)||void 0===t?void 0:t.scrollHeight)?H(!1):H(!0)};return S.current.scrollHeight>S.current.clientHeight?(H(!0),S.current.addEventListener("scroll",e),function(){var n;null===(n=S.current)||void 0===n||n.removeEventListener("scroll",e)}):void 0}}),[T,E]),(0,l.jsxs)("div",{className:"sticky-title__container ".concat(e.className),children:[(0,l.jsx)("div",{className:"sticky-title bg-black justify-center flex",children:(0,l.jsxs)("div",{lang:"de",className:"sticky-title__content hyphens-text",children:[t," ",_&&(0,l.jsx)("br",{className:"block xl:hidden"}),n]})}),(0,l.jsxs)("ul",{ref:S,className:"".concat(k||m?"":"hidden"," ticket-information-container__custom-sticky-note--note-list xl:block xl:overflow-y-auto xl:max-h-[37.5rem] list-none bg-white customScroll relative"),children:[y&&y.length>0&&y.map((function(e,n){return(0,l.jsx)(j,{link:{text:x()(e.dateTime).format("dddd, MMM".concat(4!==x()(e.dateTime).month()?".":""," DD, YYYY / h:mm a")),callToAction:e.cta},hiddenBorder:y.length-1===n&&0===u.length,hidden:e.hidden,title:e.headline?e.headline:void 0},"content-".concat(n))})),u.length>0&&u.map((function(e,n){return(0,l.jsx)(j,(0,r.Z)((0,i.Z)({},e),{hiddenBorder:u.length-1===n,title:e.title?e.title.replace(p,"").trim():void 0}),"content2-".concat(n))}))]}),(0,l.jsx)("div",{className:"\n          ".concat(q?"opacity-100":"opacity-0"," duration-300 h-[4.5rem] blur-style w-[calc(100%_-_0.5rem)] bg-[linear-gradient(180deg,_rgba(255,255,255,0)_0%,_#FFFFFF_100%)] absolute hidden xl:block pointer-events-none"),style:{"--rightRailButtonHeight":"".concat(C,"px")}}),E.length>1&&(0,l.jsx)("div",{className:"sticky-note-mobile",children:(0,l.jsx)(o.Z,{responsive:b,partialVisible:!0,disableFixedWidth:!0,carouselControlClassName:"!mb-6",children:E.map((function(e,n){return(0,l.jsx)("div",{className:"schedule-group",children:e.map((function(t,a){return(0,l.jsx)("div",{className:"sticky-note-mobile__content",children:(0,l.jsx)(j,(0,r.Z)((0,i.Z)({},t.isSchedule?{}:t),{link:t.link,hiddenBorder:e.length-1===a,hidden:t.hidden,title:t.isSchedule?t.title:t.title?t.title.replace(p,"").trim():void 0}))},"content-".concat(n,"-").concat(a))}))},"group-".concat(n))}))})}),(0,l.jsx)("div",{ref:w,className:"right-rail-btn ".concat((null===c||void 0===c?void 0:c.text)?"has-text":"no-cta"," ").concat(e.buttonClass),children:(null===c||void 0===c?void 0:c.text)&&(0,l.jsx)(h(),{href:(null===c||void 0===c?void 0:c.callToAction)||"#",passHref:!0,legacyBehavior:!0,children:(0,l.jsx)(g.Z,{children:null===c||void 0===c?void 0:c.text})})})]})}var y=function(e){var n=e.html,t=e.className,i=void 0===t?"":t;return(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:n},className:i})};function j(e){var n=e.title,t=e.paragraph,i=e.location,r=e.link,a=e.hiddenBorder;return e.hidden?(0,l.jsx)(l.Fragment,{}):(0,l.jsxs)("div",{className:"right-rail-item",children:[(0,l.jsxs)("li",{className:"right-rail-item__content",children:[n&&(0,l.jsx)(y,{html:n,className:"right-rail-item__content__title"}),t&&(0,l.jsx)(y,{html:t,className:"right-rail-item__content__paragraph"}),i&&(0,l.jsx)(y,{html:i,className:"right-rail-item__content__paragraph"}),r&&(0,l.jsx)(h(),{href:r.callToAction||"#",passHref:!0,legacyBehavior:!0,className:"hahaha",children:(0,l.jsxs)(g.Z,{isVerticalCTA:!0,
1className:"right-rail-item__content__link ".concat(r.callToAction?"text-gold hover:text-black hover:font-bold":"text-[#A6A8AB]"),children:[r.text,r.callToAction&&(0,l.jsx)("div",{className:"-rotate-90 transition-all justify-center items-center flex h-6 w-6 pt-4","aria-label":"chevron right",children:(0,l.jsx)(c.Z,{fill:d.Z.colors.gold})})]})})]}),(0,l.jsx)("div",{className:"border-sticky-item ".concat(a?"hidden":"")})]})}},6505:function(e,n,t){t.d(n,{Z:function(){return v}});var i=t(7444),r=t(1527),a=t(1520),l=t(3693),o=t(5798),c=t.n(o),s=t(959),d=t(8713),u=t(1809);var h=t(239);function v(e){var n=function(e,n){var t=function(e,n){var t={};return e.filter((function(e){var i=n(e);return!t[i]&&(t[i]=!0,!0)}))},i=(0,s.useState)([]),r=i[0],o=i[1],h=(0,s.useState)(0),v=h[0],f=h[1],m=(0,s.useState)([]),x=m[0],g=m[1],b={first:n||8,skip:0,faqType:{allIn:[]},byPage:{eq:e}},p=(0,s.useCallback)((0,a.Z)(c().mark((function e(){var n,i,r=arguments;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(n=r.length>0&&void 0!==r[0]&&r[0])&&(b.skip=b.first,b.first+=b.first),x.length>0&&(b.faqType.allIn=x),e.next=5,(0,d.W)(u.w2D,b);case 5:i=e.sent,o((function(e){return n?t((0,l.Z)(e).concat((0,l.Z)(i.allFaqCards)),(function(e){return e.id})):i.allFaqCards})),f(i._allFaqCardsMeta.count);case 8:case"end":return e.stop()}}),e)}))),[x,n]);return(0,s.useEffect)((function(){p()}),[x,n]),{count:v,faqs:r,loadFAQs:p,filters:x,setSelectedFilters:g}}(e.pageId,e.initItem),t=n.faqs,o=n.count,v=(n.filters,n.setSelectedFilters,n.loadFAQs);return(0,r.jsxs)("div",{className:"faq-cards",children:[t.map((function(e,n){return(0,r.jsx)(h.Z,(0,i.Z)({},e),"result-".concat(n))})),(0,r.jsx)("div",{className:"load-more-btn ".concat(o<=(null===t||void 0===t?void 0:t.length)&&"load-more-btn--disable"),onClick:function(){v(!0)},children:(0,r.jsx)("h2",{className:"load-more-btn__text",children:"LOAD MORE"})})]})}},239:function(e,n,t){t.d(n,{Z:function(){return o}});var i=t(1527),r=t(9021),a=t(959),l=t(3287);function o(e){var n=e.answer,t=e.question,o=(0,a.useRef)(null),c=(0,a.useRef)(null),s=(0,a.useState)(!1),d=s[0],u=s[1],h=(0,a.useState)(0),v=h[0],f=h[1],m=(0,l.Z)().width,x=(0,a.useState)(),g=x[0],b=x[1];return(0,a.useEffect)((function(){if(o.current){var e=o.current;Array.from(e.children).reduce((function(e,n){return e+n.scrollHeight}),0)-1>e.clientHeight&&u(!0)}}),[e,m]),(0,a.useEffect)((function(){if(o.current){if(!g){var e=Number(window.getComputedStyle(o.current,null).getPropertyValue("line-height").replace("px","")),n=Math.round(o.current.clientHeight/e-.5);return f(n)}return f("unset")}}),[e,d,m]),(0,i.jsxs)("div",{ref:c,className:"faq-card ".concat(g&&"faq-card--active"),children:[(0,i.jsxs)("div",{className:"faq-card__content ".concat(g&&"faq-card__content-active"),children:[(0,i.jsx)("div",{className:"faq-card__question",children:t}),(0,i.jsx)("div",{ref:o,className:"faq-card__answer ".concat(!g&&"overflow-hidden"),style:!g&&{WebkitLineClamp:v,WebkitBoxOrient:"vertical",display:"-webkit-box"}||{height:"fit-content"},children:(0,i.jsx)(r.rZ,{data:null===n||void 0===n?void 0:n.value})})]}),d?(0,i.jsx)("div",{className:"faq-card__btn",onClick:function(){b((function(e){return!e}))},children:g?"READ LESS":"READ MORE"}):null]})}},500:function(e,n,t){t.d(n,{Z:function(){return r}});var i=t(1527);function r(e){var n=e.headline,t=e.bgColor;return(0,i.jsx)("div",{className:"headline-bg",style:{"--bgColor":null!==t&&void 0!==t?t:"#f0f1f1"},children:(0,i.jsx)("div",{className:"headline-container component-container",children:(0,i.jsx)("h1",{className:"font-serif",children:n})})})}},2621:function(e,n,t){t.d(n,{Z:function(){return l}});var i=t(1527),r=t(3287),a=t(959);function l(e){var n=e.className,t=e.heroSection,l=e.heroBackground,o=void 0===l?"":l,c=(0,r.Z)().width,s=(0,a.useState)(o),d=s[0],u=s[1],h=(0,a.useRef)(null);return(0,a.useEffect)((function(){var e,n,i,r,a,l,o,s;if((null===t||void 0===t||null===(e=t.heroMedia)||void 0===e||null===(n=e.mobileImage)||void 0===n?void 0:n.url)&&c<1280)return u(null===t||void 0===t||null===(i=t.heroMedia)||void 0===i||null===(r=i.mobileImage)||void 0===r?void 0:r.url);(null===t||void 0===t||null===(a=t.heroMedia)||void 0===a||null===(l=a.image)||void 0===l?void 0:l.url)&&u(null===t||void 0===t||null===(o=t.heroMedia)||void 0===o||null===(s=o.image)||void 0===s?void 0:s.url)}),[c]),(0,i.jsxs)("div",{style:{backgroundImage:"url(".concat(d||"",")")},className:"hero-banner ".concat(n),id:"heroBanner",children:[(0,i.jsx)("div",{className:"hero-banner__overlay-image"}),(0,i.jsxs)("div",{className:"hero-banner__content hero-banner__content-landscape",children:[(0,i.jsxs)("div",{className:"hero-banner__headline-wrapper\n          ".concat((null===t||void 0===t?void 0:t.bodyText)?"hero-banner__headline-bigger":""),children:[(0,i.jsx)("hr",{}),(0,i.jsx)("h1",{lang:"de",className:"hero-banner__headline hyphens-text ".concat("headLineClass"),style:{"--mobileFontSize":"".concat((null===t||void 0===t?void 0:t.headLineMobileFontSize)||61,"px"),"--hyphensWordLimit":"".concat((null===t||void 0===t?void 0:t.headLineMobileFontSize)<50?11:9),"--desktopFontSize":"".concat(null===t||void 0===t?void 0:t.headlineFontSizeDesktop)},children:null===t||void 0===t?void 0:t.headline}),(0,i.jsx)("hr",{})]}),(null===t||void 0===t?void 0:t.bodyText)&&(0,i.jsx)("div",{className:"hero-banner__body-text",children:(0,i.jsx)("p",{ref:h,dangerouslySetInnerHTML:{__html:null===t||void 0===t?void 0:t.bodyText}})})]})]})}},8800:function(e,n,t){t.d(n,{Z:function(){return l}});var i=t(1527),r=t(9956),a=t(959);function l(e){var n=e.className,t=void 0===n?"":n,l=e.left,o=e.right,c=e.mobileReverseColumn,s=e.showMiddleHeadlineMobile,d=e.isBgGrey,u=e.nestedNavigationHeadline,h=(0,a.useContext)(r.C),v=h.topSticky,f=h.stickyContainer,m=h.hiddenHeader,x=h.headerHeight;return(0,i.jsxs)("div",{ref:f,className:"".concat(t," ").concat(d?"nested-rail-bg-grey":""," nested-rail sticky-module-container"),style:{"--flexDirection":c?"column-reverse":"column"},children:[(0,i.jsx)("div",{className:"nested-rail__left-container sticky-module-container__scroll-container",children:l}),s&&(0,i.jsx)("div",{className:"on-stage-slug faq-heading xl:hidden",children:u}),(0,i.jsx)("div",{style:{"--headerHeight":"".concat(x,"px")},className:"nested-rail__right-container ".concat(v?"scroll-up":"scroll-down"," sticky-module-container__sticky-container ").concat(m?"scroll-up-with-hidden-header":"scroll-down-with-hidden-header"),children:(0,i.jsx)("div",{children:o})})]})}},9446:function(e,n,t){t.d(n,{$y:function(){return o},GV:function(){return i},IR:function(){return h},KE:function(){return r},Nr:function(){return a},bN:function(){return c},hD:function(){return u},kl:function(){return s},yZ:function(){return d},zd:function(){return l}});var i={contactUs:"contact-us"},r=5,a=7,l=8,o=5,c=7,s="youtube.com/watch?v=",d="youtube.com/embed/",u="https://vimeo.com/",h="https://player.vimeo.com/video/"},2905:function(e,n,t){function i(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,i=new Array(n);t<n;t++)i[t]=e[t];return i}t.d(n,{Z:function(){return i}})},310:function(e,n,t){function i(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}t.d(n,{Z:function(){return i}})},3693:function(e,n,t){t.d(n,{Z:function(){return l}});
1var i=t(2905);var r=t(310);var a=t(1151);function l(e){return function(e){if(Array.isArray(e))return(0,i.Z)(e)}(e)||(0,r.Z)(e)||(0,a.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},1151:function(e,n,t){t.d(n,{Z:function(){return r}});var i=t(2905);function r(e,n){if(e){if("string"===typeof e)return(0,i.Z)(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?(0,i.Z)(e,n):void 0}}}}]);

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.