1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4942],{1393:function(e,t,l){l.r(t);var n,i=l(4410);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}t.default=function(e){return i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:28,height:22,fill:"none"},e),n||(n=i.createElement("path",{fill:"#1B1B1B",d:"M12.688 15.767c0 3.446-2.771 6.233-6.271 6.233C2.77 22 0 18.92 0 14.887 0 10.413 2.917 4.987 6.563 0h5.979c-2.407 3.593-4.084 6.6-5.177 9.607 3.062.44 5.323 3.08 5.323 6.16m15.312 0C28 19.213 25.23 22 21.73 22c-3.647 0-6.417-3.08-6.417-7.113 0-4.474 2.916-9.9 6.562-14.887h5.98c-2.407 3.593-4.084 6.6-5.178 9.607 3.063.44 5.323 3.08 5.323 6.16"})))}},2625:function(e,t,l){l.d(t,{aQ:function(){return r},eZ:function(){return c},vh:function(){return o}});let n=l(2737);var i=l(6902),a=l(1388);let s=l(7905);function o(e,t){return n(e).tz("America/Edmonton").format(t||"DD MMMM, YYYY")}function r(e,t){return n(e).format(t||"DD MMMM, YYYY")}function c(e,t){return n(e,"HH:mm:ss.SSS").format(t||"h a")}n.extend(i),n.extend(a),n.extend(s)},8011:function(e,t,l){l.d(t,{vh:function(){return i.vh},aQ:function(){return i.aQ},XI:function(){return n},eZ:function(){return i.eZ}});let n=(e,t,l)=>"".concat("https://d3aive3alj3zrj.cloudfront.net").concat(e);var i=l(2625)},397:function(e,t,l){l.r(t),l.d(t,{default:function(){return o}});var n=l(7437),i=l(8011),a=l(8002),s=l(6195);function o(e){var t,l,o,r,c,d,u,v,h,m,p,x,f,g,b,j,_,N,w,k,y,S,C,E,T,L,P,M,D,O,z,F,I,R,B,Z,A,H;let q=null==e?void 0:null===(t=e.src)||void 0===t?void 0:t.ext,G=null==e?void 0:e.size,W=e.rounded,Y=(null==e?void 0:e.class)?e.class:"",Q=e.noLazyLoad,X=e.alt||(null==e?void 0:null===(l=e.src)||void 0===l?void 0:l.alternativeText)||(null==e?void 0:e.alt)||"";return(0,n.jsx)(n.Fragment,{children:".svg"===q&&e.hover?(0,n.jsx)(a.Q,{className:"logo-container ".concat(Y),src:(0,i.XI)(null==e?void 0:null===(o=e.src)||void 0===o?void 0:o.url),evalScripts:"always",afterInjection:e=>{setTimeout(()=>{let t=null==e?void 0:e.getElementsByTagName("path");if(t&&null!==t)for(let e of Array.from(t))e.style.fill="currentColor",e.style.transition="0.27s 0.1s cubic-bezier(0.38, 0.005, 0.213, 1)"},100)}}):".svg"===q?(0,n.jsx)(a.Q,{className:"logo-container ".concat(Y),src:(0,i.XI)(null==e?void 0:null===(r=e.src)||void 0===r?void 0:r.url),evalScripts:"always"}):G?"full"===G?Q?(0,n.jsx)("img",{style:e.style,className:"".concat(W?"rounded":""," ").concat(Y),src:(0,i.XI)(null==e?void 0:null===(g=e.src)||void 0===g?void 0:null===(f=g.formats)||void 0===f?void 0:null===(x=f.full)||void 0===x?void 0:x.url),alt:X,width:(null==e?void 0:e.width)?null==e?void 0:e.width:null==e?void 0:null===(_=e.src)||void 0===_?void 0:null===(j=_.formats)||void 0===j?void 0:null===(b=j.full)||void 0===b?void 0:b.width,height:null==e?void 0:e.height}):(0,n.jsx)(s.LazyLoadImage,{effect:"blur",style:e.style,className:"".concat(W?"rounded":""," ").concat(Y),src:(0,i.XI)(null==e?void 0:null===(k=e.src)||void 0===k?void 0:null===(w=k.formats)||void 0===w?void 0:null===(N=w.full)||void 0===N?void 0:N.url),alt:X,width:(null==e?void 0:e.width)?null==e?void 0:e.width:""}):"small"===G?Q?(0,n.jsx)("img",{style:e.style,className:"".concat(W?"rounded":""," ").concat(Y),src:(0,i.XI)(null==e?void 0:null===(C=e.src)||void 0===C?void 0:null===(S=C.formats)||void 0===S?void 0:null===(y=S.small)||void 0===y?void 0:y.url),alt:X,width:(null==e?void 0:e.width)?null==e?void 0:e.width:null==e?void 0:null===(L=e.src)||void 0===L?void 0:null===(T=L.formats)||void 0===T?void 0:null===(E=T.small)||void 0===E?void 0:E.width,height:null==e?void 0:e.height}):(0,n.jsx)(s.LazyLoadImage,{effect:"blur",style:e.style,className:"".concat(W?"rounded":""," ").concat(Y),src:(0,i.XI)(null==e?void 0:null===(D=e.src)||void 0===D?void 0:null===(M=D.formats)||void 0===M?void 0:null===(P=M.small)||void 0===P?void 0:P.url),alt:X,width:(null==e?void 0:e.width)?null==e?void 0:e.width:""}):Q?(0,n.jsx)("img",{style:e.style,className:"".concat(W?"rounded":""," ").concat(Y),src:(0,i.XI)(null==e?void 0:null===(F=e.src)||void 0===F?void 0:null===(z=F.formats)||void 0===z?void 0:null===(O=z.half)||void 0===O?void 0:O.url),alt:X,width:(null==e?void 0:e.width)?null==e?void 0:e.width:null==e?void 0:null===(B=e.src)||void 0===B?void 0:null===(R=B.formats)||void 0===R?void 0:null===(I=R.half)||void 0===I?void 0:I.width,height:null==e?void 0:e.he
1ight}):(0,n.jsx)(s.LazyLoadImage,{effect:"blur",style:e.style,className:"".concat(W?"rounded":""," ").concat(Y),src:(0,i.XI)(null==e?void 0:null===(H=e.src)||void 0===H?void 0:null===(A=H.formats)||void 0===A?void 0:null===(Z=A.half)||void 0===Z?void 0:Z.url),alt:X,width:(null==e?void 0:e.width)?null==e?void 0:e.width:""}):Q?(0,n.jsx)("img",{style:e.style,className:"".concat(W?"rounded":""," ").concat(Y),src:(0,i.XI)(null==e?void 0:null===(u=e.src)||void 0===u?void 0:null===(d=u.formats)||void 0===d?void 0:null===(c=d.half)||void 0===c?void 0:c.url),alt:X,width:(null==e?void 0:e.width)?null==e?void 0:e.width:null==e?void 0:null===(v=e.src)||void 0===v?void 0:v.width,height:null==e?void 0:e.height}):(0,n.jsx)(s.LazyLoadImage,{effect:"blur",style:e.style,className:"".concat(W?"rounded":""," ").concat(Y),src:(0,i.XI)(null==e?void 0:null===(p=e.src)||void 0===p?void 0:null===(m=p.formats)||void 0===m?void 0:null===(h=m.half)||void 0===h?void 0:h.url),alt:X,width:(null==e?void 0:e.width)?null==e?void 0:e.width:""})})}l(6435)},1396:function(e,t,l){l.d(t,{Z:function(){return o}});var n=l(7437);l(2265);var i=l(8011),a=l(7138),s=l(9512);function o(e){var t,l,o,r,c,d,u,v,h,m,p;let{artist:x,marquee:f}=e;return(0,n.jsxs)(a.default,{href:"../artists/".concat((null==x?void 0:x.slug)&&(null==x?void 0:x.slug))||0,"aria-label":"link to artist single page",rel:"noopener noreferrer",className:f?"artist-marquee-card":"artist-card rounded-2 ".concat((null==x?void 0:null===(t=x.background)||void 0===t?void 0:t.background_color)?"bg-"+(null==x?void 0:null===(l=x.background)||void 0===l?void 0:l.background_color):"bg-grey"," ").concat((null==x?void 0:null===(o=x.background)||void 0===o?void 0:o.text_color)?"text-"+(null==x?void 0:null===(r=x.background)||void 0===r?void 0:r.text_color):"text-black"),children:[!!(null==x?void 0:x.cover_photo.data)&&(0,n.jsx)("div",{className:"image-container ".concat(f?"artist-marquee-card-image image-top rounded-3":"artist-card-image rounded-2"),children:(0,n.jsx)("img",{style:{objectPosition:"".concat((null==x?void 0:x.cover_image_position_left)?null==x?void 0:x.cover_image_position_left:"50")+"% "+"".concat((null==x?void 0:x.cover_image_position_top)?x.cover_image_position_top:"50")+"%"},src:(0,i.XI)(null===(v=x.cover_photo.data)||void 0===v?void 0:null===(u=v.attributes)||void 0===u?void 0:null===(d=u.formats)||void 0===d?void 0:null===(c=d.small)||void 0===c?void 0:c.url),alt:null==x?void 0:null===(p=x.cover_photo)||void 0===p?void 0:null===(m=p.data)||void 0===m?void 0:null===(h=m.attributes)||void 0===h?void 0:h.alternativeText})}),(0,n.jsxs)("div",{className:f?"artist-marquee-card-content":"artist-card-content",children:[!!(null==x?void 0:x.name)&&(0,n.jsx)("h2",{className:f?"headline-4":"headline-6",children:null==x?void 0:x.name}),f&&(0,n.jsx)("span",{className:"artist-marquee-superscript",children:null==x?void 0:x.region_initials}),!f&&(0,n.jsx)("div",{className:"link-arrow",children:(0,n.jsx)(s.default,{})})]})]})}},4200:function(e,t,l){l.d(t,{default:function(){return r}});var n=l(7437),i=l(2265),a=l(2391),s=l(1396),o=l(3489);function r(e){var t;let{content:l,lineups:r}=e,[c,d]=i.useState("showAll"),u=null===(t=r[0])||void 0===t?void 0:t.attributes,v=function(){if(!l.show_filter||"showAll"===c){var e;let t;return t=[],null==u||null===(e=u.artist_lineup)||void 0===e||e.forEach(e=>{t.push(null==e?void 0:e.artists.data)}),{__typename:"ArtistRelationResponseCollection",data:t=(t=t.flat(1)).filter((e,l)=>l===(null==t?void 0:t.findIndex(t=>(null==e?void 0:e.attributes.name)===(null==t?void 0:t.attributes.name)))).sort((e,t)=>{let l=e.attributes.name.toLowerCase().replace(/^the /,""),n=t.attributes.name.toLowerCase().replace(/^the /,"");return l.localeCompare(n)})}}return{__typename:"ArtistRelationResponseCollection",data:(0,u.artist_lineup.filter(e=>e.day.toLowerCase()===c)[0].artists.data).sort((e,t)=>{let l=e.attributes.name.toLowerCase().replace(/^the /,""),n=t.attributes.name.toLowerCase().replace(/^the /,"");return l.localeCompare(n)})}}();return(0,n.jsx)(n.Fragment,{children:u?(0,n.jsxs)(n.Fragment,{children:[l.show_filter&&(0,n.jsx)("div",{className:"container artist-page-header",children:(0,n.jsx)("div",{className:"artist-filter-container flex-center",children:(0,n.jsxs)("div",{className:"button-group flex-end",children:[(0,n.jsx)("button",{id:"showAll",className:"button-group-button uppercase ".concat("showAll"===c?"selected":""),onClick:()=>d("showAll"),children:"A-Z"}),u.artist_lineup.filter(e=>"headliners"!==e.day.toLowerCase()&&"no_set_day"!==e.day.toLowerCase()).map((e,t)=>(0,n.jsx)("button",{id:e.day.toLowerCase(),className:"button-group-button uppercase ".concat(c===e.day.toLowerCase()?"selected":""),onClick:()=>d(e.day.toLowerCase()),children:e.day},t))]})})}),(0,n.jsx)("div",{className:"container",children:(0,n.jsx)("div",{className:"artist-grid",children:!!v&&v.data.map((e,t)=>(0,n.jsx)(a.E.div,{className:"artist-card-wrapper",initial:"hidden",
1whileInView:"visible",viewport:{once:!0},transition:{duration:.7,delay:.273},variants:{visible:{opacity:1,top:0},hidden:{opacity:0,top:-80}},children:(0,n.jsx)(s.Z,{artist:null==e?void 0:e.attributes})},t))})})]}):(0,n.jsx)("div",{className:"container",children:(0,n.jsx)("div",{className:"wysiwyg center",children:(0,n.jsx)(o.default,{content:l.offline_message})})})})}},5709:function(e,t,l){l.d(t,{default:function(){return s}});var n=l(7437),i=l(2265),a=l(1396);function s(e){var t;let{content:l,lineups:s}=e,o=null===(t=s[0])||void 0===t?void 0:t.attributes,r=new Set;return i.useEffect(()=>{document.querySelectorAll(".artist-marquee-track").forEach(e=>{let t=e.children[0],l=e.children[0].innerHTML;t.insertAdjacentHTML("beforeend",l)})},[]),(0,n.jsx)(n.Fragment,{children:!!o&&(0,n.jsxs)("div",{className:"flex-center",children:[l.headline&&(0,n.jsx)("div",{className:"pad container",children:(0,n.jsx)("h2",{className:"headline-1 ".concat(l.headline_uppercase?"uppercase":""),children:l.headline})}),"teaser"==l.lineup_type?(0,n.jsx)("div",{className:"artist-marquee-container",children:o.artist_lineup.filter(e=>"Headliners"!==e.day).map((e,t)=>(0,n.jsx)("div",{className:"artist-marquee-track",children:(0,n.jsx)("div",{className:"artist-marquee",children:e.artists.data.map((e,t)=>(0,n.jsx)("div",{className:"artist-marquee-card-wrapper",children:(0,n.jsx)(a.Z,{artist:e.attributes,marquee:!0})},t))})},t))}):(0,n.jsx)("div",{className:"container artist-static-container",children:(0,n.jsx)("div",{className:"artist-marquee flex-wrap flex-even",children:o.artist_lineup.map(e=>(0,n.jsx)(i.Fragment,{children:e.artists.data.filter(e=>!r.has(e.id)&&(r.add(e.id),!0)).map(e=>(0,n.jsx)("div",{className:"artist-marquee-card-wrapper",children:(0,n.jsx)(a.Z,{artist:e.attributes,marquee:!0})},e.id))},e.id))})})]})})}},5253:function(e,t,l){l.d(t,{default:function(){return c}});var n=l(7437);l(2265);var i=l(3489),a=l(180),s=l.n(a),o=l(7057),r=l(397);function c(e){let t=e.content,l=t.accommodations;return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"container",children:[!!t.accommodation_section_title&&(0,n.jsx)("h2",{className:"headline-2 ".concat(t.headline_uppercase?"uppercase":""),children:t.accommodation_section_title}),(0,n.jsx)("div",{className:"accordion-container pad-small-top",children:!!l&&l.map((e,t)=>{var l;let a=e.accommodation_description;return(0,n.jsxs)("div",{className:"accordion accordion-accom bg-grey_light",children:[(0,n.jsxs)("div",{className:"title",onClick:e=>{let t;(t=s()(e.target)).toggleClass("open"),t.next(".content").slideToggle()},children:[(0,n.jsxs)("div",{className:"accom-info",children:[(0,n.jsx)("h2",{className:"headline-6 mt-16",children:e.accommodation_title}),(0,n.jsx)("p",{className:"mt-16",children:e.accommodation_address}),(0,n.jsxs)("div",{className:"price",children:[(0,n.jsx)("p",{className:"p-sm text-grey",children:"From"}),(0,n.jsx)("p",{children:e.accommodation_price})]}),(0,n.jsx)("div",{className:"image-container",children:(0,n.jsx)(r.default,{src:null===(l=e.accommodation_image.data)||void 0===l?void 0:l.attributes,size:"small"})})]}),(0,n.jsxs)("div",{className:"toggle",children:[(0,n.jsx)("span",{}),(0,n.jsx)("span",{})]})]}),(0,n.jsx)("div",{className:"content",children:(0,n.jsxs)("div",{className:"wysiwyg",children:[(0,n.jsx)(i.default,{content:a}),!!e.link_label&&(0,n.jsx)(o.default,{href:e.link_url,variant:"contained",size:"small",ariaLabel:"link to ".concat(e.link_label),children:e.link_label})]})})]},t)})})]})})}},8610:function(e,t,l){l.d(t,{default:function(){return o}});var n=l(7437);l(2265);var i=l(3489),a=l(180),s=l.n(a);function o(e,t){let l=e.content,a=l.accordions,o=Math.ceil(a.length/2),r=a.slice(0,o),c=a.slice(o);function d(e){let t=s()(e.target);t.toggleClass("open"),t.next(".content").slideToggle()}return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:"container".concat(1==l.accordion_columns?" narrow":""),children:(0,n.jsxs)("div",{className:"accordion-grid".concat(l.accordion_columns?" grid-"+l.accordion_columns:""),children:[(0,n.jsx)("div",{className:"col",children:r.map((e,t)=>{let l=e.sub_accordion_title,a=e.sub_accordion_content;return(0,n.jsxs)("div",{className:"accordion",children:[(0,n.jsxs)("div",{className:"title",onClick:e=>d(e),children:[(0,n.jsx)("h2",{className:"headline-2 headline ".concat(e.headline_uppercase?"uppercase":""," "),children:l}),(0,n.jsxs)("div",{className:"toggle",children:[(0,n.jsx)("span",{}),(0,n.jsx)("span",{})]})]}),(0,n.jsx)("div",{className:"content",children:(0,n.jsx)("div",{className:"wysiwyg",children:(0,n.jsx)(i.default,{content:a})})})]},t)})}),(0,n.jsx)("div",{className:"col",children:c.map((e,t)=>{let l=e.sub_accordion_title,a=e.sub_accordion_content;return(0,n.jsxs)("div",{className:"accordion",children:[(0,n.jsxs)("div",{className:"title",onClick:e=>d(e),children:[(0,n.jsx)("h2",{className:"headline-2 headline ".concat(e.headline_uppercase?"uppercase":""," "),children:l}),(0,n.jsxs)("div",{className:"toggle",children:[(0,n.jsx)("span",{}),(0,n.jsx)("span",{})]})]}),(0,n.jsx)("div",{className:"content",children:(0,n.jsx)("div",{className:"wysiwyg",children:(0,n.jsx)(i.default,{content:a})})})]},t)})})]})})})}},4394:function(e,t,l){l.d(t,{default:function(){return c}});var n=l(7437),i=l(2265),a=l(7138),s=l(7057),o=l(1393),r=l(3153);function c(e,t){let l=e.content.quotes,c=l.length<4?l.length:4,d=!(l.length<4),u=(0,i.useRef)(null);return(0,n.jsx)(n.Fragment,{children:!!l&&(0,n.jsxs)("div",{className:"container container-desktop",children:[(0,n.jsx)("div",{className:"container".concat(!1==d?" button-group-hide":""),children:(0,n.jsx)(s.default,{arrows:!0,variant:"outlined",ariaLabel:"link to quote source",onPrevClick:()=>{null!==u.current&&u.current.slickPrev()},onNextClick:()=>{null!==u.current&&u.current.slickNext()}})}),(0,n.jsx)("div",{className:"card-slider-container",children:(0,n.jsx)(r.Z,{className:"card-slider".concat(!0==d?" slide-bleed":""),dots:!1,arrows:!1,infinite:d,speed:500,slidesToShow:c,slidesToScroll:1,responsive:[{breakpoint:1650,settings:{slidesToShow:c}},{breakpoint:960,settings:{slidesToShow:2,centerMode:!0,centerPadding:"32px"}}
1,{breakpoint:575,settings:{slidesToShow:1,centerPadding:"0px",infinite:!0}}],ref:u,children:l.map((e,t)=>(0,n.jsxs)("div",{className:"slide",children:[(0,n.jsx)(a.default,{className:"slide-link",href:"".concat(e.quote_link)||"/","aria-label":"link to quote source",rel:"noopener noreferrer"}),(0,n.jsxs)("div",{className:"card rounded-2 bg-grey_light",children:[(0,n.jsx)("h2",{className:"headline-6",children:e.quote}),(0,n.jsxs)("div",{className:"author-container flex-btwn",children:[(0,n.jsx)("p",{className:"overline",children:e.quote_author}),(0,n.jsx)(o.default,{})]})]})]},t))})})]})})}},5658:function(e,t,l){l.d(t,{default:function(){return s}});var n=l(7437),i=l(2265);function a(e){var t,l;let[a,s]=i.useState(0),{onIncrement:o}=e,r=e.counterText,c=e.counterValue,d=e.content;return(0,n.jsxs)("div",{className:"flex-center-row calculator-card-items-wrapper-counter rounded".concat(a>0?" bg-".concat(null==d?void 0:null===(t=d.color_theme)||void 0===t?void 0:t.background_color," text-").concat(null==d?void 0:null===(l=d.color_theme)||void 0===l?void 0:l.text_color):" bg-purple_light text-black"),children:[(0,n.jsxs)("span",{className:"calculator-card-item no-hover",children:[r,"\xa0\xa0","$".concat(c,"/hr")]}),(0,n.jsxs)("div",{className:"calculator-hour-counter-wrapper",children:[(0,n.jsx)("button",{disabled:0===a,className:"calculator-hour-counter-button",onClick:e=>{o("neg",c),s(a-1)},children:(0,n.jsx)("span",{})}),(0,n.jsx)("p",{children:a}),(0,n.jsxs)("button",{className:"calculator-hour-counter-button",onClick:e=>{o("pos",c),s(a+1)},children:[(0,n.jsx)("span",{}),(0,n.jsx)("span",{})]})]})]})}function s(e){var t,l,s,o,r,c,d,u;let{content:v}=e,[h,m]=i.useState(0),[p,x]=i.useState(0),[f,g]=i.useState([]),[b,j]=i.useState((null==v?void 0:null===(t=v.event_types[0])||void 0===t?void 0:t.base_value)|0),[_,N]=i.useState(0),[w,k]=i.useState(0),[y,S]=i.useState(b);function C(e){let{background_color:t,text_color:l}=(null==v?void 0:v.color_theme)||{};if(e)return"bg-".concat(t," text-").concat(l);{let e=(null==t?void 0:t.includes("_dark"))?t.replace("_dark","_light"):(null==t?void 0:t.includes("_light"))?t.replace("_light","_dark"):t,n=(null==l?void 0:l.includes("black"))?l.replace("black","white"):(null==l?void 0:l.includes("white"))?l.replace("white","black"):l;return"bg-".concat(e," text-").concat(n)}}function E(e,t){"pos"==e?k(w+t):k(w-t)}return(0,i.useEffect)(()=>{var e;N(p*(null==v?void 0:null===(e=v.event_types[h])||void 0===e?void 0:e.value_modifier))},[h]),(0,i.useEffect)(()=>{let e=document.querySelector(".total-headline");null==e||e.classList.add("animate"),setTimeout(()=>{null==e||e.classList.remove("animate")},500),S(b+_+w)},[b,_,w]),(0,n.jsx)("div",{className:"calc-container container center flex-center",children:(0,n.jsxs)("div",{className:"calculator-container rounded bg-".concat(null==v?void 0:null===(l=v.color_theme)||void 0===l?void 0:l.background_color),children:[(0,n.jsx)("div",{className:"calculator-card-container",children:(0,n.jsxs)("div",{className:"option-wrapper",children:[(0,n.jsx)("p",{className:"headline-6 text-".concat(null==v?void 0:null===(s=v.color_theme)||void 0===s?void 0:s.background_color),children:null==v?void 0:v.event_type_headline}),(0,n.jsx)("div",{className:"flex-center-row calculator-card-items-wrapper",children:null==v?void 0:null===(o=v.event_types)||void 0===o?void 0:o.map((e,t)=>(0,n.jsxs)("span",{className:"calculator-card-item ".concat(C(h===t)),onClick:()=>{var e;m(t),j((null==v?void 0:null===(e=v.event_types[t])||void 0===e?void 0:e.base_value)|0)},children:[null==e?void 0:e.display_text,"\xa0\xa0$",null==e?void 0:e.base_value]},t))})]})}),(0,n.jsx)("div",{className:"calculator-card-container",children:(0,n.jsxs)("div",{className:"option-wrapper",children:[(0,n.jsx)("p",{className:"headline-6 text-".concat(null==v?void 0:null===(r=v.color_theme)||void 0===r?void 0:r.background_color),children:null==v?void 0:v.timeframe_headline}),(0,n.jsx)(a,{onIncrement:function(e,t){"pos"==e?(N(_+t),x(p+1)):(N(_-t),x(p-1))},counterText:null==v?void 0:v.value_modifier_text,counterValue:null==v?void 0:null===(c=v.event_types[h])||void 0===c?void 0:c.value_modifier,content:v})]})}),(0,n.jsx)("div",{className:"calculator-card-container",children:(0,n.jsxs)("div",{className:"option-wrapper",children:[(0,n.jsx)("p",{className:"headline-6 text-".concat(null==v?void 0:null===(d=v.color_theme)||void 0===d?void 0:d.background_color),children:null==v?void 0:v.services_headline}),(0,n.jsx)("div",{className:"flex-center-row calculator-card-items-wrapper",children:null==v?void 0:null===(u=v.services)||void 0===u?void 0:u.map((e,t)=>null===e.value_modifier?(0,n.jsxs)("span",{className:"calculator-card-item ".concat(C(null==f?void 0:f.includes(t))),onClick:()=>{var e,l;(null==f?void 0:f.includes(t))?(k(w-(null==v?void 0:null===(e=v.services[t])||void 0===e?void 0:e.base_value)),g(e=>e.filter(e=>e!==t))):(k(w+(null==v?void 0:null===(l=v.services[t])||void 0===l?void 0:l.base_value)),g([...f,t]))},children:[e.display_text,"\xa0\xa0$",e.base_value]},t):(0,n.jsx)("div",{children:(0,n.jsx)(a,{onIncrement:E,counterText:e.display_text,counterValue:e.value_modifier,content:v})},t))})]})}),(0,n.jsxs)("div",{className:"calculator-total-container flex-column text-".concat(null==v?void 0:v.color_theme.text_color),children:[(0,n.jsxs)("div",{className:"flex-btwn mb-16",children:[(0,n.jsxs)("div",{className:"left",children:[(0,n.jsx)("p",{className:"headline-6 mb-8",children:"Estimated price:"}),(0,n.jsx)("p",{className:"p-sm desktop",children:"*Prices and availability are subject to change"})]}),(0,n.jsx)("div",{className:"headline-2 total-headline",children:"$".concat(y)})]}),(0,n.jsx)("p",{className:"p-sm left mobile",children:"*Prices and availability are subject to change"})]})]})})}},6761:function(e,t,l){l.r(t),l.d(t,{default:function(){return o}});var n=l(7437),i=l(2265);let a=e=>{let t=new Date(e).getTime(),[l,n]=(0,i.useState)(t-new Date().getTime());return(0,i.useEffect)(()=>{let e=setInterval(()=>
1{n(t-new Date().getTime())},1e3);return()=>clearInterval(e)},[t]),s(l)},s=e=>[Math.floor(e/864e5),Math.floor(e%864e5/36e5),Math.floor(e%36e5/6e4),Math.floor(e%6e4/1e3)];function o(e){let t=e.content,l=t.countdown_date,i=t.countdown_options,s=t.countdown_description?"grid":"flex-center",[o,r,c,d]=a(l);return(0,n.jsx)("div",{className:"container",children:(0,n.jsxs)("div",{className:"countdown-counter rounded ".concat(s," bg-").concat(i.background_color," text-").concat(i.text_color),children:[(0,n.jsxs)("h2",{className:"uppercase countdown-headline",children:[o,"\xa0Days : ",r,"\xa0Hours : ",c,"\xa0Minutes : ",d,"\xa0Seconds"]}),!!t.countdown_description&&(0,n.jsx)("p",{children:t.countdown_description})]})})}},2910:function(e,t,l){l.d(t,{default:function(){return s}});var n=l(7437);l(2265);var i=l(3153),a=l(397);function s(e,t){let l=e.content.images.data;return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(i.Z,{className:"image-slider",dots:!1,arrows:!1,infinite:!0,autoplay:!0,speed:15e3,autoplaySpeed:0,cssEase:"linear",variableWidth:!0,slidesToShow:4,slidesToScroll:1,responsive:[{breakpoint:1650,settings:{slidesToShow:2.5,speed:1e4}},{breakpoint:960,settings:{slidesToShow:1.25}}],children:l.map((e,t)=>(0,n.jsx)("div",{className:"image-container",children:(0,n.jsx)(a.default,{rounded:!0,src:null==e?void 0:e.attributes})},t))})})}},6015:function(e,t,l){l.d(t,{default:function(){return r}});var n=l(7437),i=l(2265),a=l(7057),s=l(397),o=l(3153);function r(e,t){let l=e.content;l.block_title;let r=l.info_content,c=(0,i.useRef)(null);return(0,n.jsx)(n.Fragment,{children:!!l&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"container pad-small-bottom info-headline",children:[!!l.block_title&&(0,n.jsx)("h2",{className:"headline-2 mb-32".concat(l.headline_uppercase?" uppercase":""," "),children:l.block_title}),(0,n.jsx)(a.default,{arrows:!0,variant:"outlined",ariaLabel:"buttons to move slider",onPrevClick:()=>{null!==c.current&&c.current.slickPrev()},onNextClick:()=>{null!==c.current&&c.current.slickNext()}})]}),(0,n.jsx)("div",{className:"info-slider-container container-desktop",children:(0,n.jsx)(o.Z,{className:"info-slider",dots:!1,arrows:!1,infinite:!0,speed:500,slidesToShow:2,slidesToScroll:1,responsive:[{breakpoint:960,settings:{slidesToShow:1,infinite:!0,centerMode:!0,centerPadding:"64px"}},{breakpoint:575,settings:{slidesToShow:1,infinite:!0,centerMode:!0,centerPadding:"32px"}}],ref:c,children:!!r&&r.map((e,t)=>{var l,i;return(0,n.jsx)("div",{className:"slide",children:(0,n.jsxs)("div",{className:"info-card rounded bg-".concat(e.background_color),children:[(0,n.jsxs)("div",{className:"col-info col",children:[(0,n.jsx)("h2",{className:"headline-4 mb-24 ".concat(!0==e.headline_uppercase?"uppercase":""," "),children:e.title}),(0,n.jsx)("p",{children:e.description}),!!e.link_label&&!!e.link_url&&(0,n.jsx)(a.default,{href:e.link_url,variant:"contained",ariaLabel:"link to ".concat(e.link_label),children:e.link_label})]}),(0,n.jsx)("div",{className:"col-image col",children:(0,n.jsx)("div",{className:"image-container",children:(0,n.jsx)(s.default,{src:null===(i=e.image)||void 0===i?void 0:null===(l=i.data)||void 0===l?void 0:l.attributes,size:"half"})})})]})},t)})})})]})})}},847:function(e,t,l){l.d(t,{default:function(){return m}});var n,i=l(7437),a=l(2265),s=l(180),o=l.n(s),r=l(7138),c=l(3489),d=l(4410);function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}var v=function(e){return d.createElement("svg",u({xmlns:"http://www.w3.org/2000/svg",width:26,height:26,fill:"none"},e),n||(n=d.createElement("path",{fill:"#1B1B1B",d:"m22.486 13.414-1.414-1.415-6.781 6.781V1.018h-1.995v17.763l-6.78-6.782L4.1 13.414l9.192 9.192zM3.957 24h19v2h-19z"})))};function h(e){let t=null==e?void 0:e.dates,l=null==e?void 0:e.docs,n=null==e?void 0:e.news;return(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)("div",{className:"card",children:[(0,i.jsx)("div",{className:"column column-left flex-column",children:(0,i.jsxs)("div",{className:"wrapper flex-column",children:[(0,i.jsx)("div",{className:"headline-container",children:(0,i.jsx)("h2",{className:"headline-5",children:"Important dates"})}),t.length?(0,i.jsx)("div",{className:"content-container flex-column",children:t.map((e,t)=>(0,i.jsxs)("div",{className:"date",children:[(0,i.jsx)("h2",{className:"overline",children:e.block_t
1itle}),(0,i.jsx)(c.default,{content:e.block_content})]},t))}):(0,i.jsx)("p",{children:"No dates available"})]})}),(0,i.jsxs)("div",{className:"column column-right flex-column",children:[(0,i.jsxs)("div",{className:"wrapper flex-column",children:[(0,i.jsxs)("div",{className:"headline-container flex-aligned",children:[(0,i.jsx)("h2",{className:"headline-5",children:"Documents"}),(0,i.jsx)(v,{})]}),l.length?(0,i.jsx)("div",{className:"content-container flex-column gap-small",children:l.map((e,t)=>{var l,n,a;let s="pdf"==(null==e?void 0:e.file_type)?"https://d3aive3alj3zrj.cloudfront.net"+(null==e?void 0:null===(a=e.files)||void 0===a?void 0:null===(n=a.data[0])||void 0===n?void 0:null===(l=n.attributes)||void 0===l?void 0:l.url):null==e?void 0:e.file_url;return(0,i.jsx)("div",{className:"docs",children:(0,i.jsx)(r.default,{className:"headline ".concat(!0==e.headline_uppercase?"uppercase":""),href:s||"#",target:"_blank","aria-label":"link to ".concat(e.file_headline),rel:"noopener noreferrer",children:e.file_headline})},t)})}):(0,i.jsx)("p",{children:"No documents available"})]}),(0,i.jsxs)("div",{className:"wrapper flex-column",children:[(0,i.jsxs)("div",{className:"headline-container flex-aligned",children:[(0,i.jsx)("h2",{className:"headline-5",children:"Newsletters"}),(0,i.jsx)(v,{})]}),n.length?(0,i.jsx)("div",{className:"content-container flex-column content-container-newsletter gap-small",children:n.map((e,t)=>{var l,n,a;let s=null==e?void 0:e.file_url,o=null==e?void 0:null===(a=e.files)||void 0===a?void 0:null===(n=a.data[0])||void 0===n?void 0:null===(l=n.attributes)||void 0===l?void 0:l.url;return(0,i.jsx)("div",{className:"newsletter",children:(0,i.jsx)(r.default,{className:"headline ".concat(!0==e.headline_uppercase?"uppercase":""),href:s||(o?"https://strapi.calgaryfolkfest.com"+o:"#"),target:"_blank","aria-label":"link to ".concat(e.file_headline),rel:"noopener noreferrer",children:e.file_headline})},t)})}):(0,i.jsx)("p",{children:"No newsletters available"})]})]})]})})}function m(e,t){let l=null==e?void 0:e.content,n=null==l?void 0:l.frontline_important_dates,s=null==l?void 0:l.frontline_documents,r=null==l?void 0:l.frontline_newsletters,c=null==l?void 0:l.coordinator_important_dates,d=null==l?void 0:l.coordinator_documents,u=null==l?void 0:l.coordinator_newsletters,v=null==l?void 0:l.manager_important_dates,m=null==l?void 0:l.manager_documents,p=null==l?void 0:l.manager_newsletters,[x,f]=(0,a.useState)("frontline");function g(e){o()(".sort-button").removeClass("active"),o()(e.target).addClass("active")}return(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)("div",{className:"container information-block-container",children:[(0,i.jsxs)("div",{className:"section-headline",children:[(0,i.jsx)("div",{className:"headline-2 uppercase",children:"Information"}),(0,i.jsxs)("div",{className:"sort-container button-group flex-aligned",children:[(!!n||!!s||!!r)&&(0,i.jsx)("button",{className:"button-group-button sort-button uppercase active",onClick:e=>{f("frontline"),g(e)},children:"Frontline"}),(!!c||!!d||!!u)&&(0,i.jsx)("button",{className:"button-group-button sort-button uppercase",onClick:e=>{f("coordinator"),g(e)},children:"Coordinator"}),(!!v||!!m||!!p)&&(0,i.jsx)("button",{className:"button-group-button sort-button uppercase",onClick:e=>{f("manager"),g(e)},children:"Manager"})]})]}),(0,i.jsxs)("div",{className:"card-content pad",children:["frontline"==x&&(0,i.jsx)(h,{dates:n,docs:s,news:r}),"coordinator"==x&&(0,i.jsx)(h,{dates:c,docs:d,news:u}),"manager"==x&&(0,i.jsx)(h,{dates:v,docs:m,news:p})]})]})})}},1557:function(e,t,l){l.d(t,{default:function(){return o}});var n=l(7437);l(2265);var i=l(3489),a=l(180),s=l.n(a);function o(e,t){let l=e.content,a=l.main_accordion_title,o=l.nested_accordions;function r(e){let t=s()(e.target);t.toggleClass("open"),t.next(".content").slideToggle()}return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:"container narrow",children:(0,n.jsxs)("div",{className:"accordion main-accordion-block",children:[(0,n.jsxs)("div",{className:"main-accordion-title title pad-small",onClick:e=>r(e),children:[(0,n.jsx)("h2",{className:"headline-2 headline ".concat(l.headline_uppercase?"uppercase":""),children:a}),(0,n.jsxs)("div",{className:"toggle",children:[(0,n.jsx)("span",{}),(0,n.jsx)("span",{})]})]}),(0,n.jsx)("div",{className:"main-accordion-content content",children:o.map((e,t)=>{let l=e.sub_accordion_title,a=e.sub_accordion_content;return(0,n.jsxs)("div",{className:"accordion sub-accordion-block",children:[(0,n.jsx)("div",{className:"sub-accordion-title title",onClick:e=>r(e),children:(0,n.jsx)("h2",{className:"headline-6 headline ".concat(e.headline_uppercase?"uppercase":""," "),children:l})}),(0,n.jsx)("div",{className:"sub-accordion-content content",children:(0,n.jsx)("div",{className:"wysiwyg",children:(0,n.jsx)(i.default,{content:a})})})]},t)})})]})})})}},7625:function(e,t,l){l.d(t,{default:function(){return c}});var n=l(7437),i=l(2265),a=l(7057),s=l(3489),o=l(397),r=l(3153);function c(e,t){let l=e.content,c=l.intro_content,d=l.links,u=l.posters,v=(0,i.useRef)(null);return(0,n.jsxs)("div",{className:"container past-festivals-container",children:[!!c&&(0,n.jsxs)("div",{className:"intro-content",children:[(0,n.jsxs)("div",{className:"col",children:[(0,n.jsx)("h2",{className:"headline-2 ".concat(c.headline_uppercase?"uppercase":""),children:c.block_title}),!!d&&(0,n.jsx)("div",{className:"ctas button-desktop",children:d.map((e,t)=>(0,n.jsx)(a.default,{href:e.url,variant:0==t?"contained":"outlined",ariaLabel:"link to ".concat(e.label),children:e.label},t))})]}),(0,n.jsxs)("div",{className:"col",children:[!!c.block_content&&(0,n.jsx)("div",{className:"wysiwyg mb-32",children:(0,n.jsx)(s.default,{content:c.block_content})}),!!d&&(0,n.jsx)("div",{className:"ctas button-mobile",children:d.map((e,t)=>(0,n.jsx)(a.default,{href:e.url,variant:0==t?"contained":"outlined",ariaLabel:"link to ".concat(e.label),children:e.label},t))})]})]}),!!u&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{children:(0,n.jsx)(a.default,{arrows:!0,variant:"outlined",ariaLabel:"link to quote source",onPrevClick:()=>{null!==v.current&&v.current.slickPrev()},onNextClick:()=>{null!==v.current&&v.current.slickNext()}})}),(0,n.jsx)("div",{className:"past-festival image-gallery-mobile pad-small-top",children:(0,n.jsx)(r.Z,{className:"info-slider",dots:!1,arrows:!1,infinite:!1,slidesToShow:4.5,slidesToScroll:1,responsive:[{breakpoint:1650,settings:{slidesToShow:3.5}},{breakpoint:960,settings:{slidesToShow:1.5}}],ref:v,children:u.map((e,t)=>{var l,i;return(0,n.jsx)("div",{className:"image-wrapper",children:(0,n.jsxs)("div",{className:"content",children:[(0,n.jsx)("div",{className:"image-container",children:(0,n.jsx)(o.default,{src:null===(i=e.single_image)||void 0===i?void 0:null===(l=i.data)||void 0===l?void 0:l.attributes,size:"half"})}),!!e.image_title&&(0,n.jsx)("p",{children:e.image_title})]})},t)})})})]})]})}},24:function(e,t,l){l.d(t,{default:function(){return h}});var n=l(7437);l(2265);var i=l(180),a=l.n(i),s=l(7057),o=l(397),r=l(9582),c=l(1204),d=l(3489);function u(e){let t=e.props;return(0,n.jsx)(n.Fragment,{children:t.map((e,t)=>{var l,i;let a=e.text_content,s=null==e?void 0:null===(i=e.rich_text_image_top)||void 0===i?void 0:null===(l=i.data)||void 0===l?void 0:l.attributes;return(0,n.jsxs)("div",{className:"rich-text-container",children:[!!a&&(0,n.jsx)("div",{className:"wysiwyg",children:(0,n.jsx)(d.default,{content:a})}),!!s&&(0,n.jsx)("div",{className:"image-container",children:(0,n.jsx)(o.default,{src:s,width:s.width})})]},t)})})}
1function v(e){let t=e.props,l=t.card_background_color,i=t.card_text_color,a=t.card_content;return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"call-out-card rounded bg-".concat(l," text-").concat(i),children:[(0,n.jsx)(d.default,{content:a}),!!t.link_label&&(0,n.jsx)(s.default,{href:t.link_url,variant:"contained",size:"small",className:"button-exclude",ariaLabel:"link to ".concat(t.link_label),children:t.link_label})]})})}function h(e,t){let l=e.content,i=l.rich_text_section_headline,d=null==i?void 0:i.replace(/\s+/g,"-").toLowerCase(),h=!!l.corner_image.data&&l.corner_image.data.attributes,m=l.accordion_option,p=Array.from(l.rich_text_content),x=m?p.slice(0,1):l.rich_text_content,f=m?p.slice(1):l.rich_text_content,g=!!l.call_out_card&&l.call_out_card,b=!!l.call_to_actions&&l.call_to_actions;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"container narrow rich-text-block-container",id:d,"data-color":l.block_options.text_color,children:[(0,n.jsx)("h2",{className:"headline-4 mb-24",children:i}),m?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(u,{props:x}),(0,n.jsx)("button",{className:"button button-contained button-small read-more-button",onClick:e=>{r.ZP.registerPlugin(c.i),a()(".accordion-content").addClass("open"),a()(e.target).hide(),setTimeout(()=>{c.i.refresh()},500)},children:"Read More"}),(0,n.jsxs)("div",{className:"accordion-content",children:[(0,n.jsx)(u,{props:f}),!!g&&(0,n.jsx)(v,{props:g}),!!b.length&&(0,n.jsx)("div",{className:"ctas",children:b.map((e,t)=>(0,n.jsx)(s.default,{href:e.url,variant:"contained",size:"small",ariaLabel:"link to ".concat(e.label),children:e.label},t))})]})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(u,{props:x}),!!g&&(0,n.jsx)(v,{props:g}),!!b.length&&(0,n.jsx)("div",{className:"ctas",children:b.map((e,t)=>(0,n.jsx)(s.default,{href:e.url,variant:"".concat(0==t?"contained":"outlined"),size:"small",ariaLabel:"link to ".concat(e.label),children:e.label},t))})]})]}),!!h&&(0,n.jsx)(o.default,{class:"corner-image pad-top",src:h})]})}},7237:function(e,t,l){l.d(t,{default:function(){return T}});var n,i,a,s,o,r,c,d,u,v,h,m,p=l(7437),x=l(2265),f=l(4410);function g(){return(g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}var b=function(e){return f.createElement("svg",g({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),n||(n=f.createElement("path",{fill:"#009320",stroke:"#009320",strokeLinejoin:"round",strokeWidth:1.195,d:"M5.528 6.888c1.777-2.536 4.739-3.901 7.552-4.636 2.41-.63 4.635-.779 5.764-.836.345 1.075 1.003 3.152 1.255 5.598.295 2.848.028 6.1-1.85 8.782-1.887 2.697-4.092 3.567-6.065 3.617-2.01.052-3.84-.748-4.902-1.492s-2.44-2.19-3.078-4.096c-.627-1.87-.564-4.24 1.324-6.937Z"})),i||(i=f.createElement("path",{stroke:"#009320",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:2.263,d:"m7.692 17.554-2.74 3.913"})))};function j(){return(j=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}var _=function(e){return f.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg",width:26,height:29,fill:"none"},e),a||(a=f.createElement("path",{fill:"#FFA01D",d:"M17.701 6.905c-.414-.28-4.803-3.462-7.931 1.176S2.44 22.969 5.482 25.02c3.042 2.05 10.972-5.683 14.1-10.321 3.129-4.639-1.466-7.515-1.88-7.795"})),s||(s=f.createElement("path",{stroke:"#009320",strokeLinecap:"round",strokeWidth:2,d:"m16.819 8.213 2.519-3.735M16.408 8.823l4.466-.59M16.403 8.82l-1.126-4.363"})))};function N(){return(N=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}var w=function(e){return f.createElement("svg",N({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},e),o||(o=f.createElement("circle",{cx:12,cy:12,r:12,fill:"#5495D7"})),r||(r=f.createElement("path",{fill:"#fff",d:"m14.457 18-4.034-5.3V18H7.5V6h2.923v5.265l4-5.265h3.436l-4.65 5.88L18.03 18z"})))};function k(){return(k=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}var y=function(e){return f.createElement("svg",k({xmlns:"http://www.w3.org/2000/svg",width:32,height:24,fill:"none"},e),c||(c=f.createElement("path",{fill:"#1B1B1B",fillRule:"evenodd",d:"M23.213 12.405c1.74 0 2.943.97 4.502 1.8 1.388.565 3.302.301 3.302.301l-1.2 2.101s-1.898-.37-4.203.6c-2.077.821-3.99.957-4.503.901-.664.056-2.137-.04-3.001-1.801-.578-1.663-.6-4.503-.6-4.503v-1.8s-.305 2.046-.901 4.202c-.55 1.162-.783 1.813-1.501 2.701-.883 1.015-2.114 1.745-3.302 2.102-2.034.49-4.202.3-4.202.3s2.353-.767 3.902-1.801c1.543-.938 3.424-2.14 4.503-4.803 1.015-2.833 1.214-6.053 1.5-6.604.54-.372.84 1.07.9 1.801.03.847.301 4.803.301 4.803s.136 2.999 1.2 3.602c.957.348 3.185.179 4.503-.3 1.315-.337 1.501-.6 1.501-.6s-2.536-1.515-3.902-.901c-1.232.49-1.74 1.164-1.801 1.2.06-.036 1.145-3.3 3.002-3.301M9.705 7.602s-.361 2.434.9 3.002c1.291.676 1.849.607 2.402 1.5.711.62 1.5 2.702 1.5 2.702s.3-2.013-.6-3.902c-1.01-1.708-4.202-3.302-4.202-3.302M7.163 5.501 8.349 4s.176.847.455 1.297c.28.45.73.804.73.804s-.592.928-.592 1.867.813 3.836.813 5.364c0 0 .036.913-.057 2.549 0 0-.01.828-1.009 2.212 0 0-1.284 1.516-3.898 1.516 0 0-1.995-.112-3.006-1.2 0 0-.614-.525-.785-1.78 0 0 0-.622.278-1.486 0 0 .369-.926 1.14-2.138 0 0-1.127 2.147-.633 3.405s2.101 1.542 3.006 1.542 2.073-.32 2.969-.987c1.044-.778.93-2.543.93-3.633s-.54-3.815-.54-3.815c-.111-.743-.615-2.384-.69-2.815C7.382 6.27 7.162 5.5 7.162 5.5",clipRule:"evenodd"})))};function S(){return(S=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}var C=function(e){return f.createElement("svg",S({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"}
1,e),d||(d=f.createElement("path",{fill:"#EDB900",d:"M5.23 13.417q-.427.001-.842.054-.017.13-.029.26a6.773 6.773 0 0 0 7.587 7.303q.053-.414.055-.846a6.77 6.77 0 0 0-6.771-6.771"})),u||(u=f.createElement("path",{fill:"#EDB900",d:"M5.23 6.708q-.427.002-.842.054c-.012.088-.02.172-.029.26a6.773 6.773 0 0 0 7.587 7.303q.053-.414.055-.846A6.77 6.77 0 0 0 5.23 6.708M18.771 13.417q.427.001.841.054.018.13.03.26a6.773 6.773 0 0 1-7.588 7.303 6.772 6.772 0 0 1 6.717-7.617"})),v||(v=f.createElement("path",{fill:"#EDB900",d:"M18.771 6.708q.427.002.841.054c.013.088.021.172.03.26a6.773 6.773 0 0 1-7.588 7.303 6.772 6.772 0 0 1 6.717-7.617M11.42.5c.184-.181.38-.346.58-.5.06.049.126.098.187.146a5.983 5.983 0 0 1 .755 8.552 6.3 6.3 0 0 1-.94.885A5.981 5.981 0 0 1 11.42.5"})),h||(h=f.createElement("path",{fill:"#EDB900",d:"M11.25 23a.75.75 0 0 0 1.5 0zm0-15.333V23h1.5V7.667z"})),m||(m=f.createElement("path",{stroke:"#1B1B1B",strokeLinecap:"round",strokeWidth:1.5,d:"M5 21 20 6",className:"gluten_svg__gluten-line"})))},E=l(9512);function T(e,t){let l;let n=null==e?void 0:e.content,i=null==n?void 0:n.vendors,[a,s]=(0,x.useState)([]),[o,r]=(0,x.useState)(i),c=[];function d(e,t){var n,o,c,d,u,v;let h=null==t?void 0:t.target,m=null===(n=document)||void 0===n?void 0:n.querySelectorAll(".sort-button");"all"===e?(s([]),r(i),null==m||m.forEach(e=>{var t;return null==e?void 0:null===(t=e.classList)||void 0===t?void 0:t.remove("active")}),null==h||null===(o=h.classList)||void 0===o||o.add("active")):(null==a?void 0:a.includes(e))?(s(null==a?void 0:a.filter(t=>t!==e)),null==l||null===(c=l.classList)||void 0===c||c.remove("active"),null==h||null===(d=h.classList)||void 0===d||d.remove("active")):(s([...a,e]),null==l||null===(u=l.classList)||void 0===u||u.remove("active"),null==h||null===(v=h.classList)||void 0===v||v.add("active"))}return(0,x.useEffect)(()=>{var e,t;l=null===(e=document)||void 0===e?void 0:e.querySelector(".sort-button-all"),(null==a?void 0:a.length)!==0?null==i||i.forEach((e,t)=>{(null==a?void 0:a.every(t=>{var l;return null==e?void 0:null===(l=e.vendor_sort)||void 0===l?void 0:l.includes(t)}))?null==c||c.push(e):delete c[t],r(c)}):(r(i),null==l||null===(t=l.classList)||void 0===t||t.add("active"))},[a]),(0,p.jsxs)("div",{className:"vendor-section container",children:[(0,p.jsxs)("div",{className:"intro-content",children:[!!(null==n?void 0:n.vendor_headline)&&(0,p.jsx)("h2",{className:"headline-2".concat((null==n?void 0:n.headline_uppercase)?" uppercase":""),children:null==n?void 0:n.vendor_headline}),(null==n?void 0:n.enable_sort)&&(0,p.jsxs)("div",{className:"sort-container button-group flex",children:[(0,p.jsx)("button",{className:"button-group-button sort-button uppercase active sort-button-all",onClick:e=>d("all",e),children:"All"}),(0,p.jsx)("button",{className:"button-group-button sort-button uppercase",onClick:e=>d("gluten",e),children:(0,p.jsxs)("div",{className:"flex-aligned sort-content sort-gluten",children:["Gluten Free",(0,p.jsx)(C,{})]})}),(0,p.jsx)("button",{className:"button-group-button sort-button uppercase",onClick:e=>d("vegetarian",e),children:(0,p.jsxs)("div",{className:"flex-aligned sort-content",children:["Vegetarian",(0,p.jsx)(_,{})]})}),(0,p.jsx)("button",{className:"button-group-button sort-button uppercase",onClick:e=>d("vegan",e),children:(0,p.jsxs)("div",{className:"flex-aligned sort-content",children:["Vegan",(0,p.jsx)(b,{})]})}),(0,p.jsx)("button",{className:"button-group-button sort-button uppercase",onClick:e=>d("kosher",e),children:(0,p.jsxs)("div",{className:"flex-aligned sort-content",children:["Kosher",(0,p.jsx)(w,{})]})}),(0,p.jsx)("button",{className:"button-group-button sort-button uppercase",onClick:e=>d("halal",e),children:(0,p.jsxs)("div",{className:"flex-aligned sort-content sort-halal",children:["Halal",(0,p.jsx)(y,{})]})})]})]}),(0,p.jsx)("div",{className:"vendor-container pad-small-top",children:(null==o?void 0:o.length)==0?(0,p.jsx)("h2",{className:"headline-6",children:"No Results Found"}):null==o?void 0:o.map((e,t)=>{var l;return(0,p.jsxs)("div",{className:"vendor".concat((null==e?void 0:e.vendor_link)?" vendor-link-out":""),children:[!!(null==e?void 0:e.vendor_link)&&(0,p.jsx)("a",{className:"vendor-link",href:null==e?void 0:e.vendor_link,target:"_blank",rel:"noopener noreferrer","aria-label":"link out to ".concat(null==e?void 0:e.vendor_name," website")}),(0,p.jsxs)("div",{className:"vendor-wrapper flex",children:[!!(null==e?void 0:e.vendor_name)&&(0,p.jsx)("p",{children:null==e?void 0:e.vendor_name}),(null==n?void 0:n.enable_sort)&&!!(null==e?void 0:e.vendor_sort)&&(0,p.jsx)("div",{className:"vendor-filters",children:null==e?void 0:null===(l=e.vendor_sort)||void 0===l?void 0:l.map((e,t)=>{let l="gluten"===e?(0,p.jsx)(C,{}):"vegetarian"===e?(0,p.jsx)(_,{}):"vegan"===e?(0,p.jsx)(b,{}):"kosher"===e?(0,p.jsx)(w,{}):(0,p.jsx)(y,{});return(0,p.jsx)("div",{className:"flex-aligned",children:l},t)})})]}),!!(null==e?void 0:e.vendor_link)&&(0,p.jsx)("div",{className:"arrow flex-aligned",children:(0,p.jsx)(E.default,{})})]},"vendor-".concat(t))})})]})}},8568:function(e,t,l){l.d(t,{default:function(){return c}});var n=l(7437),i=l(2265),a=l(9582),s=l(1204),o=l(677),r=l(397);function c(e){var t,l;let c=e.content,d=null===(l=c.background_media)||void 0===l?void 0:null===(t=l.data)||void 0===t?void 0:t.attributes,u=(0,i.useRef)(null);return(0,i.useEffect)(()=>{let e;a.p8.registerPlugin(s.i,o.t),setTimeout(()=>{s.i.refresh()},500);let t=a.p8.matchMedia();if("ComponentBlocksZoomMediaBlock"===c.__typename)return e=a.p8.context(()=>{o.t.create("smoothie",".38,.005,.215,1"),t.add("(min-width: 960px)",()=>{a.p8.timeline({scrollTrigger:{trigger:".zoom-image-container",pin:".zoom-wrapper",start:"center center",end:"bottom-=30 center",scrub:1,pinSpacing:!0,invalidateOnRefresh:!0}}).fromTo(".zoom-image-container",{maskSize:"40vw"},{maskSize:"160vw",duration:.9,ease:"smoothie"}).fromTo(".zoom-image-container",{borderRadius:"0"},{borderRadius:"0 0 2rem 2rem",duration:.9,ease:"smoothie"})}),t.add("(max-width: 959px)",()=>{a.p8.timeline({scrollTrigger:{trigger:".zoom-image-container",pin:".zoom-wrapper",start:"center center",end:"bottom-=30 center",scrub:1,pinSpacing:!0,invalidateOnRefresh:!0}}).fromTo(".zoom-image-container",{maskSize:"40vh"},{maskSize:"160vh",duration:.9,ease:"smoothie"}).fromTo(".zoom-image-container",{borderRadius:"0"},{borderRadius:"0 0 2rem 2rem",duration:.9,ease:"smoothie"})})},u),()=>e.revert()},[e]),(0,n.jsx)("div",{ref:u,id:"content",children:!!c.background_media.data&&(0,n.jsx)("div",{className:"zoom-wrapper",children:(0,n.jsx)("div",{className:"zoom-image-container",children:(null==d?void 0:d.ext)===".mp4"?(0,n.jsx)("div",{className:"video-container",children:(0,n.jsx)("video",{muted:!0,autoPlay:!0,loop:!0,playsInl
1ine:!0,children:(0,n.jsx)("source",{src:"https://d3aive3alj3zrj.cloudfront.net"+d.url,type:"video/mp4"})})}):(0,n.jsx)("div",{className:"image-container",children:(0,n.jsx)(r.default,{src:d,size:"full"})})})})})}},141:function(e,t,l){l.d(t,{default:function(){return d}});var n=l(7437),i=l(2265),a=l(7057),s=l(3153),o=l(7138),r=l(8011),c=l(397);function d(e){let{content:t}=e,l=i.useRef(null),d=t.events.data;return(0,n.jsx)(n.Fragment,{children:!!d.length&&(0,n.jsxs)("div",{className:"container pad-small",children:[(0,n.jsxs)("div",{className:"event-feature-headline-container flex-btwn pad-small-bottom",children:[(0,n.jsx)("h2",{className:"headline-2 ".concat(t.headline_uppercase?"uppercase":""),children:t.headline}),d.length>=3&&(0,n.jsx)(a.default,{arrows:!0,variant:"contained",size:"small",ariaLabel:"buttons to move slider",onPrevClick:()=>{null!==l.current&&l.current.slickPrev()},onNextClick:()=>{null!==l.current&&l.current.slickNext()}})]}),(0,n.jsx)("div",{className:"event-feature-container",children:(0,n.jsx)(s.Z,{className:"event-feature-slider",dots:!1,arrows:!1,infinite:!0,speed:500,slidesToShow:2,slidesToScroll:2,responsive:[{breakpoint:960,settings:{slidesToShow:1,slidesToScroll:1}}],ref:l,children:d.map((e,t)=>{var l,i,s,d,u,v,h,m,p,x,f,g,b,j,_,N,w,k;let y;let S=null==e?void 0:null===(s=e.attributes)||void 0===s?void 0:null===(i=s.cover_image)||void 0===i?void 0:null===(l=i.data)||void 0===l?void 0:l.attributes,C=(null==e?void 0:null===(d=e.attributes)||void 0===d?void 0:d.button_text)?null==e?void 0:null===(u=e.attributes)||void 0===u?void 0:u.button_text:"Buy Tickets";return(0,n.jsx)("div",{className:"slide",children:(0,n.jsxs)("div",{className:"event-feature-item",children:[(0,n.jsxs)("div",{className:"event-feature-info flex-start flex-wrap mb-24",children:[(0,n.jsx)("span",{className:"headline-6 uppercase",children:(null===(v=e.attributes)||void 0===v?void 0:v.end_date)&&(0,r.vh)(null===(h=e.attributes)||void 0===h?void 0:h.start_date,"DD MMM")!==(0,r.vh)(null===(m=e.attributes)||void 0===m?void 0:m.end_date,"DD MMM")?" ".concat((0,r.vh)(null===(p=e.attributes)||void 0===p?void 0:p.start_date,"DD")," - ").concat((0,r.vh)(null===(x=e.attributes)||void 0===x?void 0:x.end_date,"DD MMM")):(0,r.vh)(null===(f=e.attributes)||void 0===f?void 0:f.start_date,"DD MMM")}),(0,n.jsx)("span",{className:"headline-6 uppercase",children:(0,r.vh)(null===(g=e.attributes)||void 0===g?void 0:g.start_date,"h A")}),(0,n.jsx)("span",{className:"headline-6 uppercase",children:null===(b=e.attributes)||void 0===b?void 0:b.venue})]}),(0,n.jsxs)("div",{className:"image-container flex event-feature-image mb-24",children:[!!(null==e?void 0:null===(j=e.attributes)||void 0===j?void 0:j.event_url)&&(0,n.jsx)(o.default,{className:"event-link","aria-label":"link to get tickets",rel:"noopener noreferrer",href:(null==e?void 0:null===(_=e.attributes)||void 0===_?void 0:_.event_url)||"/"}),S&&(0,n.jsx)(c.default,{src:S,size:"half"})]}),(0,n.jsxs)("div",{className:"event-info flex-column flex-baseline",children:[(0,n.jsxs)("div",{className:"mb-16 flex-column gap-0_5",children:[(0,n.jsx)("p",{className:"headline-6",dangerouslySetInnerHTML:{__html:(y=e.attributes.title,e.attributes.artists.data.map((e,t)=>{let l=e.attributes.name;y.toLowerCase().includes(l.toLowerCase())&&(y=y.replace(l,"<a class=\"headline-6\" aria-label='link to artist single page' rel='noopener noreferrer' href='/artists/".concat(e.attributes.slug,"'>").concat(l,"</a>")))}),y)}}),(null==e?void 0:null===(N=e.attributes)||void 0===N?void 0:N.artists)&&(0,n.jsx)("p",{className:"headline-6",children:e.attributes.artists.data.map((t,l)=>{if(!e.attributes.title.toLowerCase().includes(t.attributes.name.toLowerCase()))return(0,n.jsxs)(o.default,{className:"headline-6","aria-label":"link to artist single page",rel:"noopener noreferrer",href:"/artists/".concat(t.attributes.slug)||0,children:[t.attributes.name,l===e.attributes.artists.data.length-1?"":", "]},l)})})]}),!!(null==e?void 0:null===(w=e.attributes)||void 0===w?void 0:w.event_url)&&(0,n.jsx)(a.default,{href:null==e?void 0:null===(k=e.attributes)||void 0===k?void 0:k.event_url,variant:"contained",blank:!0,size:"small",ariaLabel:"link to get tickets",children:C})]})]})},t)})})}),!!t.call_to_action&&(0,n.jsx)("div",{className:"cta-container flex-center pad-small-top test",children:(0,n.jsx)(a.default,{href:t.call_to_action.url,variant:"contained",ariaLabel:"link to ".concat(t.call_to_action.label),children:t.call_to_action.label})})]})})}},1386:function(e,t,l){l.d(t,{default:function(){return f}});var n=l(7437),i=l(2265),a=l(7057),s=l(8011),o=l(397);function r(e){var t,l,i,r,c,d,u,v;let{content:h}=e,m=null==h?void 0:null===(l=h.background_media)||void 0===l?void 0:null===(t=l.data)||void 0===t?void 0:t.attributes,p=null==h?void 0:null===(r=h.video_poster_image)||void 0===r?void 0:null===(i=r.data)||void 0===i?void 0:i.attributes,x=(0,s.XI)(null==p?void 0:null===(d=p.formats)||void 0===d?void 0:null===(c=d.half)||void 0===c?void 0:c.url);return(0,n.jsxs)("div",{className:"hero hero-slide hero-"+(null==h?void 0:h.hero_style)+((null==h?void 0:null===(u=h.colors)||void 0===u?void 0:u.text_color)?" text-"+h.colors.text_color:" text-white")+((null==h?void 0:null===(v=h.colors)||void 0===v?void 0:v.background_color)?" bg-"+h.colors.background_color:" bg-black"),children:[(null==m?void 0:m.ext)&&".mp4"===m.ext?(0,n.jsxs)("div",{className:"video-container",style:{backgroundImage:'url("'+x+'")'},children:[(null==h?void 0:h.scrim)?(0,n.jsx)("div",{className:"scrim"}
1):null,(0,n.jsx)("video",{muted:!0,autoPlay:!0,loop:!0,playsInline:!0,children:(0,n.jsx)("source",{src:(0,s.XI)(null==m?void 0:m.url),type:"video/mp4"})})]}):m?(0,n.jsxs)("div",{className:"image-container",children:[h.scrim?(0,n.jsx)("div",{className:"scrim"}):null,(0,n.jsx)(o.default,{src:m,size:"full"})]}):null,(!!(null==h?void 0:h.image_headline)||!!(null==h?void 0:h.call_to_actions))&&(0,n.jsxs)("div",{className:"hero-content pad",children:[(0,n.jsx)("h1",{className:"headline-1"+((null==h?void 0:h.headline_uppercase)?" uppercase":""),children:h.headline}),(null==h?void 0:h.subtitle)?(0,n.jsx)("p",{className:"p",children:null==h?void 0:h.subtitle}):null,!!(null==h?void 0:h.call_to_actions)&&(0,n.jsx)("div",{className:"ctas",children:null==h?void 0:h.call_to_actions.map((e,t)=>(0,n.jsx)(a.default,{href:null==e?void 0:e.url,variant:0===t?"contained":"outlined",ariaLabel:"link to ".concat(null==e?void 0:e.label),children:null==e?void 0:e.label},t))})]})]})}var c=l(6463);function d(e){var t,l,i;let{content:r}=e,d=null==r?void 0:null===(l=r.background_media)||void 0===l?void 0:null===(t=l.data)||void 0===t?void 0:t.attributes,u=(0,c.usePathname)();return(0,n.jsxs)("div",{className:"hero hero-partial pad-top",children:[(0,n.jsxs)("div",{className:"hero-intro container gap-fluid-3 pad-small-bottom flex-mobile-wrap"+("/raffle"===u?" flex-start":" flex-bottom"),children:[(0,n.jsx)("h1",{className:"headline-1 flex-basis-50"+((null==r?void 0:r.headline_uppercase)?" uppercase":""),children:r.headline}),(0,n.jsx)("p",{className:"flex-basis-50",dangerouslySetInnerHTML:{__html:(null==r?void 0:null===(i=r.subtitle)||void 0===i?void 0:i.replace(/\n/g,"<br />"))||""}})]}),!!d&&(0,n.jsx)("div",{className:"hero-zoom-wrapper",children:(0,n.jsxs)("div",{className:"image-container video-container zoom-image-container",children:[(null==r?void 0:r.scrim)?(0,n.jsx)("div",{className:"scrim"}):null,(null==d?void 0:d.ext)&&".mp4"===d.ext?(0,n.jsx)("video",{muted:!0,autoPlay:!0,loop:!0,playsInline:!0,children:(0,n.jsx)("source",{src:(0,s.XI)(null==d?void 0:d.url),type:"video/mp4"})}):d?(0,n.jsxs)(n.Fragment,{children:[r.scrim?(0,n.jsx)("div",{className:"scrim"}):null,(0,n.jsx)(o.default,{src:d,size:"full"})]}):null,(!!r.image_headline||!!r.call_to_actions)&&(0,n.jsxs)("div",{className:"hero-content text-white pad-small",children:[r.image_headline?(0,n.jsx)("h2",{className:"headline-1"+((null==r?void 0:r.image_headline_uppercase)?" uppercase":""),children:null==r?void 0:r.image_headline}):null,!!(null==r?void 0:r.call_to_actions)&&(0,n.jsx)("div",{className:"ctas",children:null==r?void 0:r.call_to_actions.map((e,t)=>(0,n.jsx)(a.default,{href:null==e?void 0:e.url,variant:0===t?"contained":"outlined",ariaLabel:"link to ".concat(null==e?void 0:e.label),children:null==e?void 0:e.label},t))})]})]})})]})}var u=l(3489);function v(e){var t;let{content:l}=e,i=null==l?void 0:l.text_content;return(0,n.jsx)("div",{className:"hero hero-text text-black container pad-top pad-small-bottom",children:(0,n.jsxs)("div",{className:"flex flex-mobile-wrap gap-fluid-3",children:[(0,n.jsx)("h1",{className:"headline-1 flex-basis-50"+((null==l?void 0:l.headline_uppercase)?" uppercase":""),children:null==l?void 0:l.headline}),!!i&&(0,n.jsxs)("div",{className:"wysiwyg flex-basis-50",children:[(0,n.jsx)(u.default,{content:i}),(null==l?void 0:null===(t=l.call_to_actions)||void 0===t?void 0:t.length)>0&&(0,n.jsx)("div",{className:"ctas",children:l.call_to_actions.map((e,t)=>(0,n.jsx)(a.default,{href:null==e?void 0:e.url,variant:0===t?"contained":"outlined",ariaLabel:"link to ".concat(null==e?void 0:e.label),children:null==e?void 0:e.label},t))})]})]})})}var h=l(9582),m=l(1204),p=l(677),x=l(3153);function f(e){var t,l,a,s,o;let{content:c}=e,u=(0,i.useRef)(null),f=(0,i.useRef)(null),g=(0,i.useRef)(null);return((0,i.useLayoutEffect)(()=>{var e,t,l;let n;return(h.p8.registerPlugin(m.i,p.t),(null===(e=c[0])||void 0===e?void 0:e.__typename)==="ComponentHeroBlockHeroSlider"&&c.length>1)?(n=h.p8.context(()=>{p.t.create("smoothie",".38,.005,.215,1"),h.p8.timeline({scrollTrigger:{trigger:".hero-slider",start:"top+=10% top",end:"bottom-=30% top",scrub:1,invalidateOnRefresh:!0}}).to(".hero-slider",{borderRadius:"0 0 2rem 2rem",duration:.9,ease:"smoothie"})}
1,f),()=>n.revert()):(null===(t=c[0])||void 0===t?void 0:t.__typename)==="ComponentHeroBlockHeroSlider"?(n=h.p8.context(()=>{p.t.create("smoothie",".38,.005,.215,1"),h.p8.timeline({scrollTrigger:{trigger:".hero-slide",start:"top+=10% top",end:"bottom-=30% top",scrub:1,invalidateOnRefresh:!0}}).to(".hero-slide",{borderRadius:"0 0 2rem 2rem",duration:.9,ease:"smoothie"})},g),()=>n.revert()):(null===(l=c[0])||void 0===l?void 0:l.__typename)==="ComponentHeroBlockHeroPartial"?(n=h.p8.context(()=>{p.t.create("smoothie",".38,.005,.215,1");let e=h.p8.timeline({scrollTrigger:{trigger:".hero-zoom-wrapper",pin:".hero-partial",start:"top-=10% top+=20%",end:"center+=30% top+=20%",scrub:1,pinSpacing:!0,invalidateOnRefresh:!0}}).fromTo(".zoom-image-container",{height:"80vh",borderRadius:"2rem 2rem 0 0"},{duration:.9,height:"105vh",borderRadius:"0",ease:"smoothie"});c.image_headline&&c.call_to_actions||e.fromTo(".hero-content",{opacity:0,y:"2.5rem"},{opacity:1,y:"0",duration:.27,ease:"smoothie"}),h.p8.timeline({scrollTrigger:{trigger:".hero-zoom-wrapper",start:"top-=10% top+=20%",end:"center+=30% top+=20%",scrub:1,invalidateOnRefresh:!0}}).fromTo(".hero-zoom-wrapper",{top:"0vh"},{top:"-30vh",duration:.9,ease:"smoothie"}),h.p8.timeline({scrollTrigger:{trigger:".hero-zoom-wrapper",start:"center+=40% top+=20%",end:"center+=50% top+=20%",scrub:1,invalidateOnRefresh:!0}}).fromTo(".image-container",{borderRadius:"0"},{borderRadius:"0 0 2rem 2rem",duration:.9,ease:"smoothie"})},g),()=>n.revert()):void 0},[c]),c.length>1)?(0,n.jsx)("div",{className:"hero-slider-wrapper",ref:f,children:(0,n.jsx)(x.Z,{className:"hero-slider",dots:!0,arrows:!1,infinite:!1,speed:500,slidesToShow:1,slidesToScroll:1,ref:u,children:c.map((e,t)=>{if("ComponentHeroBlockHeroSlider"===e.__typename)return(0,n.jsx)("div",{className:"slide",children:(0,n.jsx)(r,{content:e})},t)})})}):(0,n.jsxs)("div",{className:"hero-wrapper".concat((null===(t=c[0])||void 0===t?void 0:t.__typename)==="ComponentHeroBlockHeroSlider"||(null===(l=c[0])||void 0===l?void 0:l.__typename)==="ComponentHeroBlockHeroPartial"?" hero-wrapper-image":""),ref:g,children:[(null===(a=c[0])||void 0===a?void 0:a.__typename)==="ComponentHeroBlockHeroSlider"&&(0,n.jsx)(r,{content:c[0]}),(null===(s=c[0])||void 0===s?void 0:s.__typename)==="ComponentHeroBlockHeroPartial"&&(0,n.jsx)(d,{content:c[0]}),(null===(o=c[0])||void 0===o?void 0:o.__typename)==="ComponentHeroBlockHeroText"&&(0,n.jsx)(v,{content:c[0]})]})}},6381:function(e,t,l){l.d(t,{default:function(){return v}});var n=l(7437),i=l(7057),a=l(2265),s=l(9582),o=l(1204),r=l(3489),c=l(180),d=l.n(c),u=l(397);function v(e,t){let l=e.content.content,c=l.images.data,v=l.text_block,h=l.call_to_action,m=(0,a.useRef)(null);return(0,a.useEffect)(()=>{s.ZP.registerPlugin(o.i),setTimeout(()=>{o.i.refresh()},500);let e=s.ZP.matchMedia(),t=d()(".text-container")[0].scrollHeight/2,l=s.ZP.context(()=>{e.add("(min-width: 960px)",()=>{s.ZP.to(m.current,{scrollTrigger:{trigger:m.current,start:"top+=".concat(t," center"),end:"bottom center+=".concat(t),pin:".text-container"}})})},m);return()=>l.revert()},[]),(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:"multi-container",children:(0,n.jsxs)("div",{className:"multi-sbs sbs",ref:m,children:[!!c&&(0,n.jsx)("div",{className:"image-gallery",children:c.map((e,t)=>{let l=t>1&&t<c.length-2?"landscape":"portrait",i=1===t||t===c.length-2?"mt":"";return(0,n.jsx)("div",{className:"image-container ".concat(l," ").concat(i),children:(0,n.jsx)(u.default,{class:"rounded",src:null==e?void 0:e.attributes})},t)})}),(0,n.jsx)("div",{className:"sbs-pin",children:(0,n.jsx)("div",{className:"text-container",children:!!v&&(0,n.jsxs)("div",{className:"text-content",children:[!!v.block_title&&(0,n.jsx)("h2",{className:"headline-2 mb-32".concat(v.headline_uppercase?" uppercase":""," "),children:v.block_title}),!!v.block_content&&(0,n.jsx)("div",{className:"wysiwyg mb-32",children:(0,n.jsx)(r.default,{content:v.block_content})}),!!h&&(0,n.jsx)(i.default,{href:h.url,variant:"contained",size:"small",ariaLabel:"link to ".concat(h.label),children:h.label})]})})})]})})})}},2523:function(e,t,l){l.d(t,{default:function(){return c}});var n=l(7437),i=l(2265),a=l(3153),s=l(7057),o=l(397),r=l(3489);function c(e,t){let l=e.content.content,c=l.images.data,d=l.text_block,u=l.call_to_action,v=(0,i.useRef)(null);return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:"container sbs-slider-container",children:(0,n.jsxs)("div",{className:"slider-sbs",children:[(0,n.jsx)("div",{className:"slide-text col",children:!!d&&(0,n.jsxs)("div",{className:"text-content",children:[!!d.block_title&&(0,n.jsx)("h2",{className:"headline-2 mb-32".concat(d.headline_uppercase?" uppercase":""," "),children:d.block_title}),!!d.block_content&&(0,n.jsx)("div",{className:"wysiwyg mb-32",children:(0,n.jsx)(r.default,{content:d.block_content})}),!!u&&(0,n.jsx)(s.default,{href:u.url,variant:"contained",size:"small",ariaLabel:"link to ".concat(u.label),children:u.label})]})}),!!c&&(0,n.jsxs)("div",{className:"slide-image col",children:[(0,n.jsx)(s.default,{arrows:!0,variant:"outlined",ariaLabel:"buttons to move slider",onPrevClick:()=>{null!==v.current&&v.current.slickPrev()},onNextClick:()=>{null!==v.current&&v.current.slickNext()}}),(0,n.jsx)(a.Z,{className:"slick-image slide-image-container margin-bleed-right",dots:!1,arrows:!1,infinite:!0,speed:500,slidesToShow:2,slidesToScroll:1,responsive:[{breakpoint:960,settings:{slidesToShow:1}}],ref:v,children:c.map((e,t)=>(0,n.jsx)("div",{className:"slide",children:(0,n.jsx)("div",{className:"image-container",children:(0,n.jsx)(o.default,{rounded:!0,src:null==e?void 0:e.attributes})})},t))})]})]})})})}},2002:function(e,t,l){l.d(t,{default:function(){return d}});var n=l(7437),i=l(7057),a=l(2265),s=l(9582),o=l(1204),r=l(397),c=l(3489);function d(e,t){let l=e.content.content,d=l.text_content,u=l.image.data.attributes,v=(0,a.useRef)(null);return(0,a.useLayoutEffect)(()=>{s.ZP.registerPlugin(o.i),setTimeout(()=>{o.i.refresh()},500);let e=s.ZP.matchMedia(),t=s.ZP.context(()=>{e.add("(min-width: 960px)",()=>{s.ZP.to(v.current,{scrollTrigger:{trigger:".sbs-pin",start:"top top",end:"bottom top",pin:!0}})})},v);return()=>t.revert()},[]),(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"sbs sbs-pinned image-".concat(l.image_position),ref:v,children:[(0,n.jsx)("div",{className:"text-container",children:!!d&&d.map((e,t)=>(0,n.jsxs)("div",{className:0==t?"text-content":"text-content text-content-desktop",children:[!!(null==e?void 0:e.block_t
1itle)&&(0,n.jsx)("h2",{className:"headline-2 mb-32"+(e.headline_uppercase?" uppercase":""),children:e.block_title}),!!e.block_content&&(0,n.jsx)("div",{className:"wysiwyg mb-32",children:(0,n.jsx)(c.default,{content:e.block_content})}),!!l.call_to_actions&&(0,n.jsx)("div",{className:"ctas",children:l.call_to_actions.map((e,t)=>(0,n.jsx)(i.default,{href:e.url,variant:0==t?"contained":"outlined",ariaLabel:"link to ".concat(e.label),children:e.label},t))})]},t))}),(0,n.jsx)("div",{className:"sbs-pin",children:(0,n.jsx)("div",{className:"image-container",children:(0,n.jsx)(r.default,{src:u,size:"half"})})}),!!d[1]&&(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"text-content text-content-mobile pad-top",children:[!!d[1].block_title&&(0,n.jsx)("h2",{className:"headline-2 mb-32",children:d[1].block_title}),!!d[1].block_content&&(0,n.jsx)("div",{className:"wysiwyg mb-32",children:(0,n.jsx)(c.default,{content:d[1].block_content})}),!!l.call_to_actions&&(0,n.jsx)("div",{className:"ctas",children:l.call_to_actions.map((e,t)=>(0,n.jsx)(i.default,{href:e.url,variant:0==t?"contained":"outlined",ariaLabel:"link to ".concat(e.label),children:e.label},t))})]})})]})})}},3970:function(e,t,l){l.d(t,{default:function(){return r}});var n=l(7437),i=l(2265),a=l(8011);l(9360);var s=l(7719),o=l.n(s);function r(e){var t,l;let{amenities:s}=e;s=null===(l=s.mapPin)||void 0===l?void 0:null===(t=l.data)||void 0===t?void 0:t.attributes.map_pin;let r=(0,i.useRef)(null),c=(0,i.useRef)(null),[d,u]=(0,i.useState)(-114.070983),[v,h]=(0,i.useState)(51.055105),[m,p]=(0,i.useState)(16.55),[x,f]=(0,i.useState)(.4);return(0,i.useEffect)(()=>{let e=window.matchMedia("(min-width: 687px)");if(r.current&&!c.current){c.current=new(o()).Map({container:r.current,style:"mapbox://styles/folkfesteh/cmn6kfemz000f01so9px8dq1l",center:[d,v],zoom:15.8,maxZoom:19,minZoom:15,cooperativeGestures:!0}),e.matches?(c.current.fitBounds([[-114.077069,51.053807],[-114.067987,51.056724]]),c.current.setMaxBounds([[-114.077922,51.053555],[-114.064176,51.056559]])):(c.current.fitBounds([[-114.073791,51.05423],[-114.069165,51.056744]]),c.current.setMaxBounds([[-114.080929,51.050925],[-114.062819,51.059207]])),c.current.on("idle",function(){var e;null===(e=c.current)||void 0===e||e.resize()}),c.current.scrollZoom.disable(),c.current.dragRotate.disable(),c.current.touchZoomRotate.disableRotation();let t=new(o()).NavigationControl({showCompass:!1});c.current.addControl(t,"bottom-right"),c.current.addControl(new(o()).GeolocateControl({positionOptions:{enableHighAccuracy:!0},trackUserLocation:!0,showUserHeading:!0}));let l=(e,t,l)=>{c.current&&c.current.flyTo({center:[t,l],offset:[-(e.offsetWidth/2),0],zoom:17.55,speed:x})};null==s||s.map((e,t)=>{var n;let i;let s=e.longtitude,r=e.latitude,d=null===(n=e.marker.data)||void 0===n?void 0:n.attributes,u=document.createElement("div");u.className="poi-pin",u.innerHTML='<img src="'.concat((0,a.XI)(null==d?void 0:d.url),'" alt="interest type icon" width="').concat(null==d?void 0:d.width,'" height="').concat(null==d?void 0:d.height,'">'),c.current&&(i=new(o()).Marker(u,{offset:[0,0]}).setLngLat([s,r]).addTo(c.current)),u.addEventListener("click",function(){l(u,s,r)}),c.current&&c.current.on("zoom",()=>{let e=1+(c.current.getZoom()-16.2)*1.1,t=i.getElement().children[0];t.style.transformOrigin="center center",c.current.getZoom()>15.4?(t.style.transform="scale(".concat(e,")"),t.style.display="block"):t.style.display="none"})})}},[r,c]),(0,n.jsx)("div",{className:"container rounded map-overlay-container",id:"map",children:(0,n.jsx)("div",{ref:r,className:"map-container"})})}o().accessToken="pk.eyJ1IjoiZm9sa2Zlc3RlaCIsImEiOiJjbW1qZG92ZG0xYjhoMnBvZnBmZDNyejYzIn0.W9GLVvkbZxDYDocOQpWsNg"},7894:function(e,t,l){l.d(t,{default:function(){return ee}});var n,i,a,s,o,r,c,d,u,v,h=l(7437),m=l(2265),p=l(180),x=l.n(p),f=l(6463),g=l(8011),b=l(7818),j=l(3083),_=l(8600),N=l(6927);let w=(0,b.default)(()=>l.e(409).then(l.bind(l,409)),{loadableGenerated:{webpack:()=>[409]},ssr:!1});function k(e){var t,l,n,i,a,s,o;let{item:r,schedule:c,style:d,showStageName:u}=e,v=(0,f.useSearchParams)(),[p,x]=(0,m.useState)(0),b=(0,m.useRef)(null),k=null==r?void 0:null===(l=r.stage)||void 0===l?void 0:null===(t=l.data)||void 0===t?void 0:t.attributes,y=(null==r?void 0:r.__typename)==="ComponentScheduleConcert"?null==r?void 0:r.id:null,S=(null==r?void 0:r.__typename)==="ComponentScheduleSession"?null==r?void 0:r.id:null,C=null==r?void 0:r.session_name,E=null==r?void 0:null===(i=r.artist)||void 0===i?void 0:null===(n=i.data)||void 0===n?void 0:n.attributes,T=null==r?void 0:null===(a=r.artists)||void 0===a?void 0:a.data.map(e=>null==e?void 0:e.attributes),{setSchedulePosition:L}=(0,_.s6)(e=>e);(0,m.useEffect)(()=>{b.current&&x(b.current.clientHeight)},[x]);let{mySchedule:P}=(0,_.s6)(e=>e);return(0,h.jsxs)(j.default,{children:[(0,h.jsx)("div",{ref:b,className:"time-slot ".concat(c?"":"time-slot-no-position"),"data-id":r.id,"data-start-time":null===(s=r.start_time)||void 0===s?void 0:s.replace(":","").slice(0,4),"data-end-time":null===(o=r.end_time)||void 0===o?void 0:o.replace(":","").slice(0,4),"data-bg-color":(null==k?void 0:k.stage_color)?k.stage_color:"#000","data-height":p,style:d,children:(0,h.jsxs)("a",{href:"#",onClick:e=>{if(c){var t,l;let e;e=(null==v?void 0:v.get("day"))&&(null==v?void 0:v.get("day"))!==null?v.get("day"):1,y?window.history.replaceState(null,"","?day=".concat(e,"&concert_id=").concat(y)):S&&window.history.replaceState(null,"","?day=".concat(e,"&session_id=").concat(S)),L({left:null===(l=document)||void 0===l?void 0:null===(t=l.querySelector(".schedule-container"))||void 0===t?void 0:t.scrollLeft,top:document.documentElement.scrollTop})}else e.stopPropagation()},"aria-label":"open artist popup for ".concat(null==E?void 0:E.name,", artist info"),children:[u?(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("div",{className:"flex-btwn schedule-heart-button",children:(0,h.jsx)("p",{style:{color:(null==k?void 0:k.stage_color)?null==k?void 0:k.stage_color:"#000"},className:"p-sm semi-bold uppercase",children:null==k?void 0:k.stage_name})}),!!C&&(0,h.jsx)("p",{className:"p-sm semi-bold",children:C}),!!(null==E?void 0:E.name)&&(0,h.jsx)("p",{className:"p-sm semi-bold",children:null==E?void 0:E.name})]}):(0,h.jsxs)("div",{className:"flex-btwn schedule-heart-button",children:[!!C&&(0,h.jsx)("p",{className:"p-sm semi-bold",children:C}),!!(null==E?void 0:E.name)&&(0,h.jsx)("p",{className:"p-sm semi-bold",children:null==E?void 0:E.name})]}),!!T&&(0,h.jsx)("p",{className:"p-sm",children:T.map((e,t,l)=>t===l.length-1?null==e?void 0:e.name:(null==e?void 0:e.name)+" ⢠")}),(0,h.jsxs)("p",{className:"p-sm time-slot-time",children:[(0,g.eZ)(r.start_time,"h:mma")," â ",(0,g.eZ)(r.end_time,"h:mma")]}),(0,h.jsxs)("div",{className:"flex-btwn",children:[(0,h.jsx)("p",{className:"p-sm text-grey time-slot-type",children:"ComponentScheduleSession"==r.__typename?"Session":"ComponentScheduleConcert"==r.__typename?"Concert":"ComponentScheduleSpecialProgram"==r.__typename?"Special Program":""}),(0,h.jsx)(N.default,{item:r})]})]})}),!!(null==c?void 0:c.time_slot)&&(0,h.jsx)(w,{artist:E,artists:T,timeSlot:null==c?void 0:c.time_slot,sessionName:C,concertId:y,sessionId:S})]})}var y=l(2625);function S(){let[e,t]=(0,m.useState)(null),[l,n]=(0,m.useState)(null),[i,a]=(0,m.useState)(null),[s,o]=(0,m.useState)(null),[r,c]=(0,m.useState)(null);return(0,m.useEffect)(()=>
1{if(window){let e=window.navigator.userAgent;c(e),n(e.indexOf("SamsungBrowser")>-1?"SamsungBrowser":e.indexOf("Firefox")>-1?"Firefox":e.indexOf("FxiOS")>-1?"FirefoxiOS":e.indexOf("CriOS")>-1?"ChromeiOS":e.indexOf("Chrome")>-1?"Chrome":e.indexOf("Safari")>-1?"Safari":"unknown");let l=e.match(/iPhone|iPad|iPod/i),i=e.match(/Android/i);a(!!l),t(!!(l||i)),window.matchMedia("(display-mode: standalone)").matches&&o(!0)}},[]),{isMobile:e,userAgent:l,isIOS:i,isStandalone:s,userAgentString:r}}var C=l(4410);function E(){return(E=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}var T=function(e){return C.createElement("svg",E({xmlns:"http://www.w3.org/2000/svg",width:44,height:28,fill:"none"},e),i||(i=C.createElement("rect",{width:44,height:28,fill:"#1B1B1B",rx:14})),a||(a=C.createElement("g",{clipPath:"url(#arrow-right-bg_svg__a)"},C.createElement("path",{fill:"#FEFAF5",d:"M24.1 4.475 22.686 5.89l6.781 6.782H11.705v1.994h17.762l-6.781 6.78L24.1 22.86l9.192-9.192z"}))),s||(s=C.createElement("defs",null,C.createElement("clipPath",{id:"arrow-right-bg_svg__a"},C.createElement("path",{fill:"#fff",d:"m22 2.375 11.314 11.314L22 25.002 10.686 13.69z"})))))},L=l(9582),P=function(e){let[t,l]=m.useState(!0);return m.useEffect(()=>{setTimeout(()=>{!function(){let e=document.querySelector(".loading-screen");null==e||e.classList.add("hide-screen")}()},1e3)},[]),(0,h.jsx)("div",{className:"loading-screen",children:(0,h.jsxs)("div",{id:"loading-dots",children:[(0,h.jsx)("div",{className:"loading-dot"}),(0,h.jsx)("div",{className:"loading-dot"}),(0,h.jsx)("div",{className:"loading-dot"})]})})},M=l(1204),D=l(4362),O=l(7319);function z(e){var t,l,n,i,a;let s,o;let{schedule:r,hide:c}=e,d=m.useRef(null),{isMobile:u}=S(),{schedulePosition:v,setSchedulePosition:p,selectedSchedule:g,setSelectedSchedule:b}=(0,_.s6)(e=>e),[j,N]=m.useState(0),w=(0,f.useSearchParams)(),C=(null==w?void 0:w.get("day"))||"1",E=(0,f.usePathname)(),{events:z}=(0,D.Z)(d),[F,I]=m.useState(),R=null===(t=r[0])||void 0===t?void 0:t.attributes,B=new Date;B.toUTCString,B=(0,y.aQ)(B,"YYYY-MM-DD");let Z=(e,t)=>{for(var l=0;l<(null==e?void 0:e.length);l++)if(e[l].date===t)return l},A=Z(null==R?void 0:R.festival_times,B)?Z(null==R?void 0:R.festival_times,B)+1:1,[H,q]=m.useState(A-1);function G(e){let t=window.matchMedia("(min-width: 960px)");if(null==d?void 0:d.current)return t.matches?null==d?void 0:d.current.scrollBy({left:e,behavior:"smooth"}):null==d?void 0:d.current.scrollBy({left:e/2,behavior:"smooth"})}let W=(s=null==R?void 0:R.time_slot,o=[],null==s||s.forEach(function(e){let t=new Date(e.date);t in o?o[t].push(e):o[t]=Array(e)}),o);function Y(e){var t;return function(e){let t=null==R?void 0:R.festival_times,l=[];return null==t||t.forEach(function(e){let t=new Date(e.date),n=e.start_time,i=e.end_time,a=[e.gate_time,n,i];t in l?l[t].push(a):l[t]=Array(a)}),l[e]}(new Date(null==R?void 0:null===(t=R.festival_times[e])||void 0===t?void 0:t.date))}function Q(e){var t,l;let n;return n=[],null===(l=W[new Date(null==R?void 0:null===(t=R.festival_times[e])||void 0===t?void 0:t.date)])||void 0===l||l.forEach(function(e){var t,l;let i=null==e?void 0:null===(l=e.stage)||void 0===l?void 0:null===(t=l.data)||void 0===t?void 0:t.attributes,a=null==i?void 0:i.stage_slug;a in n?n[a].push(e):n[a]=Array(e)}),n}function X(e){var t,l;let n,i;return l=new Date(null==R?void 0:null===(t=R.festival_times[e])||void 0===t?void 0:t.date),n=null==R?void 0:R.festival_times,i=[],null==n||n.forEach(function(e){var t,l;let n=new Date(e.date),a=e.start_time,s=e.end_time,o=(t=$(a),l=$(s),t=parseInt(t),(l=parseInt(l)+1)<t&&(l+=24),Array.from({length:l-t},(e,l)=>[l+t]).map(e=>{let[t]=e;return"".concat(t%12||12," ").concat("PA"[+(t<=11||t>23)],"M")}));n in i?i[n].push(o):i[n]=Array(o)}),i[l]}function V(e){let t=e%100;return e=e-t+100*t/60}function $(e){return(e=e.split(":"))[0]+":"+e[1]}function J(){x()(".schedule-row").each(function(){var e,t,l;let n=null===(t=x()(this))||void 0===t?void 0:null===(e=t.offset())||void 0===e?void 0:e.top;n&&x()(this).find(".stage-label").css({top:n-((null===(l=x()(window))||void 0===l?void 0:l.scrollTop())||0)})})}function U(){var e;let t=x()(".schedule-header .tab-container");return N(null==t?void 0:null===(e=t.offset())||void 0===e?void 0:e.left)}function K(e){x()(".schedule-row").each(function(){x()(this).find(".stage-label").css({left:e})})}null==R||null===(l=R.festival_times[0])||void 0===l||l.date;let ee=(0,O.Z)(function(){let e=x()(".schedule-mobile-tab")[g];x()(".schedule-dropdown").css("max-height",""),x()(".schedule-dropdown").removeClass("open"),x()(e).addClass("selected")}),et=e=>{let t=x()(e.currentTarget).scrollLeft(),l=x()(e.currentTarget).find(".schedule").width(),n=x()(e.currentTarget).width(),i=x()(".schedule-arrow-left"),a=x()(".schedule-arrow-right");t>100?i.addClass("visible"):i.removeClass("visible"),t>l-n-100?a.removeClass("visible"):a.addClass("visible")};(0,m.useEffect)(()=>{let e=e=>
1{if(d.current)switch(e.key){case"ArrowLeft":G(-20);break;case"ArrowRight":G(20)}};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[]),(0,m.useEffect)(()=>{w.get("day")&&null!==w.get("day")?"my-schedule"===w.get("day")?b(0):b(parseInt(C)-1):window.history.replaceState(null,"","?day=".concat(A))},[]),(0,m.useEffect)(()=>{U(),x()(window).on("scroll mousewheel touchend",function(){J(),function(){let e=x()(".schedule");if(e.length){let t=x()(window).scrollTop()-(null==e?void 0:e.offset().top);x()(".time-labels.sticky").css({top:t+"px"})}}()})},[]),(0,m.useEffect)(()=>(window.addEventListener("resize",()=>{I(window.innerWidth),U(),J()}),I(window.innerWidth),()=>{}),[F]),(0,m.useEffect)(()=>{setTimeout(()=>{K(j)},200)},[j]);let el=(0,m.useRef)(null);return(0,m.useEffect)(()=>{if(R){let e=L.ZP.context(()=>{L.ZP.to(el.current,{scrollTrigger:{trigger:x()(".schedule"),start:"top top",end:"bottom top",invalidateOnRefresh:!0,onEnter:()=>x()(".time-labels.non-placeholder").addClass("sticky"),onLeave:()=>x()(".time-labels.non-placeholder").removeClass("sticky").css({top:0}),onEnterBack:()=>x()(".time-labels.non-placeholder").addClass("sticky"),onLeaveBack:()=>x()(".time-labels.non-placeholder").removeClass("sticky").css({top:0})}})},el);return()=>e.revert()}},[]),(0,m.useEffect)(()=>{setTimeout(()=>{let e;x()(".schedule-row").each(function(){let e=x()(this).find(".time-slot"),t=[];x()(e).each(function(l){t.push(x()(e[l]).data("height"))}),t.sort(function(e,t){return e-t});let l=t[t.length-1];l=parseInt(l)+(u?24:30),x()(this).css("min-height",l+"px")}),J(),K(j),x()(".stage-label").css({opacity:1}),M.i.refresh(),x()(".schedule").width()<=(e=x()(".schedule-container").width())-.13*e?(x()(".schedule-arrow-left").removeClass("visible"),x()(".schedule-arrow-right").removeClass("visible")):x()(".schedule-arrow-right").addClass("visible")},200),x()(".schedule-container").on("scroll",et)},[g]),(0,m.useEffect)(()=>{setTimeout(()=>{J()},20)},[w]),(0,m.useEffect)(()=>{(null==d?void 0:d.current)&&v&&(null==v?void 0:v.top)!==0&&setTimeout(()=>{var e;null===(e=d.current)||void 0===e||e.scrollTo({top:v.top,left:v.left}),document.documentElement.scrollTo({top:v.top,left:v.left})},200)},[d]),(0,h.jsx)(h.Fragment,{children:!!R&&(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)("div",{className:"schedule-header schedule-toggle-visibility ".concat(!0==c?"hide-schedule":"show-schedule"),children:[(0,h.jsxs)("div",{className:"container tab-container",children:[(0,h.jsx)("div",{className:"tickets-tabs flex-btwn mb-16",children:null==R?void 0:R.festival_times.map((e,t)=>{let l=(0,y.aQ)(e.date,"ddd, MMMM DD");return(0,h.jsx)("a",{className:"tickets-tab headline-3 flex-center uppercase".concat(g===t?" selected":""),href:"#",onClick:e=>{var l;e.preventDefault,b(t),window.history.replaceState(null,"","?day=".concat(t+1)),p({left:0,top:document.documentElement.scrollTop}),null===(l=d.current)||void 0===l||l.scrollTo({top:document.documentElement.scrollTop,left:0})},children:(null==e?void 0:e.date)?l:""},t)})}),(0,h.jsxs)("div",{className:"tickets-dropdown schedule-dropdown bg-grey_light flex-column rounded",ref:ee,onClick:()=>{let e;return e=x()(".schedule-mobile-tab")[g],void(x()(".schedule-dropdown").hasClass("open")?(x()(".schedule-dropdown").css("max-height",""),x()(".schedule-dropdown").removeClass("open"),x()(e).addClass("selected")):(x()(".schedule-dropdown").css("max-height",x()(".schedule-dropdown")[0].scrollHeight),x()(".schedule-dropdown").addClass("open"),x()(e).removeClass("selected")))},children:[(0,h.jsx)("div",{className:"arrow"}),null==R?void 0:R.festival_times.map((e,t)=>{let l=(0,y.aQ)(e.date,"ddd, MMMM DD");return(0,h.jsx)("a",{className:"headline-3 uppercase tickets-tab schedule-mobile-tab mobile-tab".concat(g===t?" selected":""),href:"#",onClick:e=>{var l;e.preventDefault,b(t),window.history.replaceState(null,"","?day=".concat(t+1)),p({left:0,top:document.documentElement.scrollTop}),null===(l=d.current)||void 0===l||l.scrollTo({top:document.documentElement.scrollTop,left:0})},children:(null==e?void 0:e.date)?l:""},t)})]})]}),(0,h.jsx)("div",{className:"container",children:(0,h.jsx)("div",{className:"gates-open mb-16 mt-16 flex-center",children:E.includes("folk-fest")&&(null===(n=Y(g))||void 0===n?void 0:n.map((e,t)=>
1{let l="00"===e[0].slice(3,5)?(0,y.eZ)(e[0],"h a"):(0,y.eZ)(e[0],"h:mm a");return(0,h.jsxs)("p",{className:"p uppercase text-grey",children:["Gates open at ",l]},t)}))})})]}),(0,h.jsxs)("div",{...z,className:"schedule-container overflow-set schedule-toggle-visibility ".concat(!0==c?"hide-schedule":"show-schedule"),ref:d,children:[(0,h.jsx)(P,{}),(0,h.jsxs)("div",{className:"schedule pad-small-bottom",children:[(0,h.jsxs)("div",{className:"time-labels non-placeholder",ref:el,children:[(0,h.jsx)("div",{className:"schedule-arrow schedule-arrow-left",onClick:()=>G(-375),children:(0,h.jsx)(T,{})}),null===(i=X(g)[0])||void 0===i?void 0:i.map((e,t)=>(0,h.jsx)("div",{className:"time-label",children:e},t)),(0,h.jsx)("div",{className:"schedule-arrow schedule-arrow-right visible",onClick:()=>G(375),children:(0,h.jsx)(T,{})})]}),(0,h.jsxs)("div",{className:"time-labels placeholder",children:[(0,h.jsx)("div",{className:"schedule-arrow schedule-arrow-left",onClick:()=>G(-375),children:(0,h.jsx)(T,{})}),null===(a=X(g)[0])||void 0===a?void 0:a.map((e,t)=>(0,h.jsx)("div",{className:"time-label",children:e},t)),(0,h.jsx)("div",{className:"schedule-arrow schedule-arrow-right visible",onClick:()=>G(375),children:(0,h.jsx)(T,{})})]}),(function(){var e,t,l,n;let i=Object.entries(Q(g)),a=null==r?void 0:null===(n=r.stageOrder)||void 0===n?void 0:null===(l=n.data)||void 0===l?void 0:null===(t=l.attributes)||void 0===t?void 0:null===(e=t.stages)||void 0===e?void 0:e.data;if(a){let e=null==a?void 0:a.reduce((e,t,l)=>(e[t.attributes.stage_slug]=l,e),{});return i.sort((t,l)=>{let n=t[0],i=l[0];return e[n]-e[i]})}return i})().map(e=>{var t,l,n;let[i,a]=e,s=null===(n=a[0])||void 0===n?void 0:null===(l=n.stage)||void 0===l?void 0:null===(t=l.data)||void 0===t?void 0:t.attributes;return(0,h.jsxs)("div",{className:"schedule-row",children:[(0,h.jsx)("p",{className:"stage-label pill-tag text-white uppercase",style:{backgroundColor:(null==s?void 0:s.stage_color)?s.stage_color:"#000"},children:null==s?void 0:s.stage_name}),Q(g)[i].map((e,t)=>{let l=function(e,t){var l,n,i,a,s,o,r,c=null===(l=$(Y(t)[0][1]))||void 0===l?void 0:l.replace(":",""),d=null===(n=$(Y(t)[0][2]))||void 0===n?void 0:n.replace(":","");d<c?d=parseFloat(d)+2400:"0000"==d&&(d=2400);let u=V(c),v=V(d)-u+100,h=V(null===(i=e.start_time)||void 0===i?void 0:i.replace(":","").slice(0,4)),m=V(null===(a=e.end_time)||void 0===a?void 0:a.replace(":","").slice(0,4)),p=null===(r=e.stage)||void 0===r?void 0:null===(o=r.data)||void 0===o?void 0:null===(s=o.attributes)||void 0===s?void 0:s.stage_color,x=(h-u)/v*100,f=(m-h)/v*100;return h<u?{left:"".concat(x,"%"),width:"calc( ".concat(f,"% + 1rem )"),borderLeft:"4px solid ".concat(p)}:{left:"calc( ".concat(x,"% + 1rem )"),width:"calc( ".concat(f,"% )"),borderLeft:"4px solid ".concat(p)}}(e,g);return(0,h.jsx)(k,{item:e,schedule:R,style:l},e.id)})]},g+"-"+i)})]})]})]})})}var F=l(998),I=l(7057);let R=()=>(0,h.jsx)("p",{className:"animate-bounce text-white font-bold",children:"Loading..."}),B=(0,b.default)(()=>Promise.all([l.e(7259),l.e(6950),l.e(9186)]).then(l.bind(l,3367)),{loadableGenerated:{webpack:()=>[3367]},loading:()=>(0,h.jsx)(R,{})}),Z=(0,b.default)(()=>Promise.all([l.e(6305),l.e(3464)]).then(l.bind(l,5354)),{loadableGenerated:{webpack:()=>[5354]},loading:()=>(0,h.jsx)(R,{})}),A=(0,b.default)(()=>l.e(1741).then(l.bind(l,1741)),{loadableGenerated:{webpack:()=>[1741]},loading:()=>(0,h.jsx)(R,{})}),H=(0,b.default)(()=>Promise.all([l.e(7259),l.e(7699),l.e(9956),l.e(7853)]).then(l.bind(l,1743)),{loadableGenerated:{webpack:()=>[1743]},loading:()=>(0,h.jsx)(R,{})}),q=(0,b.default)(()=>Promise.all([l.e(7259),l.e(6950),l.e(9170)]).then(l.bind(l,9225)),{loadableGenerated:{webpack:()=>[9225]},loading:()=>(0,h.jsx)(R,{})}),G=(0,b.default)(()=>Promise.all([l.e(7699),l.e(5027),l.e(7030)]).then(l.bind(l,6426)),{loadableGenerated:{webpack:()=>[6426]},loading:()=>(0,h.jsx)(R,{})}),W=(0,b.default)(()=>l.e(1861).then(l.bind(l,1861)),{loadableGenerated:{webpack:()=>[1861]},loading:()=>(0,h.jsx)(R,{})});function Y(){let[e,t]=(0,m.useState)(""),{userAgent:l,isMobile:n,isStandalone:i,isIOS:a}=S(),s=()=>{t("")},o=(0,O.Z)(s),r=()=>{"Safari"===l?t("safari"):"Chrome"===l?t("chrome"):"Firefox"===l?t("firefox"):"FirefoxiOS"===l?t("firefoxIos"):"ChromeiOS"===l?t("chromeIos"):"SamsungBrowser"===l?t("samsung"):t("other")};return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(I.default,{size:"small",variant:"contained",ariaLabel:"Sign in button",onFunctionClick:()=>r(),children:"Save Shortcut"}),(0,h.jsx)("dialog",{className:"device-detection-prompt",open:""!==e,children:(0,h.jsx)("div",{className:"device-detection-prompt-wrapper text-black",children:(0,h.jsxs)("div",{ref:o,className:"device-detection-prompt-container text-black ".concat(""!==e?"show":""),children:[(0,h.jsx)("div",{className:"close-container flex-end",children:(0,h.jsx)("div",{onClick:s,className:"device-detection-prompt-close",children:(0,h.jsxs)("div",{className:"toggle",children:[(0,h.jsx)("span",{}),(0,h.jsx)("span",{})]})})}),(0,h.jsx)("p",{className:"headline-6 mb-16",children:"How to download the shortcut"}),(0,h.jsx)(()=>(0,h.jsx)(h.Fragment,{children:{safari:(0,h.jsx)(B,{}),chrome:(0,h.jsx)(Z,{}),firefox:(0,h.jsx)(A,{}),firefoxIos:(0,h.jsx)(H,{}),chromeIos:(0,h.jsx)(q,{}),samsung:(0,h.jsx)(G,{}),other:(0,h.jsx)(W,{}),"":(0,h.jsx)(h.Fragment,{})}[e]}),{})]})})})]})}function Q(e){let[t,l]=(0,m.useState)(!1),[n,i]=(0,m.useState)(null),[a,s]=(0,m.useState)(null),{data:o}=(0,F.useSession)();(0,m.useEffect)(()=>{navigator.serviceWorker.ready.then(e=>{var t;null==e||null===(t=e.pushManager)||void 0===t||t.getSubscription().then(e=>{if(e)return console.log("subscription",e),i(e),l(!0),e})})},[]);let r=async e=>{e.target.checked?c():d()},c=async()=>
1{if(!window.serwist.getSW()){console.error("No SW registration available.");return}if(!o){console.error("No session available.");return}new Promise(function(e,t){let l=Notification.requestPermission(function(t){e(t)});l&&l.then(e,t)}).then(e=>{if("granted"!==e)throw Error("We weren't granted permission.");l(!0),navigator.serviceWorker.ready.then(e=>{console.log("Registration ",JSON.stringify(e));let t={userVisibleOnly:!0,applicationServerKey:function(e){for(var t="=".repeat((4-e.length%4)%4),l=(e+t).replace(/\-/g,"+").replace(/_/g,"/"),n=window.atob(l),i=new Uint8Array(n.length),a=0;a<n.length;++a)i[a]=n.charCodeAt(a);return i}("BPtY9pvWHR2VUusEB4l7_ITbipNg8-nvxdmdO9-1hpyCP7mCOT5Put1Y0qfujgP_i2Wa5ukp3JgF-F5OAdtqlfA")};return e.pushManager.subscribe(t)}).then(e=>{console.log("Received PushSubscription: ",JSON.stringify(e)),function(e){var t;fetch("/api/subscribe",{method:"PUT",body:JSON.stringify({subscription:e,user_email:null==o?void 0:null===(t=o.user)||void 0===t?void 0:t.email}),headers:{"Content-Type":"application/json"}}).then(e=>e.json()).then(e=>{console.log(e)}).catch(e=>{l(!1)})}(e),i(e)})})},d=async()=>{var e;let t=await fetch("/api/subscribe",{method:"DELETE",body:JSON.stringify({subscription:n,user_email:null==o?void 0:null===(e=o.user)||void 0===e?void 0:e.email}),headers:{"content-type":"application/json"}});await t.json(),navigator.serviceWorker.ready.then(e=>{var t;null==e||null===(t=e.pushManager)||void 0===t||t.getSubscription().then(e=>{e&&(console.log("un-subscription",e),e.unsubscribe().then(e=>{i(null),l(!1)}).catch(e=>{}))})})};return(0,h.jsx)(h.Fragment,{children:(0,h.jsxs)("div",{className:"toggle-container mb-32 flex-center-row",children:[(0,h.jsx)("span",{children:"Enable Notifications?"}),(0,h.jsxs)("label",{className:"toggle-switch",children:[(0,h.jsx)("input",{className:"toggle-input",checked:t,type:"checkbox",onChange:r}),(0,h.jsx)("span",{className:"toggle-slider"}),(0,h.jsx)("div",{})]})]})})}function X(e){var t,l,n;let{schedule:i,hide:a}=e,{data:s,status:o,update:r}=(0,F.useSession)(),{isStandalone:c,isMobile:d}=S(),u=(0,f.useRouter)(),{mySchedule:v,setMySchedule:p}=(0,_.s6)(e=>e),[g,b]=m.useState(0),[j,N]=m.useState(0),[w,C]=m.useState(),E=null===(t=i[0])||void 0===t?void 0:t.attributes,T=null==E?void 0:E.festival_times;m.useLayoutEffect(()=>{let e=!0,t=async()=>{if(e)try{var t;let e=await fetch("/api/schedule",{method:"POST",headers:{"Content-type":"application/json"},body:JSON.stringify({schedule_id:E.festival_id,user_email:null==s?void 0:null===(t=s.user)||void 0===t?void 0:t.email,schedule:null})});if(!e.ok)throw console.log(e,"handleSeed my-schedule.tsx - not.ok"),Error("Failed to create new user")}catch(e){console.error("Error seeding new user:",e)}};return(async()=>{var l;if((null==s?void 0:null===(l=s.user)||void 0===l?void 0:l.email)&&e)try{let l=await fetch("/api/schedule?user_id=".concat(s.user.email),{cache:"no-store",method:"GET",headers:{"Content-type":"application/json"}});if(!l.ok)throw console.log(l,"GET my-schedule.tsx - not.ok"),Error("Failed to fetch schedule");let n=await l.json();e&&(n.length>0?(console.log("run setMySchedule"),p(n[0])):(console.log("run handleSeed"),await t()))}catch(e){console.error("Error fetching or creating schedule:",e)}})(),()=>{e=!1}},[null==s?void 0:null===(l=s.user)||void 0===l?void 0:l.email]);let L=()=>{var e;(null===(e=document.querySelector(".nav"))||void 0===e?void 0:e.classList.contains("show"))?N("80px"):N(0)};m.useEffect(()=>(window.addEventListener("scroll",L,{passive:!0}),()=>window.removeEventListener("scroll",L)),[]),m.useEffect(()=>{x()(".myschedule-mobile-tab").length<=1?x()(".tab-container").addClass("hide"):x()(".tab-container").removeClass("hide")},[v]),m.useEffect(()=>(window.addEventListener("resize",()=>{C(window.innerWidth)}),C(window.innerWidth),()=>{}),[w]);let P=(0,O.Z)(function(){let e=x()(".myschedule-mobile-tab")[g];x()(".myschedule-dropdown").css("max-height",""),x()(".myschedule-dropdown").removeClass("open"),x()(e).addClass("selected")});return(0,h.jsxs)("div",{className:"container schedule-toggle-visibility ".concat(!0==a?"hide-schedule":"show-schedule"),children:[s&&(null==s?void 0:s.user)?(0,h.jsxs)(h.Fragment,{children:[(d&&c||!d)&&(0,h.jsx)(Q,{}),v&&(null==v?void 0:null===(n=v.schedule)||void 0===n?void 0:n.length)>=1?(0,h.jsxs)("div",{className:"my-schedule-container gap-2",children:[w&&w<=959?(0,h.jsx)("div",{style:{to
1p:j},className:"tab-container",children:(0,h.jsxs)("div",{className:"tickets-dropdown myschedule-dropdown bg-grey_light flex-column rounded",ref:P,onClick:()=>{let e;return e=x()(".myschedule-mobile-tab")[g],void(x()(".myschedule-dropdown").hasClass("open")?(x()(".myschedule-dropdown").css("max-height",""),x()(".myschedule-dropdown").removeClass("open"),x()(e).addClass("selected")):(x()(".myschedule-dropdown").css("max-height",x()(".myschedule-dropdown")[0].scrollHeight),x()(".myschedule-dropdown").addClass("open"),x()(e).removeClass("selected")))},children:[(0,h.jsx)("div",{className:"arrow"}),!!T&&T.map((e,t)=>(null==v?void 0:v.schedule.filter(t=>t.date===e.date).sort((e,t)=>e.start_time.localeCompare(t.start_time))).length<=0?null:(0,h.jsx)("p",{className:"headline-3 uppercase tickets-tab myschedule-mobile-tab mobile-tab".concat(g===t?" selected":""),onClick:()=>{b(t);let l="#".concat((0,y.aQ)(e.date,"dddd"));u.push(l)},children:(0,y.aQ)(e.date,"dddd, MMMM DD")},t))]})}):null,(0,h.jsx)(h.Fragment,{children:!!T&&(null==T?void 0:T.map((e,t)=>{let l=null==v?void 0:v.schedule.filter(t=>t.date===e.date).sort((e,t)=>e.start_time.localeCompare(t.start_time)),n=(0,y.aQ)(e.date,"dddd");return l.length<=0?null:(0,h.jsxs)("div",{id:n,className:"my-schedule-column flex-column",children:[(0,h.jsx)("h4",{className:"headline-6 bold uppercase",children:(0,y.aQ)(e.date,"dddd, MMMM DD")}),!!l&&l.map(e=>{var t,l,n;return(0,h.jsx)(k,{item:e,showStageName:!0,style:{borderLeft:"4px solid ".concat(null===(n=e.stage)||void 0===n?void 0:null===(l=n.data)||void 0===l?void 0:null===(t=l.attributes)||void 0===t?void 0:t.stage_color)}},e.id)})]},t)}))})]}):(0,h.jsxs)("div",{className:"container pad-small-bottom center",children:[(0,h.jsx)("p",{className:"headline-4 mb-32",children:"You're signed in."}),(0,h.jsx)("p",{className:"headline-4",children:"Start adding events to your personal schedule by pressing the heart icon on the main schedule."})]})]}):(0,h.jsx)(h.Fragment,{children:(0,h.jsxs)("div",{className:"container pad-small-bottom center",children:[(0,h.jsx)("p",{className:"headline-4",children:"You're not signed in."}),(0,h.jsx)("p",{className:"headline-4",children:"To access your personal schedule, sign-in."})]})}),!s&&(0,h.jsx)("div",{className:"flex-center pad-small-top",children:(0,h.jsxs)("div",{className:"my-schedule-banner rounded bg-purple_light text-black mb-16",children:[(0,h.jsx)("p",{className:"center",children:"To create your personal schedule and access it on multiple devices, first sign-in."}),(0,h.jsx)("div",{className:"ctas",children:(0,h.jsx)(I.default,{size:"small",variant:"contained",ariaLabel:"Sign in button",onFunctionClick:()=>{(0,F.signIn)("google",{redirect:!1})},children:"Sign in"})})]})}),!!s&&(null==s?void 0:s.user)&&d&&!c&&(0,h.jsx)("div",{className:"flex-center pad-small-top",children:(0,h.jsxs)("div",{className:"my-schedule-banner rounded bg-blue_light text-black",children:[(0,h.jsx)("p",{className:"center",children:"Save this site to your home screen for instant access and push notifications of your favourite performances."}),(0,h.jsx)("div",{className:"ctas",children:(0,h.jsx)(Y,{})})]})})]})}function V(){return(V=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}var $=function(e){return C.createElement("svg",V({xmlns:"http://www.w3.org/2000/svg",width:26,height:23,fill:"none"},e),o||(o=C.createElement("path",{fill:"#1B1B1B",d:"m16.413 2.514-1.415 1.414 6.781 6.781H4.017v1.995H21.78l-6.782 6.78 1.415 1.415 9.192-9.192z"})),r||(r=C.createElement("path",{fill:"#1B1B1B",fillRule:"evenodd",d:"M0 23V0h7v2H2v19h5v2H0",clipRule:"evenodd"})))};function J(){return(J=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}var U=function(e){return C.createElement("svg",J({xmlns:"http://www.w3.org/2000/svg",width:30,height:30,fill:"none"},e),c||(c=C.createElement("path",{fill:"#FEFAF5",d:"M30 15c0 8.284-6.716 15-15 15S0 23.284 0 15 6.716 0 15 0s15 6.716 15 15"})),d||(d=C.createElement("path",{fill:"#1B1B1B",fillRule:"evenodd",d:"M15 14a4 4 0 1 0 0-8 4 4 0 0 0 0 8m0 2a6 6 0 1 0 0-12 6 6 0 0 0 0 12",clipRule:"evenodd"})),u||(u=C.createElement("path",{fill:"#1B1B1B",fillRule:"evenodd",d:"M23.514 24.825A12.95 12.95 0 0 1 15 28a12.94 12.94 0 0 1-8.086-2.82L10.367 20h9.93zm1.433-1.455L21.367 18H9.297l-3.866 5.8A12.95 12.95 0 0 1 2 15C2 7.82 7.82 2 15 2s13 5.82 13 13c0 3.188-1.148 6.108-3.053 8.37M30 15c0 8.284-6.716 15-15 15S0 23.284 0 15 6.716 0 15 0s15 6.716 15 15",clipRule:"evenodd"})))},K=l(8726);function ee(e){let{schedule:t}=e,{data:l}=(0,F.useSession)(),n=(0,f.useSearchParams)(),i=(0,f.usePathname)(),a=(null==n?void 0:n.get("day"))==="my-schedule",{selectedSchedule:s}=(0,_.s6)(e=>e),o=(0,O.Z)(()=>{var e;null===(e=document.querySelector(".log-out-button"))||void 0===e||e.classList.remove("show")}),r=t.scheduleBuilders.data.filter(function(e){return i.includes("folk-fest")?"Folk_fest"===e.attributes.festival_type:"Block_heater"===e.attributes.festival_type});return(0,h.jsx)(h.Fragment,{children:r&&r.length?(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("div",{className:"flex-center-row pad-small-bottom text",children:(0,h.jsxs)("div",{className:"button-group schedule-select-button-group",children:[(0,h.jsx)("button",{onClick:()=>window.history.replaceState(null,"","?day=".concat(s+1)),className:"button-group-button button-small uppercase ".concat(a?"":"selected"),children:v.full}),(0,h.jsx)("button",{onClick:()=>window.history.replaceState(null,"","?day=my-schedule"),className:"button-group-button button-small uppercase ".concat(a?"selected":""),children:v.personal}),l&&l.user?(0,h.jsxs)("div",{ref:o,className:"logout-button-wrapper",children:[(0,h.jsx)(I.default,{className:"log-out-button-mobile",ariaLabel:"Display Logout option",onFunctionClick:()=>{var e;null===(e=document.querySelector(".log-out-button"))||void 0===e||e.classList.toggle("show")},children:(0,h.jsx)(U,{})}),(0,h.jsxs)(I.default,{className:"log-out-button",ariaLabel:"Log out of personal schedule",onFunctionClick:()=>{(0,F.signOut)().then(()=>{K.ZP.success("Signed out successfully")})},children:["Sign out ",(0,h.jsx)($,{})]})]}):null]})}),(0,h.jsx)(z,{schedule:r,hide:!!a}),(0,h.jsx)(X,{schedule:r,hide:!a})]}):(0,h.jsx)("div",{className:"container flex-center center pad",children:(0,h.jsxs)("div",{className:"wysiwyg center",children:[(0,h.jsx)("h3",{className:"headline-4",children:"No upcoming shows right now."}),(0,h.jsx)("br",{}),(0,h.jsx)("p",{className:"headline-4",children:"Check back again later!"})]})})})}(n=v||(v={})).full="Schedule",n.personal="My Schedule"},6086:function(e,t,l){l.d(t,{default:function(){return g}});var n=l(7437),i=l(2265),a=l(8011),s=l(7057);function o(e){let{eventId:t,children:l,variant:i,size:a,url:o,disabled:r}=e;return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(s.default,{variant:i||"contained",size:a,type:"button",href:o,blank:!0,disabled:r,ariaLabel:"link out to event",children:l})})}var r=l(974);function c(e){var t,l;let{events:i,content:s}=e;function c(e,t){return t!==e&&(null!==e||void 0===e)?"$".concat(t," - ").concat(e):"$".concat(t)}let d=(t=Date.now(),(l=new Date((0,a.vh)(t))).setDate(l.getDate()-2),l);return i.length<=0||!i?(0,n.jsx)(p,{content:s.offline_message}):(0,n.jsxs)("div",{className:" accordion-container pad-small",children:[(0,n.jsxs)("div",{className:"tickets-titles",children:[(0,n.jsx)("span",{children:"Performer"}),(0,n.jsx)("span",{children:"Location"}),(0,n.jsx)("span",{children:"Date/Time"}),(0,n.jsx)("span",{children:"Price"}),(0,n.jsx)("span",{})]}),(i.sort(function(e,t){var l,n;return new Date(null===(l=e.attributes)||void 0===l?void 0:l.start_date)-new Date(null===(n=t.attributes)||void 0===n?void 0:n.start_date)}),i).map((e,t)=>{if(new Date(e.attributes.start_date).getTime()-d>0){var l,i,s,u,v,h,m,p,x,f,g,b;return(0,n.jsx)("div",{className:"accordion accordion-tickets accordion-accom bg-grey_light",children:(0,n.jsxs)("div",{className:"accom-info tickets-info flex-btwn",children:[(0,n.jsxs)("div",{className:"tickets-title",children:[(null==e?void 0:e.attributes.status)&&(null==e?void 0:e.attributes.status)==="Sold_Out"&&(0,n.jsx)("span",{className:"pill-tag bg-red_dark text-white uppercase mb-8",children:(0,r.Qs)(null==e?void 0:null===(l=e.attributes)||void 0===l?void 0:l.status)}),(null==e?void 0:e.attributes.status)&&(null==e?void 0:e.attributes.status)==="Low_Tickets"&&(0,n.jsx)("span",{className:"pill-tag bg-red text-white uppercase mb-8",children:(0,r.Qs)(null==e?void 0:null===(i=e.attributes)||void 0===i?void 0:i.status)}),(0,n.jsx)("h2",{className:"headline-6 line-height-adjust",children:null==e?void 0:null===(s=e.attributes)||void 0===s?void 0:s.title})]}),(0,n.jsx)("span",{className:"tickets-venue line-height-adjust",children:null==e?void 0:null===(u=e.attributes)||void 0===u?void 0:u.venue}),(0,n.jsxs)("div",{className:"flex-btwn date-price",children:[(0,n.jsxs)("div",{className:"date flex-column",children:[(0,n.jsx)("span",{className:"mb-8 p-sm line-height-adjust",children:(0,a.vh)(null==e?void 0:null===(v=e.attributes)||void 0===v?void 0:v.start_date,"h:mm a")}),(0,n.jsx)("span",{className:"line-height-adjust",children:(0,a.vh)(null==e?void 0:null===(h=e.attributes)||void 0===h?void 0:h.start_date,"dddd, MMMM DD")})]}),(0,n.jsx)("span",{className:"price-mobile line-height-adjust",children:c(null==e?void 0:null===(m=e.attributes)||void 0===m?void 0:m.ticket_price_max,null==e?void 0:null===(p=e.attributes)||void 0===p?void 0:p.ticket_price_min)})]}),(0,n.jsx)("span",{className:"price-desktop line-height-adjust",children:c(null==e?void 0:null===(x=e.attributes)||void 0===x?void 0:x.ticket_price_max,null==e?void 0:null===(f=e.attributes)||void 0===f?void 0:f.ticket_price_min)}),(0,n.jsx)(o,{disabled:(null==e?void 0:e.attributes.status)&&(null==e?void 0:e.attributes.status)==="Sold_Out",url:null==e?void 0:null===(g=e.attributes)||void 0===g?void 0:g.event_url,variant:"contained",size:"small",children:null==e?void 0:null===(b=e.attributes)||void 0===b?void 0:b.button_text})]})},t)}})]})}var d=l(3489);function u(e){let{activeTier:t,status:l,data:i,cardTitle:a,subText:s,url:r,genCurrentPrice:c,studentCurrentPrice:d}=e,u="adultTickets"==i?c:d;return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"festival-tickets-card flex-column bg-grey_light",children:[(0,n.jsxs)("div",{className:"festival-tickets-card-headline mb-32",children:[(0,n.jsx)("h2",{className:"headline-3 uppercase mb-8",children:a}),!!s&&(0,n.jsx)("p",{children:s})]}),(0,n.jsxs)("div",{className:"flex-btwn flex-bottom flex-wrap gap-2",children:[(0,n.jsx)("div",{className:"flex-start gap-0_5",children:(0,n.jsxs)("div",{className:"festival-tickets-card-price flex-column",children:[!!t&&(0,n.jsx)("span",{className:"pill-tag uppercase mb-8 bg-".concat("Sold_Out"==l?"red_dar
1k":"early_bird"===t?"blue":"advance"===t?"green":"blue_dark"," text-white"),children:"Sold_Out"==l?"Sold Out":t.replace("_"," ")}),null!==u&&(0,n.jsx)("span",{className:"headline-5",children:"$".concat(u)})]})}),!!r&&(0,n.jsx)("div",{className:"flex buy-button-wrapper",children:(0,n.jsx)(o,{url:r,variant:"contained",size:"small",disabled:"Sold_Out"===l,children:"Sold_Out"===l?"Sold Out":"Buy Now"})})]})]})})}function v(e){var t,l,i;let{events:s,content:c}=e,v=null==c?void 0:null===(i=c.ticketInfo)||void 0===i?void 0:null===(l=i.data)||void 0===l?void 0:null===(t=l.attributes)||void 0===t?void 0:t.block_heater_ticket_info;function h(e,t){return t!==e&&(null!==e||void 0===e)?"$".concat(t," - ").concat(e):"$".concat(t)}return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"festival-tickets-grid pad-small",children:[(0,n.jsx)("div",{className:"festival-tickets-grid-item span-two",children:(0,n.jsx)(u,{cardTitle:null==v?void 0:v.weekend_pass_title,status:null==v?void 0:v.weekend_pass_status,url:null==v?void 0:v.eventbrite_link,data:"adultTickets",genCurrentPrice:null==v?void 0:v.weekend_pass_price})}),(0,n.jsx)("div",{className:"festival-tickets-grid-item span-two festival-tickets-text-container",children:!!(null==v?void 0:v.info_main)&&(0,n.jsx)("div",{className:"wysiwyg",children:(0,n.jsx)(d.default,{content:null==v?void 0:v.info_main})})})]}),s.length>0&&(0,n.jsxs)("div",{className:" accordion-container pad-small",children:[(0,n.jsxs)("div",{className:"tickets-titles",children:[(0,n.jsx)("span",{children:"Performer"}),(0,n.jsx)("span",{children:"Location"}),(0,n.jsx)("span",{children:"Date/Time"}),(0,n.jsx)("span",{children:"Price"}),(0,n.jsx)("span",{})]}),(s.sort(function(e,t){var l,n;return new Date(null===(l=e.attributes)||void 0===l?void 0:l.start_date)-new Date(null===(n=t.attributes)||void 0===n?void 0:n.start_date)}),s).map((e,t)=>{if(new Date(e.attributes.start_date).getTime()-Date.now()>0){var l,i,s,c,d,u,v,m,p,x,f,g;return(0,n.jsx)("div",{className:"accordion accordion-tickets accordion-accom bg-grey_light",children:(0,n.jsxs)("div",{className:"accom-info tickets-info flex-btwn",children:[(0,n.jsxs)("div",{className:"tickets-title",children:[(null==e?void 0:e.attributes.status)&&(null==e?void 0:e.attributes.status)==="Sold_Out"&&(0,n.jsx)("span",{className:"pill-tag bg-red_dark text-white uppercase mb-8",children:(0,r.Qs)(null==e?void 0:null===(l=e.attributes)||void 0===l?void 0:l.status)}),(null==e?void 0:e.attributes.status)&&(null==e?void 0:e.attributes.status)==="Low_Tickets"&&(0,n.jsx)("span",{className:"pill-tag bg-red text-white uppercase mb-8",children:(0,r.Qs)(null==e?void 0:null===(i=e.attributes)||void 0===i?void 0:i.status)}),(0,n.jsx)("h2",{className:"headline-6 line-height-adjust",children:null==e?void 0:null===(s=e.attributes)||void 0===s?void 0:s.title})]}),(0,n.jsx)("span",{className:"tickets-venue line-height-adjust",children:null==e?void 0:null===(c=e.attributes)||void 0===c?void 0:c.venue}),(0,n.jsxs)("div",{className:"flex-btwn date-price",children:[(0,n.jsxs)("div",{className:"date flex-column",children:[(0,n.jsx)("span",{className:"mb-8 p-sm line-height-adjust",children:(0,a.vh)(null==e?void 0:null===(d=e.attributes)||void 0===d?void 0:d.start_date,"h:mm a")}),(0,n.jsx)("span",{className:"line-height-adjust",children:(0,a.vh)(null==e?void 0:null===(u=e.attributes)||void 0===u?void 0:u.start_date,"dddd, MMMM DD")})]}),(0,n.jsx)("span",{className:"price-mobile line-height-adjust",children:h(null==e?void 0:null===(v=e.attributes)||void 0===v?void 0:v.ticket_price_max,null==e?void 0:null===(m=e.attributes)||void 0===m?void 0:m.ticket_price_min)})]}),(0,n.jsx)("span",{className:"price-desktop line-height-adjust",children:h(null==e?void 0:null===(p=e.attributes)||void 0===p?void 0:p.ticket_price_max,null==e?void 0:null===(x=e.attributes)||void 0===x?void 0:x.ticket_price_min)}),(0,n.jsx)(o,{disabled:(null==e?void 0:e.attributes.status)&&(null==e?void 0:e.attributes.status)==="Sold_Out",url:null==e?void 0:null===(f=e.attributes)||void 0===f?void 0:f.event_url,variant:"contained",size:"small",children:null==e?void 0:null===(g=e.attributes)||void 0===g?void 0:g.button_text})]})},t)}})]})]})}let h={GENERAL:"general-admission",SPECIALIZED:"student-/-youth-/-senior"};function m(e){var t,l,a;let{events:s,content:o}=e,[r,c]=i.useState(h.GENERAL),v=null==o?void 0:null===(a=o.ticketInfo)||void 0===a?void 0:null===(l=a.data)||void 0===l?void 0:null===(t=l.attributes)||void 0===t?void 0:t.folk_fest_ticket_info;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"flex-center pad-small",children:(0,n.jsxs)("div",{className:"button-group flex-center-row",children:[(0,n.jsx)("button",{id:h.GENERAL,className:"button-group-button uppercase ".concat(r===h.GENERAL?"selected":""),onClick:()=>c(h.GENERAL),children:(0,n.jsx)("span",{className:"headline-6",children:null==v?void 0:v.adult_button_text})}),(0,n.jsx)("button",{id:h.SPECIALIZED,className:"button-group-button uppercase ".concat(r===h.SPECIALIZED?"selected":""),onClick:()=>c(h.SPECIALIZED),children:(0,n.jsx)("span",{className:"headline-6",children:null==v?void 0:v.youth_button_text})})]})}
1),(0,n.jsxs)("div",{className:"festival-tickets-grid",children:[(0,n.jsx)("div",{className:"festival-tickets-grid-item span-two",children:(0,n.jsx)(u,{cardTitle:"4-Day Pass",activeTier:null==v?void 0:v.active_tier,status:null==v?void 0:v.full_pass_status,data:r===h.GENERAL?"adultTickets":r===h.SPECIALIZED?"specializedTickets":void 0,url:null==v?void 0:v.eventbrite_link,genCurrentPrice:null==v?void 0:v.adult_full_pass,studentCurrentPrice:null==v?void 0:v.student_full_pass})}),(0,n.jsx)("div",{className:"festival-tickets-grid-item span-two festival-tickets-text-container",children:!!(null==v?void 0:v.info_main)&&(0,n.jsx)("div",{className:"wysiwyg",children:(0,n.jsx)(d.default,{content:null==v?void 0:v.info_main})})}),(0,n.jsx)("div",{className:"festival-tickets-grid-item",children:(0,n.jsx)(u,{cardTitle:"Thursday",subText:"Single Day Ticket",activeTier:null==v?void 0:v.active_tier,status:null==v?void 0:v.thursday_pass_status,data:r===h.GENERAL?"adultTickets":r===h.SPECIALIZED?"specializedTickets":void 0,url:null==v?void 0:v.eventbrite_link,genCurrentPrice:null==v?void 0:v.adult_thursday_pass,studentCurrentPrice:null==v?void 0:v.student_thursday_pass})}),(0,n.jsx)("div",{className:"festival-tickets-grid-item",children:(0,n.jsx)(u,{cardTitle:"Friday",subText:"Single Day Ticket",activeTier:null==v?void 0:v.active_tier,status:null==v?void 0:v.friday_pass_status,data:r===h.GENERAL?"adultTickets":r===h.SPECIALIZED?"specializedTickets":void 0,url:null==v?void 0:v.eventbrite_link,genCurrentPrice:null==v?void 0:v.adult_friday_pass,studentCurrentPrice:null==v?void 0:v.student_friday_pass})}),(0,n.jsx)("div",{className:"festival-tickets-grid-item",children:(0,n.jsx)(u,{cardTitle:"Saturday",subText:"Single Day Ticket",activeTier:null==v?void 0:v.active_tier,status:null==v?void 0:v.saturday_pass_status,data:r===h.GENERAL?"adultTickets":r===h.SPECIALIZED?"specializedTickets":void 0,url:null==v?void 0:v.eventbrite_link,genCurrentPrice:null==v?void 0:v.adult_saturday_pass,studentCurrentPrice:null==v?void 0:v.student_saturday_pass})}),(0,n.jsx)("div",{className:"festival-tickets-grid-item",children:(0,n.jsx)(u,{cardTitle:"Sunday",subText:"Single Day Ticket",activeTier:null==v?void 0:v.active_tier,status:null==v?void 0:v.sunday_pass_status,data:r===h.GENERAL?"adultTickets":r===h.SPECIALIZED?"specializedTickets":void 0,url:null==v?void 0:v.eventbrite_link,genCurrentPrice:null==v?void 0:v.adult_sunday_pass,studentCurrentPrice:null==v?void 0:v.student_sunday_pass})}),!!(null==v?void 0:v.info_tertiary)&&(0,n.jsx)("div",{className:"festival-tickets-grid-item festival-tickets-text-container bg-brown",children:(0,n.jsx)("p",{className:"headline-6 center",children:null==v?void 0:v.info_tertiary})}),!!(null==v?void 0:v.info_secondary)&&(0,n.jsx)("div",{className:"festival-tickets-grid-item span-three festival-tickets-text-container bg-blue_light",children:(0,n.jsx)("p",{className:"headline-6 center",children:null==v?void 0:v.info_secondary})})]})]})}function p(e){let{content:t}=e;return(0,n.jsx)("div",{className:"container flex-center center pad",children:t?(0,n.jsx)("div",{className:"wysiwyg center",children:(0,n.jsx)(d.default,{content:t})}):(0,n.jsxs)("div",{className:"wysiwyg center",children:[(0,n.jsx)("h3",{className:"headline-4",children:"Tickets of this type are not currently on sale"}),(0,n.jsx)("br",{}),(0,n.jsx)("p",{className:"headline-4",children:"Check back again later!"})]})})}var x=l(180),f=l.n(x);function g(e){var t,l;let a;let{content:s,events:o}=e,r=null===(l=s.ticketInfo)||void 0===l?void 0:null===(t=l.data)||void 0===t?void 0:t.attributes,d=r.tabs,u=d[0],[h,x]=i.useState(u),g=o.events.data;function b(e){return d.map((t,l)=>{let i=t.tab_name.replace(/\s+/g,"-").toLowerCase();return(0,n.jsx)("a",{href:"#",className:"tickets-tab headline-3 uppercase".concat(e).concat(h===t?" selected":""),id:i,onClick:e=>{e.preventDefault(),x(t)},children:(null==t||t.tab_name,t.tab_name)},l)})}return(0,n.jsxs)("div",{className:"container text-black",children:[(0,n.jsxs)("div",{className:"tab-container",children:[(0,n.jsx)("div",{className:"tickets-tabs pad-small-top flex-center-row flex-btwn",children:b("")}),(0,n.jsxs)("div",{className:"tickets-dropdown bg-grey_light flex-column rounded",onClick:()=>void(f()(".tickets-dropdown").hasClass("open")?(f()(".tickets-dropdown").css("max-height",""),f()(".tickets-dropdown").removeClass("open")):(f()(".tickets-dropdown").css("max-height",f()(".t
1ickets-dropdown")[0].scrollHeight),f()(".tickets-dropdown").addClass("open"))),children:[(0,n.jsx)("div",{className:"arrow"}),b(" mobile-tab")]})]}),"folk-festival"!==(a=h.tab_name.replace(/\s+/g,"-").toLowerCase())||h.offline?"concerts"!==a||h.offline?"block-heater"!==a||h.offline?(0,n.jsx)(p,{content:r.offline_message}):(0,n.jsx)(v,{events:g.filter(e=>"Block_Heater"===e.attributes.event_type),content:s}):(0,n.jsx)(c,{events:g.filter(e=>"Concert"===e.attributes.event_type),content:s}):(0,n.jsx)(m,{events:g.filter(e=>"Folk_Festival"===e.attributes.event_type),content:s})]})}}}]);
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.