1(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{431:function(e,t,r){"use strict";r.r(t);r(55),r(250),r(437);var n=r(99),o={components:{BlockContent:r.n(n).a},props:{i:Object,showCaption:Boolean,ratio:[String,Boolean],width:Number,crop:String},computed:{large:function(){return this.$Check(this.width)?this.width:2e3},small:function(){return this.$Check(this.width)?this.width/2:1e3},src:function(){if(this.$Check(this.i.ratio)){var e=this.i.ratio;return"4-3"==e?this.$UrlFor(this.i).width(this.large).height(.75*this.large):"3-4"==e?this.$UrlFor(this.i).width(.75*this.large).height(this.large):"1-1"==e?this.$UrlFor(this.i).width(this.large).height(this.large):this.$UrlFor(this.i).width(this.large)}return this.$UrlFor(this.i).width(this.large)},srcset:function(){if(this.$Check(this.i.ratio)){var e=this.i.ratio;return"4-3"==e?"".concat(this.$UrlFor(this.i).width(this.small).height(.75*this.small)," 800w, ").concat(this.$UrlFor(this.i).width(this.large).height(.75*this.large)," 1500w"):"3-4"==e?"".concat(this.$UrlFor(this.i).width(.75*this.small).height(this.small)," 800w, ").concat(this.$UrlFor(this.i).width(.75*this.large).height(this.large)," 1500w"):"1-1"==e?"".concat(this.$UrlFor(this.i).width(this.small).height(this.small)," 800w, ").concat(this.$UrlFor(this.i).width(this.large).height(this.large)," 1500w"):"".concat(this.$UrlFor(this.i).width(this.small).auto("format")," 800w, ").concat(this.$UrlFor(this.i).width(this.large).auto("format")," 1500w")}return"".concat(this.$UrlFor(this.i).width(this.small).auto("format")," 800w, ").concat(this.$UrlFor(this.i).width(this.large).auto("format")," 1500w")}},data:function(){var e=this,t=this.$createElement;return{ready:!1,serializers:{marks:{internalLink:function(r){var mark=r.mark,n=r.children,o=mark.reference,link=(o._type,o.url,e.$FormatLink(mark.reference)),l=e.$FormatLinkType(mark.reference);return t("a",{attrs:{href:link,rel:"noopener"},class:l},[n])}}}}}},l=(r(435),r(6)),component=Object(l.a)(o,(function(){var e=this,t=e._self._c;return e.$Check(e.i)?t("figure",{staticClass:"simple_image"},[t("img",{ref:"img",class:{img_loading:!e.ready},attrs:{src:e.src,sizes:"(max-width: 768px) 100vw, (min-width: 769px) 80vw, 100vw",srcset:e.srcset,alt:e.i.alt},on:{load:function(t){e.ready=!0}}}),e._v(" "),e.showCaption&&e.$Check(e.i.caption)?t("figcaption",{staticClass:"simple_caption fs--small center mt--1_2"},[e.$CheckA(e.i.caption.caption)?t("block-content",{attrs:{blocks:e.i.caption.caption,serializers:e.serializers}}):e._e()],1):e._e()]):e._e()}),[],!1,null,null,null);t.default=component.exports},432:function(e,t,r){var content=r(436);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,r(20).default)("7b40b129",content,!0,{sourceMap:!1})},435:function(e,t,r){"use strict";r(432)},436:function(e,t,r){var n=r(19)((function(i){return i[1]}));n.push([e.i,"figure.simple_image{margin:0;padding:0;position:relative;width:100%}figure.simple_image.mb--1{margin-bottom:var(--margin)}figure.simple_image.mb--2{margin-bottom:var(--margin_x2)}figure.simple_image img.img_loading{opacity:0}figure.simple_image img{display:block;opacity:1;position:relative;transition:var(--opacity);width:100%}.simple_caption{margin-top:var(--margin_half);min-height:calc(var(--reg)*1.3)}.featured_image figure.simple_image img{max-height:80vh;max-width:100%;width:auto}",""]),n.locals={},e.exports=n},439:function(e,t,r){var content=r(442);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,r(20).default)("3ee19366",content,!0,{sourceMap:!1})},440:function(e,t,r){"use strict";r.r(t);r(250);var n={components:{ProgramThumb:r(444).default},props:{programs:Array,size:String,limit:Number,showTime:Boolean}},o=r(6),component=Object(o.a)(n,(function(){var e=this,t=e._self._c;return t("section",{staticClass:"grid grid--sans"},e._l(e.programs,(function(r,i){return!e.$Check(e.limit)||i<e.limit?t("ProgramThumb",{key:r._id,class:e.size,attrs:{p:r,showTime:e.showTime}}
1):e._e()})),1)}),[],!1,null,null,null);t.default=component.exports},441:function(e,t,r){"use strict";r(439)},442:function(e,t,r){var n=r(19)((function(i){return i[1]}));n.push([e.i,".program_thumb figure{background-color:var(--red)}.program_thumb.thumb--exhibition figure{background:var(--lavender)}.program_thumb.thumb--edu figure{background:var(--green)}.program_thumb.thumb--performance figure{background:var(--purple)}.program_thumb.thumb--rentals figure{background:var(--blue)}@media screen and (any-hover:hover){.program_thumb:hover .program_title{color:var(--red)}.program_thumb.thumb--exhibition:hover .program_title{color:var(--lavender)}.program_thumb.thumb--edu:hover .program_title{color:var(--green)}.program_thumb.thumb--performance:hover .program_title{color:var(--purple)}.program_thumb.thumb--rentals:hover .program_title{color:var(--blue)}.program_thumb:hover img{filter:grayscale(100%);mix-blend-mode:screen}}",""]),n.locals={},e.exports=n},444:function(e,t,r){"use strict";r.r(t);r(122),r(56),r(14),r(22),r(64),r(55),r(25);var n={components:{SimpleImage:r(431).default},props:{p:Object,showTime:Boolean},data:function(){return{showHover:0}},methods:{prepareHover:function(){this.showHover=this.showHover>=30?30:this.showHover+1},cancelHover:function(){this.showHover=0},commitHover:function(){this.$store.commit("aHover",this.description)}},watch:{showHover:function(e){e>=30&&this.commitHover()}},computed:{nearestShowtime:function(){var e=this,t=[].concat(this.p.showTimes).filter((function(s){return e.$Check(s)&&e.$Check(s.date)})),r=(this.$moment(),t.filter((function(s){return e.$moment().isBefore(e.$moment(s.date),"day")||e.$moment().isSame(e.$moment(s.date),"day")})));return!!this.$CheckA(r)&&r[0]},description:function(){if(this.$Check(this.p.hover))return this.p.hover;var e="";if(this.$CheckA(this.p.eventType)){var t=this.p.eventType[0];e=t.title,"rentals"==t.url&&(e+=" Event"),"education"==t.url&&(e="Place to Learn")}else e="Program";var p=this.$CheckA(this.p.people)?this.p.people.map((function(e){return e.title})).join(", "):"",r="";return(this.$Check(p)||this.$Check(e))&&(r=": "),this.$Check(p)&&this.$Check(e)&&(e+=" by "),e+p+r+" <em>".concat(this.p.title,"</em>")},thumbType:function(){var e="thumb--default";if(this.$CheckA(this.p.eventType)){var t=this.p.eventType[0];"performance"==t.url?e="thumb--performance":"exhibition"==t.url?e="thumb--exhibition":"rentals"==t.url?e="thumb--rentals":"education"==t.url&&(e="thumb--edu")}return e},eventType:function(){var e="dot--default";if(this.$CheckA(this.p.eventType)){var t=this.p.eventType[0];"performance"==t.url?e="dot--performance":"exhibition"==t.url?e="dot--exhibition":"rentals"==t.url?e="dot--rentals":"education"==t.url&&(e="dot--edu")}return e}}},o=(r(441),r(6)),component=Object(o.a)(n,(function(){var e=this,t=e._self._c;return t("nuxt-link",{staticClass:"program_thumb col col--tile mt--1_2 mb--2 mmb--1 grid grid--sans",class:e.thumbType,attrs:{to:"/programs/"+e.p.url},nativeOn:{mousemove:function(t){return e.prepareHover.apply(null,arguments)},mouseleave:function(t){return e.cancelHover.apply(null,arguments)}}},[e.$Check(e.p.featuredImage)&&e.$Check(e.p.featuredImage.asset)?t("SimpleImage",{staticClass:"col col--full",attrs:{i:e.p.featuredImage}}):e._e(),e._v(" "),t("aside",{staticClass:"col program_dot mt--1_2"},[t("div",{staticClass:"fs--regular dot_link",class:e.eventType})]),e._v(" "),t("section",{staticClass:"mt--1_2 col program_title"},[t("h1",[e.$CheckA(e.p.people)?t("span",{domProps:{innerHTML:e._s(e.p.people.map((function(e){return e.title})).join(", ")+"<br />")}}):e._e(),e._v(" "),t("em",{domProps:{innerHTML:e._s(e.p.title)}})]),e._v(" "),e.showTime&&e.$CheckA(e.p.showTimes)&&e.$Check(e.nearestShowtime)?t("h2",{attrs:{"data-notranslation":""}},[t("span",{domProps:{innerHTML:e._s(e.$DateRange({start:e.nearestShowtime.date,override:e.p.dateOverride}))}}),e._v(", \n\t\t\t"),t("span",{domProps:{innerHTML:e._s("00"==e.$moment(e.nearestShowtime.date).format("mm")?e.$moment(e.nearestShowtime.date).format("ha"):e.$moment(e.nearestShowtime.date).format("h:mma"))}})]):t("h2",{attrs:{"data-notranslation":""}},[t("span",{domProps:{innerHTML:e._s(e.$DateRange({start:e.p.startDate,end:e.p.endDate,override:e.p.dateOverride})+(e.$Check(e.p.startTimes)?", ":""))}}),e._v(" "),t("span",{domProps:{innerHTML:e._s(e.$FormatTimes(e.p.startTimes))}}
1)])])],1)}),[],!1,null,null,null);t.default=component.exports;installComponents(component,{SimpleImage:r(431).default})},610:function(e,t,r){"use strict";r.r(t);r(25),r(14);var n=r(611),o=r(9),l=(r(48),r(55),r(58),r(56),r(28),r(579),r(67),r(51),r(124),r(582),r(583),r(584),r(588),r(589),r(590),r(591),r(593),r(595),r(597),r(599),r(600),r(601),r(602),r(603),r(605),r(26),r(49),r(54)),c={components:{ProgramGrid:r(440).default},props:{recent:Array,title:String},data:function(){return{count:8,filter:"",year:"",years:[],showSearch:!1,searchQuery:"",lastSearch:"",noResults:!1,searchResults:[]}},methods:{increaseCount:function(){this.count=this.recent.length>this.count?this.count+8:this.recent.length},cancelSearch:function(){this.showSearch=!1,this.searchQuery="",this.lastSearch="",this.searchResults=[],this.noResults=!1},submitSearch:function(e){e.preventDefault(),console.log("testing!!"),""!==this.searchQuery&&this.retrieveSearch()},revealSearch:function(){var e=this;this.showSearch?this.retrieveSearch():(this.showSearch=!0,this.$nextTick((function(){e.$refs.search.focus()})))},retrieveSearch:function(){var e=this;return Object(o.a)(regeneratorRuntime.mark((function t(){var p,r,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(""===e.searchQuery){t.next=13;break}return p={search:e.searchQuery},t.next=4,e.$SanityRequestP(l.e,p,!1);case 4:r=t.sent,console.log(r),o=[],e.$CheckA(r.results)&&(o=r.results),e.$CheckA(r.people)&&r.people.forEach((function(p){o=[].concat(o).concat(p.related)})),o=Object(n.a)(new Set(o)),e.$CheckA(o)?(e.noResults=!1,e.searchResults=o,e.lastSearch=e.searchQuery):(e.noResults=!0,e.lastSearch=e.searchQuery,e.searchResults=[]),t.next=14;break;case 13:console.log("no search query");case 14:case"end":return t.stop()}}),t)})))()},setFilter:function(e){e==this.filter?this.filter="":this.filter=e},setYear:function(e){e==this.year?this.year="":this.year=e}},computed:{filteredResults:function(){var e=this;return""==this.filter?this.recent:[].concat(this.recent).filter((function(t){return e.$CheckA(t.eventType)&&t.eventType.map((function(e){return e.title})).includes(e.filter)}))}}},h=r(6),component=Object(h.a)(c,(function(){var e=this,t=e._self._c;return t("section",{staticClass:"col col--full mt--4 mb--4"},[t("nav",{staticClass:"grid grid--sans mb--return"},[t("h2",{staticClass:"fs--regular col col--full mb--return morder--1",domProps:{innerHTML:e._s(e.title)}}),e._v(" "),e.showSearch?t("form",{ref:"searchForm",staticClass:"col col--3_4 mcol--2_3 fs--regular search_form morder--2 mpt--1_2",on:{submit:e.submitSearch}},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.searchQuery,expression:"searchQuery"}],ref:"search",attrs:{id:"search_field",type:"text",name:"Search",placeholder:"Search all Events..."},domProps:{value:e.searchQuery},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"escape",void 0,t.key,void 0)?null:e.cancelSearch.apply(null,arguments)},input:function(t){t.target.composing||(e.searchQuery=t.target.value)}}})]):t("p",{staticClass:"col col--3_4 left mcol--full m_left fs--regular morder--4"},[t("button",{staticClass:"mr--1 nav--red",class:{"clr--red":""!==e.filter,active_filter:""===e.filter},on:{click:function(t){return e.setFilter("")}}},[e._v("All")]),e._v(" "),t("button",{staticClass:"mr--1 force_dot--purple nav--default hvr--purple",class:{"clr--red":"Performance"!==e.filter,active_filter:"Performance"===e.filter},on:{click:function(t){return e.setFilter("Performance")}}},[e._v("Performances")]),e._v(" "),t("button",{staticClass:"mr--1 force_dot--lavender nav--default hvr--lavender",class:{"clr--red":"Exhibition"!==e.filter,active_filter:"Exhibition"===e.filter},on:{click:function(t){return e.setFilter("Exhibition")}}},[e._v("Exhibitions")]),e._v(" "),t("button",{staticClass:"mr--1 nav--edu nav--default hvr--green",class:{"clr--red":"Education"!==e.filter,active_filter:"Education"===e.filter},on:{click:function(t){return e.setFilter("Education")}}},[e._v("Education")]),e._v(" "),t("button",{staticClass:"force_dot--blue nav--default hvr--blue",class:{"clr--red":"Rentals"!==e.filter,active_filter:"Rentals"===e.filter},on:{click:function(t){return e.setFilter("Rentals")}}},[e._v("Rentals")])]),e._v(" "),t("p",{staticClass:"col col--1_4 col--end right morder--3 mmb--return mcol--1_3 fs--regular",class:[{m_left:!e.showSearch},{"mpt--1_2 mpr--1_2 show_search":e.showSearch}]},[t("button",{staticClass:"fs--regular submit_search clr--red hvr--black",on:{click:e.revealSearch}},[e._v("Search")]),e._v(" "),e.showSearch?t("button",{staticClass:"fs--regular cancel_search stroke--red hvr--black",on:{click:e.cancelSearch}},[t("svg",{attrs:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M1.5 4L14.5 15","stroke-width":"1.5","stroke-linecap":"round"}}),e._v(" "),t("path",{attrs:{d:"M14.5 4L1.5 15","stroke-width":"1.5","stroke-linecap":"round"}}
1)])]):e._e()])]),e._v(" "),e.noResults?t("p",{staticClass:"fs--regular mb--return"},[e._v("\n\t\tYour search, â"+e._s(e.lastSearch)+",â did not return any Events.\n\t")]):e.$CheckA(e.searchResults)?t("p",{staticClass:"fs--regular mb--return"},[e._v(e._s(e.searchResults.length)+" Event"+e._s(1==e.searchResults.length?"":"s")+" match"+e._s(1==e.searchResults.length?"es":"")+" your search â"+e._s(e.lastSearch)+"â")]):e._e(),e._v(" "),e.$CheckA(e.searchResults)?t("ProgramGrid",{attrs:{programs:e.searchResults,showTime:!0,limit:null,size:"col--1_4 mcol--1_2 mcol--tile"}}):e.$CheckA(e.filteredResults)&&!e.noResults?[t("ProgramGrid",{attrs:{programs:e.filteredResults,showTime:!0,limit:""==e.filter?e.count:null,size:"col--1_4 mcol--1_2 mcol--tile"}}),e._v(" "),e.recent.length>e.count?t("p",{staticClass:"fs--regular"},[t("button",{staticClass:"clr--red hvr--black",on:{click:e.increaseCount}},[e._v("+ View More")])]):e._e()]:e.noResults?e._e():t("p",{staticClass:"fs--regular"},[e._v("There are no recent "+e._s(e.$Check(e.filter)?e.filter+"s":"Events")+" listed.")])],2)}),[],!1,null,null,null);t.default=component.exports}}]);
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.