PageSourceSearch

https://webtunes.com/_next/static/chunks/2212-1b1a5cf8ee58530c.js

js webtunes.com collected 2026-10-08 15:21:09 UTC 26,365 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2212],{54996:function(e,t,n){var i=n(20567),o=n(85893),l=n(67294);t.Z=function(e){let{slot:t,width:n,height:a}=e,r=(0,l.useRef)(null);(0,l.useEffect)(()=>{try{if(r.current&&r.current.offsetWidth<100)return;(window.adsbygoogle=window.adsbygoogle||[]).push({})}catch(e){console.error("Adsense error:",e)}},[]);let s=n&&a,d=s?{display:"inline-block",width:"".concat(n,"px"),height:"".concat(a,"px")}:{display:"block"};return(0,o.jsx)("div",{style:{textAlign:"center",minHeight:s?a:"auto",marginTop:"12px"},children:(0,o.jsxs)("div",{style:{border:"1px solid #524e4eff",paddingTop:"6px",borderRadius:"4px"},children:[(0,o.jsx)("div",{style:{fontSize:"11px",color:"#524e4eff",marginBottom:"6px",letterSpacing:"0.3px"},children:"Sponsored"}),(0,o.jsx)("ins",(0,i._)({ref:r,className:"adsbygoogle",style:d,"data-ad-client":"ca-pub-6596539204451830","data-ad-slot":t},!s&&{"data-ad-format":"auto","data-full-width-responsive":"true"}))]})})}},72212:function(e,t,n){n.d(t,{Z:function(){return eo}});var i=n(20567),o=n(14932),l=n(47702),a=n(85893),r=n(67294),s=n(41664),d=n.n(s),c=n(4631),u=n(60990),h=n(84677),x=n(64347),p=n(65806),g=n(96788),m=n(93454),f=n(58045),v=n(28577);n(86441);var b=n(11163),y=n(79177),j=n(850),w=n(36410),Z=n(62352),S=n(37546),k=e=>{let{isoDate:t,compactDesign:n}=e,i=(0,y.P9)(t);if(!i)return(0,a.jsx)("div",{style:{color:"#636363"},children:"Invalid date"});let o=(0,S.WU)(i,"dd"),l=(0,S.WU)(i,"MMM"),r=(0,S.WU)(i,"yyyy"),s=(0,S.WU)(i,"EEE"),d=(0,S.WU)(i,"hh:mm a");return(0,a.jsx)(a.Fragment,{children:n?(0,a.jsxs)("div",{style:{textAlign:"center",fontFamily:"Arial, sans-serif"},children:[(0,a.jsx)("div",{style:{fontSize:"13px",color:"#636363"}}),(0,a.jsxs)("div",{style:{fontSize:"14px",color:"#fd6208"},children:[o," ",l,", ",r]}),(0,a.jsxs)("div",{style:{fontSize:"12px",color:"#636363"},children:[s," ",d]})]}):(0,a.jsxs)("div",{style:{textAlign:"center",fontFamily:"Arial, sans-serif"},children:[(0,a.jsx)("div",{style:{fontSize:"13px",color:"#636363"},children:s}),(0,a.jsx)("div",{style:{fontSize:"24px",fontWeight:"bold",color:"#fd6208"},children:o}),(0,a.jsxs)("div",{style:{fontSize:"14px",fontWeight:"bold"},children:[l,", ",r]}),(0,a.jsx)("div",{style:{fontSize:"14px",color:"#636363"},children:d})]})})},C=n(48678),_=n(30927),M=n(65664),I=n(57532),P=n(69168),W=n(80434),E=n(52318),z=n(52857),D=n(33453),R=n(92365),U=n(40110),T=n(25675),V=n.n(T),B=n(95639),H=n(42942),L=n(57105),N=n(18660),F=n(94135),A=n(88398),O=n(68466);async function q(e,t){let n=await fetch(e,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t),keepalive:!0});if(!n.ok)throw Error("Request failed: ".concat(n.status));return n.json()}function J(){let{type:e,subjectId:t=null,meta:n={},dwellMs:i=0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e?q("/api/log-interaction",{anonId:(0,O.L)(),signal:e,eventId:t,dwellMs:i,features:n}).catch(()=>{}):Promise.resolve()}function G(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return J({type:"ticket_click",subjectId:e,meta:t})}function K(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return J({type:"video_click",subjectId:e,meta:t})}var X=n(27441),Q=n(54996),Y=n(97578);let $=e=>!!e&&((0,Y.jK)(e)||e.startsWith("/")),ee=e=>{let{imageUrl:t,storagePath:n,styles:o,allowPlaceholder:l=!1}=e,{isFilterToogleOn:s,setIsFilterToogleOn:d}=(0,A.j)(),c=t&&(l||$(t))?t:null,h=!!(n||c),x=(0,Y.nf)({storagePath:n,imageUrl:c,fallback:null}),p=(0,Y.Ni)({storagePath:n,imageUrl:c,fallback:null}),g=p||x,m=(0,Y.jK)(g)&&!(0,Y.bW)(g),[f,v]=(0,r.useState)(x);(0,r.useEffect)(()=>{v(p||x)},[p,x]);let b=()=>{v(null)};return h?(0,a.jsx)(u.Z,{sx:(0,i._)({position:"relative",flexShrink:0,width:(null==o?void 0:o.width)||"80px",height:(null==o?void 0:o.height)||(null==o?void 0:o.maxHeight)||"80px"},o),children:f?m?(0,a.jsx)(u.Z,{component:"img",src:f,alt:"event image",loading:"lazy",onError:b,style:{position:"absolute",inset:0,width:"100%",height:"100%",objectFit:"cover",borderRadius:(null==o?void 0:o.borderRadius)||"0"}}):(0,a.jsx)(V(),{src:f,alt:"event image",onError:b,fill:!0,sizes:"80px",style:{objectFit:"cover",borderRadius:(null==o?void 0:o.borderRadius)||"0"}}):(0,a.jsx)(u.Z,{sx:{position:"absolute",inset:0,backgroundColor:"#e8e8e8",borderRadius:(null==o?void 0:o.borderRadius)||"0"}})}):null},et=[20,50,100,200,500],en=e=>!!e&&(e.includes("ticketmaster.evyy.net")||e.includes("ticketmaster.com")),ei=e=>{let{eventId:t,size:n="small",sx:o={}}=e,[l,s]=(0,r.useState)(!1);return(0,r.useEffect)(()=>
1{if(!t)return;s((0,N.kS)(t));let e=()=>{s((0,N.kS)(t))};return window.addEventListener("savedEventsChanged",e),()=>{window.removeEventListener("savedEventsChanged",e)}},[t]),(0,a.jsxs)(h.Z,{onClick:e=>{e.preventDefault(),e.stopPropagation(),t&&(l?((0,N.xC)(t),(0,F.Ck)({id:t},"unsave_event")):((0,N.ry)(t),(0,F.Ck)({id:t},"save_event")),s(!l))},sx:(0,i._)({ml:1,textTransform:"none",minWidth:"auto"},o),size:n,variant:l?"contained":"outlined",color:l?"primary":"inherit",children:[l?(0,a.jsx)(H.Z,{fontSize:"small"}):(0,a.jsx)(L.Z,{fontSize:"small"}),(0,a.jsx)("span",{style:{marginLeft:4},children:l?"Saved":"Save"})]})};var eo=e=>{var{data:t,showIndicators:n=!1,setPaginationProps:s,totalCount:h,loading:S,currentPage:T,setCurrentPage:H,showImage:L=!0,showCompactDesign:N=!1,isMainView:F=!0,ignoreFilters:A,setIgnoreFilters:O,clearUrlToEvents:q,defaultItemsPerPage:Y=20,type:$="",displayMode:eo="venue-first"}=e;(0,l._)(e,["data","showIndicators","setPaginationProps","totalCount","loading","currentPage","setCurrentPage","showImage","showCompactDesign","isMainView","ignoreFilters","setIgnoreFilters","clearUrlToEvents","defaultItemsPerPage","type","displayMode"]);let[el,ea]=(0,r.useState)("venue"===$?20:Y),[er,es]=(0,r.useState)(L),[ed,ec]=(0,r.useState)(N),[eu,eh]=(0,r.useState)("list"),[ex,ep]=(0,r.useState)(""),[eg,em]=(0,w.mr)(),ef=(e,t)=>{H(t)};(0,P.Z)(),(0,r.useEffect)(()=>{s&&s(T*el,el)},[T,el]),(0,r.useEffect)(()=>{J({type:"view",subjectId:"events-accordion",meta:{page:"events",source:"accordion"}})},[]);let ev=(0,C.Z)(),eb=(0,b.useRouter)();(0,r.useCallback)((e,t)=>{e.preventDefault(),e.stopPropagation();let{eventId:n}=eb.query;eb.push("/events/eventId=".concat(t))},[eb]);let ey=e=>{let t=null==e?void 0:e.find(e=>e.imageUrl&&e.imageUrl.length>0||e.imagePath||e.storagePath);return{imageUrl:(null==t?void 0:t.imageUrl)||null,storagePath:(null==t?void 0:t.imagePath)||(null==t?void 0:t.storagePath)||null}},[ej,ew]=(0,r.useState)(!1),[eZ,eS]=(0,r.useState)(""),[ek,eC]=(0,r.useState)(null);(0,r.useEffect)(()=>{let e=!0;function t(){try{let n=localStorage.getItem("applied_filters");if(n){var t;let i=JSON.parse(n),o=null===(t=i.coordinates)||void 0===t?void 0:t[0];if((null==o?void 0:o.isValid)&&(null==o?void 0:o.latitude)&&(null==o?void 0:o.longitude)){e&&eC({latitude:o.latitude,longitude:o.longitude});return}}}catch(t){e&&console.warn("Could not load filter location for distance",t)}e&&eC(null)}return navigator.geolocation?navigator.geolocation.getCurrentPosition(t=>{e&&eC({latitude:t.coords.latitude,longitude:t.coords.longitude})},()=>{e&&t()}):t(),()=>{e=!1}},[]);let e_=t.map(e=>{var t,n;let l=e.coordinates,a=null===(t=e.title)||void 0===t?void 0:t.toLowerCase().startsWith("canceled"),r=new Date((null===(n=e.main_date)||void 0===n?void 0:n.seconds)?1e3*e.main_date.seconds:e.main_date),s=new Date,d=(0,c.j)(r,s),u=a&&d>7,h=a&&d<=7;if(ek&&l&&"number"==typeof l.latitude&&"number"==typeof l.longitude){let t=function(e,t,n,i){let o=(n-e)*Math.PI/180,l=(i-t)*Math.PI/180,a=Math.sin(o/2)*Math.sin(o/2)+Math.cos(e*Math.PI/180)*Math.cos(n*Math.PI/180)*Math.sin(l/2)*Math.sin(l/2);return 2*Math.atan2(Math.sqrt(a),Math.sqrt(1-a))*3958.8}(ek.latitude,ek.longitude,l.latitude,l.longitude);return(0,o._)((0,i._)({},e),{distance:Math.round(10*t)/10,isCanceled:a,showMutedCanceled:h,hideCanceled:u})}return(0,o._)((0,i._)({},e),{distance:null!=e._distance?Math.round(10*e._distance)/10:void 0,isCanceled:a,showMutedCanceled:h,hideCanceled:u})}).filter(e=>!e.hideCanceled);return(0,a.jsxs)(a.Fragment,{children:[S?(0,a.jsxs)(u.Z,{width:"100%",children:[(0,a.jsx)(x.Z,{height:100,animation:"wave"}),(0,a.jsx)(x.Z,{height:100,animation:"wave"}),(0,a.jsx)(x.Z,{height:100,animation:"wave"}),(0,a.jsx)(x.Z,{height:100,animation:"wave"}),(0,a.jsx)(x.Z,{height:100,animation:"wave"})]}):(0,a.jsxs)(u.Z,{children:[(0,a.jsxs)(u.Z,{sx:{display:"flex",justifyContent:"space-between",flexDirection:{xs:"column",sm:"column",md:"row"},gap:{xs:"10px",sm:"10px"},mt:{xs:"20px",sm:"20px"}},children:["list"===eu?(0,a.jsxs)(u.Z,{sx:{display:"flex"},children:[(0,a.jsx)(p.Z,{control:(0,a.jsx)(_.E,{onChange:()=>es(e=>!e),checked:er,color:"secondary",sx:{m:1,mt:0}}),sx:{"& .MuiTypography-root":{fontSize:"14px",fontWeight:"bold",mb:1}},label:"Show Images"}),(0,a.jsx)(p.Z,{control:(0,a.jsx)(_.E,{onChange:()=>ec(e=>!e),checked:ed,color:"secondary",sx:{m:1,mt:0,ml:2}}),sx:{"& .MuiTypography-root":{fontSize:"14px",fontWeight:"bold",mb:1}},label:"Compact Design"}),F&&O&&(0,a.jsx)(p.Z,{control:(0,a.jsx)(_.E,{onChange:e=>{q(),O(e.target.checked)},checked:A,color:"secondary",sx:{m:1,mt:0,ml:2}}),sx:{"& .MuiTypography-root":{fontSize:"14px",fontWeight:"bold",mb:1}},label:"Ignore Filters"})]}):(0,a.jsx)(u.Z,{sx:{display:"flex"},children:F&&O&&(0,a.jsx)(p.Z,{control:(0,a.jsx)(_.E,{onChange:()=>O(e=>!e),checked:A,color:"secondary",sx:{m:1,mt:0,ml:2}}),sx:{"& .MuiTypography-root":{fontSize:"14px",fontWeight:"bold",mb:1}},label:"Ignore Filters"})}),F&&!1,(0,a.jsx)(u.Z,{sx:{display:{xs:"flex",sm:"flex",md:"block"},justifyContent:"end"},children:(0,a.jsx)(g.Z,{sx:{color:"#8a8787",mt:"10px"},children:"Showing ".concat(h," Events in ").concat(Math.ceil(h/el)," Page(s)")})})]}),"list"===eu?e_.flatMap((e,t)=>{var n,i,o,l,r,s;let c=(0,a.jsx)(m.Z,{variant:"outlined",sx:{mb:1,cursor:"pointer"},onClick:t=>{t.target.closest("a, button")||(!function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};J({type:"details_click",subjectId:e,meta:t})}(e.id,{city:e.city,state:e.state||e.venue_state,venue:e.venue_name,title:e.title,ts:Date.now()}),eb.push({pathname:(0,X.RE)(e.id),query:{from:eb.asPath}}))},children:(0,a.jsxs)(u.Z,{sx:{p:2,position:"relative",background:(0,y.CR)(null==e?void 0:e.main_date)&&"#e2e2e2"},children:[e.showMutedCanceled?(0,a.jsx)(u.Z,{sx:{position:"absolute",bottom:5,left:"50%"},children:(0,a.jsx)(g.Z,{component:"span",sx:{color:"#999",fontSize:"14px",fontWeight:"bold",fontStyle:"italic",backgroundColor:"#f0f0f0",padding:"2px 8px",borderRadius:"4px"},children:"Canceled"})}):(0,Z.kL)(null==e?void 0:e.main_date)?(0,a.jsx)(u.Z,{sx:{position:"absolute",bottom:5,left:"50%"},children:(0,a.jsx)(g.Z,{component:"span",sx:{color:"red",fontSize:"16px",fontWeight:"bold",fontStyle:"italic"},children:(0,Z.kL)(null==e?void 0:e.main_date)})}):null,(0,a.jsxs)(u.Z,{sx:{display:"flex",width:"100%",alignItems:"center",justifyContent:{xs:"space-between",sm:"space-between",md:"normal"},flexWrap:{xs:"wrap",sm:"wrap"}},children:[(0,a.jsxs)(u.Z,{sx:{display:"flex",alignItems:"center",width:{xs:"100%",sm:"100%",md:"auto"},marginBottom:{xs:"8px",sm:"8px",md:"0"}},children:[er&&((null==e?void 0:e.imageUrl)||((null===(n=e.bands)||void 0===n?void 0:n.length)?ey(null==e?void 0:e.bands).imageUrl:null)||(null==e?void 0:e.imagePath)||(null==e?void 0:e.storagePath)||((null===(i=e.bands)||void 0===i?void 0:i.length)?ey(null==e?void 0:e.bands).storagePath:null))&&(0,a.jsx)(ee,{styles:{alignSelf:"center",maxHeight:ed?"30px":"80px",marginRight:"20px",width:ed?"30px":"80px"},imageUrl:(null==e?void 0:e.imageUrl)||((null===(o=e.bands)||void 0===o?void 0:o.length)?ey(null==e?void 0:e.bands).imageUrl:null),storagePath:(null==e?void 0:e.imagePath)||(null==e?void 0:e.storagePath)||((null===(l=e.bands)||void 0===l?void 0:l.length)?ey(null==e?void 0:e.bands).storagePath:null)}),(0,a.jsxs)(u.Z,{sx:{marginRight:{xs:2,sm:2,md:4}},children:[(0,a.jsx)(k,{compactDesign:ed,isoDate:null==e?void 0:e.main_date}),(null==e?void 0:e.eventtype)&&"Music"!==e.eventtype&&(0,a.jsx)(u.Z,{component:"span",sx:{dis
1play:"inline-block",mt:.5,px:1,py:.25,fontSize:"11px",fontWeight:600,lineHeight:1.4,borderRadius:"4px",backgroundColor:"#f0f0f0",color:"#555"},children:e.eventtype})]})]},"events-images "+t+(null==e?void 0:e.id)+e.title),(0,a.jsxs)(u.Z,{sx:{width:{xs:"100%",md:"75%"},flexGrow:1,borderLeft:"3px solid",borderColor:e.showMutedCanceled?"#bbb":"primary.main",pl:1.5},children:["venue-first"===eo&&(0,a.jsxs)(u.Z,{children:[(0,a.jsxs)(u.Z,{sx:{display:"flex",alignItems:"center",mb:.25,overflow:"hidden"},children:[(0,a.jsx)("a",{href:"https://www.google.com/maps/search/?api=1&query=".concat(encodeURIComponent(null==e?void 0:e.address),"+").concat(encodeURIComponent(null==e?void 0:e.city),",+").concat(encodeURIComponent(null==e?void 0:e.venue_state)),target:"_blank",rel:"noopener noreferrer",style:{display:"flex",alignItems:"center",flexShrink:0},onClick:e=>e.stopPropagation(),children:(0,a.jsx)(V(),{src:"/googlemap.jpg",alt:"Google Map",width:18,height:18,style:{marginRight:"6px",height:"auto",opacity:.8}})}),(0,a.jsx)(g.Z,{component:"span",sx:{fontSize:"15px",fontWeight:600,color:e.showMutedCanceled?"#bbb":"#1a1a1a",lineHeight:1.3,overflow:{xs:"hidden",md:"visible"},textOverflow:{xs:"ellipsis",md:"clip"},whiteSpace:{xs:"nowrap",md:"normal"},minWidth:0},children:e.venue_name}),e.distance&&(0,a.jsxs)(g.Z,{component:"span",sx:{display:{xs:"none",md:"inline"},fontSize:"12px",fontStyle:"italic",color:"text.secondary",ml:1},children:["(",e.distance," mi)"]})]}),(e.city||e.address)&&!ed&&(0,a.jsxs)(g.Z,{sx:{fontSize:"12px",color:e.showMutedCanceled?"#ccc":"text.secondary",pl:"25px",mb:.5},children:[[e.address,e.city,e.venue_state].filter(Boolean).join(", "),e.distance&&(0,a.jsxs)(u.Z,{component:"span",sx:{display:{xs:"inline",md:"none"},fontStyle:"italic",ml:.5},children:["(",e.distance," mi)"]})]}),(0,a.jsxs)(u.Z,{sx:{display:"flex",alignItems:"center",flexWrap:"wrap",gap:.5,mb:.25},children:[(0,a.jsx)(d(),{href:{pathname:(0,X.RE)(e.id),query:{from:eb.asPath}},passHref:!0,legacyBehavior:!0,children:(0,a.jsx)("a",{style:{textDecoration:"none"},children:(0,a.jsx)(g.Z,{component:"span",sx:{fontSize:"15px",fontWeight:{xs:700,md:600},color:e.showMutedCanceled?"#bbb":"#7B3520",textDecoration:e.showMutedCanceled?"line-through":"none"},children:e.title||"Event Title"})})}),(null==e?void 0:e.ticket_url)&&(0,a.jsx)("a",{href:e.ticket_url,target:"_blank",rel:"noopener noreferrer",onClick:t=>{t.stopPropagation(),G(e.id,{city:e.city,state:e.state||e.venue_state,venue:e.venue_name,title:e.title,url:e.ticket_url,ts:Date.now()})},style:{textDecoration:"none"},children:en(e.ticket_url)?(0,a.jsx)(V(),{src:"/logos/tm_logo.webp",alt:"Buy on Ticketmaster",width:20,height:20,style:{verticalAlign:"middle"}}):(0,a.jsx)(E.Z,{sx:{color:"grey",fontSize:18,verticalAlign:"middle"},"aria-label":"Buy Tickets"})}),(null==e?void 0:e.fbid)&&(0,a.jsx)("a",{href:"https://www.facebook.com/events/".concat(null==e?void 0:e.fbid),target:"_blank",rel:"noopener noreferrer",style:{textDecoration:"none"},onClick:e=>e.stopPropagation(),children:(0,a.jsx)(W.Z,{sx:{height:"18px",marginBottom:"-2px",color:"blue"}})}),e.sampleVideoUrl&&!e.showMutedCanceled&&(0,a.jsx)(z.Z,{size:"small",onClick:t=>{var n;t.stopPropagation(),eS(e.sampleVideoUrl),ep((null===(n=e.bands)||void 0===n?void 0:n.length)>0?e.bands[0].bandname:""),ew(!0),null==K||K(e.id,{url:e.sampleVideoUrl,title:e.title,ts:Date.now()})},"aria-label":"Watch Video",children:(0,a.jsx)(j.Z,{sx:{fontSize:20,color:"red"}})}),(null==e?void 0:e.eventtype)&&"Music"!==e.eventtype&&(0,a.jsx)(u.Z,{component:"span",sx:{display:"inline-block",px:1,py:.25,fontSize:"11px",fontWeight:600,lineHeight:1.4,borderRadius:"4px",backgroundColor:"#f0f0f0",color:"#555"},children:e.eventtype})]})]}),"venue-first"!==eo&&(0,a.jsxs)(u.Z,{children:[(0,a.jsxs)(u.Z,{sx:{display:{xs:"block",sm:"block",md:"flex"}},children:[(0,a.jsx)(g.Z,{variant:"h6",component:"div",sx:{fontWeight:"bold",color:e.showMutedCanceled?"#aaa":null==ev?void 0:ev.fontHeading,textDecoration:e.showMutedCanceled?"line-through":"none",overflow:"hidden",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:2,whiteSpace:"normal",wordWrap:"break-word"},children:(0,a.jsx)(d(),{href:{pathname:(0,X.RE)(e.id),query:{from:eb.asPath}},passHref:!0,legacyBehavior:!0,children:(0,a.jsx)("a",{style:{textDecoration:"none",color:"inherit"},children:e.title||"Event Title"})})}),(0,a.jsxs)(u.Z,{children:[(null==e?void 0:e.ticket_url)&&(0,a.jsx)("span",{style:{marginLeft:"10px",fontSize:"12px",textDecoration:"none",color:"#0a5029"},children:(0,a.jsx)("a",{href:e.ticket_url,target:"_blank",rel:"noopener noreferrer",onClick:()=>G(e.id,{city:e.city,state:e.state||e.venue_state,venue:e.venue_name,title:e.title,url:e.ticket_url,ts:Date.now()}),style:{textDecoration:"none"},children:en(e.ticket_url)?(0,a.jsx)(V(),{src:"/logos/tm_logo.webp",alt:"Buy on Ticketmaster",width:24,height:24,style:{verticalAlign:"middle"}}):(0,a.jsx)(E.Z,{sx:{color:"grey"},"aria-label":"Buy Tickets (Opens in new Tab)"})})}
1),(null==e?void 0:e.fbid)&&(0,a.jsx)("span",{style:{marginLeft:"10px",textDecoration:"none"},children:(0,a.jsx)("a",{href:"https://www.facebook.com/events/".concat(null==e?void 0:e.fbid),target:"_blank",rel:"noopener noreferrer",style:{textDecoration:"none"},children:(0,a.jsx)(W.Z,{sx:{height:"25px",marginBottom:"-2px",color:"blue"}})})}),e.sampleVideoUrl&&!e.showMutedCanceled&&(0,a.jsxs)(g.Z,{variant:"body2",color:"primary",sx:{ml:1,fontStyle:"italic"},children:[(0,a.jsx)(z.Z,{onClick:()=>{var t;eS(e.sampleVideoUrl),ep((null===(t=e.bands)||void 0===t?void 0:t.length)>0?e.bands[0].bandname:""),ew(!0),null==K||K(e.id,{url:e.sampleVideoUrl,title:e.title,ts:Date.now()})},"aria-label":"Watch Video",children:(0,a.jsx)(j.Z,{sx:{fontSize:32,color:"red"}})})," ","Watch Video"]})]})]}),"band-first"===eo&&!ed&&(null===(r=e.bands)||void 0===r?void 0:r.length)>0&&(0,a.jsxs)(g.Z,{variant:"body2",sx:{display:"flex",alignItems:"center",fontSize:"15px",fontWeight:600,color:e.showMutedCanceled?"#bbb":"#7B3520",marginTop:{xs:1,sm:1,md:0}},children:[(0,a.jsx)(I.Z,{sx:{mr:.5,height:"16px",color:"red"}}),e.bands.map(e=>e.bandname).join(", ")]}),"band-first"===eo&&(0,a.jsxs)(g.Z,{variant:"body2",sx:{display:"flex",alignItems:"center",color:e.showMutedCanceled?"#bbb":null==ev?void 0:ev.fontSubHeading,marginTop:{xs:1,sm:1,md:0}},children:[(0,a.jsx)("a",{href:"https://www.google.com/maps/search/?api=1&query=".concat(encodeURIComponent(null==e?void 0:e.address),"+").concat(encodeURIComponent(null==e?void 0:e.city),",+").concat(encodeURIComponent(null==e?void 0:e.venue_state)),target:"_blank",rel:"noopener noreferrer",onClick:e=>e.stopPropagation(),children:(0,a.jsx)(V(),{src:"/googlemap.jpg",alt:"Google Map",width:25,height:25,style:{marginRight:"10px",height:"auto"}})}),(0,a.jsx)(g.Z,{component:"span",variant:"body2",sx:{fontWeight:"bold",color:e.showMutedCanceled?"#bbb":"black"},children:e.venue_name}),e.distance&&(0,a.jsxs)(g.Z,{component:"span",variant:"body2",sx:{fontStyle:"italic",color:"gray",ml:1},children:["(",e.distance," miles away)"]}),"\xa0"," ".concat(e.address," ").concat(e.city,", ").concat(e.venue_state," ")]}),"venue-context"===eo&&!ed&&(null===(s=e.bands)||void 0===s?void 0:s.length)>0&&(0,a.jsxs)(g.Z,{variant:"body2",sx:{display:"flex",alignItems:"center",fontSize:"15px",fontWeight:600,color:e.showMutedCanceled?"#bbb":"#7B3520",marginTop:{xs:1,sm:1,md:0}},children:[(0,a.jsx)(I.Z,{sx:{mr:.5,height:"16px",color:"red"}}),e.bands.map(e=>e.bandname).join(", ")]})]})]}),(0,a.jsx)(u.Z,{sx:{display:"flex",flexDirection:{xs:"column",sm:"column",md:"row"},marginTop:{xs:2,sm:2,md:0}},children:(0,a.jsx)(ei,{eventId:e.id})})]})]})},+t+"".concat(e.id+e.title));return 7===t?[c,(0,a.jsxs)(u.Z,{component:"a",href:"/gear/earplugs",target:"_blank",rel:"noopener noreferrer",sx:{display:"flex",alignItems:"center",gap:2,mb:1,px:2,py:1.5,borderRadius:1,background:"linear-gradient(135deg, #1a1a2e, #16213e)",color:"#fff",textDecoration:"none",cursor:"pointer","&:hover":{opacity:.9}},children:[(0,a.jsx)(u.Z,{component:"span",sx:{fontSize:26,lineHeight:1},children:"\uD83C\uDFA7"}),(0,a.jsxs)(u.Z,{children:[(0,a.jsx)(g.Z,{sx:{fontWeight:700,color:"#fff",fontSize:14,lineHeight:1.3},children:"Pro tip: Many musicians wear high-fidelity earplugs at shows — they lower volume without ruining the sound."}),(0,a.jsx)(g.Z,{sx:{fontSize:12,color:"rgba(255,255,255,0.8)",lineHeight:1.3},children:"\uD83D\uDC49 See recommended earplugs"})]})]},"earplug-ad"),(0,a.jsx)(u.Z,{sx:{mb:1},children:(0,a.jsx)(Q.Z,{slot:"2243806950"})},"adsense-after-protip")]:[c]}):(0,a.jsx)(u.Z,{children:t.length>0&&(0,a.jsx)(M.Z,{eventView:!0,height:"600px",showDistance:!1,markers:t.map(e=>(0,o._)((0,i._)({},e),{description:e.eventdescription,address1:e.address,venue_city:e.city,VENUE_ZIP:e.zip}))})}),(0,a.jsx)(u.Z,{sx:{mb:1},children:(0,a.jsx)(Q.Z,{slot:"7548667930"})},"adsense-after-row20"),","," ",h>el&&s&&(0,a.jsxs)(u.Z,{sx:{display:"flex",flexDirection:"column",alignItems:"center",gap:1,width:"100%",pt:3,pb:1,px:2},children:[(0,a.jsxs)(u.Z,{sx:{display:"flex",alignItems:"center",gap:1},children:[(0,a.jsx)(g.Z,{variant:"body2",sx:{color:"text.secondary",whiteSpace:"nowrap"},children:"Rows per page:"}),(0,a.jsx)(f.Z,{size:"small",value:el,onChange:e=>{ea(parseInt(e.target.value,10)),H(0)},sx:{fontSize:"0.875rem"},children:et.map(e=>(0,a.jsx)(v.Z,{value:e,children:e},e))})]}),(0,a.jsxs)(u.Z,{sx:{display:"flex",alignItems:"center",gap:1},children:[(0,a.jsx)(z.Z,{onClick:e=>ef(e,T-1),disabled:0===T,"aria-label":"Previous page",sx:{minWidth:44,minHeight:44},children:"←"}),(0,a.jsxs)(g.Z,{variant:"body2",sx:{color:"text.secondary",whiteSpace:"nowrap"}
1,children:["Page ",T+1," of"," ",Math.ceil(h/el)]}),(0,a.jsx)(z.Z,{onClick:e=>ef(e,T+1),disabled:T>=Math.ceil(h/el)-1,"aria-label":"Next page",sx:{minWidth:44,minHeight:44},children:"→"})]})]})]}),(0,a.jsxs)(D.Z,{open:ej,onClose:()=>ew(!1),maxWidth:"md",fullWidth:!0,children:[(0,a.jsxs)(R.Z,{children:["Watch Video",ex?" - ".concat(ex):"",(0,a.jsx)(z.Z,{"aria-label":"close",onClick:()=>ew(!1),sx:{position:"absolute",right:8,top:8,color:e=>e.palette.grey[500]},children:(0,a.jsx)(B.Z,{})})]}),(0,a.jsx)(U.Z,{dividers:!0,children:(0,a.jsx)("iframe",{width:"100%",height:"450",src:eZ?(e=>{if(!e)return"";try{let t=new URL(e);if("youtu.be"===t.hostname)return"https://www.youtube.com/embed/".concat(t.pathname.slice(1),"?autoplay=1");if(t.pathname.startsWith("/shorts/")){let e=t.pathname.split("/")[2];return"https://www.youtube.com/embed/".concat(e,"?autoplay=1")}let n=t.searchParams.get("v");if(n)return"https://www.youtube.com/embed/".concat(n,"?autoplay=1");return""}catch(t){return console.error("Invalid URL:",e),""}})(eZ):"",title:"Sample Video",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})})]})]})}},30927:function(e,t,n){n.d(t,{E:function(){return a}});var i=n(20567),o=n(85893),l=n(29437);let a=(0,n(77527).ZP)(e=>(0,o.jsx)(l.Z,(0,i._)({focusVisibleClassName:".Mui-focusVisible",disableRipple:!0},e)))(e=>{let{theme:t}=e;
1return{width:42,height:26,padding:0,"& .MuiSwitch-switchBase":{padding:0,margin:2,transitionDuration:"300ms","&.Mui-checked":{transform:"translateX(16px)",color:"#fff","& + .MuiSwitch-track":{backgroundColor:"#334e65",opacity:1,border:0},"&.Mui-disabled + .MuiSwitch-track":{opacity:.5}},"&.Mui-focusVisible .MuiSwitch-thumb":{color:"#33cf4d",border:"6px solid #fff"},"&.Mui-disabled .MuiSwitch-thumb":{color:"light"===t.palette.mode?t.palette.grey[300]:t.palette.grey[600]},"&.Mui-disabled + .MuiSwitch-track":{opacity:"light"===t.palette.mode?.7:.3}},"& .MuiSwitch-thumb":{boxSizing:"border-box",width:22,height:22},"& .MuiSwitch-track":{borderRadius:13,backgroundColor:"light"===t.palette.mode?t.palette.grey[300]:"#39393D",opacity:1,transition:t.transitions.create(["background-color"],{duration:500})}}})},68466:function(e,t,n){n.d(t,{L:function(){return i}});function i(){try{var e,t;let n="wt_anonId",i=localStorage.getItem(n);if(i)return i;return i=(null===(t=crypto)||void 0===t?void 0:null===(e=t.randomUUID)||void 0===e?void 0:e.call(t))||Math.random().toString(36).slice(2)+Date.now(),localStorage.setItem(n,i),i}catch(e){return"ANON"}}},18660:function(e,t,n){n.d(t,{dR:function(){return o},kS:function(){return r},ry:function(){return l},xC:function(){return a}});let i="webtunes_saved_events";function o(){try{let e=localStorage.getItem(i);return e?JSON.parse(e):[]}catch(e){return console.error("Error reading saved events from localStorage",e),[]}}function l(e){try{let t=o();t.includes(e)||(localStorage.setItem(i,JSON.stringify([...t,e])),window.dispatchEvent(new Event("savedEventsChanged")))}catch(e){console.error("Error saving event to localStorage",e)}}function a(e){try{let t=o().filter(t=>t!==e);localStorage.setItem(i,JSON.stringify(t)),window.dispatchEvent(new Event("savedEventsChanged"))}catch(e){console.error("Error removing event from localStorage",e)}}function r(e){return o().includes(e)}},97578:function(e,t,n){n.d(t,{Ni:function(){return h},bW:function(){return d},jK:function(){return r},nf:function(){return u}});var i=n(67294),o=n(86650),l=n(75435);let a=new Map,r=e=>!!e&&/^https?:\/\//i.test(String(e)),s=e=>{if(!e)return e;let t=String(e);return t.includes("firebasestorage.googleapis.com")?t.replace(/&amp;/g,"&"):t},d=e=>{if(!e)return!1;let t=String(e);return t.includes("firebasestorage.googleapis.com")||t.includes("storage.googleapis.com")},c=async e=>{if(!e)return null;if(r(e))return e;if(a.has(e))return a.get(e);let t=s(await (0,o.Jt)((0,o.iH)(l.tO,e)));return a.set(e,t),t},u=e=>{let{storagePath:t,imageUrl:n,fallback:i=""}=e;return s(n)||(r(t)?s(t):"")||i},h=e=>{let{storagePath:t,imageUrl:n,fallback:o=""}=e,[l,a]=(0,i.useState)(u({storagePath:t,imageUrl:n,fallback:o}));return(0,i.useEffect)(()=>{let e=!0;return(async()=>{if(t){if(r(t)){e&&a(s(t));return}try{let n=await c(t);e&&n&&a(s(n));return}catch(e){console.warn("Failed to resolve storagePath image URL",e)}}if(n){e&&a(s(n));return}e&&a(o||"")})(),()=>{e=!1}},[t,n,o]),l}},69168:function(e,t,n){var i=n(18745),o=n(61730);t.Z=()=>{let e=(0,i.Z)();return(0,o.Z)(e.breakpoints.down("sm"))}}}]);
2//# sourceMappingURL=2212-1b1a5cf8ee58530c.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.