1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7594],{8463:function(e,l,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/org/[slug]",function(){return n(23750)}])},50684:function(e,l,n){"use strict";var t=n(85893),i=n(67294),r=n(5209);l.Z=function(e){var l=e.children,n=(0,i.useState)(!1),s=n[0],o=n[1],a=(0,i.useRef)();return(0,i.useLayoutEffect)((function(){var e=a.current;e&&o(e.scrollHeight<=300)}),[]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("div",{ref:a,style:{maxHeight:!1!==s?null!==s&&void 0!==s?s:"initial":300},className:"overflow-hidden transition-all ease-in-out duration-300",children:l}),!1===s&&(0,t.jsx)("div",{className:"absolute bottom-0 bg-gradient-to-t from-white via-[#ffffffaf] to-transparent ".concat(s?"h-0":"h-24"," w-full z-50")})]}),!1===s&&(0,t.jsx)(r.Z,{onClick:function(){var e;o(null!==(e=a.current.scrollHeight)&&void 0!==e?e:"initial")},className:"mt-2",size:"sm",block:!0,type:"button",variant:"outline",children:"Show more"})]})}},28296:function(e,l,n){"use strict";var t=n(85893),i=n(67294),r=n(90213),s=n(93150);function o(e,l,n){return l in e?Object.defineProperty(e,l,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[l]=n,e}function a(e){for(var l=1;l<arguments.length;l++){var n=null!=arguments[l]?arguments[l]:{},t=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),t.forEach((function(l){o(e,l,n[l])}))}return e}l.Z=function(e){var l,n=e.tabs,o=e.addOn,d=e.extraOptions,c=e.extraParams,u=(0,i.useState)(null===n||void 0===n||null===(l=n[0])||void 0===l?void 0:l.key),m=u[0],v=u[1],f=null===n||void 0===n?void 0:n.find((function(e){return e.key===m}));return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsxs)("div",{className:"md:flex relative flex-1 gap-2 space-y-2 md:space-y-0",children:[d,(0,t.jsx)(s.Z,{value:m,onChange:v,label:null===f||void 0===f?void 0:f.label,options:(null===n||void 0===n?void 0:n.map((function(e){return{value:e.key,label:e.label}})))||[]})]}),o&&(0,t.jsx)("div",{children:o})]}),(0,t.jsx)("div",{className:"mt-5",children:(0,t.jsx)(r.y,{params:a({},null===f||void 0===f?void 0:f.params,c)})})]})}},69467:function(e,l,n){"use strict";n.d(l,{$:function(){return v}});var t=n(85893),i=n(67294),r=n(45697),s=n.n(r),o=n(41664),a=n(25675),d=n(4374);function c(e,l,n){return l in e?Object.defineProperty(e,l,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[l]=n,e}function u(e){for(var l=1;l<arguments.length;l++){var n=null!=arguments[l]?arguments[l]:{},t=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),t.forEach((function(l){c(e,l,n[l])}))}return e}function m(e,l){if(null==e)return{};var n,t,i=function(e,l){if(null==e)return{};var n,t,i={},r=Object.keys(e);for(t=0;t<r.length;t++)n=r[t],l.indexOf(n)>=0||(i[n]=e[n]);return i}(e,l);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(t=0;t<r.length;t++)n=r[t],l.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var v=function(e){var l=e.type,n=e.hasMore,i=m(e,["type","hasMore"]);switch(l){case"inline":return(0,t.jsx)(h,u({},i));case"billboard":return(0,t.jsx)(f,u({},i));default:return(0,t.jsx)(x,u({hasMore:n},i))}},f=function(e){var l=e.children,n=e.background,i=e.className,r=m(e,["children","background","className"]);return(0,t.jsx)("div",u({className:["pb-6 lg:pb-8 relative bg-".concat(n),i].join(" ")},r,{children:l}))},h=function(e){var l=e.children,n=e.title,r=e.subtitle,s=e.link,c=e.icon,v=e.linkLabel,f=e.className,h=m(e,["children","title","subtitle","link","icon","linkLabel","className"]),x=(0,d.$)("common").t;return(0,t.jsxs)("div",u({className:["flex flex-row flex-wrap gap-3 bg-white rounded-lg p-3 relative overflow-hidden",f].join(" ")},h,{children:[(0,t.jsxs)("div",{className:"w-full md:flex-1 lg:p-3",children:[c&&(0,t.jsx)(t.Fragment,{children:(0,i.isValidElement)(c)?c:(0,t.jsx)("div",{className:"w-16 h-16 mb-2 relative hidden md:block",children:(0,t.jsx)(a.default,{unoptimized:!0,src:c,layout:"fill",className:"object-contain w-full",alt:""})})}),(0,t.jsxs)("div",{className:"flex flex-row md:flex-col gap-3 items-center justify-between md:items-start w-full -mb-3 mt-2 lg:mb-3 lg:pr-2",children:[(0,t.jsxs)("div",{className:"flex-1",children:[n&&(0,t.jsx)("h3",{className:"h3 mb-1",children:n}),r&&(0,t.jsx)("p",{className:"text-sm text-gray-700 leading-tight",children:r})]}),s&&(0,t.jsx)(o.default,{href:s,prefetch:!1,children:(0,t.jsx)("a",{className:"underline font-normal text-sm hover:opacity-75 transition-opacity duration-240 inline-block",children:v||x("show-all")}
1)})]})]}),(0,t.jsx)("div",{className:"w-full md:w-10/12 lg:w-5/6 md:pr-3",children:l})]}))},x=function(e){var l=e.children,n=e.title,i=e.subtitle,r=e.link,s=e.linkLabel,a=e.background,c=e.hasMore,v=e.className,f=m(e,["children","title","subtitle","link","linkLabel","background","hasMore","className"]),h=(0,d.$)("common").t;return(0,t.jsx)("section",u({className:["dark"==a?"bg-dark my-5":"","relative overflow-hidden"].join(" ")},f,{children:(0,t.jsxs)("div",{className:["px-4 lg:container","dark"==a?"py-6 lg:py-12 lg:pb-12":"py-5",v].join(" "),children:[(0,t.jsxs)("div",{className:"flex flex-row flex-wrap",children:[n&&(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsx)("h3",{className:"dark"==a?"h2 text-white":"h3",children:n}),i&&(0,t.jsx)("p",{className:"mt-1 text-sm text-gray-700 leading-tight",children:i})]}),r&&(0,t.jsx)(o.default,{href:r,prefetch:!1,children:(0,t.jsx)("a",{className:["underline font-normal text-sm hover:opacity-75 transition-opacity duration-240",c&&"md:mr-24","dark"==a?"text-white":""].join(" "),children:s||h("show-all")})})]}),(0,t.jsx)("div",{className:"flex flex-col gap-4",children:l})]})}))};v.defaultProps={type:"block",background:"light"},v.propTypes={type:s().oneOf(["block","inline","billboard"]),background:s().oneOf(["light","dark","curtain"])}},23750:function(e,l,n){"use strict";n.r(l),n.d(l,{__N_SSG:function(){return S},default:function(){return Z}});var t=n(85893),i=n(11163),r=n(67294),s=n(25675),o=(n(34051),n(3471)),a=n(8113);function d(e,l,n){return l in e?Object.defineProperty(e,l,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[l]=n,e}function c(e){for(var l=1;l<arguments.length;l++){var n=null!=arguments[l]?arguments[l]:{},t=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),t.forEach((function(l){d(e,l,n[l])}))}return e}function u(e){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a.Z.get("v1/organisations/".concat(e),{params:l,skipAuth:!0}).then((function(e){return e.data})).then((function(e){return null===e||void 0===e?void 0:e.data}))}var m=n(36759),v=n(67434),f=(n(69467),n(31438)),h=n(98352),x=n(27472),b=n(28296),p=n(4374),g=n(5567),j=n(18830),y=n(21646),w=n(67282),N=n(89024),k=n(2804),O=n(18543),_=n(91805),E=n(50684);function P(){var e,l,n,a,d,P,S,Z=(0,i.useRouter)().query.slug,T=(0,p.$)("common").t,I=(0,k.Zl)(N.Z),A=function(e){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,o.useQuery)(["organisations",e],(function(){return u(e)}),c({enabled:!!e,staleTime:1/0},l))}(Z),L=A.data,M=A.isLoading,F=(0,r.useState)(0),C=F[0],D=F[1];(0,r.useRef)(null);return(0,w.ZP)("organisation",{id:null===L||void 0===L?void 0:L.id,slug:null===L||void 0===L?void 0:L.slug,title:null===L||void 0===L?void 0:L.name,partnerId:null!==(P=null===L||void 0===L?void 0:L.customAttributes.GA4_MEASUREMENT_ID)&&void 0!==P?P:null,partnerMetaPixelId:null!==(S=null===L||void 0===L?void 0:L.customAttributes.META_PIXEL_ID)&&void 0!==S?S:null},!M&&!!(null===L||void 0===L?void 0:L.id)),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(v.Z,{pageTitle:(null===L||void 0===L||null===(e=L.customAttributes)||void 0===e?void 0:e.SEO_TITLE)||(null===L||void 0===L?void 0:L.name),title:(null===L||void 0===L||null===(l=L.customAttributes)||void 0===l?void 0:l.SEO_TITLE)||(null===L||void 0===L?void 0:L.name),description:null===L||void 0===L||null===(n=L.customAttributes)||void 0===n?void 0:n.SEO_DESCRIPTION}),(0,t.jsx)("div",{className:"bg-mesh-gradient-2",children:(0,t.jsx)("div",{className:"container md:pt-12",children:M?(0,t.jsx)(m.Z,{size:"lg",className:"my-24"}):(0,t.jsxs)("div",{className:"flex flex-row flex-wrap gap-3 md:gap-8",children:[(0,t.jsx)("div",{className:"w-full md:w-2/6 order-1 md:order-1",children:(0,t.jsxs)("div",{className:"pt-5 md:pt-0 md:pb-6 md:px-5",children:[(0,t.jsx)("div",{className:"inline-block rounded-xl overflow-hidden bg-gray-200 mb-5 shadow-lg border-4 border-white ".concat((null===L||void 0===L?void 0:L.logo)?"bg-white":"bg-gray-200"," order-1"),children:(0,t.jsx)("div",{className:"w-40 h-40 relative flex items-center justify-center",children:(0,t.jsx)(s.default,{unoptimized:!0,placeholder:y.Z,src:(null===L||void 0===L?void 0:L.logo)?null===L||void 0===L?void 0:L.logo:y.Z,layout:"fill",objectFit:"cover",alt:""})})}),(0,t.jsx)("h1",{className:"h2 mb-2",children:(null===L||void 0===L?void 0:L.name)||(0,t.jsx)(t.Fragment,{children:"\xa0"})}),(0,t.jsx)(_.Z,{attributes:null===L||void 0===L?void 0:L.customAttributes,className:"hidden md:block"}),(0,t.jsxs)("div",{className:"w-full md:flex-1",children:[((null===L||void 0===L?void 0:L.events_count)>0||(null===L||void 0===L?void 0:L.users_favourited_count)>0)&&(0,t.jsxs)("p",{className:"text-sm mb-3 text-gray-500",children:[(null===L||void 0===L?void 0:L.events_count)>0&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"text-gray-800 font-semibold",children:L.events_count})," events"]}),(null===L||void 0===L?void 0:L.events_count)>0&&(null===L||void 0===L?void 0:L.users_favourited_count)>0&&(0,t.jsx)("span",{className:"mx-1",children:"\xb7"}),(null===L||void 0===L?void 0:L.users_favourited_count)>0&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"text-gray-800 font-semibold",children:L.users_favourited_count})," favourites"]})]}),(0,t.jsxs)("div",{className:"flex flex-row gap-2",children:[(0,t.jsx)("div",{className:"flex-1",children:(0,t.jsx)(x.Z,{className:"!duration-[0ms]",type:"organisation",id:null===L||void 0===L?void 0:L.id})}),(0,t.jsx)(j.Z,{title:null===L||void 0===L?void 0:L.name,cover:(null===L||void 0===L?void 0:L.banner)||(null===L||void 0===L?void 0:L.logo),type:"organisation",id:null===L||void 0===L?void 0:L.id,slug:null===L||void 0===L?void 0:L.slug})]}),(0,t.jsxs)("div",{className:"md:hidden flex flex-row w-screen -ml-4 xs:ml-0 xs:w-full border-y my-3",children:[(0,t.jsx)("button",{onClick:function(){return D(0)},className:[0===C?"border-black font-medium":"text-gray-400","flex-1 mx-auto text-center justify-center py-4 border-b-2 border-transparent"].join(" "),children:"Event"}),(0,t.jsx)("button",{onClick:function(){return D(1)},className:[1===C?"border-black font-medium":"text-gray-400","flex-1 mx-auto text-center justify-center py-4 border-b-2 border-transparent"].join(" "),children:"Info"})]}),(0,t.jsx)(g.Z,{attributes:null===L||void 0===L?void 0:L.customAttributes,className:1===C?"":"hidden md:block"})]})]})}),(0,t.jsxs)("div",{className:"md:flex-1 order-2 md:order-1",children:[((null===L||void 0===L?void 0:L.body)||(null===L||void 0===L||null===(a=L.gallery)||void 0===a?void 0:a.length)>0)&&(0,t.jsx)("div",{className:[1===C?"":"hidden md:block","mb-10"].join(" "),children:(0,t.jsxs)("div",{className:"bg-white md:shadow-[1px_1px_10px_1px_#efefef] p-0 md:p-8 rounded-2xl",children:[(null===L||void 0===L||null===(d=L.gallery)||void 0===d?void 0:d.length)>0&&(0,t.jsx)(f.Z,{type:"gallery",className:"-mx-4 px-4 mb-5",children:L.gallery.map((function(e,l){return(0,t.jsx)(h.o5,{children:(0,t.jsx)("div",{className:"relative",children:(0,t.jsx)("a",{href:"#",onClick:function(e){e.preventDefault(),I({data:null===L||void 0===L?void 0:L.gallery.map((function(e){return e.url})),type:"swiper",index:l})},className:"block aspect-w-4 aspect-h-3 bg-white relative rounded-lg overflow-hidden",children:(0,t.jsx)(s.default,{unoptimized:!0,src:e.url,objectFit:"cover",layout:"fill",alt:""})})})},e.id)}))}),L.body&&(0,t.jsx)(E.Z,{children:(0,t.jsx)("div",{className:"prose lg:prose-base max-w-full text-gray-700 body-content",dangerouslySetInnerHTML:{__html:L.body.replace(/\n/g,"")}})})]})}),(0,t.jsx)("div",{className:[0===C?"":"hidden md:block","mb-8"].join(" "),children:(0,t.jsx)("div",{className:"w-full pb-16 sm:px-0",children:(0,t.jsx)(b.Z,{tabs:[{key:"all",label:T("events.all"),params:{sort:"nearest",organisation:Z,limit:12,region:null,resource:"collection"}},{key:"shows-performances",label:T("events.shows-performances"),params:{sort:"nearest",organisation:Z,limit:12,type:["event","festival"],region:null,resource:"collection"}},{key:"workshops-experiences",label:T("events.workshops-experiences"),params:{sort:"nearest",organisation:Z,limit:12,type:["workshop","audition"],region:null,resource:"collection"}},{key:"past",label:T("events.past"),params:{sort:"nearest",state:"past",organisation:Z,limit:12,region:null,resource:"collection"}}]})})})]})]})})}),(0,t.jsx)(O.Z,{})]})}P.trackPageViews=!1;var S=!0,Z=P}},function(e){e.O(0,[2013,7965,7477,2737,1051,9774,2888,179],(function(){return l=8463,e(e.s=l);var l}));var l=e.O();_N_E=l}]);
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.