1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8065],{45974:(e,s,t)=>{t.d(s,{Q:()=>h});var l=t(50979),i=t(57177),n=t(70365),r=t(59489),o=t.n(r),a=t(32634),p=t(48474),c=t(49232),d=t(62900);let h=e=>{var s,t,r,h,g,m,v,u,x,j,S;let f=e.seller,{t:y}=(0,n.Bd)(["seller","common"]),{organization:b}=(0,p.hn)(),N=f.localeSettings.defaultLanguage,w=a.A.asPlainString(f.description).substring(0,100),k=[f.name,f.locationName,w,y("common:metas.keywords.tickets",{lng:N}),y("common:metas.keywords.buyOnline",{lng:N})];(null==(s=f.shopSettings)?void 0:s.seoSettings)&&(null==(t=f.shopSettings)?void 0:t.seoSettings.tags)&&(k=f.shopSettings.seoSettings.tags.length<6?k.concat(f.shopSettings.seoSettings.tags):f.shopSettings.seoSettings.tags);let I=k.join(),_=y("seller:metas.title",{seller:f.name,lng:N,organizationName:null!=(m=null==b?void 0:b.name)?m:"vivenu"}),C=y("seller:metas.description",{seller:f.name,description:w,lng:N,organizationName:null!=(v=null==b?void 0:b.name)?v:"vivenu"}),E=(0,c.br)();(null==(r=f.shopSettings)?void 0:r.seoSettings)&&(0,c.$8)(f._id,E)&&((null==(u=f.shopSettings.seoSettings)?void 0:u.description)&&(null==(x=f.shopSettings.seoSettings)?void 0:x.description)!=""&&(C=f.shopSett
1ings.seoSettings.description),(null==(j=f.shopSettings.seoSettings)?void 0:j.title)&&(null==(S=f.shopSettings.seoSettings)?void 0:S.title)!=""&&(_=f.shopSettings.seoSettings.title));let L=y("seller:metas.ogTitle",{seller:f.name,lng:N});return(0,l.jsxs)(o(),{children:[!(0,i.O_)(d.J.ENVIRONMENT())||e.noIndex||(null==(g=f.shopSettings)||null==(h=g.seoSettings)?void 0:h.noIndex)?(0,l.jsx)("meta",{name:"robots",content:"noindex"}):(0,l.jsx)("meta",{name:"robots",content:"index, follow"}),(0,l.jsx)("title",{children:_}),(0,l.jsx)("meta",{name:"title",content:_}),(0,l.jsx)("meta",{name:"keywords",content:I}),(0,l.jsx)("meta",{name:"description",content:C}),(0,l.jsx)("meta",{property:"og:title",content:L}),(0,l.jsx)("meta",{property:"og:description",content:C}),(0,l.jsx)("meta",{property:"og:image",content:f.backgroundImage})]})}},47349:(e,s,t)=>{t.d(s,{A:()=>n});var l=t(62900),i=t(38234);class n extends i.Ay{static async fetchOrganizationInfo(e){let s=l.J.BASE_URL()+"/api/organizations/"+e+"/info";return await this.fetchApi(i.U0.get,s)}}},78065:(e,s,t)=>{t.r(s),t.d(s,{__N_SSP:()=>F,default:()=>B,getSellerPageProps:()=>q});var l=t(50979),i=t(60890),n=t(92343),r=t(70365),o=t(78077),a=t(40642),p=t(50421),c=t(19836),d=t(16599),h=t.n(d),g=t(25963),m=t(49232),v=t(43918),u=t(10625),x=t(62900),j=t(72710),S=t(45974),f=t(4142),y=t(37999),b=t(62435),N=t(61155),w=t(36040),k=t(67899),I=t(48689),_=t(70964),C=t(42463),E=t(68488),L=t(77212);class A extends g.Component{componentDidMount(){var e,s;f.v.applyCheckoutStyling({theme:(null==(s=this.props.seller)||null==(e=s.shopSettings)?void 0:e.pageStyle)||"white",accentColor:this.props.seller.accentColor,sellerInfo:this.props.seller});let t=u.A.withPreferences({country:this.props.seller.locationCountry});null==t||t.init({enabled:!0,sellerId:this.props.seller._id},this.props.seller.shopSettings.tracking,(0,c.$)(this.props.seller)),a.A.trackEvent("pageview",this.props.seller._id).catch(()=>{})}getSections(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1/0,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e=>!0,l=[];return this.props.seller.shopSettings&&this.props.seller.shopSettings.useHeroHomepage&&(l=this.props.seller.shopSettings.sections?this.props.seller.shopSettings.sections.filter(e=>e.active&&!e.hideInListing&&(e.targetType===n.tu.events||!!e.targetLink)).filter(t).slice(e):[]).map(e=>{var s;0!=e.targets.length||(null==(s=e.packageConfigTargets)?void 0:s.length)||(e.url=null)}),l.slice(0,s)}renderSections(e){let s=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.length?e.map(e=>{let t=(0,m.oU)(this.props.seller,this.props.domainCtx);t+=(0,m.H_)(e.url),e.targetType==n.tu.externalLink&&(t=e.targetLink);let i=e.targetType===n.tu.externalLink,r=(0,p.A)("shop-section vi-aspect-square",{"with-background":e.backgroundImage,"focus:vi-outline-none focus:[box-shadow:inset_0_0_0_3px_rgba(0,123,255,0.5)]":s,"focus:vi-outline focus:vi-outline-[3px] focus:vi-outline-offset-[3px]":!s}),o=(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"section-background",children:[e.backgroundImage&&(0,l.jsx)("img",{alt:"",style:{objectFit:"cover"},...(0,j.i)(e.backgroundImage,{width:1350})}),e.backgroundImage?(0,l.jsx)("div",{className:"section-overlay"}):null]}),(0,l.jsx)("div",{className:"shop-section-inner",children:e.image?(0,l.jsx)("img",{src:"".concat(x.J.CDN_URL(),"/image?url=").concat(e.image),className:"section-image",alt:e.name}):(0,l.jsx)("h2",{className:"title",children:e.name})})]});return i?(0,l.jsx)("a",{href:t,rel:"nofollow",className:r,children:o},e._id):(0,l.jsx)(h(),{href:t,className:r,children:o},e._id)}):null}render(){var e;let s=this.getSections(0,3,e=>!!e.showHomePageTile),t=this.getSections(3,1/0,e=>!!e.showHomePageTile),i=this.getSections(0,1/0,e=>!!e.showHomePageRow);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(v.u,{}),(0,l.jsx)(I.x,{seller:this.props.seller}),(0,l.jsx)("a",{className:"visually-hidden skip-header",href:"#main-container",children:this.props.t("common:skipHeader")}),(0,l.jsxs)(w.v,{ignoreActionsHeader:!0,className:"seller-page",children:[(0,l.jsx)("h1",{className:"visually-hidden",children:this.props.seller.name}),(0,l.jsx)(S.Q,{seller:this.props.seller}),(0,l.jsx)(E.Y,{seller:this.props.seller,children:(0,l.jsx)(L.G,{seller:this.props.seller})}),(0,l.jsxs)("div",{className:"seller-hero-header "+(this.props.seller.shopSett
1ings.hideEventsOnHomepage&&0==t.length&&0==i.length?"fullheight":""),children:[(0,l.jsx)("div",{className:"seller-hero-header-bg",style:{overflow:"hidden"},children:(0,l.jsx)("img",{alt:this.props.seller.name,style:{objectFit:"cover",objectPosition:"center center"},...(0,j.i)(this.props.seller.backgroundImage,{width:1200})})}),s.length>0&&(0,l.jsx)("div",{className:"shop-section-holder",children:this.renderSections(s,!0)})]}),(0,l.jsxs)("div",{id:"main-container",className:"vi-mt-6",tabIndex:-1,children:[(0,l.jsxs)("div",{className:"vi-flex vi-flex-col vi-space-y-8",children:[t.length>0&&(0,l.jsx)("div",{className:"container seller-hero-sections-area vi-grid vi-grid-cols-2 lg:vi-grid-cols-3 vi-gap-4 lg:vi-gap-[30px]",children:this.renderSections(t)}),!this.props.seller.shopSettings.hideEventsOnHomepage&&(0,l.jsx)(_.K,{style:null==(e=this.props.seller.shopSettings)?void 0:e.displayEvents,seller:this.props.seller,events:this.props.events,past:this.props.past}),i.length>0&&(0,l.jsx)("div",{className:"container vi-flex-col vi-space-y-8",children:i.map(e=>{var s,t;let i=null==(s=this.props.events)?void 0:s.filter(s=>e.targets.includes(s._id));return i&&0!=i.length?(0,l.jsxs)("div",{children:[(0,l.jsx)("h2",{className:"mt-0",children:e.name}),(0,l.jsx)("div",{className:(null==(t=this.props.seller.shopSettings)?void 0:t.displayEvents)==n.wJ.grid&&"vi-grid md:vi-grid-cols-3 vi-gap-4",children:null==i?void 0:i.map(e=>{var s;return(null==(s=this.props.seller.shopSettings)?void 0:s.displayEvents)==n.wJ.list?(0,l.jsx)(y.E,{event:e},e._id):(0,l.jsx)(b.u,{event:e},e._id)})})]}):null})})]}),(0,l.jsx)(C.P,{seller:this.props.seller}),(0,l.jsx)(N.d,{seller:this.props.seller})]})]}),(0,l.jsx)(k.Cz,{sellerId:this.props.seller._id})]})}}let P=(0,r.CI)(["common"])(A);var H=t(53447),z=t(42386);class J extends g.Component{componentDidMount(){var e,s;f.v.applyCheckoutStyling({theme:(null==(s=this.props.seller)||null==(e=s.shopSettings)?void 0:e.pageStyle)||"white",accentColor:this.props.seller.accentColor,sellerInfo:this.props.seller});let t=u.A.withPreferences({country:this.props.seller.locationCountry});null==t||t.init({enabled:!0,sellerId:this.props.seller._id},this.props.seller.shopSettings.tracking,(0,c.$)(this.props.seller)),a.A.trackEvent("pageview",this.props.seller._id).catch(()=>{})}render(){var e,s,t;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(I.x,{seller:this.props.seller}),(0,l.jsx)("a",{className:"visually-hidden skip-header",href:"#main-container",children:this.props.t("common:skipHeader")}),(0,l.jsx)(w.v,{hideAccountPill:!H.A.get().isAuthenticationActive(this.props.seller),children:(0,l.jsxs)("div",{className:"seller-body",children:[(0,l.jsx)(S.Q,{seller:this.props.seller}),this.props.seller.backgroundImage&&(0,l.jsx)("div",{className:"seller-header-bg",style:{backgroundImage:"url('"+x.J.CDN_URL()+"/image?url="+this.props.seller.backgroundImage+"&width=1600&blur=40&forceJPEG=true')",backgroundSize:"cover",backgroundPosition:"center center"},children:(0,l.jsx)("div",{className:"rel-bottom-overlay"})}),(0,l.jsx)("div",{className:"seller-header",children:(0,l.jsxs)("div",{className:"container",children:[(0,l.jsx)("div",{className:"brand",children:(0,l.jsx)("a",{href:x.J.getValidUrl((null==(e=this.props.seller.brandingSettings)?void 0:e.shopLogoUrl)||(0,m.oU)(this.props.seller)),children:(null==(s=this.props.seller.brandingSettings)?void 0:s.customLogo)?(0,l.jsx)("img",{src:x.J.CDN_URL()+"/image?width=120&url="+this.props.seller.brandingSettings.customLogo,alt:this.props.seller.name,className:"brand-img"}):(0,l.jsx)(z.A,{className:"brand-img"})})}),this.props.seller.backgroundImage&&(0,l.jsx)("div",{className:"row",children:(0,l.jsx)("div",{className:"hero-image-container vi-aspect-h-seller-header-height vi-aspect-w-seller-header-width",children:(0,l.jsx)("img",{src:x.J.CDN_URL()+"/image?url="+this.props.seller.backgroundImage+"&forceJPEG=true&width=1210",alt:this.props.seller.name,className:"vi-object-cover"})})})]})}),(0,l.jsx)("div",{className:"container mt-36",id:"main-container",tabIndex:-1,children:(0,l.jsx)("h1",{children:this.props.seller.name})}
1),(0,l.jsx)(_.K,{style:null==(t=this.props.seller.shopSettings)?void 0:t.displayEvents,seller:this.props.seller,events:this.props.events,past:this.props.past}),(0,l.jsx)(C.P,{seller:this.props.seller}),(0,l.jsx)(N.d,{seller:this.props.seller})]})}),(0,l.jsx)(k.Cz,{sellerId:this.props.seller._id})]})}}let O=(0,r.CI)(["common"])(J);var T=t(48474),U=t(30145),D=t(44878),R=t(47349),M=t(1017),F=!0;let q=async(e,s,t)=>{let l=null,r=null,o=null,a=!1;try{if(r=await M.A.fetchSellerInfo(t,e.detectedLocale)){r.orgId&&(l=await R.A.fetchOrganizationInfo(r.orgId));let t=(0,m.Wq)(s.domainCtx,r._id,r.orgId);if(!(r.shopSettings.displayEvents===n.wJ.calendar||r.shopSettings.useHeroHomepage&&r.shopSettings.hideEventsOnHomepage&&!r.shopSettings.sections.find(e=>e.showHomePageRow))){let s={locale:e.detectedLocale,sellerId:r._id,visibleInListing:!0};e.query.past?r.shopSettings.hidePastEvents||"true"!=e.query.past.toString()?s.endMin=i.rL.getStartOfDayIsoWithTimezone(r.localeSettings):(s.endMax=new Date,a=!0):s.endMin=i.rL.getStartOfDayIsoWithTimezone(r.localeSettings),o=await D.A.fetchPublicEventListings(s)}s.domainCtx=await t}}catch(e){console.error(e)}return{seller:r,organization:l,events:o,past:a}},B=e=>{let{organization:s,seller:t,events:i,past:n,showErrorPage:a}=e,{t:p}=(0,r.Bd)("seller"),c=(0,m.br)();return!t||a?(0,l.jsx)(o.M,{code:404,message:p("seller:sellerCouldNotBeFound")}):(0,l.jsxs)(T.O3,{seller:t,organization:s,children:[(0,l.jsx)(U.r,{sellerId:t._id}),t.shopSettings&&t.shopSettings.useHeroHomepage?(0,l.jsx)(P,{seller:t,events:i,past:n,domainCtx:c}):(0,l.jsx)(O,{seller:t,events:i,past:n})]})}}}]);
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.