1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[85],{7752:function(e,t,n){var i=n(5893),a=(n(7294),n(2091)),s=n(9538);t.Z=function(){var e=(0,s.Q)(),t=e.isPlaying,n=e.togglePlayPause;return(0,i.jsxs)("button",{onClick:function(e){e.stopPropagation(),n()},className:"flex w-full items-center justify-center gap-2 rounded-lg bg-red-700 hover:bg-red-600 py-[3%] font-courierprime text-[3vw] text-[#white] transition-opacity hover:opacity-80 lg:text-[15px]",children:[t?(0,i.jsx)(a.Wh,{size:18,className:"text-white"}):(0,i.jsx)(a.gmG,{size:18,className:"text-white pl-0.5"}),t?"pause":"stream here"]})}},8392:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(4251),a=n(2875),s=n(5893);function l(e){return(0,s.jsxs)("svg",(0,a.Z)((0,i.Z)({viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),{children:[(0,s.jsx)("path",{d:"M15,10V9H14V8H10V9H9v1H8v4H9v1h1v1h4V15h1V14h1V10Zm-1,3H13v1H11V13H10V11h1V10h2v1h1Z"}),(0,s.jsx)("polygon",{points:"12 4 12 6 9 6 9 7 8 7 8 8 7 8 7 9 6 9 6 12 4 12 4 10 5 10 5 8 6 8 6 7 7 7 7 6 8 6 8 5 10 5 10 4 12 4"}),(0,s.jsx)("path",{d:"M22,9V7H21V5H20V4H19V3H17V2H15V1H9V2H7V3H5V4H4V5H3V7H2V9H1v6H2v2H3v2H4v1H5v1H7v1H9v1h6V22h2V21h2V20h1V19h1V17h1V15h1V9Zm-1,6H20v2H19v1H18v1H17v1H15v1H9V20H7V19H6V18H5V17H4V15H3V9H4V7H5V6H6V5H7V4H9V3h6V4h2V5h1V6h1V7h1V9h1Z"})]}))}},4981:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(9779),a=n(5893),s=n(7294);function l(e){var t=e.children,n=e.maxRatio,l=void 0===n?.16:n,r=e.minRatio,o=void 0===r?.045:r,c=e.deps,u=void 0===c?[]:c,d=e.boxClassName,h=void 0===d?"":d,m=(0,s.useRef)(null),x=(0,s.useRef)(null),p=(0,s.useState)(null),f=p[0],g=p[1];return(0,s.useEffect)((function(){var e=m.current,t=x.current;if(e&&t){var n=function(){var n=e.clientWidth,i=e.clientHeight;if(n&&i){for(var a=Math.max(1,Math.round(n*l)),s=Math.max(1,Math.round(n*o)),r=s,c=a,u=s;r<=c;){var d=r+c>>1;t.style.fontSize="".concat(d,"px"),t.scrollHeight<=i&&t.scrollWidth<=n?(u=d,r=d+1):c=d-1}t.style.fontSize="".concat(u,"px"),g(u)}};n();var i=new ResizeObserver(n);return i.observe(e),function(){return i.disconnect()}}}),[l,o].concat((0,i.Z)(u))),(0,a.jsx)("div",{ref:m,className:"flex h-full w-full flex-col justify-center overflow-hidden ".concat(h),children:(0,a.jsx)("div",{ref:x,style:f?{fontSize:"".concat(f,"px")}:void 0,children:t})})}},5114:function(e,t,n){n.d(t,{Z:function(){return h}});var i=n(5893),a=n(1163),s=n(5596),l=n(4319),r=n(9538),o=n(7752),c=n(5149),u=n(6791),d=n(8392);function h(){var e=(0,l.Z_)(),t=e.song,n=e.loading,h=(0,r.Q)().isPlaying,m=(0,a.useRouter)(),x=function(){return m.push("/listen")};return(0,i.jsxs)("div",{className:"relative mx-auto w-full max-w-[35rem] cursor-pointer select-none focus:outline-none focus-visible:outline-none",role:"button",tabIndex:0,"aria-label":"Go to listen page",onClick:x,onKeyDown:function(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),x())},children:[(0,i.jsxs)("div",{className:"relative mx-auto w-[92%]",style:{aspectRatio:"786 / 596"},children:[(0,i.jsx)("div",{className:"absolute bg-[#d9d9d9]",style:{left:"0%",top:"12.42%",right:"0%",bottom:"0%"}}),(0,i.jsxs)("div",{className:"absolute inset-0",style:{transformOrigin:"0 0",transform:"scale(1.15) translate(-11.71%, -0.55%)"},children:[(0,i.jsx)("img",{src:"/vinyl-slider.png",alt:"",className:"pointer-events-none absolute",style:{left:"0%",top:"0%",width:"100%",height:"100%"}}),(0,i.jsx)("img",{src:"/vinyl-notch.png",alt:"",className:"pointer-events-none absolute",style:{left:"16.92%",top:"10.74%",width:"68.96%",height:"68.96%"}}),(0,i.jsx)("img",{src:"/vinyl-buttons.png",alt:"",className:"pointer-events-none absolute",style:{left:"16.16%",top:"6.21%",width:"81.42%",height:"81.54%"}}),(0,i.jsxs)("div",{className:"animate-spin-vinyl pointer-events-none absolute",style:{left:"7.00%",top:"10.23%",width:"88.80%",height:"77.52%",transformOrigin:"50% 50%",animationPlayState:h?"running":"paused"},children:[(0,i.jsx)("img",{src:"/vinyl-cd.webp",alt:"",className:"absolute inset-0 h-full w-full"}),(0,i.jsx)("div",{className:"absolute overflow-hidden rounded-full",style:{left:"38.83%",top:"34.63%",width:"22.21%",height:"33.55%"},children:(0,i.jsx)("img",{src:(null===t||void 0===t?void 0:t.albumArt)||s.Z.src,alt:t?"".concat(t.album," cover"):"",className:"h-full w-full object-cover"})})]}),(0,i.jsx)("img",{src:"/vinyl-stick.png",alt:"",className:"pointer-events-none absolute",style:{left:"17.81%",top:"8.22%",width:"81.42%",height:"81.38%"}})]})]}),(0,i.jsx)("div",{className:"relative mx-auto w-[92%] bg-[#d9d9d9] p-[2%]",children:(0,i.jsx)("div",{className:"flex flex-col items-center justify-start gap-[5%] bg-[#2a1717] px-[5%] py-[4%] text-center",children:n?(0,i.jsx)("span",{className:"font-courierprime text-[3.5vw] text-zinc-400",children:"loading..."}):t?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{lang:"en",className:"mt-[2vw] flex w-full min-w-0 flex-col gap-[1.5vw]",children:[(0,i.jsxs)("div",{className:"flex items-start gap-[2vw] text-left font-courierprime text-[5.5vw] leading-tight text-[#e0ff05]",children:[(0,i.jsx)("span",{"aria-hidden":"true",className:"w-[5.5vw] shrink-0 text-center",children:(0,i.jsx)(c.V,{width:"1em",height:"1em",style:{imageRendering:"pixelated"}})}),(0,i.jsx)("span",{className:"min-w-0 font-bold hyphens-auto break-words",children:t.song})]}),t.artist&&(0,i.jsxs)("div",{className:"flex items-start gap-[2vw] text-left font-courierprime text-[5.5vw] leading-tight text-white",children:[(0,i.jsx)("span",{"aria-hidden":"true",className:"w-[5.5vw] shrink-0 text-center",children:(0,i.jsx)(u.u,{width:"1em",height:"1em",style:{imageRendering:"pixelated"}})}),(0,i.jsx)("span",{className:"min-w-0 hyphens-auto break-words",children:t.artist})]}),t.album&&(0,i.jsxs)("div",{className:"flex items-start gap-[2vw] text-left font-courierprime text-[4vw] leading-tight text-[#e0ff05]",children:[(0,i.jsx)("span",{"aria-hidden":"true",className:"w-[4vw] shrink-0 text-center",children:(0,i.jsx)(d.Z,{width:"1em",height:"1em",style:{imageRendering:"pixelated"}})}),(0,i.jsx)("span",{className:"min-w-0 italic hyphens-auto break-words",children:t.album})]})]}),(0,i.jsx)(o.Z,{})]}):(0,i.jsx)("span",{className:"font-courierprime text-[3.5vw] text-zinc-400",children:"no playlist"})})})]})}},7064:function(e,t,n){n.d(t,{Z:function(){return m}});var i=n(5893),a=n(1163),s=n(5596),l=n(4319),r=n(9538),o=n(4981),c=n(7752),u=n(5149),d=n(6791),h=n(8392);function m(){var e=(0,l.Z_)(),t=e.song,n=e.loading,m=(0,r.Q)().isPlaying,x=(0,a.useRouter)(),p=function(){return x.push("/listen")};return(0,i.jsxs)("div",{className:"relative w-full cursor-pointer select-none focus:outline-none focus-visible:outline-none",style:{aspectRatio:"1130 / 596",containerType:"inline-size"},role:"button",tabIndex:0,"aria-label":"Go to listen page",onClick:p,onKeyDown:function(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),p())},children:[(0,i.jsx)("div",{className:"absolute bg-[#d9d9d9]",style:{left:"0%",top:"12.42%",width:"97.08%",height:"75.34%"}}),(0,i.jsx)("div",{className:"absolute flex flex-col justify-center bg-[#2a1717] px-[3%] py-[3%]",style:{left:"1.2%",top:"16.11%",width:"39.07%",height:"68.12%"},children:n?(0,i.jsx)("span",{className:"font-courierprime text-[3cqw] text-zinc-400",children:"loading..."}):t?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(o.Z,{deps:[t.song,t.artist,t.album,t.label],children:[(0,i.jsxs)("div",{lang:"en",className:"flex items-start gap-[2cqw] text-left font-courierprime leading-tight text-[#e0ff05]",children:[(0,i.jsx)("span",{"aria-hidden":"true",className:"w-[3.2cqw] shrink-0 text-center",style:{fontSize:"min(1em, 2.8cqw)"},children:(0,i.jsx)(u.V,{width:"1.5em",height:"1.5em",style:{imageRendering:"pixelated"}})}),(0,i.jsx)("span",{className:"min-w-0 font-bold",children:t.song})]}),t.artist&&(0,i.jsxs)("div",{lang:"en",className:"flex items-start gap-[2cqw] text-left font-courierprime leading-tight text-white",children:[(0,i.jsx)("span",{"aria-hidden":"true",className:"w-[3.2cqw] shrink-0 text-center",style:{fontSize:"min(1em, 2.8cqw)"},children:(0,i.jsx)(d.u,{width:"1.5em",height:"1.5em",style:{imageRendering:"pixelated"}})}),(0,i.jsx)("span",{className:"min-w-0",children:t.artist})]}),t.album&&(0,i.jsxs)("div",{lang:"en",className:"flex items-start gap-[2cqw] text-left font-courierprime leading-tight text-[#e0ff05]",children:[(0,i.jsx)("span",{"aria-hidden":"true",className:"w-[3.2cqw] shrink-0 text-center",style:{fontSize:"min(1em, 2.8cqw)"},children:(0,i.jsx)(h.Z,{width:"1.5em",height:"1.5em",style:{imageRendering:"pixelated"}})}),(0,i.jsx)("span",{className:"min-w-0 italic",children:t.album})]})]}),(0,i.jsx)("div",{className:"pl-[5.2cqw]",children:(0,i.jsx)(c.Z,{})})]}):(0,i.jsx)("span",{className:"font-courierprime text-[3cqw] text-zinc-400",children:"no playlist"})}),(0,i.jsx)("img",{src:"/vinyl-slider.png",alt:"",className:"pointer-events-none absolute",style:{left:"30.44%",top:"0%",width:"69.56%",height:"100%"}}),(0,i.jsx)("img",{src:"/vinyl-notch.png",alt:"",className:"pointer-events-none absolute",style:{left:"42.21%",top:"10.74%",width:"47.96%",height:"68.96%"}}
1),(0,i.jsx)("img",{src:"/vinyl-buttons.png",alt:"",className:"pointer-events-none absolute",style:{left:"41.68%",top:"6.21%",width:"56.64%",height:"81.54%"}}),(0,i.jsxs)("div",{className:"animate-spin-vinyl pointer-events-none absolute",style:{left:"35.31%",top:"10.23%",width:"61.77%",height:"77.52%",transformOrigin:"50% 50%",animationPlayState:m?"running":"paused"},children:[(0,i.jsx)("img",{src:"/vinyl-cd.webp",alt:"",className:"absolute inset-0 h-full w-full"}),(0,i.jsx)("div",{className:"absolute overflow-hidden rounded-full",style:{left:"38.83%",top:"34.63%",width:"22.21%",height:"33.55%"},children:(0,i.jsx)("img",{src:(null===t||void 0===t?void 0:t.albumArt)||s.Z.src,alt:t?"".concat(t.album," cover"):"",className:"h-full w-full object-cover"})})]}),(0,i.jsx)("img",{src:"/vinyl-stick.png",alt:"",className:"pointer-events-none absolute",style:{left:"42.83%",top:"8.22%",width:"56.64%",height:"81.38%"}})]})}},9462:function(e,t,n){n.d(t,{Z:function(){return h}});var i=n(4251),a=n(2875),s=n(5893),l=n(1664),r=n.n(l),o=n(1163),c=n(4981),u=n(9538),d=n(633);function h(e){var t,n=e.currentPlaylist,l=void 0===n?{}:n,h=e.forceMobile,m=void 0!==h&&h,x=(0,o.useRouter)(),p=function(){return x.push("/listen")},f=(0,u.Q)().isPlaying,g={onClick:function(e){return e.stopPropagation()},onKeyDown:function(e){"Enter"!==e.key&&" "!==e.key||e.stopPropagation()}},v=l.show||{},w=l.dj||{},b=v.djname||w.defdjname||"",j=(0,d.H6)(v,b),y=null!==(t=w.ID)&&void 0!==t?t:v.userID,N=y&&b?(0,s.jsx)(r(),(0,a.Z)((0,i.Z)({href:"/dj/?id=".concat(y),legacyBehavior:!1,className:"underline hover:no-underline"},g),{children:b})):b,H=j?(0,s.jsx)(r(),(0,a.Z)((0,i.Z)({href:"/current/",legacyBehavior:!1,className:"underline hover:no-underline"},g),{children:j})):j,V=(0,s.jsx)(r(),(0,a.Z)((0,i.Z)({href:"/previous-shows/",legacyBehavior:!1,className:"underline hover:no-underline"},g),{children:"explore any past show"}));return(0,s.jsxs)("div",{className:"w-full cursor-pointer select-none focus:outline-none focus-visible:outline-none",role:"button",tabIndex:0,"aria-label":"Go to listen page",onClick:p,onKeyDown:function(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),p())},children:[(0,s.jsxs)("div",{className:"relative w-full max-w-[36rem] overflow-hidden rounded-[5px] shadow-[0px_4px_4px_0px_rgba(0,0,0,0.25)] ".concat(m?"hidden":"hidden lg:block"),children:[(0,s.jsx)("img",{alt:"",className:"absolute inset-0 h-full w-full object-cover",src:"/nowplaying/desktop-bg-gradient.webp"}),(0,s.jsxs)("div",{className:"relative px-3 pt-3 pb-3",children:[(0,s.jsx)("h1",{className:"bitcount pl-5 text-[clamp(1.75rem,3.5vw,2.75rem)] leading-tight text-white",children:"Now Playing"}),(0,s.jsxs)("div",{className:"relative mt-2 overflow-hidden rounded-[5px] bg-[#dad7d2]/40 bg-cover bg-top-left p-3 shadow-[0px_4px_4px_0px_rgba(0,0,0,0.25)]",style:{backgroundImage:'url("/nowplaying/noise.webp"), linear-gradient(90deg, rgba(218, 215, 210, 0.4) 0%, rgba(218, 215, 210, 0.4) 100%)',containerType:"inline-size"},children:[(0,s.jsx)("div",{className:"animate-spin-vinyl absolute right-[4%] top-[4%] h-[11cqw] max-h-[52px] min-h-[32px] w-[11cqw] max-w-[52px] min-w-[32px] overflow-hidden rounded-full",style:{animationPlayState:f?"running":"paused"},children:(0,s.jsx)("img",{alt:"",className:"absolute h-[278%] w-[177%] max-w-none",style:{left:"-37.83%",top:"-121.06%"},src:"/nowplaying/cd.webp"})}),(0,s.jsxs)("div",{className:"flex w-[80%] flex-col gap-2",children:[(0,s.jsx)("div",{className:"h-[15cqw] max-h-[64px] min-h-[40px] min-w-0",children:(0,s.jsxs)(c.Z,{maxRatio:.16,minRatio:.045,deps:[b,j],children:[(0,s.jsxs)("p",{className:"mb-0 font-courierprime leading-snug text-[#1e0d7a]",children:["DJ: ",N]}),(0,s.jsxs)("p",{className:"font-courierprime leading-snug text-[#1e0d7a]",children:["Show: ",H]})]})}),(0,s.jsx)("div",{className:"bg-[#7d7575] px-3 py-1.5 shadow-[0px_4px_4px_0px_rgba(0,0,0,0.25)]",children:(0,s.jsx)("p",{className:"font-courierprime text-base text-[#fff7f7]",children:V})})]}),(0,s.jsx)("div",{className:"absolute right-[2%] bottom-[-17%] h-[28cqw] max-h-[116px] w-[21cqw] max-w-[88px]",children:(0,s.jsx)("img",{alt:"",className:"pointer-events-none h-full w-full object-contain",src:"/nowplaying/rat-doodle.webp"})})]})]})]}),(0,s.jsxs)("div",{className:"relative mx-auto w-full max-w-[35rem] overflow-hidden rounded-[5px] text-center shadow-[0px_4px_4px_0px_rgba(0,0,0,0.25)] ".concat(m?"":"lg:hidden"),children:[(0,s.jsx)("img",{alt:"",className:"absolute inset-0 h-full w-full object-cover",src:"/nowplaying/mobile-bg-gradient.webp"}),(0,s.jsxs)("div",{className:"relative px-1 pt-2 pb-2",children:[(0,s.jsx)("h1",{className:"bitcount text-[clamp(1.35rem,6.5vw,2rem)] leading-tight text-white",children:"Now Playing"}),(0,s.jsxs)("div",{className:"relative mt-0.5 overflow-hidden rounded-[5px] bg-[#dad7d2]/40 bg-cover bg-top-left p-2.5 shadow-[0px_4px_4px_0px_rgba(0,0,0,0.25)]",style:{backgroundImage:'url("/nowplaying/noise.webp"), linear-gradient(90deg, rgba(218, 215, 210, 0.4) 0%, rgba(218, 215, 210, 0.4) 100%)',containerType:"inline-size"},children:[(0,s.jsx)("div",{className:"animate-spin-vinyl absolute right-[3%] top-[3%] h-[13cqw] max-h-[44px] min-h-[28px] w-[13cqw] max-w-[44px] min-w-[28px] overflow-hidden rounded-full",style:{animationPlayState:f?"running":"paused"},children:(0,s.jsx)("img",{alt:"",className:"absolute h-[278%] w-[177%] max-w-none",style:{left:"-37.83
1%",top:"-121.06%"},src:"/nowplaying/cd.webp"})}),(0,s.jsxs)("div",{className:"flex w-[75%] flex-col gap-2 text-left",children:[(0,s.jsx)("div",{className:"h-[16cqw] max-h-[52px] min-h-[32px] min-w-0",children:(0,s.jsxs)(c.Z,{maxRatio:.14,minRatio:.045,deps:[b,j],children:[(0,s.jsxs)("p",{className:"mb-0 font-courierprime leading-snug text-[#2b10ba]",children:["DJ: ",N]}),(0,s.jsxs)("p",{className:"font-courierprime leading-snug text-[#2b10ba]",children:["Show: ",H]})]})}),(0,s.jsx)("div",{className:"bg-[#7d7575] px-3 py-1.5 shadow-[0px_4px_4px_0px_rgba(0,0,0,0.25)]",children:(0,s.jsx)("p",{className:"font-courierprime text-xs text-[#fff7f7]",children:V})})]}),(0,s.jsx)("div",{className:"absolute right-[1%] bottom-[-15%] h-[34cqw] max-h-[122px] w-[24cqw] max-w-[90px]",children:(0,s.jsx)("img",{alt:"",className:"pointer-events-none h-full w-full object-contain",src:"/nowplaying/rat-doodle.webp"})})]})]})]})]})}},3545:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(7294),a=n(5633),s=n(8505);function l(){var e=(0,i.useState)({}),t=e[0],n=e[1],l=(0,i.useState)(!0),r=l[0],o=l[1];return(0,i.useEffect)((function(){return(0,a.OV)((function(e){n((null===e||void 0===e?void 0:e.show)?(0,s.g)(e):{}),o(!1)}))}),[]),{currentPlaylist:t,loading:r}}},633:function(e,t,n){n.d(t,{H6:function(){return o},He:function(){return h},RM:function(){return c},ez:function(){return d},f3:function(){return r},gx:function(){return m},pV:function(){return x},s2:function(){return l},xY:function(){return u}});
1var i=n(4251),a=n(9941),s="America/New_York";function l(e){return e?new Date(1e3*e).toLocaleDateString("en-US",{timeZone:s,weekday:"short",year:"numeric",month:"short",day:"numeric"}):""}function r(e){return e?new Date(1e3*e).toLocaleTimeString("en-US",{timeZone:s,hour:"2-digit",minute:"2-digit"}):""}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=(e.title||"").trim();if(n)return n;var i=(t||e.defdjname||e.djname||"").trim();return i?"".concat(i,"'s show"):"Untitled show"}function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=(e.othergenre||"").trim();return n?n===(e.genre||"").trim()||t&&n===t.trim()?"":n:""}function u(e){return e?new Date(1e3*e).toLocaleDateString("en-CA",{timeZone:s}):""}function d(){return(new Date).toLocaleDateString("en-CA",{timeZone:s})}function h(e,t){var n=(0,a.Z)(e.split("-").map(Number),3),i=n[0],s=n[1],l=n[2],r=new Date(Date.UTC(i,s-1,l,12));r.setUTCDate(r.getUTCDate()+t);var o=r.getUTCFullYear(),c=String(r.getUTCMonth()+1).padStart(2,"0"),u=String(r.getUTCDate()).padStart(2,"0");return"".concat(o,"-").concat(c,"-").concat(u)}function m(e,t){var n=function(e){var t=(0,a.Z)(e.split("-").map(Number),3),n=t[0],i=t[1],s=t[2];return Date.UTC(n,i-1,s)};return Math.round((n(t)-n(e))/864e5)+1}function x(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(0,a.Z)(e.split("-").map(Number),3),s=n[0],l=n[1],r=n[2];return new Date(s,l-1,r).toLocaleDateString("en-US",(0,i.Z)({weekday:"long",month:"short",day:"numeric"},t))}},4319:function(e,t,n){n.d(t,{Z_:function(){return m}});var i=n(4251),a=n(2875),s=n(7294),l=n(4727),r=n(655),o=n(3290),c=(n(8505),new Map);function u(e,t){return d.apply(this,arguments)}function d(){return(d=(0,l.Z)((function(e,t){var n,i,a,s,l;return(0,r.__generator)(this,(function(r){switch(r.label){case 0:if(!e||!t)return[2,null];if(n="".concat(e,"||").concat(t),c.has(n))return[2,c.get(n)];r.label=1;case 1:return r.trys.push([1,3,,4]),[4,(0,o.S)("/api/releases?artist=".concat(encodeURIComponent(e),"&title=").concat(encodeURIComponent(t)))];case 2:return a=r.sent(),s=null===a||void 0===a||null===(i=a[0])||void 0===i?void 0:i.cover_url,l=s?"".concat((0,o.r)()).concat(s):null,c.set(n,l),[2,l];case 3:return r.sent(),[2,null];case 4:return[2]}}
1))}))).apply(this,arguments)}var h=n(5633);function m(){var e=(0,s.useState)(null),t=e[0],n=e[1],l=(0,s.useState)(null),r=l[0],o=l[1],c=(0,s.useState)(!0),d=c[0],m=c[1],x=(0,s.useState)((function(){return Date.now()})),p=x[0],f=x[1];(0,s.useEffect)((function(){var e=0;return(0,h.OV)((function(t){var s=(0,h.uJ)(t);if(o(s.dj),m(!1),s.song||s.artist||s.album){n((function(e){return e&&e.song===s.song&&e.artist===s.artist&&e.album===s.album?(0,a.Z)((0,i.Z)({},e),{label:s.label,songstart:s.songstart}):{song:s.song,artist:s.artist,album:s.album,label:s.label,songstart:s.songstart,albumArt:null}}));var l=++e;u(s.artist,s.album).then((function(t){l===e&&n((function(e){return e&&e.artist===s.artist&&e.album===s.album&&e.albumArt!==t?(0,a.Z)((0,i.Z)({},e),{albumArt:t}):e}))}))}else n(null)}))}),[]),(0,s.useEffect)((function(){var e=setInterval((function(){return f(Date.now())}),1e3);return function(){return clearInterval(e)}}),[]);var g=t?Math.min(Math.max((p-new Date(t.songstart).getTime())/1e3,0),210):0;return{song:t,dj:r,loading:d,elapsedSec:g,remainingSec:210-g,progressPct:g/210*100}}},6791:function(e,t,n){n.d(t,{u:function(){return a}});var i=n(7294),a=function(e){return i.createElement("svg",Object.assign({viewBox:"0 0 24 24",width:"24",height:"24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),i.createElement("path",{d:"M10 2h4v2h-4zM8 4h2v10H8zm2 10h4v2h-4zm4-10h2v10h-2zM4 10h2v6H4zm2 6h2v2H6zm2 2h8v2H8zm8-2h2v2h-2zm2-6h2v6h-2zm-7 10h2v2h-2z"}))}},5149:function(e,t,n){n.d(t,{V:function(){return a}});var i=n(7294),a=function(e){return i.createElement("svg",Object.assign({viewBox:"0 0 24 24",width:"24",height:"24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),i.createElement("path",{d:"M4 12h4v2H4zm-2 2h2v4H2zm2 4h4v2H4zM8 6h2v12H8zm10 0h2v12h-2zm-6 8h2v4h-2zm2-2h4v2h-4zm0 6h4v2h-4zM10 4h8v2h-8z"}))}}}]);
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.