1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4880],{16173:(e,l,a)=>{a.d(l,{A:()=>n});var r=a(43597),t=a.n(r);class n{static fromQueryParameters({t:e="",r:l,s:a,fm:r,to:s,a:i=null,c:o=null,g:d=null,l:c="false",f:u=null,p:g,loc:b=null}){let h=new n;h.t=e,["INCLUDE","EXCLUDE","ONLY"].includes(l)&&(h.r=l),["RELEVANCE","DESCENDING","ASCENDING"].includes(a)&&(h.s=a);let p=t()(r,"YYYY-MM-DD");p.isValid()&&(h.fm=p);let m=t()(s,"YYYY-MM-DD");return m.isValid()&&(h.to=m),h.a=i?parseInt(i):null,h.c=o,h.g=d,h.l="true"===c,h.f=u,h.loc=b,["AUDIO","VIDEO"].includes(g)&&(h.p=g),h}static fromFormParameters({t:e="",r:l,s:a,fm:r=null,to:s=null,a:i=null,c:o=null,g:d=null,l:c,f:u=null,p:g,loc:b=null}){let h=n.fromQueryParameters({t:e,r:l,s:a,a:i,c:o,g:d,l:c?"true":"false",p:g});return h.f=u?.value??null,t()(r).isValid()&&(h.fm=r),t()(s).isValid()&&(h.to=s),h.loc=b,h}getQuery(){let e={};for(let[l,a]of Object.entries(new n))this[l]!==a&&(e[l]=this[l]);return e.fm instanceof t()&&(e.fm=e.fm.format("YYYY-MM-DD")),e.to instanceof t()&&(e.to=e.to.format("YYYY-MM-DD")),e}constructor(){this.t="",this.r="INCLUDE",this.s="DESCENDING",this.fm=null,this.to=null,this.a=null,this.c=null,this.g=null,this.l=!1,this.f=null,this.p="ALL",this.loc=null}}},39634:(e,l,a)=>{a.d(l,{Ay:()=>E});var r=a(60072),t=a(60004),n=a(84015),s=a(28481);a(34155);var i=a(83877),o=a(39956),d=a(47706),c=a.n(d),u=a(57608),g=a(34834),b=a(40594),h=a(32455),p=a(89434),m=a(66160),x=a(91429),A=a(78497),f=a(58616),S=a(87023),y=a(65183),v=a(77810),j=a(35752);function D({language:e,artists:l,composers:a,labelArtist:t,labelComposers:i,labelReleases:d,labelReleasesFuture:c,labelReleasesAll:R,labelReleasesPublished:C,labelSorting:I,labelSortingAscending:F,labelSortingDescending:P,labelSortingRelevance:q,labelDateFrom:G,labelDateTo:T,labelGenre:L,labelGenreOrchestra:O,labelGenreChamber:M,labelGenreKeyboard:V,labelGenreVocal:E,labelGenreChoral:k,labelGenreOperaDramatic:w,labelGenreSoundtrack:N,labelGenreSolo:B,labelGenreConcerto:$,labelAllLabels:Y,labelTypes:z,labelTypesAll:_,labelTypesAudio:H,labelTypesVideo:U,labelFormat:J,labelFormatProduct:K,labelFormatStreaming:Q,labelFormatDownload:W,buttonText:X,control:Z,artistInputDisabled:ee=!1,defaultValues:{defaultFormat:el=null,defaultReleases:ea="INCLUDE",defaultSorting:er="DESCENDING",defaultFrom:et=null,defaultTo:en=null,defaultArtist:es=null,defaultComposer:ei=null,defaultGenre:eo=null,defaultProductFamily:ed=null,defaultLabels:ec=!1}={}}){let eu=(0,f.A)(),eg=(0,j.c)(),eb=[{label:R,value:"INCLUDE"},{label:C,value:"EXCLUDE"},{label:c,value:"ONLY"}],eh=[{label:O,value:"1406"},{label:M,value:"1408"},{label:V,value:"3092"},{label:E,value:"3657"},{label:k,value:"1401"},{label:w,value:"1404"},{label:N,value:"3659"},{label:B,value:"3661"},{label:$,value:"3663"}],ep=[{label:P,value:"DESCENDING"},{label:F,value:"ASCENDING"},{label:q,value:"RELEVANCE"}],em=[{label:_,value:"ALL"},{label:H,value:"AUDIO"},{label:U,value:"VIDEO"}],ex=[{label:"BDA",value:"2620",category:K},{label:"BDV",value:"156",category:K},{label:"CD",value:"150",category:K},{label:"CD + DVD",value:"4662",category:K},{label:"CD + BDA",value:"4659",category:K},{label:"CD + BDA+V",value:"4657",category:K},{label:"CD + BDA + BDV",value:"4669",category:K},{label:"CD + BDV",value:"4664",category:K},{label:"DVD",value:"149",category:K},{label:"LP",value:"152",category:K},{label:"Book",value:"4693",category:K},{label:"Book + CD",value:"4666",category:K},{label:"Book + CD + DVD",value:"4668",category:K},{label:"Score Box",value:"4694",category:K},{label:"SD",value:"CONFIG_SD",category:Q+"/"+W},{label:"HD",value:"CONFIG_HD",category:Q+"/"+W},{label:"ATMOS",value:"CONFIG_ATMOS",category:Q}],eA=(0,S.Ay)("div")(()=>({position:"sticky",top:"-8px",padding:`${v.A.xxsmall} ${v.A.small}`,color:y.A.black,backgroundColor:"lightgray"})),ef=(0,S.Ay)("ul")({padding:0});return(0,r.jsx)(n.$J,{dateAdapter:s.Y,adapterLocale:e,localeText:{clearButtonLabel:eg("Clear"),cancelButtonLabel:eg("Cancel")},children:(0,r.jsxs)(A.A,{container:!0,spacing:3,alignItems:"flex-end",justifyContent:"flex-start",children:[(0,r.jsx)(A.A,{size:{md:6,lg:3,sm:12},children:(0,r.jsx)(o.xI,{name:"r",control:Z,defaultValue:ea,render:({field:{onCh
1ange:e,value:l}})=>(0,r.jsx)(u.A,{options:eb.map(e=>e.value),getOptionLabel:e=>eb.find(l=>l.value===e)?.label??"",onChange:(l,a)=>{e(a)},value:l||null,id:"searchReleases",selectOnFocus:!0,renderInput:e=>(0,r.jsx)(g.A,{...e,label:d,variant:"standard",color:"secondary",sx:{" label.Mui-focused":{color:eu.palette.text.secondary}}})})})}),(0,r.jsx)(A.A,{size:{md:6,lg:3,sm:12},children:(0,r.jsx)(o.xI,{name:"s",defaultValue:er,control:Z,render:({field:{onChange:e,value:l}})=>(0,r.jsx)(u.A,{options:ep.map(e=>e.value),getOptionLabel:e=>ep.find(l=>l.value===e)?.label??"",onChange:(l,a)=>{e(a)},value:l||null,id:"searchSorting",selectOnFocus:!0,renderInput:e=>(0,r.jsx)(g.A,{...e,label:I,variant:"standard",color:"secondary",sx:{" label.Mui-focused":{color:eu.palette.text.secondary}}})})})}),(0,r.jsx)(A.A,{size:{md:6,lg:3,sm:12},children:(0,r.jsx)(o.xI,{name:"fm",control:Z,defaultValue:et,render:({field:{onChange:e,value:l}})=>(0,r.jsx)(x.l,{views:["year","month","day"],value:l||null,orientation:"portrait",label:G,sx:{width:"100%"," label.Mui-focused":{color:eu.palette.text.secondary}},onChange:e,slotProps:{textField:{variant:"standard",color:"secondary",id:"dateFrom"},actionBar:{actions:["accept","clear","cancel"],sx:{button:{color:eu.palette.text.secondary}}}}})})}),(0,r.jsx)(A.A,{size:{md:6,lg:3,sm:12},children:(0,r.jsx)(o.xI,{name:"to",control:Z,defaultValue:en,render:({field:{onChange:e,value:l}})=>(0,r.jsx)(x.l,{views:["year","month","day"],value:l||null,label:T,orientation:"portrait",sx:{width:"100%"," label.Mui-focused":{color:eu.palette.text.secondary}},id:"searchDateTo",onChange:e,slotProps:{textField:{variant:"standard",color:"secondary",id:"dateTo"},actionBar:{actions:["accept","clear","cancel"],sx:{" button":{color:eu.palette.text.secondary}}}}})})}),(0,r.jsx)(A.A,{size:{md:6,lg:3,sm:12},children:(0,r.jsx)(o.xI,{name:"a",control:Z,defaultValue:es?.toString()??null,render:({field:{onChange:e,value:a}})=>(0,r.jsx)(u.A,{options:l.map(e=>e.idRaw.toString()),getOptionLabel:e=>l.find(l=>l.idRaw.toString()===e)?.name??"",onChange:(l,a)=>{e(a)},value:a||null,id:"searchArtists",selectOnFocus:!0,disabled:ee,renderInput:e=>(0,r.jsx)(g.A,{...e,label:t,variant:"standard",color:"secondary",sx:{" label.Mui-focused":{color:eu.palette.text.secondary}}})})})}),(0,r.jsx)(A.A,{size:{md:6,lg:3,sm:12},children:(0,r.jsx)(o.xI,{name:"c",control:Z,defaultValue:ei,render:({field:{onChange:e,value:l}})=>(0,r.jsx)(u.A,{options:a.map(e=>e.idRaw.toString()),getOptionLabel:e=>a.find(l=>l.idRaw.toString()===e)?.name??"",onChange:(l,a)=>{e(a)},value:l||null,id:"searchComposers",selectOnFocus:!0,disabled:ee,renderInput:e=>(0,r.jsx)(g.A,{...e,label:i,variant:"standard",sx:{" label.Mui-focused":{color:eu.palette.text.secondary}}})})})}),(0,r.jsx)(A.A,{size:{md:6,lg:3,sm:12},children:(0,r.jsx)(o.xI,{name:"g",control:Z,defaultValue:eo,render:({field:{onChange:e,value:l}})=>(0,r.jsx)(u.A,{options:eh.map(e=>e.value),getOptionLabel:e=>eh.find(l=>l.value===e)?.label??"",onChange:(l,a)=>{e(a)},value:l||null,id:"searchGenres",selectOnFocus:!0,renderInput:e=>(0,r.jsx)(g.A,{...e,label:L,variant:"standard",color:"secondary",sx:{" label.Mui-focused":{color:eu.palette.text.secondary}}})})})}),(0,r.jsx)(A.A,{size:{md:6,lg:3,sm:12},children:(0,r.jsx)(o.xI,{name:"p",control:Z,defaultValue:ed,render:({field:{onChange:e,value:l}})=>(0,r.jsx)(u.A,{options:em.map(e=>e.value),getOptionLabel:e=>em.find(l=>l.value===e)?.label??"",onChange:(l,a)=>{e(a)},value:l||null,id:"searchType",selectOnFocus:!0,renderInput:e=>(0,r.jsx)(g.A,{...e,label:z,variant:"standard",color:"secondary",sx:{" label.Mui-focused":{color:eu.palette.text.secondary}}})})})}),(0,r.jsx)(A.A,{size:{md:6,lg:3,sm:12},children:(0,r.jsx)(o.xI,{name:"f",control:Z,defaultValue:function(e,l=[]){return e?l.find(({value:l})=>l===e)??null:null}(el,ex),render:({field:{onChange:e,value:l}})=>(0,r.jsx)(u.A,{groupBy:e=>e.category,options:ex,getOptionLabel:e=>e.label,isOptionEqualToValue:(e,l)=>e.value===l.value,onChange:(l,a)=>{e(a)},value:l||null,id:"searchFormat",selectOnFocus:!0,renderInput:e=>(0,r.jsx)(g.A,{...e,label:J,variant:"standard",color:"secondary",sx:{" label.Mui-focused":{color:eu.palette.text.secondary}}}),renderGroup:e=>(0,r.jsxs)("li",{children:[(0,r.jsx)(eA,{children:e.group}),(0,r.jsx)(ef,{children:e.children})]},e.key)})})}),(0,r.jsx)(A.A,{size:{md:6,lg:3,sm:12},children:(0,r.jsx)(o.xI,{control:Z,name:"l",defaultValue:ec,render:({field:{value:e,onCh
1ange:l,...a}})=>(0,r.jsx)(b.A,{control:(0,r.jsx)(h.A,{onChange:l,checked:e,...a}),label:Y,color:"default"})})}),(0,r.jsx)(A.A,{size:{md:12,lg:5,sm:12},sx:{textAlign:"right",justifyContent:"flex-end",marginLeft:v.A.xxlarge},children:(0,r.jsx)(m.om,{iconLeft:p.A,text:X,type:"submit",smallIcon:!0,sx:e=>({paddingLeft:v.A.small,paddingRight:v.A.small,[e.breakpoints.down("md")]:{fontSize:"0.95rem",".icon-left":{marginRight:"0.25rem"}}})})})]})})}D.propTypes={artists:c().array.isRequired,artistInputDisabled:c().bool,composers:c().array.isRequired,control:c().object.isRequired,labelArtist:c().string.isRequired,labelComposers:c().string.isRequired,labelReleases:c().string.isRequired,labelReleasesFuture:c().string.isRequired,labelReleasesAll:c().string.isRequired,labelReleasesPublished:c().string.isRequired,labelSorting:c().string.isRequired,labelSortingAscending:c().string.isRequired,labelSortingDescending:c().string.isRequired,labelSortingRelevance:c().string.isRequired,labelDateFrom:c().string.isRequired,labelDateTo:c().string.isRequired,labelGenre:c().string.isRequired,labelGenreOrchestra:c().string.isRequired,labelGenreChamber:c().string.isRequired,labelGenreKeyboard:c().string.isRequired,labelGenreVocal:c().string.isRequired,labelGenreChoral:c().string.isRequired,labelGenreOperaDramatic:c().string.isRequired,labelGenreSoundtrack:c().string.isRequired,labelGenreSolo:c().string.isRequired,labelGenreConcerto:c().string.isRequired,labelAllLabels:c().string.isRequired,labelTypes:c().string.isRequired,labelTypesAll:c().string.isRequired,labelTypesAudio:c().string.isRequired,labelTypesVideo:c().string.isRequired,labelFormat:c().string.isRequired,labelFormatProduct:c().string.isRequired,labelFormatDownload:c().string.isRequired,labelFormatStreaming:c().string.isRequired,buttonText:c().string.isRequired,defaultValues:c().object};var R=a(22851),C=a(76540),I=a(54289),F=a(64690),P=a(6939);let q=(0,a(32178).A)((0,r.jsx)("path",{d:"M11 18h2v-2h-2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4"}),"HelpOutline");var G=a(4981),T=a(25607),L=a(88336),O=a(72773),M=a(88876);function V({handleSearch:e,artistInputDisabled:l=!1,buttonText:a="",placeholderText:d="",helperText:c="",artists:u=[],composers:g=[],language:b,helpText:h,helpTitle:p,defaultSearchTerm:m="",defaultValues:x={}}){let f=(0,j.c)(),[S,y]=(0,t.useState)(!1),[v,T]=(0,t.useState)(!1),{handleSubmit:E,control:k,resetField:w,setValue:N}=(0,o.mN)(),B=()=>{T(!v)};return(0,r.jsx)(I.w,{isFullWidth:!1,backgroundColor:L.y.white,children:(0,r.jsxs)(C.A,{component:"form",onSubmit:E(e),sx:{marginTop:R.M.medium,marginBottom:R.M.medium},"data-testid":"ProductSearchForm",children:[(0,r.jsx)(i.A,{handleFocus:()=>{y(!0)},placeholderText:d,helperText:c,autoSubmit:!1,showSection:!1,control:k,resetField:w,onChange:e=>{N("s",""===e?"DESCENDING":"RELEVANCE")},defaultSearchTerm:m}),S&&(0,r.jsxs)(A.A,{container:!0,rowSpacing:{xs:3,sm:3,md:3,lg:1},columnSpacing:1,sx:e=>({paddingTop:R.M.medium,[e.breakpoints.up("lg")]:{paddingTop:R.M.xlarge}}),"data-testid":"ProductSearchFilter",children:[(0,r.jsxs)(A.A,{size:{sm:5,md:6,lg:1},order:{sm:1,lg:1},children:[(0,r.jsxs)(P.Bj,{sx:e=>({paddingLeft:"0",paddingRight:"0",[e.breakpoints.up("lg")]:{padding:R.M.xsmall,marginTop:R.M.small},[e.breakpoints.down("lg")]:{"&:hover":{background:"none"}}}),onClick:B,"aria-label":f("ProductSearch.FilterHelpButton"),children:[(0,r.jsx)(q,{}),(0,r.jsx)(C.A,{sx:e=>({paddingLeft:R.M.xxsmall,display:"inline-block",verticalAlign:"middle",[e.breakpoints.up("lg")]:{display:"none"}}),children:f("ProductSearch.FilterHelp")})]}),(0,r.jsxs)(O.A,{fullScreen:!0,open:v,onClose:B,scroll:"body",slotProps:{paper:{"aria-label":f("How to use the filters in the catalogue search form"),sx:{backgroundColor:L.y.white_with_alpha}}},children:[(0,r.jsx)(M.A,{onCloseButtonClick:B}),(0,r.jsx)(I.w,{title:p,isFullWidth:!1,children:(0,r.jsx)(G.A,{variant:"textbox",as:"div",dangerouslySetInnerHTML:{__html:h}})})]})]}),(0,r.jsx)(A.A,{size:{sm:12,lg:10},order:{sm:3,lg:2},children:(0,r.jsx)(n.$J,{dateAdapter:s.Y,adapterLocale:b,localeText:{clearButtonLabel:f("Clear"),cancelButtonLabel:f("Cancel")},children:(0,r.jsx)(D,{language:b,control:k,artists:u,artistInputDisabled:l,composers:g,labelArtist:f("Artist"),labelComposers:f("Composers"),labelReleases:f("ProductSearch.Releases"),labelReleasesAll:f("ProductSearch.ReleasesAll"),labelReleasesPublished:f("ProductSearch.ReleasesPublished"),labelReleasesFuture:f("ProductSearch.ReleasesFuture"),labelSorting:f("ProductSearch.Sorting"),labelSortingAscending:f("ProductSearch.SortingAscending"),labelSortingDescending:f("ProductSearch.SortingDescending"),labelSortingRelevance:f("ProductSearch.SortingRelevance"),labelDateFrom:f("From"),labelDateTo:f("To"),labelGenre:f("ProductSearch.Genre"),labelGenreOrchestra:f("ProductSearch.GenreOrchestra"),labelGenreChamber:f
1("ProductSearch.GenreChamber"),labelGenreKeyboard:f("ProductSearch.GenreKeyboard"),labelGenreVocal:f("ProductSearch.GenreVocal"),labelGenreChoral:f("ProductSearch.GenreChoral"),labelGenreOperaDramatic:f("ProductSearch.GenreOperaDramatic"),labelGenreSoundtrack:f("ProductSearch.GenreSoundtrack"),labelGenreSolo:f("ProductSearch.GenreSolo"),labelGenreConcerto:f("ProductSearch.GenreConcerto"),labelAllLabels:f("ProductSearch.OtherLabels"),labelTypes:f("ProductSearch.Types"),labelTypesAll:f("ProductSearch.TypesAll"),labelTypesAudio:f("ProductSearch.TypesAudio"),labelTypesVideo:f("ProductSearch.TypesVideo"),labelFormat:f("ProductSearch.Format"),labelFormatProduct:f("ProductSearch.FormatProduct"),labelFormatStreaming:f("ProductSearch.FormatStreaming"),labelFormatDownload:f("ProductSearch.FormatDownload"),buttonText:a,defaultValues:x})})}),(0,r.jsx)(A.A,{size:{sm:7,md:6,lg:1},order:{sm:2,lg:3},sx:{textAlign:"right"},children:(0,r.jsxs)(P.Bj,{onClick:()=>{y(!1)},sx:e=>({paddingRight:"0",paddingLeft:"0",[e.breakpoints.up("lg")]:{marginTop:R.M.small,padding:R.M.xsmall},[e.breakpoints.down("lg")]:{"&:hover":{background:"none"}}}),children:[(0,r.jsx)(C.A,{sx:e=>({paddingRight:0,display:"inline-block",verticalAlign:"middle",[e.breakpoints.up("lg")]:{display:"none"}}),children:f("ProductSearch.CloseFilter")}),(0,r.jsx)(F.A,{})]})})]})]})})}(0,T.J1)` 2 query GetAllArtists( 3 $channel: Int 4 $language: String 5 $first: Int 6 $artist: Int 7 $sortBy: SortMethod 8 $sortOrder: SortOrder 9 $withMainFunction: ArtistMainFunction 10 $function: ArtistFunction 11 ) { 12 universalMusic(channel: $channel, language: $language) { 13 allArtists( 14 withMainFunction: $withMainFunction 15 function: $function 16 first: $first 17 sortBy: $sortBy 18 sortOrder: $sortOrder 19 artist: $artist 20 ) { 21 edges { 22 node { 23 idRaw 24 screenname 25 name 26 } 27 } 28 } 29 } 30 } 31`,(0,T.J1)` 32 query GetProductSearchHelpText( 33 $channel: Int 34 $language: String 35 $articleId: Int! 36 ) { 37 universalMusic(channel: $channel, language: $language) {
38 article(id: $articleId) { 39 idRaw 40 headline 41 text 42 } 43 } 44 } 45`,V.propTypes={artists:c().array.isRequired,buttonText:c().string.isRequired,composers:c().array.isRequired,handleSearch:c().func.isRequired,placeholderText:c().string,helperText:c().string,language:c().string.isRequired,helpText:c().string.isRequired,defaultSearchTerm:c().string,defaultValues:c().object};let E=V}}]);
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.