PageSourceSearch

https://volumo.com/_next/static/chunks/33-0c90f1c94c4a022a.js

js volumo.com collected 2026-09-25 18:43:10 UTC 31,438 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[33],{3128:e=>{e.exports={"button--primary":"MultiToggleBase_button--primary__Uv3oA","button--secondary":"MultiToggleBase_button--secondary__vvZN_","button--basic":"MultiToggleBase_button--basic__xnP1H"}},4624:e=>{e.exports={root:"TabSwitch_root__KG2w5","root--standard":"TabSwitch_root--standard__KpQQY",nowrap:"TabSwitch_nowrap__b_7if"}},5320:(e,t,a)=>{"use strict";a.d(t,{O:()=>r});var l=a(57975),s=a(40377),i=a(53239);let r=(e,t)=>{let{showUnlimitedCounters:a,onCountersClick:r,resolveCountersTotal:n}=(e=>{let[t,a]=(0,i.useState)(!1);(0,l.T)(e,(e,t)=>{(0,s.bD)(e,t)||a(!1)});let r=(0,i.useCallback)(()=>{a(!0)},[]),n=(0,i.useCallback)((e,a,l)=>a||l&&t?"loading":e,[t]);return{showUnlimitedCounters:t,onCountersClick:t?void 0:r,resolveCountersTotal:n}})(e),o=t(!a),{isLoading:c,isFetching:u}=o;return{showUnlimitedCounters:a,onCountersClick:r,resolveCountersTotal:(0,i.useCallback)(e=>n(e,c,u),[n,c,u]),stats:o}}},10748:e=>{e.exports={item:"PlaylistsList_item__iHZ7U",inactive:"PlaylistsList_inactive__r7Ht1",paginatedItem:"PlaylistsList_paginatedItem__AjzfV"}},10836:e=>{e.exports={playlists:"PlaylistsPageComponent_playlists__L_uqg"}},12175:(e,t,a)=>{"use strict";a.d(t,{n:()=>h});var l=a(80263),s=a(25758),i=a(12556),r=a(97930),n=a(50016),o=a(13463),c=a(53239),u=a(45856),d=a(85);let h=c.memo(e=>{let{onGetItemHref:t,itemType:a}=e,{t:c}=(0,o.c3)(),{setValue:h,value:m}=(0,u.t)("curation"),{isAboveSm:p}=(0,i.yU)();return(0,l.jsxs)(r.xA,{alignItems:"center",autoFlow:p?"column":"row",columns:p?"1fr 1fr":"1fr",horizontalSpacing:6,verticalSpacing:4,children:[(0,l.jsx)(s.X,{options:(0,d.Ie)(c,a),prefetch:!1,value:m,onGetItemHref:t,onValueChange:h}),(0,l.jsx)(r.xA,{verticalSpacing:2,children:(0,d.Ie)(c,a).reverse().map(e=>(0,l.jsxs)(r.xA,{children:[(0,l.jsx)(n.V,{variant:"body1",children:e.text}),(0,l.jsx)(n.V,{color:"secondary",variant:"body1",children:e.secondaryText})]}))})]})});h.displayName="CurationMultiSelectFilter"},14787:e=>{e.exports={button:"VolumoOrCommunityOrAllToggleFilter_button__wJp3N"}},18942:(e,t,a)=>{"use strict";a.d(t,{Cg:()=>v,GA:()=>g,KL:()=>f,PZ:()=>y,TW:()=>h,_R:()=>x,c5:()=>b,tY:()=>p});var l=a(90846),s=a(98720),i=a(3305),r=a(17403),n=a(6750),o=a(89654),c=a(51143),u=a(35796),d=a(35951);let h=1e4,m=(e,t)=>(0,r.Z6)({userEmail:e,scope:d.B.Albums,fetchParams:t}),p={albums:m,albumsCompact:(e,t)=>(0,r.Z6)({userEmail:e,scope:d.B.AlbumsCompact,fetchParams:t}),albums_Stats:function(e,t){let a=!(arguments.length>2)||void 0===arguments[2]||arguments[2];return{...m(e,t),subscope:d.B.Stats,limited:a}},albums_GenresFacet:(e,t)=>({...m(e,t),subscope:d.B.GenresFacet}),albums_ReleaseDatesFacet:(e,t)=>({...m(e,t),subscope:d.B.ReleaseDatesFacet}),albums_PurchaseDatesFacet:(e,t)=>({...m(e,t),subscope:d.B.PurchaseDatesFacet}),albumsCompact_ByIds:(e,t)=>({userEmail:e,scope:d.B.AlbumsCompactByIds,ids:t||[]})},g=(e,t)=>{let{api:a}=(0,o.gf)(),{user:s}=(0,c.IE)(),i=(0,l.q)({queryKey:[p.albums(s?.email,e)],queryFn:t=>{let{pageParam:l}=t;return a.getAlbums((0,u.Or)({...e,pageIndex:e.pageIndex??l/(e.pageSize??u.N4.Albums)}))},initialPageParam:0,getNextPageParam:(e,t)=>t.reduce((e,t)=>e+(t?.items?.length??0),0),...t});return{...i,data:(0,r.vc)(i.data),isFetching:i.isFetching||i.isFetchingNextPage}},x=(e,t)=>{let{api:a}=(0,o.gf)(),{user:l}=(0,c.IE)();return(0,s.I)({queryKey:[p.albumsCompact_ByIds(l?.email,e)],queryFn:e?.length?()=>a.getAlbumsCompactByIds(e):i.hT,...t})},y=(e,t)=>{let{api:a}=(0,o.gf)(),{user:s}=(0,c.IE)(),i=(0,l.q)({queryKey:[p.albumsCompact(s?.email,e)],queryFn:t=>{let{pageParam:l}=t;return a.getAlbumsCompact((0,u.pB)({...e,pageIndex:e.pageIndex??l/(e.pageSize??u.N4.Albums)}))},initialPageParam:0,getNextPageParam:(e,t)=>t.reduce((e,t)=>e+(t?.items?.length??0),0),...t});return{...i,data:(0,r.vc)(i.data),isFetching:i.isFetching||i.isFetchingNextPage}},v=function(e,t){let a=!(arguments.length>2)||void 0===arguments[2]||arguments[2],{api:l}=(0,o.gf)(),{user:i}=(0,c.IE)(),r=(0,u.g2)(e);return(0,s.I)({queryKey:[p.albums_Stats(i?.email,r,t)],queryFn:()=>l.getAlbumsStats({...(0,u.C1)(r),limited:t}),enabled:a})},b=function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],{api:a}=(0,o.gf)(),{user:l}=(0,c.IE)(),i=(0,u.eC)(e);return(0,s.I)({queryKey:[p.albums_GenresFacet(l?.email,i)],queryFn:()=>a.getAlbums_GenresFacet((0,u.C1)(i)),enabled:t})},f=function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],{api:a}=(0,o.gf)(),{user:l}=(0,c.IE)(),i=(0,u.u$)(e);return(0,s.I)({queryKey:[p.albums_ReleaseDatesFacet(l?.email,i)],queryFn:async()=>(await a.getAlbums_ReleaseDatesFacet((0,u.C1)(i))).reduce((e,t)=>
1(e[(0,n.Xx)(t)]=!0,e),{}),enabled:t})}},20121:(e,t,a)=>{"use strict";a.d(t,{l:()=>p});var l=a(80263),s=a(97930),i=a(36285),r=a(50016),n=a(13463),o=a(40377),c=a(61469),u=a(53239),d=a(19638),h=a(12916),m=a(24282);let p=e=>{let{applyFilters:t,currentValues:a,filterGroups:p,itemType:g,unrestrictedValues:x}=e,{t:y}=(0,n.c3)(),v=(0,c.useRouter)(),b=(0,u.useCallback)(e=>{v.push((0,m.DG)(v.asPath,Object.values(p).flat(),e))},[v.asPath,p]),f=(0,u.useCallback)((e,l)=>{t({...a,[e]:l})},[t,a]),j=(0,u.useMemo)(()=>(0,o.$7)(a,x,!1,!0),[a,x]),C=Object.values((0,h.E)(p,j)).flat();return(0,l.jsx)(l.Fragment,{children:C.length>0&&(0,l.jsxs)(s.xA,{alignItems:"center",columns:"auto 1fr",horizontalSpacing:1.5,children:[(0,l.jsxs)(r.V,{color:"secondary",component:"span",variant:"body2",children:[y("Applied filters"),":"]}),(0,l.jsx)(i.C,{autoColumns:"max-content",horizontalSpacing:0,children:C.map(e=>(0,l.jsx)(d.e,{fieldName:e,formValues:j,itemType:g,unrestrictedValues:x,onTagClick:b,onValueChange:f},e))})]})})};p.displayName="AppliedFilters"},20645:e=>{e.exports={heading:"ContentHeading_heading__YrMis",title:"ContentHeading_title__Aez8q"}},21383:(e,t,a)=>{"use strict";a.d(t,{y:()=>y});var l=a(80263),s=a(49708),i=a(53239),r=a(12556),n=a(97930),o=a(41974),c=a(78852),u=a(50016),d=a(13463),h=a(45856),m=a(85),p=a(52293),g=a.n(p);let x=i.memo(e=>{let{onGetItemHref:t,itemType:a}=e,{t:s}=(0,d.c3)(),{setValue:p,value:x}=(0,h.t)("includeOperator"),{isAboveSm:y}=(0,r.yU)(),v=(0,i.useMemo)(()=>(0,m.pu)(s,a),[s,a]);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(n.xA,{columns:y?"1fr 1fr":"1fr",horizontalSpacing:6,verticalSpacing:3,children:[(0,l.jsx)(o.D,{buttonClassName:g().button,options:v,prefetch:!1,value:x,variant:"secondary",onChange:p,onGetItemHref:t}),(0,l.jsx)(u.V,{align:y?"left":"center",color:"secondary",variant:"body2",children:v.find(e=>e.value===x)?.secondaryText})]}),(0,l.jsx)(c.K,{mt:3})]})});x.displayName="IncludeOperatorMultiToggleFilter";let y=i.memo(e=>{let{name:t,onGetItemHref:a,onGetIncludeOperatorHref:i,options:r,hasMultiToggleFilter:n,itemType:
1o}=e,{setValue:c,value:u}=(0,h.t)(t);return(0,l.jsxs)(l.Fragment,{children:[n&&(0,l.jsx)(x,{itemType:o,onGetItemHref:i}),(0,l.jsx)(s.C,{options:r,value:u,onGetItemHref:a,onValueChange:c})]})});y.displayName="IncludeMultiSelectFilter"},25758:(e,t,a)=>{"use strict";a.d(t,{X:()=>o});var l=a(80263),s=a(62907),i=a(904);a(53239);var r=a(88703),n=a.n(r);let o=e=>{let{options:t,value:a,onValueChange:r,onGetItemHref:o,prefetch:c,...u}=e,d=a?t.findIndex(e=>e.value===a):-1;return(0,l.jsx)(i.v,{...u,children:(0,l.jsx)("div",{className:n().root,children:(0,l.jsx)("div",{className:n().buttons,children:t.map((e,t,a)=>{let i=100-100/a.length*t,o=t===a.length-1;return(0,l.jsxs)(s.u,{"aria-selected":t>=d||void 0,className:n().buttonBase,prefetch:c,style:{width:`${i}%`,height:`${i}%`,justifyContent:o?"center":"space-between"},onClick:()=>r(e.value),children:[(0,l.jsx)("span",{children:e.text}),!o&&(0,l.jsx)("span",{children:e.text})]},t)})})})})}},28967:(e,t,a)=>{"use strict";a.d(t,{B:()=>i});var l=a(80263);a(53239);var s=a(62017);let i=e=>{let{allowExtraBottomSpace:t,children:a,leftSidebar:i,topLine:r}=e;return(0,l.jsx)(s.s,{allowExtraBottomSpace:t,leftSidebar:i,topLine:r,children:a})};i.displayName="UserContentLayout"},35574:e=>{e.exports={root:"IncludeMultiSelectItem_root__Ae3kk"}},41765:(e,t,a)=>{"use strict";a.d(t,{O:()=>o});var l=a(80263),s=a(97930),i=a(50016);a(53239);var r=a(20645),n=a.n(r);let o=e=>{let{title:t,text:a}=e;return(0,l.jsxs)(s.xA,{className:n().heading,children:[(0,l.jsx)(i.V,{className:n().title,component:"h1",variant:"vividH2",children:t}),a]})}},41974:(e,t,a)=>{"use strict";a.d(t,{D:()=>h});var l=a(80263),s=a(97930),i=a(50016),r=a(76995),n=a(3638),o=a(53239),c=a(3128),u=a.n(c);let d=(e,t)=>void 0!==e&&Array.isArray(t)&&t.includes(e)||e===t,h=o.memo(e=>{let{className:t,buttonClassName:a,id:o,initialValue:c,options:h,prefetch:m,selectionType:p,value:g,onChange:x,onGetItemHref:y,variant:v="primary"}=e,b=g?h.findIndex(e=>d(e.value,g)):-1;return(0,l.jsx)("div",{className:t,id:o,children:(0,l.jsx)(r.W,{..."multiple"===p?{initialValue:c,multiple:!0,value:g,onChange:x}:{initialValue:c,value:g,onChange:x},children:(0,l.jsx)(s.xA,{autoColumns:"basic"===v?"auto":"1fr",autoFlow:"column",horizontalSpacing:"basic"===v?1.5:.5,children:h.map((e,t)=>(0,l.jsx)(r.f,{"aria-selected":("cumulative"===p?t<=b:d(e.value,g))||void 0,className:(0,n.A)(u()[`button--${v}`],a),href:y?.(e.value),prefetch:m,shape:"square",size:"small",value:e.value,children:(0,l.jsx)(i.V,{variant:"body2",children:e.text??`${e.value}`})},`${e.value}`))})})})});h.displayName="MultiToggle"},42173:(e,t,a)=>{"use strict";a.d(t,{t:()=>g});var l=a(80263),s=a(8650),i=a(61528),r=a(13463),n=a(65963),o=a(27518),c=a.n(o),u=a(61469),d=a(53239),h=a(13380),m=a(8259),p=a(18067);let g=e=>{let{baseCanonicalUrl:t,children:a,fields:o,microdata:g,noHreflang:x,noOtherLocales:y,pageName:v,robots:b}=e,{cookieData:f}=(0,h.iT)(),{defaultLocale:j,locale:C,supportedLocales:_}=(0,r.c3)(),{asPath:I}=(0,u.useRouter)(),k=y?void 0:_?.filter(e=>e!==C&&s.Y[e]&&!s.Y[e].uncrawlable),P=(0,p.Z)({fields:o,locale:C,pageName:v,path:I}),F=t&&C&&C!==j&&!x?`/${C}${t}`:t,S=(0,n.j)(F?.startsWith("/")?(0,m.MX)(F):F,"/"),N=C&&s.Y[C]?.uncrawlable?"none":b;return(0,d.useEffect)(()=>{f.hasDebugSet&&console.debug(["Canonical URL: %s","Metaplaceholders: %O","Microdata: %O","Page name: %s","Title: %s","H1: %s","Description: %s","Image: %s"].join(n.Dg),S,o,g,v,P.title,P.h1Title,P.metaTagValues.description,P.metaTagValues["og:image"])},[f.hasDebugSet,S,o,g,v,P.title,P.h1Title,P.metaTagValues.description,P.metaTagValues["og:image"]]),(0,l.jsxs)(c(),{children:[N&&(0,l.jsx)("meta",{content:N,name:"robots"}),(0,l.jsx)("title",{children:P.title}),Object.entries(P.metaTagValues).map((e,t)=>{let[a,s]=e;return s?(0,l.jsx)("meta",{content:s,name:a},t):null}),S&&(0,l.jsx)("link",{href:S,hrefLang:x?void 0:C,rel:"canonical"}),void 0===t||x?null:k?.map(e=>(0,l.jsx)("link",{href:(0,n.j)((0,m.MX)(e===j?t:`/${e}${t}`),"/"),hrefLang:e,rel:"alternate"},e)),void 0===t||x?null:(0,l.jsx)("link",{href:(0,n.j)((0,m.MX)(t),"/"),hrefLang:"x-default",rel:"alternate"}),g&&(0,l.jsx)(i.AZ,{data:g}),a]})}},49708:(e,t,a)=>{"use strict";a.d(t,{C:()=>x});var l=a(80263),s=a(97930),i=a(92839),r=a(904),n=a(53239),o=a(51571),c=a.n(o),u=a(62907),d=a(78852),h=a(35574),m=a.n(h);let p=n.memo(e=>{let{active:t,href:a,id:s,title:i,icon:r,onClickItem:o}=e,c=(0,n.useCallback)(()=>o(s,!1),[s,o]);return(0,l.jsxs)(u.u,{"aria-selected":t||void 0,className:m().root,href:a,onClick:c,children:[r&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r,{height:20,width:20}),(0,l.jsx)(d.K,{mt:1.5})]}),i]})});p.displayName="IncludeMultiSelectItem";let g={followed:i.lM$,exclusive:i.fLk,purchased:i.N4d,charted:i.THQ,free:i.wEl,"volumo-direct":i.f5q},x=e=>{let{options:t,value:a,onValueChange:i,onGetItemHref:o,...u}=e,d=(0,n.useCallback)(e=>{Array.isArray(a)&&a.includes(e)?i(a.filter(t=>e!==t)):i(a&&a instanceof Array?[...a,e]:[e])},[t,a,i]);return(0,l.jsx)("div",{className:c().root,...u,children:(0,l.jsx)(r.v,{children:(0,l.jsx)(s.xA,{columns:t?.length?t.length<=3?`repeat(${t.length}, 1fr)`:4===t.length?"repeat(2, 1fr)":"repeat(3, 1fr)":"1fr",horizontalSpacing:.5,verticalSpacing:.5,children:t?.map(e=>{let t;return(0,l.jsx)(p,{active:(t=e.value,!!a?.includes(t)),href:o?.(e.value),icon:g[e.value],id:e.value,title:e.text,onClickItem:d},e.value)})})})})}},50033:(e,t,a)=>{"use strict";a.d(t,{i:()=>O});var l=a(80263),s=a(99481),i=a(90244),r=a(67445),n=a(96776),o=a(61528),c=a(78852),u=a(13463),d=a(40377),h=a(10330),m=a(61469),p=a(53239),g=a(50005),x=a(41765),y=a(23618),v=a(26074),b=a(20121),f=a(73690),j=a(42173),C=a(60163),_=a(95925),I=a(56678),k=a(26009),P=a(90737),F=a(13950),S=a(51143),N=a(60867),T=a(54923),A=a(40581),B=a(35796),M=a(18067),w=a(5320),L=a(289
167),R=a(87514),V=a(88117),D=a(10836),E=a.n(D);let O=e=>{let{fetchParamDefaults:t,playlistType:a,pathname:D}=e,{locale:O,t:G}=(0,u.c3)(),{isLoggedIn:q}=(0,S.IE)(),H=(0,B.EL)(t),U=(0,B.Yz)(t,D),$=(0,B.fB)(t,D),z=(0,B.vM)(H),{showUnlimitedCounters:K,onCountersClick:X,resolveCountersTotal:W,stats:{data:{total:Y}={}}}=(0,w.O)(z,e=>(0,F.Xu)(H,e)),Z=void 0!==H.search,J=(0,F.J$)(H),{data:Q}=(0,P.IJ)(),ee=(0,p.useCallback)(e=>{J.fetchNextPage&&!J.isFetching&&Y&&e<Y&&J.fetchNextPage()},[Y,J.isFetching]);(0,n.I)(()=>{q||U({...H,include:H.include?.filter(e=>"followed"!==e)})},[q]);let et=H.genres?.length===1?Q?.find(e=>e.id===H.genres?.[0]):void 0,{data:ea}=(0,N.M8)(et?.slug??"",O,!!et),el=(0,p.useMemo)(()=>(0,N.zJ)(ea,et,O),[ea,et]),es=(0,p.useMemo)(()=>({genres:e=>Q&&(0,i.ap)(Q,H.genres,e),genreTitle:et?.name,paginationText:(0,A.UF)(Y??0,B.N4.PlaylistShorts,H.pageIndex),include:H.include?.includes("volumo")?G("Volumo"):H.include?.includes("community")?G("Community"):void 0}),[Y,H,et]),ei=!(0,d.bD)(t,H),{sortBy:er,...en}=H,{sortBy:eo,...ec}=t,eu=!(0,d.bD)(ec,en),ed=et?"chart"===a?"featured"===H.curation?"genreChartListFeatured":"curated"===H.curation?"genreChartListCurated":"genreChartList":"genrePlaylistList":"chart"===a?"featured"===H.curation?"chartListFeatured":"curated"===H.curation?"chartListCurated":"chartList":"playlistList",eh=(0,T.UV)(G),{asPath:em}=(0,m.useRouter)(),{h1Title:ep}=(0,M.Z)({pageName:ed,path:em,locale:O,fields:es}),eg=(0,p.useMemo)(()=>[eh.Root,"chart"===a?eh.ChartsMainPage:eh.PublicPlaylists,H.genres?.length&&{href:$({genres:H.genres}),notranslate:!0,text:(0,T.J3)(H.genres,Q,G)},(0,T.df)(H.curation&&"all"!==H.curation&&H.include?[...H.include,H.curation]:H.include,G)].filter(h.vN),[H,Q,eh]),ex=et?(0,l.jsx)(x.O,{text:el?.description??"",title:ep??et.name}):"rotation"===H.category?(0,l.jsx)(x.O,{text:(0,I.bh)(G).text,title:ep??(0,I.bh)(G).title}):"focus"===H.category?(0,l.jsx)(x.O,{text:(0,I.kT)(G).text,title:ep??(0,I.kT)(G).title}):null;return(0,l.jsx)(v.K,{applyFetchParams:U,fetchParamDefaults:t,fetchParams:H,formatFetchParams:$,pathname:D,type:"playlist",children:(0,l.jsxs)(L.B,{allowExtraBottomSpace:!1,topLine:(0,l.jsx)(g.I,{lastElementH1:!et,metaFields:es,pageName:ed,values:eg}),children:[(0,l.jsx)(j.t,{baseCanonicalUrl:$(H),fields:es,microdata:(0,o.Oq)(eg),pageName:ed}),Z&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c.K,{mt:2}),(0,l.jsx)(C.w,{fetchParams:H,tabId:"chart"===a?"charts":"playlists"}),(0,l.jsx)(c.K,{mt:3})]}),ex&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c.K,{mt:2}),ex,(0,l.jsx)(c.K,{mt:1})]}),eu&&(0,l.jsxs)(l.Fragment,{children:[ex&&(0,l.jsx)(r.c,{variant:"zero"}),(0,l.jsx)(c.K,{mt:1.5}),(0,l.jsx)(b.l,{applyFilters:U,currentValues:H,filterGroups:V.u,itemType:"chart"===a?"chart":"playlist",unrestrictedValues:t}),(0,l.jsx)(c.K,{mt:1.5}),(0,l.jsx)(r.c,{variant:"zero"})]}),!Z&&(0,l.jsx)(y.xv,{playlistsTotal:W(Y),playlistType:a,showUnlimitedCounters:K,onCountersClick:X}),(0,l.jsx)(c.K,{mt:3}),""!==H.search&&(0,l.jsx)(V.g,{contextPath:"chart"===a?"charts":"playlists",headingLevel:2,listClassName:E().playlists,loading:J.isFetching,placeholder:ei?(0,l.jsx)(s.b,{headingComponent:"h2",children:!J.isFetching&&(0,l.jsx)(_.R,{query:H.search,type:a,onApply:e=>U({...H,search:e})})}):(0,l.jsx)(R.L,{info:"chart"===a?(0,k.sy)(G):(0,k.X3)(G)}),playlists:J.data?.items,playlistsTotal:Y,readOnly:!0,requestMoreItems:ee}),(0,l.jsx)(f.F,{applyFetchParams:U,playlistType:a})]})})}},51571:e=>{e.exports={root:"IncludeMultiSelect_root__Fyzgs"}},52293:e=>{e.exports={button:"IncludeOperatorMultiToggleFilter_button__Albor"}},60163:(e,t,a)=>{"use strict";a.d(t,{w:()=>P});var l=a(80263),s=a(99481),i=a(70719),r=a(12556),n=a(96776),o=a(92839),c=a(62546),u=a(78852),d=a(65714),h=a(40821),m=a(13463),p=a(43138),g=a(61469),x=a.n(g),y=a(53239),v=a(11182),b=a(18942),f=a(29364),j=a(13950),C=a(42398),_=a(35796),I=a(65961),k=a.n(I);let P=y.memo(e=>{let{fetchParams:t,tabId:a}=e,{t:g}=(0,m.c3)(),{isAboveMd:I}=(0,r.yU)(),{traceUiEvent:P}=(0,v.vs)(),F=(0,y.useRef)(null),S=t?.search,N=g("albums"===a||"tracks"===a?"Start t
1yping a track or album title, or an artist or label name to see results.":"artists"===a?"Start typing an artist name to see results.":"labels"===a?"Start typing a label name to see results.":"Start typing a chart or track title, or an artist or label name to see results."),T=(0,y.useState)(_.kl)[0],A=(0,y.useState)(_.sc)[0],B=(0,y.useState)(_._M)[0],M=(0,y.useState)(_.Ze)[0],w="albums"===a?t:B,L="tracks"===a?t:M,R="artists"===a?t:_.Tz,V="labels"===a?t:_.Tz,D="charts"===a?t:T,E="playlists"===a?t:A,O=(0,b.Cg)({...w,search:S},!1,!!S),G=(0,C.mQ)({...L,search:S},!1,!!S),q=(0,j.Xu)({...D,search:S},!1,!!S),H=(0,j.Xu)({...E,search:S},!1,!!S),U=(0,f.Uc)("artist",{...R,isPublic:!0,search:S},!1,!!S),$=(0,f.Uc)("recordlabel",{...V,isPublic:!0,search:S},!1,!!S),z=!O.isFetching&&!q.isFetching&&!G.isFetching&&!U.isFetching&&!H.isFetching&&!$.isFetching;(0,n.I)(()=>{S&&z&&P("search",{value:S,results:{albums:O.data?.albums_total,charts:q.data?.total,tracks:G.data?.tracks_total,artists:U.data?.total,playlists:H.data?.total,recordlabels:$.data?.total}})},[z]),(0,y.useEffect)(()=>{let e=F.current;if(e){let t="search page tabs x",a=sessionStorage.getItem(t);a&&(e.scrollLeft=Number(a));let l=()=>{sessionStorage.setItem(t,`${e.scrollLeft}`)};return e.addEventListener("scroll",l,{passive:!0}),()=>{e.removeEventListener("scroll",l)}}},[]);let K=(0,y.useCallback)((e,t,a)=>(0,l.jsx)(h.P,{isLoading:t,isTabSelected:a,children:e}),[]);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c.E,{controlledWhenFocused:!0,initialValue:S,placeholder:"Search",onSearch:e=>{x().replace((0,p.Y9)(x().asPath,"search","artists"===a||"labels"===a?e||void 0:e))}}),S?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(u.K,{mt:3}),(0,l.jsx)(d.u,{className:k().tabSwitch,innerRef:F,itemClassName:k().tabSwitchItem,items:[{href:(0,i.U7)("albums",S),icon:o._YD,id:"albums",title:g("Albums"),renderBadge:e=>K(O.data?.albums_total||0,O.isFetching,e)},{href:(0,i.U7)("tracks",S),icon:o._l2,id:"tracks",title:g("Tracks"),renderBadge:e=>K(G.data?.tracks_total||0,G.isFetching,e)},{href:(0,i.U7)("charts",S),icon:o.THQ,id:"charts",title:g("Charts"),renderBadge:e=>K(q.data?.total||0,q.isFetching,e)},{href:(0,i.U7)("artists",S),icon:o.CAy,id:"artists",title:g("Artists"),renderBadge:e=>K(U.data?.total||0,U.isFetching,e)},{href:(0,i.U7)("labels",S),icon:o.jYX,id:"labels",title:g("Labels"),renderBadge:e=>K($.data?.total||0,$.isFetching,e)},{href:(0,i.U7)("playlists",S),icon:o.JR6,id:"playlists",title:g("Public playlists"),renderBadge:e=>K(H.data?.total||0,H.isFetching,e)}],justifyContent:"flex-start",nowrap:!0,selectedId:a}),I&&(0,l.jsx)(u.K,{mt:3})]}):""===S?(0,l.jsx)(s.b,{emptyPlaceholderDescription:N,headingComponent:"h1"}):null]})});P.displayName="SearchBlock"},61528:(e,t,a)=>{"use strict";a.d(t,{vS:()=>n,AZ:()=>i,bE:()=>r,Oq:()=>o});var l=a(80263),s=a(53239);let i=e=>{let{data:t}=e,a=(0,s.useMemo)(()=>JSON.stringify(t).replace(/</g,"\\u003c"),[t]);return(0,l.jsx)("script",{dangerouslySetInnerHTML:{__html:a},type:"application/ld+json"})},r="https://schema.org/",n="https://schema.org/DigitalFormat",o=e=>{if(e)return{"@context":r,"@type":"BreadcrumbList",itemListElement:e.map((e,t)=>({"@type":"ListItem",position:t+1,item:{"@id":e?.href??void 0,name:e.text,image:e.image,"@type":e.type,description:e.description}}))}}},64966:e=>{e.exports={root:"PlaylistEmptyPlaceholder_root__ssWYv",icon:"PlaylistEmptyPlaceholder_icon__yebMW",title:"PlaylistEmptyPlaceholder_title__0yiXs",text:"PlaylistEmptyPlaceholder_text__5Igqa",button:"PlaylistEmptyPlaceholder_button__wdrX8"}},65714:(e,t,a)=>{"use strict";a.d(t,{u:()=>o});var l=a(80263),s=a(3638);a(53239);var i=a(4624),r=a.n(i),n=a(85745);let o=e=>{let{className:t,disabled:a,innerRef:i,items:o,itemClassName:c,justifyContent:u="center",nowrap:d,selectedComponent:h,selectedId:m,variant:p="standard",onClick:g}=e;return(0,l.jsx)("div",{className:(0,s.A)(r().root,r()[`root--${p}`],d&&r().nowrap,t),ref:i,role:"tablist",style:{justifyContent:u},children:o?.map(e=>{let t=void 0!==e.id&&e.id===m;return(0,l.jsx)(n.Y,{className:(0,s.A)(c),component:t?h:void 0,disabled:a,href:e.href,icon:e.icon,isSelected:t,renderBadge:e.renderBadge,stretch:"stretch"===u,tabId:e.id,title:e.title,variant:p,onClick:t=>{e.onClick?.(t),g?.(t)}}
1,`${e.id||e.href||e.title}`)})})}},65961:e=>{e.exports={tabSwitch:"SearchBlock_tabSwitch__8qs_t",tabSwitchItem:"SearchBlock_tabSwitchItem__wU14R"}},73690:(e,t,a)=>{"use strict";a.d(t,{F:()=>A});var l=a(80263),s=a(13463),i=a(53239),r=a(26074),n=a(68586),o=a(44324),c=a(51143),u=a(24282),d=a(40377),h=a(6750),m=a(56331),p=a(12175),g=a(16844),x=a(89349),y=a(21383),v=a(41974),b=a(78852),f=a(45856),j=a(85),C=a(14787),_=a.n(C);let I=i.memo(e=>{let{onGetItemHref:t}=e,{t:a}=(0,s.c3)(),{setValue:i,value:r}=(0,f.t)("include");return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(v.D,{buttonClassName:_().button,options:(0,j.HK)(a),prefetch:!1,selectionType:"single",value:r?.includes("community")||r?.includes("volumo")?r:"all",onChange:e=>i(r?.includes("followed")?"all"===e?["followed"]:[e,"followed"]:"all"===e?[]:[e]),onGetItemHref:t}),(0,l.jsx)(b.K,{mt:2})]})});I.displayName="VolumoOrCommunityOrAllToggleFilter";var k=a(27509),P=a(31565),F=a(669),S=a(13950),N=a(41596);let T=e=>{let{autoApply:t,playlistType:a,hideCurationFilter:n,relevantGenreIds:v}=e,{t:b}=(0,s.c3)(),{isLoggedIn:f}=(0,c.IE)(),{currentValues:C,setCurrentValues:_}=(0,i.useContext)(o.t),{fetchParamDefaults:T,fetchParams:A,formatFetchParams:B}=(0,i.useContext)(r.M),{data:M}=(0,S.jS)(A,!0),[w,L]=(0,i.useState)(!1),{data:R,isFetching:V}=(0,S.ph)(A,w),D=(0,i.useMemo)(()=>(0,j.Vz)(f,b),[f]),{handleGetGenreHref:E,handleGetIncludeHref:O,handleGetIncludeOnlyHref:G,handleGetIncludeOperatorHref:q,handleGetCurationHref:H,handleGetVolumoOrCommunityOrAllHref:U}=(0,m.g)(A,T,B),$=(0,i.useMemo)(()=>(0,d.$7)(C,T),[C,T]),z=(0,i.useCallback)(e=>{let t={};e.forEach(e=>{t[e]=T[e]}),_(e=>({...e,...t}))},[T]),{timeRange:K,genres:X,advanced:W,curation:Y}="chart"===a?(0,u.WB)(b):(0,u.oE)(b,f);return(0,l.jsxs)(F.C,{children:[K&&(0,l.jsx)(k.k,{isDisabledResetButton:!(0,u.kR)(K.fields,$),title:K.title,onReset:()=>z(K.fields),children:(0,l.jsx)(g.F,{loadingDotColors:V,name:"publishedDateRange",presets:(0,N.Tl)((0,h.sD)(),b),onDotColorRequest:e=>R?.[(0,h.Xx)(e)]?"var(--base-accent-ordinary__color)":void 0,onPopupVisibilityChanged:L})}),"chart"===a&&Y&&!n&&(0,l.jsx)(k.k,{isDisabledResetButton:!(0,u.kR)(Y.fields,$),title:Y.title,onReset:()=>z(Y.fields),children:(0,l.jsx)(p.n,{itemType:"chart",onGetItemHref:t?H:void 0})}),X&&(0,l.jsx)(k.k,{isDisabledResetButton:!(0,u.kR)(X.fields,$),title:X.title,onReset:()=>z(X.fields),children:(0,l.jsx)(x.D,{loadingDotColors:!M,name:"genres",relevantGenreIds:v,onDotColorRequest:e=>M?.includes(e)?"var(--base-accent-ordinary__color)":void 0,onGetItemHref:t?E:void 0})}),W&&(0,l.jsxs)(k.k,{isDisabledResetButton:!(0,u.kR)(W.fields,$),title:W.title,onReset:()=>z(W.fields),children:["chart"===a&&(0,l.jsx)(I,{onGetItemHref:t?U:void 0}),D.length>0&&(0,l.jsx)(y.y,{itemType:a,name:"include",options:D,onGetIncludeOperatorHref:t?q:void 0,onGetItemHref:t?O:void 0,onGetItemOnlyHref:t?G:void 0})]}),!(0,d.Im)($)&&(0,l.jsx)(P.v,{defaultValues:T,itemType:a,values:$,onDeleteClick:_})]})},A=e=>{let{autoApply:t,playlistType:a,applyFetchParams:d,hideCurationFilter:h,relevantGenreIds:m}=e,{t:p}=(0,s.c3)(),{isLoggedIn:g}=(0,c.IE)(),{applyFetchParams:x,fetchParamDefaults:y,fetchParams:v}=(0,i.useContext)(r.M),b=(0,i.useRef)(void 0),f=(0,i.useCallback)(()=>b.current?.apply(),[]),j=(0,i.useCallback)(()=>(d??x)(y),[d,x,y]),C=(0,i.useMemo)(()=>({..."chart"===a?(0,u.WB)(p):(0,u.oE)(p,g),...h&&{curation:void 0}}),[a,p,g,h]),_=(0,i.useCallback)(()=>C,[C]),I=(0,i.useCallback)(()=>(0,l.jsx)(T,{autoApply:t,hideCurationFilter:h,playlistType:a,relevantGenreIds:m}),[t,h,a,m]);return(0,l.jsx)(o.B,{autoApply:t,defaultValues:y,filtersRef:b,initialValues:v,onApply:d??x,children:(0,l.jsx)(n.X3,{fetchParamDefaults:y,fetchParams:v,getPanelGroups:_,renderPopupContents:I,onApplyClick:f,onResetClick:j})})}},76995:(e,t,a)=>{"use strict";a.d(t,{f:()=>h,W:()=>u});var l=a(80263),s=a(53239),i=a(57975),r=a(40377),n=a(37247);let o=s.createContext({addValue(){},removeValue(){},value:void 0});o.displayName="ToggleButtonContext";let c=e=>{let{children:t,initialValue:a,multiple:c,value:u,onChange:d}=e,[h,m]=(0,s.useState)(a??u);(0,i.T)(h,(e,t)=>{(0,r.bN)(t,u)||d?.(t)}),(0,i.T)(u,(e,t)=>{(0,r.bN)(e,t)||m(u)});let p=(0,s.useCallback)(e=>{c?m(t=>[...(0,n.eC)(t),e]):m(e)},[c]),g=(0,s.useCallback)(e=>{c?m(t=>(0,n.eC)(t).filter(t=>t!==e)):m(t=>e===t?void 0:e)},[c]);return(0,l.jsx)(o.Provider,{value:{addValue:p,removeValue:g,value:h},children:t})},u=e=>{let{children:t,initialValue:a,multiple:s,value:i,onChange:r}=e;return(0,l.jsx)(c,{initialValue:a,multiple:s,value:i,onChange:r,children:t})};var d=a(94386);let h=e=>{let{addValue:t,removeValue:a,value:i}=(0,s.useContext)(o),r=(0,s.useCallback)(l=>{Array.isArray(i)&&i.includes(e.value)?a(e.value):t(e.value),e.onClick?.(l)},[t,a,i,e.value,e.onClick]),n=Array.isArray(i)&&i.includes(e.value)||i===e.value;return(0,l.jsx)(d.$,{...e,muted:e.muted??!n,onClick:r})}},87514:(e,t,a)=>{"use strict";a.d(t,{L:()=>o});var l=a(80263),s=a(50016),i=a(3638);
1a(53239);var r=a(64966),n=a.n(r);let o=e=>{let{info:t,className:a}=e;return(0,l.jsxs)("div",{className:(0,i.A)(n().root,a),children:[t.icon?(0,l.jsx)("div",{className:n().icon,children:(0,l.jsx)(t.icon,{})}):null,(0,l.jsx)(s.V,{className:n().title,variant:"h3",children:t.title}),(0,l.jsx)(s.V,{className:n().text,variant:"body2",children:t.text})]})}},88117:(e,t,a)=>{"use strict";a.d(t,{g:()=>D,u:()=>R});var l=a(80263),s=a(27394),i=a(51868),r=a(60719),n=a(99481),o=a(12556),c=a(96776),u=a(1985),d=a(13463),h=a(3638),m=a(53239),p=a(4175),g=a(26074),x=a(6135),y=a(1956),v=a(25366),b=a(16516),f=a(95925),j=a(26009),C=a(51143),_=a(35796),I=a(63874),k=a(801),P=a(25806),F=a(87514),S=a(95041),N=a(65425),T=a(1090),A=a(55241);let B=(e,t)=>`${e}/playlist-${t.id}`,M=e=>{let{active:t,contextPath:a,headerClassName:s,headingLevel:i,highlightedText:n,index:c,playerRef:u,playing:d,playlistShort:h,priorityGenreIds:m,readOnly:p,style:g,onClose:x,onCoverClick:y,onPlayNext:b}=e,{isBelowSm:f}=(0,o.yU)(),{activePlaylist:j}=(0,v.At)(t?h.id:void 0),C=B(a,h),_=(0,r.kz)(C);return(0,A.$)(C,h.id,y),(0,l.jsxs)("div",{style:g,..._,"data-test-id":"list-playlist",children:[(0,l.jsx)(T.e,{..._,canEditImage:!1,className:s,eagerLoading:c<2,headingLevel:i,highlightedText:n,imageVariant:f?"medium":"small",playing:d,playlist:h,priorityGenreIds:m,readOnly:p,showGoToPlaylistButton:!0,onCoverClick:y}),(0,l.jsx)(S.m,{duration:200,expanded:!!t&&!!j&&!!y,retainContentWhileCollapsing:!0,children:t&&j&&y?(0,l.jsx)(N.I,{canStickPlayer:!1,contextPath:B(a,j),highlightedText:n,innerRef:u,playlist:j,onClose:x,onPlayNext:b},j.id):null})]})};var w=a(10748),L=a.n(w);let R={"Artist or Label":["contributor"],User:["account"],"Published date range":["publishedDateRange"],"Created date range":["createdDateRange"],Genres:["genres"],Include:["include"],"Search query":["search"],Curation:["curation"]},V=(e,t)=>`${e}/playlist-${t.id}`,D=e=>{let{contextPath:t,headingLevel:a,loading:S,playlistsTotal:N,playlists:T,placeholder:A,readOnly:B,requestMoreItems:w,listClassName:D,openFirstPlaylist:E,canShowPlayer:O=!0}=e,{t:G}=(0,d.c3)(),{applyFetchParams:q,fetchParamDefaults:H,fetchParams:U,formatFetchParams:$}=(0,m.useContext)(g.M),{isBelowSm:z,isAboveMd:K}=(0,o.yU)(),{isLoggedIn:X}=(0,C.IE)(),W=(0,P.e)(),Y=(0,I.O)(t),{playbackServer:Z}=(0,m.useContext)(r.TG),[J,Q]=(0,m.useState)(void 0),ee=Z.getActiveInstance(),et=(0,m.useRef)(null),ea=(0,k.H)();(0,m.useEffect)(()=>{T?.[0]&&E&&T[0].total_tracks_count&&Q(T[0].id)},[T]),(0,c.I)(()=>{ee?.instanceId&&Q(T?.find(e=>ee?.instanceId?.startsWith(V(t,e)))?.id)},[ee?.instanceId]);let el=(0,m.useMemo)(()=>T?.find(e=>ee?.instanceId?.startsWith(V(t,e))),[T,ee?.instanceId]),es=el?.id??J,{activePlaylist:ei}=(0,v.At)(es),er=ei?.tracks.length,en=(0,m.useCallback)(e=>{let a=z?i.ps.playlistHeader.belowSm+((0,s.jX)(e.item)&&"rejected"===e.item.state?16:0):K?i.ps.playlistHeader.aboveMd+((0,s.jX)(e.item)&&"rejected"===e.item.state?24:0):i.ps.playlistHeader.aboveSmBelowMd+((0,s.jX)(e.item)&&"rejected"===e.item.state?24:0);return O&&(el?e.item.id===el?.id:e.item.id===J)&&(a+=ea({contextPath:V(t,e.item),tracksCount:er??e.item.total_tracks_count})+16*!!z),a},[z,K,O,J,el,t,er,ea]),eo=(0,m.useCallback)(async(e,a)=>{let l=T?.find(t=>t.id===e);l&&(l.id===el?.id&&Z.isPlaying?(Z.triggerPlayback(void 0),Q(void 0)):W({contextPath:V(t,l),trackBucket:l,trackBucketRef:et,playFrom:a}))},[t,T,W]),ec=(0,m.useCallback)(()=>{Y(),Q(void 0)},[Y]),eu=(0,m.useCallback)(e=>{let t=T?.[e+1];t&&eo(t.id)},[T,eo]),ed=e=>el?e===el.id:!!O&&e===J,eh=e=>!!Z.isPlaying&&Z.getActiveInstance()?.contextPath?.startsWith(V(t,e));return(0,r.l)({contextPath:t,shouldUpdateOnSameInstance:!0}),(0,l.jsx)(u.p,{className:D,data:T,isBlocking:!1,isLoading:S,loader:[...Array(6).keys()].map(e=>(0,l.jsx)(p.Cj,{},e)),spacing:"none",children:e=>X&&!U?.pageIndex?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(i.$L,{batchSize:_.N4.PlaylistShorts,emptyPlaceholder:A??(0,l.jsx)(F.L,{info:(0,j.X3)(G)}),inDomGap:50,items:e,loading:S,renderComponent:(s,i)=>{let{index:r,key:n,style:o}=i;return(0,l.jsx)(M,{active:ed(s.id),contextPath:t,headerClassName:(0,h.A)(L().item,!ed(s.id)&&L().inactive),headingLevel:a,highlightedText:U.search,index:r,playerRef:et,playing:eh(s),playlistShort:s,priorityGenreIds:U?.genres,readOnly:B,style:{...o,transition:"0.2s"},onClose:ec,onCoverClick:O&&s.total_tracks_count?eo:void 0,onPlayNext:r<e.length-1?()=>eu(r):void 0},n)},requestMoreItems:w,totalCount:N,onComputeItemHeight:en}),!S&&void 0!==N&&e.length===N&&(0,l.jsx)(x.N,{applyFilters:q,currentValues:U,filterGroups:R,itemType:"playlist",unrestrictedValues:H})]}):(0,l.jsxs)(l.Fragment,{children:[e.length?e.map((s,i)=>(0,l.jsx)(M,{active:ed(s.id),contextPath:t,headerClassName:(0,h.A)(L().item,L().paginatedItem,!ed(s.id)&&L().inactive),headingLevel:a,highlightedText:U.search,index:i,playerRef:et,playing:eh(s),playlistShort:s,priorityGenreIds:U?.genres,readOnly:B,onClose:ec,onCoverClick:O&&s.total_tracks_count?eo:void 0,onPlayNext:i<e.length-1?()=>eu(i):void 0},s.id)):(0,l.jsx)(n.b,{headingComponent:"h2",children:!S&&(0,l.jsx)(f.R,{query:U.search,type:U.type,onApply:e=>q({...U,search:e})})}),!S&&q&&U&&H&&(0,l.jsx)(y.X,{applyFilters:q,currentValues:U,filterGroups:R,itemType:"playlist",pageSize:_.N4.PlaylistShorts,totalCount:N,unrestr
1ictedValues:H}),U&&$&&(0,l.jsx)(b.d,{allowPageIndexOutOfRange:!!e.length,getPageUrl:e=>$({...U,pageIndex:e}),pageIndex:U.pageIndex,pageSize:_.N4.PlaylistShorts,totalCount:N})]})})}},88703:e=>{e.exports={root:"CurationMultiSelect_root__Nt2hf",buttons:"CurationMultiSelect_buttons__y0TOl",buttonBase:"CurationMultiSelect_buttonBase__rEuUp"}}}]);

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.