1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[116],{31535:function(e,n,t){t(72791);var r=t(20419),a=t(1238),i=t(80184);n.Z=function(e){var n=e.items;return null!==n&&void 0!==n&&n.length?(0,i.jsx)("nav",{className:a.Z.breadcrumbs,"aria-label":"Breadcrumb",children:n.map((function(e,t){var a=t===n.length-1;if(!e.path||a)return(0,i.jsxs)("span",{children:[t>0?" \u203a ":null,e.name]},e.name);var l=e.path.startsWith("/event-discovery");return(0,i.jsxs)("span",{children:[t>0?" \u203a ":null,l&&"/event-discovery/"===e.path?(0,i.jsx)(r.Z,{name:"SearchPage",children:"Event Discovery"}):"/event-discovery/venues/"===e.path?(0,i.jsx)(r.Z,{name:"SeoVenuesIndexPage",children:"Venues"}):(0,i.jsx)("a",{href:e.path,children:e.name})]},"".concat(e.name,"-").concat(e.path))}))}):null}},74783:function(e,n,t){var r=t(84506),a=(t(72791),t(1238)),i=t(42908),l=t(80184),c=function(e){return(e||[]).map((function(e){return"string"===typeof e?{label:(0,i.S8)(e).replace(/\s+/g," ").trim(),detail:null}:{label:(0,i.S8)((null===e||void 0===e?void 0:e.label)||(null===e||void 0===e?void 0:e.name)||"").replace(/\s+/g," ").trim(),detail:(0,i.S8)((null===e||void 0===e?void 0:e.detail)||(null===e||void 0===e?void 0:e.description)||"").trim()||null}})).filter((function(e){return e.label}))};n.Z=function(e){var n=e.blocks,t=e.suppressFirstHeading,s=e.excludeHero,o=(n||[]).filter((function(e){return("section"===e.blockType||"hero"===e.blockType)&&!(s&&"hero"===e.blockType)}));return(0,l.jsx)(l.Fragment,{children:o.map((function(e,n){var s=e.content||{},o=s.heading,u=s.body,d=s.summary,m=s.items,h=function(e){var n=(0,i.S8)(e);if(!/(^|\n)\s*[-\u2022]\s+\S/.test(n))return{body:n,items:[]};var t=n.replace(/\s+[-\u2022]\s+(?=[^:\n]{1,80}:)/g,"\n- "),a=t.search(/(^|\n)\s*[-\u2022]\s+/);if(-1===a)return{body:n,items:[]};var l=t.slice(0,a).trim(),s=t.slice(a).split("\n").map((function(e){return e.replace(/^\s*[-\u2022]\s*/,"").trim()})).filter(Boolean).map((function(e){var n=e.split(":"),t=(0,r.Z)(n),a=t[0],i=t.slice(1);return{label:a.trim(),detail:i.join(":").trim()||null}}));return{body:l,items:c(s)}}(u||d),v=(0,i.x3)(h.body),f=c(m),p=f.length?f:h.items;return v.length||o||p.length?(0,l.jsxs)("section",{className:a.Z.section,children:[!o||t&&0===n?null:(0,l.jsx)("h2",{children:o}),v.map((function(n,t){return(0,l.jsx)("p",{children:n},"".concat(e.blockId,"-p-").concat(t))})),p.length?(0,l.jsx)("ul",{className:a.Z.sectionList,children:p.map((function(n,t){var r=function(e){var n=e.detail||"";return n.length>120||n.includes("\n")}(n);return(0,l.jsxs)("li",{className:r?"".concat(a.Z.sectionListItem," ").concat(a.Z.sectionListItemStacked):a.Z.sectionListItem,children:[(0,l.jsx)("span",{className:a.Z.sectionListLabel,children:n.label}),n.detail?(0,l.jsx)("div",{className:a.Z.sectionListDetail,children:(0,i.x3)(n.detail).map((function(n,r){return(0,l.jsx)("p",{children:n},"".concat(e.blockId,"-item-").concat(t,"-p-").concat(r))}))}):null]},"".concat(e.blockId,"-item-").concat(t))}))}):null]},e.blockId):null}))})}},39783:function(e,n,t){t.d(n,{xg:function(){return g}});var r=t(4942),a=t(93433),i=t(1413),l=t(29439),c=t(72791),s=t(1238),o=t(80184),u=function(e){return new Date(e.getFullYear(),e.getMonth(),1)},d=function(e,n){return new Date(e.getFullYear(),e.getMonth()+n,1)},m=function(e){var n=e.getFullYear(),t=String(e.getMonth()+1).padStart(2,"0"),r=String(e.getDate()).padStart(2,"0");return"".concat(n,"-").concat(t,"-").concat(r)},h=function(e){var n=function(e){var n=String(e||"").match(/^(\d{4})-(\d{2})-(\d{2})$/);if(!n)return null;var t=(0,l.Z)(n,4),r=t[1],a=t[2],i=t[3];return new Date(Number(r),Number(a)-1,Number(i))}(e.eventDateKey);if(n)return n;var t=new Date(e.eventDate);return Number.isNaN(t.getTime())?null:t},v=function(e){var n=function(e){var n=String(e.eventDateDisplay||"").match(/\b(\d{1,2}:\d{2}\s?[AP]M)\b/i);return n?n[1].toUpperCase().replace(/\s+/," "):null}(e),t=String((null===e||void 0===e?void 0:e.venueName)||"").trim();return n&&t?"".concat(n," \xb7 ").concat(t):n||(t||(String((null===e||void 0===e?void 0:e.title)||"Event").trim()||"Event"))},f=function(e){var n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).includeMonth,t=void 0!==n&&n;return e instanceof Date&&!Number.isNaN(e.getTime())?t?e.toLocaleDateString("en-US",{month:"long",day:"numeric"}):String(e.getDate()):""},p=function(e){return(e||[]).reduce((function(e,n){var t=function(e){if(e.eventDateKey)return e.eventDateKey;var n=h(e);return n?m(n):null}(n);return t?(0,i.Z)((0,i.Z)({},e),{},(0,r.Z)({},t,[].concat((0,a.Z)(e[t]||[]),[n]))):e}),{})},g="all-upcoming-events";n.ZP=function(e){var n,t=e.events,r=e.venueName,a=e.showImages,i=void 0===a||a,g=e.moreEventsHref,x=void 0===g?null:g,j=(0,c.useMemo)((function(){return function(e){var n=(e||[]).map(h).find(Boolean);return u(n||new Date)}(t)}),[t]),b=(0,c.useState)(j),Z=(0,l.Z)(b,2),N=Z[0],y=Z[1],S=function(e){var n=u(e),t=new Date(n);return t.setDate(n.getDate()-n.getDay()),Array.from({length:42}).map((function(e,n){var r=new Date(t);return r.setDate(t.getDate()+n),r}))}(N),D=(0,c.useMemo)((function(){return p(t)}),[t]);return null!==t&&void 0!==t&&t.length?(0,o.jsxs)("section",{className:s.Z.section,children:[(0,o.jsxs)("div",{className:s.Z.calendarHeader,children:[(0,o.jsx)("h2",{children:"Event Calendar"}),(0,o.jsxs)("div",{className:s.Z.calendarControls,children:[(0,o.jsx)("button",{type:"button",onClick:function(){return y(d(N,-1))},children:"Previous"}),(0,o.jsx)("strong",{children:(n=N,n.toLocaleDateString("en-US",{month:"long",year:"numeric"}))}),(0,o.jsx)("button",{type:"button",onClick:function(){return y(d(N,1))},children:"Next"})]})]}),(0,o.jsxs)("div",{className:s.Z.calendarGrid,"aria-label":"".concat(r," event calendar"),children:[["Sun","Mon","Tue","Wed","Thu","Fri","Sat"].map((function(e){return(0,o.jsx)("div",{className:s.Z.calendarWeek
1day,children:e},e)})),S.map((function(e){var n=m(e),t=D[n]||[],r=e.getMonth()!==N.getMonth(),a=0===t.length;return(0,o.jsxs)("div",{className:[s.Z.calendarDay,r?s.Z.calendarDayMuted:"",a?s.Z.calendarDayEmpty:""].filter(Boolean).join(" "),children:[(0,o.jsxs)("span",{className:s.Z.calendarDate,children:[(0,o.jsx)("span",{className:s.Z.calendarDateDayOnly,children:f(e)}),(0,o.jsx)("span",{className:s.Z.calendarDateWithMonth,children:f(e,{includeMonth:!0})})]}),t.map((function(e){var n=Boolean(i&&e.imageUrl);return(0,o.jsxs)("a",{className:"".concat(s.Z.calendarEvent).concat(n?"":" ".concat(s.Z.calendarEventTextOnly)),href:e.path||"#",title:v(e),children:[n?(0,o.jsx)("img",{src:e.imageUrl,alt:"",loading:"lazy"}):null,(0,o.jsx)("span",{children:v(e)})]},e.listingId||e.path)})),t.length>3?x?(0,o.jsxs)("a",{className:s.Z.calendarMore,href:x,"aria-label":"See ".concat(t.length-3," more events in the full list"),children:["+",t.length-3," more"]}):(0,o.jsxs)("span",{className:s.Z.calendarMore,children:["+",t.length-3," more"]}):null]},n)}))]})]}):(0,o.jsxs)("section",{className:s.Z.section,children:[(0,o.jsx)("h2",{children:"Event Calendar"}),(0,o.jsxs)("p",{children:["There are no upcoming events listed for ",r," right now."]})]})}},30956:function(e,n,t){var r=t(72791),a=t(1238),i=t(42908),l=t(80184);n.Z=function(e){var n,t=(e.blocks||[]).find((function(e){return"faq"===e.blockType})),c=(null===t||void 0===t||null===(n=t.content)||void 0===n?void 0:n.faqs)||[];return c.length?(0,l.jsxs)("section",{className:a.Z.section,children:[(0,l.jsx)("h2",{children:"Frequently Asked Questions"}),(0,l.jsx)("dl",{className:a.Z.faq,children:c.map((function(e,n){return(0,l.jsxs)(r.Fragment,{children:[(0,l.jsx)("dt",{children:(0,i.S8)(e.question)}),(0,l.jsx)("dd",{children:(0,i.S8)(e.answer)})]},n)}))})]}):null}},42908:function(e,n,t){t.d(n,{S8:function(){return r},x3:function(){return a}});var r=function(e){var n=function(e){var n=String(e||"");return(n=(n=(n=(n=(n=(n=(n=n.replace(/\[\s*ev-[a-z0-9:_-]+(?:\s*,\s*ev-[a-z0-9:_-]+)*\s*\]/gi,"")).replace(/\bev-[a-z0-9]+(?:[:_-][a-z0-9]+)*/gi,"")).replace(/\[\s*:?[a-z]{2}(?::[a-z0-9_-]+)+\s*\]/gi,"")).replace(/(^|[\s([{])(:[a-z]{2}(?::[a-z0-9_-]+)+)/gi,"$1")).replace(/[^\S\n]{2,}/g," ")).replace(/\n{3,}/g,"\n\n")).replace(/[^\S\n]+([.,;:!?])/g,"$1")).trim()}(function(e){return String(e||"").replace(/^\s{0,3}#{1,6}\s+/gm,"").replace(/[ \t]*#{1,6}\s+/g,"\n\n")}(function(e){return String(e||"").replace(/\*\*([^*]+)\*\*/g,"$1")}(e)));return n=n.replace(/(^|[.!?]\s+)([a-z])/g,(function(e,n,t){return"".concat(n).concat(t.toUpperCase())}))},a=function(e){var n=r(e);if(!n)return[];var t=n.split(/\n{2,}/).map((function(e){return e.replace(/\s+/g," ").trim()})).filter(Boolean);if(t.length>1)return t;var a=t[0]||"";if(a.length<360)return a?[a]:[];var i=a.match(/[^.!?]+[.!?]+(?:\s+|$)|[^.!?]+$/g)||[a],l=[],c=[];return i.forEach((function(e){var n=e.trim();if(n){c.push(n);var t=c.join(" ").split(/\s+/).length;c.length>=2&&t>=45&&(l.push(c.join(" ")),c=[])}})),c.length&&l.push(c.join(" ")),l.filter(Boolean)}},33142:function(e,n,t){t.r(n),t.d(n,{SeoDiscoveryPerformerSubpageComponent:function(){return j}});var r=t(1413),a=(t(72791),t(87781)),i=t(60364),l=t(64880),c=t(6907),s=t(41879),o=t(52745),u=t(67600),d=(t(73665),t(13818)),m=t(31535),h=t(74783),v=t(39783),f=t(2539),p=t(30956),g=t(1238),x=t(80184),j=function(e){var n=e.payload,t=e.fetchInProgress,a=e.fetchError,i=e.staticContext;if(404===(null===a||void 0===a?void 0:a.status)&&i&&(i.notfound=!0),t&&!n)return null;var l=null===n||void 0===n?void 0:n.performer;if(!l&&404===(null===a||void 0===a?void 0:a.status))return(0,x.jsx)(s.T3,{title:"Performer page not found | PromoTix",children:(0,x.jsx)(s.ip,{topbar:(0,x.jsx)(o.Z,{}),footer:(0,x.jsx)(u.Z,{}),children:(0,x.jsxs)("div",{className:g.Z.root,children:[(0,x.jsx)("h1",{className:g.Z.h1,children:"Performer page not found"}),(0,x.jsx)("p",{children:(0,x.jsx)("a",{href:"/event-discovery/performers/",children:"Browse all performers"})})]})})});if(!l)return null;var j=n.venuesPlayed,b=void 0===j?[]:j,Z=n.venues,N=void 0===Z?[]:Z,y=n.upcomingEvents,S=void 0===y?[]:y,D=n.contentBlocks,k=void 0===D?[]:D,w=n.internalLinks,P=void 0===w?[]:w,E=n.breadcrumbs,L=void 0===E?[]:E,T=n.meta,_=void 0===T?{}:T,M=n.page,I=n.pageKey,C=n.subpageSlug,B=b.length?b:N,F=(null===M||void 0===M?void 0:M.indexState)&&"index"!==M.indexState,z="upcoming-events"===I||"events"===C,A=_.title||_.metaTitle||"".concat(_.h1||l.performerName," | PromoTix"),H=_.description||_.metaDescription||"Find tickets and venues for ".concat(l.performerName," on PromoTix."),q=(0,d.MN)(k),U="/event-discovery/performers/".concat(l.performerSlug||l.slug||"","/"),$=(null===M||void 0===M?void 0:M.canonicalPath)||"".concat(U,z?"events/":"venues/"),K=(0,d.qu)({performer:l,performerHubPath:U,canonicalPath:$,rootUrl:"undefined"!==typeof window?window.location.origin:"https://www.promotix.com".replace(/\/$/,""),breadcrumbs:L,faqs:q,venues:B,upcomingEvents:S,meta:(0,r.Z)((0,r.Z)({},_),{},{metaTitle:A,metaDescription:H}),pageKey:z?"upcoming-events":"venues"});return(0,x.jsxs)(s.T3,{title:A,description:H,schema:K,children:[F?(0,x.jsx)(c.ql,{children:(0,x.jsx)("meta",{name:"robots",content:"noindex,follow"})}):null,(0,x.jsx)(s.ip,{topbar:(0,x.jsx)(o.Z,{}),footer:(0,x.jsx)(u.Z,{}),children:(0,x.jsxs)("div",{className:g.Z.root,children:[L.length?(0,x.jsx)(m.Z,{items:L}):null,(0,x.jsx)("h1",{className:g.Z.h1,children:_.h1}),z?(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(v.ZP,{events:S,venueName:l.performerName,showImages:!1,moreEventsHref:"#".concat(v.xg)}),(0,x.jsx)(h.Z,{blocks:k,excludeHero:!0}),(0,x.jsx)(f.Z,{id:v.xg,events:S,showImages:!1,title:"All upcoming ".concat(l.performerName," events"),emptyMessage:null!==n&&void 0!==n&&n.inventorySystemError?"Live listings for ".concat(l.performerName," are temporarily unavailable."):"There are no live listings for ".concat(l.performerName," right now.")})]}):(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(h.Z,{blocks:k,excludeHero:!0}),(0,x.jsxs)("section",{className:g.Z.section,children:[(0,x.jsxs)("h2",{children:["Venues for ",l.performerName]}),B.length?(0,x.jsx)("ul",{className:g.Z.indexList,children:B.map((function(e){return(0,x.jsx)("li",{children:e.path?(0,x.jsx)("a",{href:e.path,children:e.venueName}):e.venueName},e.venueId||e.slug||e.venueName)}))}):(0,x.jsx)("p",{children:"No venues listed yet."})]})]}),P.filter((function(e){return"breadcrumb"===e.placement||"hub_nav"===e.placement})).length?(0,x.jsx)("nav",{className:g.Z.section,"aria-label":"Performer navigation",children:(0,x.jsx)("ul",{className:g.Z.indexList,children:P.filter((function(e){return"breadcrumb"===e.placement||"hub_nav"===e.placement})).map((function(e){return(0,x.jsx)("li",{children:(0,x.jsx)("a",{href:e.targetPath,children:e.anchorText})},e.linkId||e.targetPath)}))})}):null,(0,x.jsx)(p.Z,{blocks:k})]})})]})};n.default=(0,a.qC)(l.EN,(0,i.$j)((function(e){return e.SeoDiscoveryPerformerSubpage||{}})))(j)}}]); 2//# sourceMappingURL=SeoDiscoveryPerformerSubpage.0d31ad60.chunk.js.map
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.