PageSourceSearch

https://tommyboy-records.com/_next/static/chunks/pages/products/[groupSlug]/explore-4af1b22214646bf0.js

js tommyboy-records.com collected 2026-10-04 21:18:21 UTC 10,952 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[934],{55167:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/products/[groupSlug]/explore",function(){return n(14266)}])},84412:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(26042),i=n(69396),o=n(10253),l=n(85893),s=n(21800),a=n.n(s),c=n(67294),d=n(36497),u=n(22409);function v(e){var t=e.content,n=e.contentBlocks,s=e.forceHero;n=null===n||void 0===n?void 0:n.map((function(e){return e.contentBlock}));var v=(0,d.A)(t,n)||{},x=v.version,h=v.time,p=function(e){var t,n=[];return null===e||void 0===e||e.map((function(e){var o;"image"==e.type&&(null===(o=e.data)||void 0===o?void 0:o.stretched)&&(e=(0,i.Z)((0,r.Z)({},e),{type:"heroimage"}));var l=function(e){var t;if(m(e))return{section:"hero-carousel",width:"full",wrap:!1,breakBefore:!0,breakAfter:!0};if("blockslot"==e.type&&"subscribeForms"==(null===e||void 0===e||null===(t=e.data)||void 0===t?void 0:t.__typename))return{section:"content",width:"1/2",wrap:!0,breakBefore:!1};if("blockslot"==e.type)return{section:"full",width:"full",wrap:!1};if("heroimage"==e.type)return{section:"heroimage",width:"full",wrap:!1,breakBefore:!0,breakAfter:!0};if("image"==e.type)return{section:"image",width:"1/2",wrap:!0,breakBefore:!0,breakAfter:!0};if("embed"==e.type)return{section:"embed",width:"1/2",wrap:!0,breakBefore:!0,breakAfter:!0};if("header"==e.type&&e.data.level<3)return{section:"content",width:"full",wrap:!0,breakBefore:!0,breakAfter:!0};return{section:"content",width:"1/2",wrap:!0,breakBefore:"header"==e.type&&3==e.data.level}}(e),s=n.length;(null===l||void 0===l?void 0:l.section)!=(null===t||void 0===t?void 0:t.section)||(null===l||void 0===l?void 0:l.breakBefore)||(null===t||void 0===t?void 0:t.breakAfter)?n.push((0,i.Z)((0,r.Z)({},l),{blocks:[e]})):n[s-1].blocks.push(e),t=l})),n}(v.blocks),g=s||function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[{blocks:[]}],t=(0,o.Z)(e,1)[0],n=(0,o.Z)(t.blocks,1)[0];return f(n)}(p);return(0,c.useEffect)((function(){return(0,u.s)(g),function(){return(0,u.s)(!1)}}),[g]),(null===p||void 0===p?void 0:p.length)?(0,l.jsx)("div",{className:"".concat(a().ContentSections," grid grid-cols-2"),children:p.map((function(e,t){var n=e.section,r=e.width,i=e.wrap,o=e.blocks,s={version:x,time:h,blocks:o};return(0,l.jsx)("div",{className:"section section-".concat(n," section-width-").concat(r),children:(0,l.jsx)(d.Z,{className:"block-content",wrap:i,content:s})},t)}))}):null}var m=function(e){var t,n,r;return"blockslot"==e.type&&("pastEventPlaceholders"==(null===e||void 0===e||null===(t=e.data)||void 0===t?void 0:t.__typename)||"itemCollections"==(null===e||void 0===e||null===(n=e.data)||void 0===n?void 0:n.__typename)&&"heroCarousel"==(null===e||void 0===e||null===(r=e.data)||void 0===r?void 0:r.displayAs))},f=function(e){return m(e)||"heroimage"==e.type}},85789:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(85893);function i(e){var t=e.children;return(0,r.jsx)("main",{children:t})}},18549:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(26042),i=n(29815),o=n(85893),l=n(3056),s=n(9008),a=n.n(s),c=n(28726);function d(e){var t=e.titleParts,n=e.title,s=e.titleSeparator,d=void 0===s?" | ":s,v=e.description,m=e.trimDescription,f=e.imageUrl,x=e.images,h=e.imageAsset,p=e.url,g=e.type,j=void 0===g?"website":g,b=e.metatags,w=(0,l.a)(c.Lc).data,y=(void 0===w?{}:w).siteSettings,k=(void 0===y?{}:y).siteTitle,N=void 0===k?"Tommy Boy Music, LLC":k;return m&&(null===v||void 0===v?void 0:v.length)>170&&(v=v.substring(0,169)+"\u2026"),h?f=function(e){var t="https://api.tommyboy-records.com",n="object"===typeof e?e.id:e,r=new URLSearchParams({fit:"cover",withoutEnlargement:!0,format:"jpg",width:u,height:630,quality:75}).toString();return"".concat(t,"/assets/").concat(n,"?").concat(r)}(h):x&&(f=function(e){var t;return null===(t=(0,i.Z)(e).sort((function(e,t){return e.width-t.width})).find((function(e){var t=e.width;return u<=t})))||void 0===t?void 0:t.url}(x)),n=[n].concat(t).filter((function(e){return!!e&&!N.includes(e)})).concat(N).join(d),(0,o.jsxs)(a(),{children:[(0,o.jsx)("title",{children:n}),!!v&&(0,o.jsx)("meta",{name:"description",content:v}),(0,o.jsx)("meta",{property:"og:title",content:n}),!!v&&(0,o.jsx)("meta",{property:"og:description",content:v}),!!j&&(0,o.jsx)("meta",{property:"og:type",content:j}),!!f&&(0,o.jsx)("meta",{property:"og:image",content:f}),!!p&&(0,o.jsx)("meta",{property:"og:url",content:p}),(0,o.jsx)("meta",{property:"og:site_name",content:N}),!!f&&(0,o.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),null===b||void 0===b?void 0:b.map((function(e){return(0,o.jsx)("meta",(0,r.Z)({},e),e.name||e.property)}))]})}var u=1200},37786:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(85893),i=n(41664),o=n.n(i),l=n(40929),s=n(99408);function a(e){var t=e.tracks;return(null===t||void 0===t?void 0:t.length)>0?(0,r.jsxs)("div",{className:"outline outline-2 outline-offset-[-1px]",children:[(0,r.jsx)("div",{className:"py-4 px-8 outline outline-2 outline-offset-[-1px]",children:(0,r.jsx)("h3",{className:"text-xl font-bold",children:"Tracklist"})}),t.map((function(e,t){var n,i;return(0,r.jsxs)("div",{className:"relative inline-flex items-center w-full py-4 px-4 xs:px-8 outline outline-2 outline-offset-[-1px]",children:[(0,r.jsx)("span",{className:"w-4 mr-4 xs:mr-8 lg:text-md font-mono",children:(t+1).toString().padStart(2,"0")}),e.streamable?(0,r.jsx)(s.Z,{referenceId:e.id,className:"flex-shrink-0 w-4 h-4 xs:w-8 xs:h-8 mr-4 xs:mr-8 flex justify-center items-center",text:null}):(0,r.jsx)("span",{className:"w-4 h-4 xs:w-8 xs:h-8 mr-4 xs:mr-8"}),(0,r.jsxs)("span",{className:"mr-auto pr-2 text-md lg:text-lg font-bold truncate",children:[e.title," \u2022"," ",(null===e||void 0===e||null===(n=e.artist)||void 0===n?void 0:n.href)&&(0,r.jsx)(o(),{href:e.artist.href,children:(0,r.jsx)("a",{children:null===(i=e.artist)||void 0===i?void 0:i.name})})]}),!!(null===e||void 0===e?void 0:e.length)&&(0,r.jsx)("span",{className:"lg:text-md font-mono",children:(0,l.Z)(e.length,"mm:ss")})]},t)}))]}):null}},44003:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(10253);function i(e){if(e){var t=(0,r.Z)(e.split("-"),1)[0];return parseInt(t)}}},14266:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return Z},default:function(){return _}});var r=n(26042),i=n(69396),o=n(85893),l=n(67294),s=n(3056),a=n(11163),c=n(28726),d=n(18549),u=n(85789),v=n(84412),m=n(41664),f=n.n(m),x=n(47629),h=n(39769),p=n(65618),g=n(99408);function j(e){var t=e.className;return(0,o.jsxs)("svg",{className:t,width:"20",height:"22",viewBox:"0 0 20 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,o.jsx)("rect",{x:"1.5",y:"7.5",width:"17",height:"13",stroke:"currentColor",strokeWidth:"3"}),(0,o.jsx)("path",{d:"M14 5.99836C14 3.79013 12.2091 2 10 2C7.79086 2 6 3.79013 6 5.99836",stroke:"currentColor",strokeWidth:"3"})]})}function b(e){var t=e.release,n=e.image;return n?(0,o.jsxs)("header",{className:"flex items-center justify-center relative w-full min-h-[calc(100vh)] mt-[-5.25rem] mb-8 bg-light-mode-text border-2",children:[(0,o.jsx)("div",{className:"opacity-70",children:(0,o.jsx)(h.Z,{className:"absolute w-full h-full object-cover",asset:n,alt:null===t||void 0===t?void 0:t.t
1itle,layout:"fill",priority:!0,placeholder:"blur",fadeIn:!0})}),(0,o.jsx)(w,{release:t})]}):(0,o.jsx)("header",{children:(0,o.jsx)(w,{release:t})})}function w(e){var t,n=e.release,r=!!((null===n||void 0===n?void 0:n.trackCount)>0&&(null===n||void 0===n?void 0:n.tracks.find((function(e){return e.streamable})))),i=(null===n||void 0===n||null===(t=n.externalReferences)||void 0===t?void 0:t.find((function(e){return"Stream/Download"==e.title})))||{},l=i.value;return(0,o.jsxs)("div",{className:"relative py-24 px-8 text-center text-light-mode-page",children:[(0,o.jsx)("h1",{className:"text-xl xs:text-2xl xs:leading-10 md:text-3xl xl:text-4xl font-bold",children:null===n||void 0===n?void 0:n.title}),!!(null===n||void 0===n?void 0:n.artist)&&(0,o.jsx)("h3",{className:"mb-8 text-md xs:text-lg md:text-xl xl:text-2xl font-bold",children:(0,o.jsx)(f(),{href:n.artist.href,children:(0,o.jsx)("a",{className:"underline underline-offset-3 hover:text-light-mode-primary",children:n.artist.name})})}),!!(null===n||void 0===n?void 0:n.releaseDate)&&(0,o.jsxs)("div",{className:"xs:text-md leading-8",children:[(0,o.jsx)("span",{className:"font-bold",children:"Release Date:"}),"\xa0",(0,o.jsx)("span",{className:"font-mono",children:(0,o.jsx)(x.Z,{dateString:n.releaseDate})})]}),((null===n||void 0===n?void 0:n.href)||r||!!l)&&(0,o.jsxs)("div",{className:"flex flex-wrap justify-center mt-8",children:[(0,o.jsx)(f(),{href:n.href,children:(0,o.jsxs)("a",{className:"flex items-center mb-4 mr-8 xs:text-lg font-bold hover:text-light-mode-primary",children:[(0,o.jsx)(j,{className:"inline-block w-auto h-[1em] mr-2"}),(0,o.jsx)("span",{className:"underline underline-offset-2",children:"Shop Release"})]})}),l&&(0,o.jsxs)("a",{href:l,target:"_blank",rel:"noopener noreferrer nofollow",className:"flex items-center mb-4 mr-8 xs:text-lg font-bold underline underline-offset-2 hover:text-light-mode-primary",children:[(0,o.jsx)(p.Z,{className:"inline-block w-auto h-[1em] mr-2"}),"Stream/Download"]}),r&&(0,o.jsx)(g.Z,{referenceId:null===n||void 0===n?void 0:n.id,referenceType:"release",className:"flex items-center mb-4 xs:text-lg font-bold underline underline-offset-2 whitespace-nowrap hover:text-light-mode-primary",text:"Play Release"})]})]})}var y=n(37786),k=n(35053),N=n(44003),Z=!0;function _(){var e,t,n,m,f=(0,a.useRouter)(),x=f.isPreview,h=f.query.groupSlug,p=(0,N.Z)(h),g=(0,s.a)(c._s,(0,r.Z)({variables:(0,r.Z)({groupId:p},x&&{statusIn:["draft","published"]})},x&&{nextFetchPolicy:"network-only",pollInterval:5e3})).data,j=(void 0===g?{}:g).productGroup;return(0,o.jsxs)(u.Z,{children:[(0,o.jsx)(d.Z,{titleParts:["".concat(null===j||void 0===j?void 0:j.title," by ").concat(null===j||void 0===j||null===(e=j.artist)||void 0===e?void 0:e.name)],description:(0,k.Z)(null===j||void 0===j?void 0:j.description),trimDescription:!0,images:null===j||void 0===j?void 0:j.images,url:null===j||void 0===j?void 0:j.href,type:"article"}),(0,o.jsxs)("article",{children:[(0,o.jsx)(b,{release:j,image:null===j||void 0===j||null===(t=j.releaseEditorial)||void 0===t?void 0:t.heroImage}),(0,l.createElement)(v.Z,(0,i.Z)((0,r.Z)({},null===j||void 0===j?void 0:j.releaseEditorial),{forceHero:!!(null===j||void 0===j||null===(n=j.releaseEditorial)||void 0===n?void 0:n.heroImage),key:null===j||void 0===j?void 0:j.id})),(null===j||void 0===j||null===(m=j.tracks)||void 0===m?void 0:m.length)>0&&(0,o.jsx)(y.Z,{tracks:j.tracks})]})]})}},21800:function(e){e.exports={ContentSections:"ContentSections_ContentSections__vdJxK"}}},function(e){e.O(0,[774,888,179],(function(){return t=55167,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.