1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["static/BrochureStack-BVV7895W.js","static/index-Dk8RHkdd.js","static/vue-WuHqyJOJ.js","static/photoswipe-DBz4ixLY.js","static/photoswipe-D1Jdo9Br.css","static/maps-DUMK4Hs6.js","static/maps-DSueV38R.css","static/index-DoQNbu2X.css","static/EventsMixin-Ct1Rwlyr.js","static/HyperlinkMixin-EO20WStn.js","static/BrochureStack-CYbCXMYb.css"])))=>i.map(i=>d[i]); 2import{a as y,_ as g}from"./maps-DUMK4Hs6.js";import{_ as r}from"./index-Dk8RHkdd.js";import{H as w}from"./HeroMixin-CqOQoioP.js";import{a0 as s,ae as E,ac as S,x as t,v as l,a2 as n,af as i,a3 as o,$ as a,y as m,ad as h,a1 as V}from"./vue-WuHqyJOJ.js";import"./photoswipe-DBz4ixLY.js";import"./HyperlinkMixin-EO20WStn.js";const $={class:"home-events"},B={key:0,class:"display-option show-all"},C={class:"label"},D={key:0,class:"display-option show-all"},I={class:"label"};function T(e,O,H,L,N,R){const c=s("icon-plus-circle-outline"),d=s("router-link"),u=s("event-brochure-stack"),p=s("segment"),v=s("event-card"),_=s("slick-slides"),b=s("loading-spinner"),f=E("observe-visibility");return S((t(),l("div",$,[e.exhibitions.length?(t(),n(p,{key:0,class:"segment-exhibitions",title:e.$t("navigation.sub.exhibitions")},{"display-options":i(()=>[e.isIntersectionVisible?(t(),l("div",B,[a(d,{to:e.getLocalizedSearchRoute("EventsSearch",{EventClass:"Exhibition"})},{default:i(()=>[a(c,{title:""}),m("span",C,h(e.$t("common.showAll")),1)]),_:1},8,["to"])])):o("",!0)]),default:i(()=>[e.isIntersectionVisible?(t(),n(u,{key:0,items:e.exhibitions,count:5},null,8,["items"])):o("",!0)]),_:1},8,["title"])):o("",!0),e.events.length?(t(),n(p,{key:1,class:"segment-events",title:e.$t("navigation.sub.events")},{"display-options":i(()=>[e.isIntersectionVisible?(t(),l("div",D,[a(d,{to:e.getLocalizedSearchRoute("EventsSearch")},{default:i(()=>[a(c,{title:""}),m("span",I,h(e.$t("common.showAll")),1)]),_:1},8,["to"])])):o("",!0)]),default:i(()=>[e.isIntersectionVisible?(t(),n(_,{key:0,class:"is-ancestor",options:e.slickOptions,items:e.events},{"slide-card":i(k=>[a(v,{item:k.item,"image-as-background":!0,resolution:{x:"50vw"},social:!1,"use-palette":!0},null,8,["item"])]),_:1},8,["options","items"])):o("",!0)]),_:1},8,["title"])):o("",!0),!e.ready&&!e.error?(t(),n(b,{key:2})):o("",!0)])),[[f,e.observeVisibilityOptions]])}const A={name:"home-events",mixins:[w],components:{EventBrochureStack:V(()=>g(()=>import("./BrochureStack-BVV7895W.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10])))},data:function(){return{events:[],exhibitions:[],slickOptions:{slidesToShow:2,slidesToScroll:1,rows:1,arrows:!0,variableWidth:!1,adaptiveHeight:!1,speed:500,responsive:[{breakpoint:500,settings:{variableWidth:!1,slidesToShow:1}}]}}},methods:{initSection:function(){const e=r.orderBy(this.items,"TopicDate","desc");this.exhibitions=r.filter(e,{EventClass:"Exhibition"}),this.events=r.difference(e,this.exhibitions),this.ready=!0}}},F=y(A,[["render",T]]);export{F as default};
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.